/* BC Nutra — Homepage (deep moss · champagne gold · sand beige) */
.home {
  --ink: #0f2a1e;
  --moss: #1a432f;
  --gold: #c9a961;
  --sand: #e8dcc4;
  --signal: #3b82f6;
  --paper: #ffffff;
  --beige: #f3ece0;

  /* Light surface (default): ink text on white / warm beige */
  --fg: #0f2a1e;
  --muted: rgba(15, 42, 30, 0.68);
  --line: rgba(15, 42, 30, 0.14);
  --line-soft: rgba(15, 42, 30, 0.08);
  --accent-ink: #8a6a2c;

  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* Dark surfaces: hero backplates, feature cards, footer */
.h-prevention, .h-driver, .ab-mission, .moa, .mx-scroll, .screen7 {
  --fg: #f3ece0;
  --muted: rgba(243, 236, 224, 0.72);
  --line: rgba(201, 169, 97, 0.24);
  --line-soft: rgba(243, 236, 224, 0.12);
  --accent-ink: #c9a961;
  color: var(--fg);
}
.h-beige { background: var(--beige); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.h-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.h-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.h-eyebrow-light { color: var(--accent-ink); }

.h-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--fg);
  text-wrap: balance;
}
.h-title em { font-style: italic; color: var(--accent-ink); }
.h-title-light { color: var(--fg); }

.h-intro {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
  text-wrap: pretty;
}

/* ─── Section 1: Prevention ─── */
.h-prevention {
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(26, 67, 47, 0.9), transparent 70%),
    var(--ink);
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  padding: 144px 0;
  border-bottom: 1px solid var(--line);
}
.h-prevention-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 64px;
}
.h-hero-badge {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-ink);
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  opacity: 0;
  animation: h-rise 1s cubic-bezier(.2,.7,.2,1) 0.05s forwards;
}
.h-hero-title {
  max-width: 980px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-wrap: balance;
  opacity: 0;
  transform: translateY(16px);
  animation: h-rise 1.1s cubic-bezier(.2,.7,.2,1) 0.15s forwards;
}
.h-hero-title em { font-style: italic; color: var(--accent-ink); }
.h-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  animation: h-rise 1s cubic-bezier(.2,.7,.2,1) 0.6s forwards;
}

.h-quote {
  max-width: 560px;
  margin-top: 16px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: h-rise 1s cubic-bezier(.2,.7,.2,1) 0.85s forwards;
}
.h-quote blockquote p {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.4;
  color: var(--fg);
  text-wrap: balance;
}
.h-quote figcaption {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 6px 14px;
}
.h-quote-rule { width: 56px; height: 1px; background: var(--gold); margin-bottom: 12px; }
.h-quote-author { font-family: var(--font-serif); font-size: 1.05rem; font-style: italic; color: var(--accent-ink); }
.h-quote-meta { font-size: 0.72rem; font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.h-prevention-lede {
  max-width: 620px;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
  opacity: 0;
  animation: h-rise 1s cubic-bezier(.2,.7,.2,1) 0.4s forwards;
}

/* ─── Trust bar ─── */
.h-trust { background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.h-trust-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.h-trust-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 96px 48px;
  color: var(--accent-ink);
}
.h-trust-item + .h-trust-item { border-left: 1px solid var(--line); }
.h-trust-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.4rem; line-height: 1.2; color: var(--fg); margin-top: 6px; }
.h-trust-text { font-size: 0.95rem; font-weight: 300; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* ─── Social proof ─── */
.h-proof { background: var(--paper); padding: 144px 0; border-top: 1px solid var(--line-soft); }
.h-proof-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 48px; }
.h-proof-quote { max-width: 900px; }
.h-proof-quote blockquote p {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  line-height: 1.18;
  color: var(--fg);
  text-wrap: balance;
}
.h-proof-quote figcaption { margin-top: 32px; display: flex; flex-direction: column; align-items: center; }
.h-proof-quote .h-quote-meta { color: var(--accent-ink); font-weight: 500; }
.h-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  transition: background .25s, transform .25s;
}
.h-scroll:hover { background: var(--sand); transform: translateY(2px); }
.h-scroll:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

@keyframes h-rise { to { opacity: 1; transform: none; } }

/* ─── Section 1b: People ─── */
.h-people { padding: 140px 0 120px; background: var(--beige); }
.h-people-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  margin: 0 auto 80px;
  max-width: 720px;
}
.h-people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.h-person { display: flex; flex-direction: column; gap: 18px; }
.h-person-offset { margin-top: 72px; }
.h-person img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  outline: 1px solid var(--line);
  outline-offset: 8px;
  filter: saturate(0.98);
  box-shadow: 0 30px 60px -40px rgba(15, 42, 30, 0.35);
  transition: filter .6s, transform .8s cubic-bezier(.2,.7,.2,1);
}
.h-person:hover img { filter: saturate(1.02); transform: translateY(-4px); }
.h-person figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.h-person-k { font-family: var(--font-serif); font-size: 1.35rem; color: var(--fg); }
.h-person-v { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink); text-align: right; }

/* ─── Section 2: Drivers ─── */
.h-drivers { padding: 140px 0 120px; background: var(--paper); }
.h-drivers-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
  margin-bottom: 88px;
}

.h-driver-list { display: flex; flex-direction: column; gap: 96px; }

.h-driver {
  display: flex;
  align-items: stretch;
  background: var(--moss);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 50px 90px -50px rgba(15, 42, 30, 0.55);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .45s;
}
.h-driver:hover { transform: translateY(-4px); border-color: rgba(201, 169, 97, 0.45); }
.h-driver-flip { flex-direction: row-reverse; }

.h-driver-visual {
  flex: 0 0 45%;
  min-height: 440px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(26, 67, 47, 0.55), transparent 75%),
    var(--ink);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px 24px;
  overflow: hidden;
}
.h-art {
  width: 100%;
  max-width: 420px;
  height: auto;
  stroke-width: 0.75px;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.h-driver:hover .h-art { transform: scale(1.03); }
.h-wave-main { stroke-dasharray: 900; stroke-dashoffset: 900; animation: h-draw 2.4s cubic-bezier(.4,0,.2,1) .3s forwards; }
@keyframes h-draw { to { stroke-dashoffset: 0; } }
.h-ripple { animation: h-pulse 4s ease-in-out infinite; animation-delay: calc(var(--i) * .5s); }
@keyframes h-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.h-marker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.h-marker-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}

.h-driver-body {
  flex: 0 0 55%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 72px 64px;
}
.h-driver-meta { display: flex; align-items: center; gap: 16px; }
.h-badge {
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  color: var(--signal);
  padding: 6px 12px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.1);
  border-radius: 999px;
  line-height: 1;
}
.h-driver-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.h-driver-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 3.3vw, 2.9rem);
  line-height: 1.06;
  color: var(--fg);
  text-wrap: balance;
}
.h-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.h-label-pill {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(232, 220, 196, 0.08);
  color: var(--fg);
}
.h-notice, .h-happening { display: flex; flex-direction: column; gap: 12px; }
.h-notice-text {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--fg);
  text-wrap: pretty;
}
.h-sep {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 169, 97, 0.4), rgba(201, 169, 97, 0) 85%);
}
.h-happening-text {
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  text-wrap: pretty;
}
.h-term {
  color: var(--fg);
  font-weight: 500;
  background: linear-gradient(180deg, transparent 62%, rgba(201, 169, 97, 0.35) 62%);
  padding: 0 2px;
}
.h-solution {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding: 28px 28px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(201, 169, 97, 0.07);
}
.h-solution .h-label { color: var(--accent-ink); }
.h-solution-name { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.25; color: var(--fg); text-wrap: balance; }
.h-solution .h-explore { margin-top: 2px; border-bottom: 0; }
.h-explore {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 10px 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color .3s, transform .3s cubic-bezier(.2,.7,.2,1);
}
.h-explore-arrow { display: inline-block; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.h-explore:hover { transform: translateX(4px); border-color: var(--gold); }
.h-explore:hover .h-explore-arrow { transform: translateX(4px); }
.h-explore:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ─── Closing CTA ─── */
.h-cta { background: var(--beige); padding: 144px 0; }
.h-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}
.h-cta-text {
  max-width: 520px;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}
.h-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }
.h-btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .25s, background .25s, color .25s, border-color .25s;
}
.h-btn:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.h-btn-solid { background: var(--gold); color: var(--ink); }
.h-btn-solid:hover { background: var(--moss); color: var(--beige); transform: translateY(-2px); }
.h-btn-ghost { color: var(--fg); border: 1px solid var(--line); }
.h-btn-ghost:hover { border-color: var(--gold); color: var(--accent-ink); transform: translateY(-2px); }

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .h-people-grid { grid-template-columns: 1fr 1fr; }
  .h-person-offset { margin-top: 48px; }
  .h-person:last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
}
@media (max-width: 860px) {
  .h-driver, .h-driver-flip { flex-direction: column; }
  .h-driver { border-radius: 20px; padding: 10px; }
  .h-driver-visual { flex-basis: auto; min-height: 260px; border-radius: 14px; }
  .h-driver-body { flex-basis: auto; padding: 48px 24px 32px; }
  .h-notice-text { font-size: 1.08rem; }
  .h-driver-list { gap: 64px; }
  .h-drivers, .h-people { padding: 96px 0; }
  .h-drivers-head, .h-people-head { margin-bottom: 64px; }
}
@media (max-width: 600px) {
  .h-people-grid { grid-template-columns: 1fr; gap: 40px; }
  .h-person-offset { margin-top: 0; }
  .h-person:last-child { max-width: none; }
}
@media (max-width: 768px) {
  .h-prevention { min-height: calc(100vh - 76px); padding: 96px 0; }
  .h-prevention-inner { gap: 40px; }
  .h-quote { margin-top: 8px; padding-top: 40px; }
  .h-trust-grid { grid-template-columns: 1fr; }
  .h-trust-item { padding: 64px 8px; }
  .h-trust-item + .h-trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .h-proof, .h-cta { padding: 96px 0; }
  .h-proof-inner { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .h-hero-badge, .h-hero-title, .h-hero-actions, .h-quote, .h-prevention-lede { animation: none; opacity: 1; transform: none; }
  .h-wave-main { animation: none; stroke-dashoffset: 0; }
  .h-ripple { animation: none; }
  .h-driver, .h-art, .h-person img, .h-btn, .h-scroll, .h-explore, .h-explore-arrow { transition: none; }
}

/* ─── Homepage redesign: ink navy · warm ivory · sage · stone · blue-green ─── */
.hx {
  --hx-ink: #14273a;
  --hx-ivory: #f7f3ec;
  --hx-stone: #e6e0d5;
  --hx-sage: #8a9e8f;
  --hx-accent: #3d7476;
  --hx-muted: rgba(20, 39, 58, 0.7);
  --hx-line: rgba(20, 39, 58, 0.12);
  background: var(--hx-ivory);
  color: var(--hx-ink);
}
.hx-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.hx-section { padding: 128px 0; }

.hx-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hx-accent);
}
.hx-eyebrow-light { color: rgba(247, 243, 236, 0.78); }
.hx-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--hx-ink);
  text-wrap: balance;
}
.hx-intro {
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--hx-muted);
  max-width: 620px;
  text-wrap: pretty;
}
.hx-head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; margin-bottom: 72px; }

/* Buttons */
.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.hx-btn-light { background: var(--hx-ivory); color: var(--hx-ink); }
.hx-btn-light:hover { background: var(--hx-stone); }
.hx-btn-outline-light { border-color: rgba(247, 243, 236, 0.5); color: var(--hx-ivory); }
.hx-btn-outline-light:hover { border-color: var(--hx-ivory); background: rgba(247, 243, 236, 0.08); }
.hx-btn-dark { background: var(--hx-ink); color: var(--hx-ivory); }
.hx-btn-dark:hover { background: var(--hx-accent); }
.hx-btn:focus-visible, .hx-link:focus-visible { outline: 2px solid var(--hx-accent); outline-offset: 3px; }

/* Hero */
.hx-hero {
  position: relative;
  min-height: calc(100svh - 96px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hx-ink);
  color: var(--hx-ivory);
}
.hx-ripple { position: absolute; inset: 0; overflow: hidden; background: #0d2a30; }
.hx-hero-img {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  object-position: 70% 50%;
  transform-origin: 83% 48%;
  animation: hx-swell 22s ease-in-out infinite alternate;
  will-change: transform;
}
/* Concentric rings expanding from the ripple centre; staggered so the loop never resets visibly */
.hx-ripple-rings {
  position: absolute;
  left: 83%;
  top: 48%;
  width: 0;
  height: 0;
}
.hx-ripple-rings span {
  position: absolute;
  left: -40vw;
  top: -20vw;
  width: 80vw;
  height: 40vw;
  border-radius: 50%;
  border: 1px solid rgba(190, 232, 230, 0.32);
  box-shadow: 0 0 24px rgba(160, 220, 222, 0.12), inset 0 0 18px rgba(160, 220, 222, 0.08);
  opacity: 0;
  transform: scale(0.12);
  animation: hx-ring 20s linear infinite;
}
.hx-ripple-rings span:nth-child(2) { animation-delay: -5s; }
.hx-ripple-rings span:nth-child(3) { animation-delay: -10s; }
.hx-ripple-rings span:nth-child(4) { animation-delay: -15s; }
.hx-ripple-sheen {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse 30% 18% at 50% 50%, rgba(200, 240, 238, 0.16), transparent 70%);
  mix-blend-mode: screen;
  animation: hx-sheen 26s ease-in-out infinite alternate;
}
.hx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 26, 31, 0.82) 0%, rgba(7, 26, 31, 0.5) 42%, rgba(7, 26, 31, 0) 72%);
}
@keyframes hx-swell { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.035) translate3d(-0.6%, 0.4%, 0); } }
@keyframes hx-ring {
  0% { opacity: 0; transform: scale(0.12); }
  15% { opacity: 0.9; }
  70% { opacity: 0.35; }
  100% { opacity: 0; transform: scale(1.5); }
}
@keyframes hx-sheen { from { transform: translate3d(18%, -6%, 0); } to { transform: translate3d(28%, 4%, 0); } }
.hx-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-top: 112px;
  padding-bottom: 112px;
}
.hx-hero-inner > * { max-width: 620px; animation: hx-rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
.hx-hero-inner > :nth-child(2) { animation-delay: .12s; }
.hx-hero-inner > :nth-child(3) { animation-delay: .24s; }
.hx-hero-inner > :nth-child(4) { animation-delay: .36s; }
.hx-hero-inner > :nth-child(5) { animation-delay: .48s; }
.hx-hero-note {
  margin-top: -10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(247, 243, 236, 0.72);
}
.hx-hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--hx-ivory);
  text-wrap: balance;
}
.hx-hero-lede {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(247, 243, 236, 0.86);
  max-width: 520px;
  text-wrap: pretty;
}
.hx-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hx-signal-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 48px; }
@media (max-width: 640px) { .hx-signal-actions { flex-direction: column; } .hx-signal-actions .hx-btn { width: 100%; } }
@keyframes hx-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }


/* Four signals */
.hx-signals { background: var(--hx-ivory); }
.hx-signal-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.hx-signal {
  display: flex;
  flex-direction: column;
  background: #fffdf9;
  border: 1px solid var(--hx-line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
}
.hx-signal:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 39, 58, 0.08); }
.hx-signal-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--hx-stone); }
.hx-signal-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.hx-signal:hover .hx-signal-media img { transform: scale(1.04); }
.hx-signal-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 30px; }
.hx-signal-cat { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hx-accent); }
.hx-signal-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.6rem; line-height: 1.15; color: var(--hx-ink); text-wrap: balance; }
.hx-signal-text { font-size: 0.95rem; font-weight: 300; line-height: 1.65; color: var(--hx-muted); }
.hx-cues { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--hx-line); }
.hx-cues li { padding: 5px 12px; border-radius: 999px; background: rgba(61, 116, 118, 0.08); font-size: 0.78rem; line-height: 1.4; color: var(--hx-accent); }
.hx-link {
  margin-top: auto;
  padding-top: 12px;
  align-self: flex-start;
  display: inline-flex;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hx-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hx-line);
  padding-bottom: 4px;
  transition: border-color .3s ease, color .3s ease;
}
.hx-link:hover { color: var(--hx-accent); border-color: var(--hx-accent); }

/* Philosophy — growth-ring motif */
.hx-philosophy {
  position: relative;
  overflow: hidden;
  background: var(--hx-stone) url("/img/hero-ripple-teal.png") 80% 50% / cover no-repeat;
}
.hx-philosophy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(230, 224, 213, 0.97) 0%, rgba(230, 224, 213, 0.93) 55%, rgba(230, 224, 213, 0.82) 100%);
}
.hx-philosophy-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; padding-top: 32px; padding-bottom: 32px; }
.hx-philosophy-copy { display: flex; flex-direction: column; gap: 20px; max-width: 680px; margin-top: 8px; }
.hx-philosophy-copy p { font-family: var(--font-serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.6; color: var(--hx-ink); text-wrap: pretty; }
.hx-philosophy-copy p + p { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 300; line-height: 1.75; color: var(--hx-muted); }

/* Approach */
.hx-approach { background: var(--hx-ivory); }
.hx-approach-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 80px; margin-bottom: 80px; }
.hx-approach-head { display: flex; flex-direction: column; gap: 22px; }
.hx-approach-media { margin: 0; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--hx-stone); }
.hx-approach-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-product-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.hx-product-specs li { padding: 4px 12px; border: 1px solid var(--hx-line); border-radius: 999px; font-size: 0.8rem; color: var(--hx-ink); }
.hx-products-cta { display: flex; justify-content: center; margin-top: 64px; }
.hx-btn-outline { border-color: var(--hx-ink); color: var(--hx-ink); }
.hx-btn-outline:hover { background: var(--hx-ink); color: var(--hx-ivory); }
.hx-trust-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hx-line); }
.hx-trust-list li { display: flex; flex-direction: column; gap: 12px; padding: 40px 32px 8px; }
.hx-trust-list li + li { border-left: 1px solid var(--hx-line); }
.hx-trust-list h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.45rem; line-height: 1.2; color: var(--hx-ink); }
.hx-trust-list p { font-size: 0.95rem; font-weight: 300; line-height: 1.65; color: var(--hx-muted); }
.hx-disclaimer { max-width: 760px; margin: 64px auto 0; text-align: center; font-size: 0.8rem; line-height: 1.6; color: var(--hx-muted); }
.hx-pillars { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hx-line); }
.hx-pillar { display: flex; flex-direction: column; gap: 14px; padding: 48px 40px 8px; color: var(--hx-accent); }
.hx-pillar + .hx-pillar { border-left: 1px solid var(--hx-line); }
.hx-pillar-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.7rem; line-height: 1.15; color: var(--hx-ink); margin-top: 8px; }
.hx-pillar-text { font-size: 1rem; font-weight: 300; line-height: 1.7; color: var(--hx-muted); max-width: 300px; }

/* Products */
.hx-products { background: #fffdf9; border-top: 1px solid var(--hx-line); }
.hx-product-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 980px; margin: 0 auto; }
.hx-product { display: flex; flex-direction: column; border: 1px solid var(--hx-line); border-radius: 16px; overflow: hidden; background: var(--hx-ivory); }
.hx-product-media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--hx-stone); }
.hx-product-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.hx-product:hover .hx-product-media img { transform: scale(1.03); }
.hx-product-body { display: flex; flex-direction: column; gap: 8px; padding: 32px; }
.hx-product-name { font-family: var(--font-serif); font-weight: 500; font-size: 1.8rem; line-height: 1.15; }
.hx-product-meta { font-size: 0.92rem; color: var(--hx-muted); }
.hx-product-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hx-line); }
.hx-product-price { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 500; }

/* Reviews placeholder */
.hx-reviews { background: var(--hx-ivory); border-top: 1px solid var(--hx-line); }
.hx-reviews-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }

/* Closing */
.hx-closing { position: relative; overflow: hidden; background: var(--hx-stone); }
.hx-closing-ripple {
  position: absolute;
  inset: 0;
  background: url("/img/hero-ripple-teal.png") 85% 50% / cover no-repeat;
  opacity: 0.12;
  mix-blend-mode: multiply;
}
.hx-closing-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.hx-closing .hx-title { max-width: 900px; }
.hx-signoff { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(20, 39, 58, 0.18); }
.hx-signoff-brand { font-family: var(--font-serif); font-size: 1.4rem; font-style: italic; color: var(--hx-ink); }
.hx-signoff-line { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--hx-muted); }

/* Master-prompt revisions */
.hx-line { display: block; }

.hx-hero-copy { display: flex; flex-direction: column; gap: 14px; }
.hx-hero-pain { font-family: var(--font-serif); font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.45; color: var(--hx-ivory); text-wrap: pretty; }
.hx-hero-copy .hx-hero-lede { line-height: 1.6; }
.hx-philosophy-close { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.5; color: var(--hx-accent); text-wrap: balance; }
.hx-pillars-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hx-pillars-4 .hx-pillar { padding: 48px 32px 8px; }
.hx-pillars-4 .hx-pillar-title { font-size: 1.5rem; }
.hx-product-studio { background: #fff; padding: 6%; }
.hx-product-studio img { object-fit: contain; mix-blend-mode: multiply; }
.hx-product-studio img[src*="bundle"] { clip-path: inset(0 0 0 1.5%); }
.hx-product-benefit { font-size: 1rem; font-weight: 300; line-height: 1.6; color: var(--hx-muted); }
.hx-stories { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.hx-story figure { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.hx-story-media { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--hx-stone); }
.hx-story-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.hx-story:hover .hx-story-media img { transform: scale(1.03); }
.hx-story figcaption { display: flex; flex-direction: column; gap: 6px; }
.hx-story-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.6rem; line-height: 1.2; color: var(--hx-ink); }
.hx-story-text { font-size: 0.98rem; font-weight: 300; line-height: 1.6; color: var(--hx-muted); }
.hx-closing-title { text-transform: uppercase; letter-spacing: 0.01em; }
@media (max-width: 1100px) {
  .hx-pillars-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-pillars-4 .hx-pillar:nth-child(3) { border-left: 0; }
  .hx-pillars-4 .hx-pillar:nth-child(n+3) { border-top: 1px solid var(--hx-line); }
}
@media (max-width: 860px) {
  .hx-pillars-4 { grid-template-columns: 1fr; }
  .hx-pillars-4 .hx-pillar { padding: 40px 0 32px; }
  .hx-stories { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .hx-story-media { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .hx-story-media img { transition: none; } }

/* Scroll reveal (only when JS + motion allowed) */
.hx-js .hx-reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.hx-js .hx-reveal.is-in { opacity: 1; transform: none; }
.hx-signal-grid .hx-reveal:nth-child(2), .hx-pillars .hx-reveal:nth-child(2), .hx-product-grid .hx-reveal:nth-child(2) { transition-delay: .1s; }
.hx-signal-grid .hx-reveal:nth-child(3), .hx-pillars .hx-reveal:nth-child(3) { transition-delay: .2s; }
.hx-signal-grid .hx-reveal:nth-child(4) { transition-delay: .3s; }

@media (max-width: 1100px) {
  .hx-signal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .hx-trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-trust-list li:nth-child(3) { border-left: 0; }
  .hx-approach-top { gap: 48px; }
}
@media (max-width: 860px) {
  .hx-wrap { padding: 0 24px; }
  .hx-section { padding: 96px 0; }
  .hx-head { margin-bottom: 56px; }
  .hx-pillars { grid-template-columns: 1fr; }
  .hx-pillar { padding: 40px 0 32px; }
  .hx-pillar + .hx-pillar { border-left: 0; border-top: 1px solid var(--hx-line); }
  .hx-product-grid { grid-template-columns: 1fr; }
  .hx-approach-top { grid-template-columns: 1fr; margin-bottom: 56px; }
}
@media (max-width: 640px) {
  .hx-section { padding: 80px 0; }
  .hx-signal-grid {
    display: flex;
    gap: 16px;
    margin: 0 -24px;
    padding: 0 24px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 24px;
    scrollbar-width: none;
  }
  .hx-signal-grid::-webkit-scrollbar { display: none; }
  .hx-signal { flex: 0 0 84%; scroll-snap-align: start; }
  .hx-trust-list { grid-template-columns: 1fr; }
  .hx-trust-list li { padding: 32px 0 24px; }
  .hx-trust-list li + li { border-left: 0; border-top: 1px solid var(--hx-line); }
  .hx-hero { min-height: auto; align-items: flex-end; }
  .hx-hero-img { object-position: 82% 40%; }
  .hx-ripple-rings { left: 80%; top: 30%; }
  .hx-ripple-rings span { left: -80vw; top: -40vw; width: 160vw; height: 80vw; }
  .hx-hero::after { background: linear-gradient(180deg, rgba(7, 26, 31, 0.1) 0%, rgba(7, 26, 31, 0.55) 45%, rgba(7, 26, 31, 0.9) 100%); }
  .hx-hero-inner { padding-top: 220px; padding-bottom: 72px; gap: 22px; }
  .hx-actions { flex-direction: column; align-self: stretch; }
  .hx-actions .hx-btn { width: 100%; }
  .hx-product-body { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-hero-img, .hx-hero-inner > *, .hx-ripple-sheen { animation: none; }
  .hx-ripple-rings { display: none; }
  .hx-signal, .hx-signal-media img, .hx-product-media img, .hx-btn, .hx-link { transition: none; }
  .hx-signal:hover { transform: none; }
}
