/* SERA landing — brand hero: "Built for research. Driven by curiosity."
   Glacier-premium aesthetic. Desktop = split layout (text left, vials right).
   Mobile = stacked (vials above, centered text below). */

:root {
  --bg: #edf6fc;
  --bg-deep: #f7fbff;
  --ink: #172334;
  --ink-soft: #42546b;
  --ink-mute: #718398;
  --line: rgba(23, 35, 52, 0.14);
  --line-soft: rgba(23, 35, 52, 0.08);

  --accent: #4d7fae;
  --accent-deep: #2f5e8e;
  --accent-glow: rgba(77, 127, 174, 0.24);
  --accent-ink: #f8fbff;
  --paper: rgba(255, 255, 255, 0.64);
  --paper-strong: rgba(255, 255, 255, 0.86);

  --display: 'Onest', ui-sans-serif, system-ui, sans-serif;
  --body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--body);
}
body {
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.filter-defs { position: absolute; width: 0; height: 0; }
a { color: inherit; text-decoration: none; }

/* ------------------------------------------------------------------
   Stage
   ------------------------------------------------------------------ */
.stage {
  position: relative;
  width: 100%;
  background:
    radial-gradient(circle at 76% 16%, rgba(114, 171, 222, 0.22), transparent 36vw),
    linear-gradient(115deg, #fbfdff 0%, #edf7ff 42%, #dceffa 100%);
  isolation: isolate;
}

/* ------------------------------------------------------------------
   Cinema — glacier vials background
   ------------------------------------------------------------------ */
.cinema {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.cinema::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/glacier-video-1/video-3-final-frame.png") center 48% / cover no-repeat;
  filter: brightness(1.08) saturate(1.08) contrast(0.96);
  opacity: 0.22;
}
.cinema-base {
  position: absolute;
  top: 50%;
  right: calc(76px - 2vw);
  width: min(72vw, 1380px);
  height: auto;
  object-fit: contain;
  object-position: center;
  z-index: 1;
  opacity: 0;
  filter: brightness(1.04) saturate(1.16) contrast(0.98);
  transform: translateY(-50%);
  transform-origin: center center;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  transition: opacity .55s cubic-bezier(.4,0,.2,1);
}
.cinema-base.is-ready { opacity: 1; }

@media (min-width: 1101px) and (max-width: 1600px) {
  .cinema-base {
    right: calc(76px - 18vw);
    width: 86vw;
  }
}

/* Veil — left gradient for text legibility on desktop */
.stage-veil {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(48vw, 780px);
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(1px);
  background:
    linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,1) 44%,
      rgba(255,255,255,0.88) 62%,
      rgba(255,255,255,0.24) 86%,
      rgba(255,255,255,0) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.42;
}

/* ------------------------------------------------------------------
   Hero section — DESKTOP (default)
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  padding: 18px 56px 76px 32px;
}

.hero-content {
  max-width: 620px;
  padding-top: 12px;
}

/* Eyebrow */
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 22px;
}

/* Headline */
h1.display {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(42px, 5vw, 64px);
  letter-spacing: -0.028em;
  line-height: 1;
  margin: 0 0 20px;
  color: var(--ink);
}
h1.display .line-1,
h1.display .line-2 { display: block; }
h1.display .line-2 {
  color: color-mix(in oklab, var(--accent-deep) 58%, var(--ink) 42%);
  font-style: italic;
  font-weight: 200;
}

/* Sub copy */
.hero-sub {
  font-family: var(--body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 400px;
}

/* CTA + badges — single row on desktop */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Primary pill button */
.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  background: var(--ink);
  color: #fff;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--ink);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: background .4s ease, letter-spacing .3s ease, transform .15s ease;
}
.btn-primary-pill::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -40%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-18deg);
  transition: left .8s cubic-bezier(.4,0,.2,1);
}
.btn-primary-pill:hover { background: #1b2430; letter-spacing: 0.26em; }
.btn-primary-pill:hover::before { left: 130%; }
.btn-primary-pill:active { transform: translateY(1px); }
.btn-arr {
  font-size: 14px;
  transition: transform .3s ease;
}
.btn-primary-pill:hover .btn-arr { transform: translateX(3px); }

/* Desktop shows "Explore the Library", mobile shows "Shop Peptides" */
.btn-label-mobile { display: none; }
.btn-label-desktop { display: inline; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid rgba(23, 35, 52, 0.18);
  border-radius: 999px;
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: border-color .25s ease, color .25s ease;
}
.hero-badge:hover {
  border-color: var(--accent);
  color: var(--ink);
}

/* ------------------------------------------------------------------
   Anchors row — three SKUs
   ------------------------------------------------------------------ */
.anchors {
  display: none; /* temporarily hidden — animation needs fixing */
  position: relative;
  z-index: 4;
  padding: 60px 56px;
  border-top: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(247,251,255,0.96) 34%, var(--bg-deep) 100%);
}
.anchors-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.20);
  backdrop-filter: blur(10px);
}
.anchor {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 12px;
  padding: 32px 28px;
  border-right: 1px solid var(--line-soft);
  transition: background .5s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
}
.anchor:last-child { border-right: none; }
.anchor::after {
  content: "→";
  position: absolute;
  right: 26px;
  top: 32px;
  font-family: var(--display);
  font-weight: 200;
  font-size: 22px;
  color: var(--ink-mute);
  transition: color .35s ease, transform .35s ease;
}
.anchor:hover { background: rgba(255,255,255,0.58); }
.anchor:hover::after { color: var(--accent); transform: translateX(4px); }
.a-num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.4em;
  color: var(--ink-mute);
}
.a-name {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(32px, 3.4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.a-tag {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.a-mass {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
}

@media (max-width: 900px) {
  .anchors { padding: 40px 24px; }
  .anchors-inner { grid-template-columns: 1fr; }
  .anchor { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .anchor:last-child { border-bottom: none; }
}

/* ------------------------------------------------------------------
   Trust strip — numbered lines
   ------------------------------------------------------------------ */
.trust {
  position: relative;
  z-index: 4;
  padding: 80px 56px 100px;
  background:
    radial-gradient(circle at 82% 8%, rgba(77,127,174,0.10), transparent 28%),
    linear-gradient(180deg, var(--bg-deep) 0%, #eef7fd 100%);
}
.trust-inner {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}
.trust-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 6px;
  border-top: 1px solid var(--accent);
  display: inline-block;
}
.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.005em;
  color: var(--ink);
}
.trust-list li:last-child { border-bottom: none; }
.t-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--accent);
  padding-top: 8px;
}

@media (max-width: 760px) {
  .trust { padding: 60px 24px 80px; }
  .trust-inner { grid-template-columns: 1fr; gap: 24px; }
  .trust-list li { font-size: 17px; }
}

/* ------------------------------------------------------------------
   Info rows — HIDDEN on desktop
   ------------------------------------------------------------------ */
.info-rows {
  display: none;
}

.featured-compounds {
  position: relative;
  z-index: 4;
  isolation: isolate;
  overflow: hidden;
  min-height: min(900px, calc(100vh - 24px));
  padding: clamp(68px, 7vw, 100px) 56px clamp(60px, 6vw, 84px);
  background: #edf6ff;
  border-top: 1px solid rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(23, 35, 52, 0.08);
}

.featured-compounds::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/glacier-video-1/video-3-final-frame.png") center 42% / cover no-repeat;
  opacity: 0.28;
  filter: saturate(1.08) brightness(1.16);
  transform: scale(1.04);
  z-index: 0;
}

.featured-compounds::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248,252,255,0.96) 0%, rgba(248,252,255,0.78) 27%, rgba(238,247,255,0.62) 57%, rgba(248,252,255,0.92) 100%),
    linear-gradient(90deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.18) 22%, rgba(255,255,255,0.18) 78%, rgba(255,255,255,0.82) 100%);
  pointer-events: none;
  z-index: 0;
}

.featured-compounds__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1380px);
  margin: 0 auto;
}

.featured-compounds__head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.featured-compounds__eyebrow {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #1f5d9b;
}

.featured-compounds h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 4.2vw, 68px);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: #111c31;
}

.featured-compounds h2 em {
  font-family: var(--display);
  font-weight: 200;
  font-style: italic;
  color: color-mix(in oklab, var(--accent-deep) 58%, var(--ink) 42%);
}

.featured-compounds__carousel {
  position: relative;
  margin-top: clamp(34px, 4vw, 56px);
}

.featured-compounds__viewport {
  overflow-x: clip;
  overflow-y: visible;
  padding: 6px 0 10px;
}

.featured-compounds__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0 10px;
}

.featured-compounds__track.is-marquee {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.featured-compounds__track.is-marquee .featured-card {
  scroll-snap-align: none;
}

.featured-compounds__track::-webkit-scrollbar {
  display: none;
}

.featured-card {
  flex: 0 0 calc((100% - 66px) / 4);
  min-width: 250px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  color: #111;
  transition: transform .45s cubic-bezier(.32,.72,.24,1),
              border-color .45s cubic-bezier(.32,.72,.24,1),
              box-shadow .45s cubic-bezier(.32,.72,.24,1);
}

.featured-card:hover {
  transform: scale(1.06) translateY(-4px);
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.featured-card__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1.08;
  background: #ffffff;
}

.featured-card__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: drop-shadow(0 28px 32px rgba(0,0,0,0.12)) contrast(1.04) saturate(1.02);
  transition: transform .8s cubic-bezier(.32,.72,.24,1), filter .6s ease;
  will-change: transform;
}

.featured-card:hover .featured-card__media img {
  transform: scale(1.025) translateY(-4px);
}

.featured-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.featured-card__num {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.3em;
  color: #999;
  margin-bottom: 2px;
}

.featured-card__name {
  font-family: var(--display);
  font-size: clamp(21px, 1.65vw, 27px);
  line-height: 1;
  font-weight: 200;
  letter-spacing: -0.015em;
  color: #111;
  margin: 0 0 2px;
}

.featured-card__name-sub {
  font-family: var(--display);
  font-weight: 200;
  font-style: italic;
  font-size: 0.72em;
  color: color-mix(in oklab, var(--accent) 70%, var(--ink) 30%);
  letter-spacing: -0.01em;
  margin-left: 0.1em;
}

.featured-card__class {
  font-family: var(--body);
  font-weight: 300;
  font-size: 11.5px;
  line-height: 1.38;
  color: #666;
  letter-spacing: 0.01em;
}

.featured-card__line {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 7px 0 2px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.featured-card__mass {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.15em;
  color: #333;
  text-transform: uppercase;
}

.featured-card__purity {
  font-family: var(--mono);
  font-size: 8.8px;
  letter-spacing: 0.17em;
  color: #999;
  text-transform: uppercase;
}

.featured-card__desc {
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.38;
  color: #666;
  margin: 2px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card__cta {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-family: var(--mono);
  font-size: 8.8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #222;
  transition: color .3s ease, letter-spacing .35s ease;
}

.featured-card__cta span {
  display: inline-block;
  margin-left: 6px;
}

.featured-card:hover .featured-card__cta {
  color: #000;
  letter-spacing: 0.28em;
}

.featured-compounds__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.86);
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #101a2e;
  box-shadow: 0 18px 44px rgba(29, 70, 111, 0.13);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.featured-compounds__nav span {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
}

.featured-compounds__nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}

.featured-compounds__nav:disabled {
  opacity: 0.42;
  cursor: default;
  transform: translateY(-50%);
}

.featured-compounds__nav--prev { left: -28px; }
.featured-compounds__nav--next { right: -28px; }

.featured-compounds__dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 26px 0 30px;
}

.featured-compounds__dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(33, 75, 122, 0.22);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.featured-compounds__dots button.is-active {
  background: #101a2e;
  transform: scale(1.1);
}

.featured-compounds__all {
  width: min(100%, 380px);
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 999px;
  background: #07152b;
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  box-shadow: 0 18px 44px rgba(7, 21, 43, 0.18);
  transition: transform .2s ease, background .2s ease;
}

.featured-compounds__all:hover {
  background: #101f38;
  transform: translateY(-2px);
}

.featured-compounds__all span {
  font-size: 18px;
}

.featured-compounds__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 0;
}

.featured-compounds__footer .featured-compounds__all {
  margin: 0;
  flex: 0 0 auto;
}

.compounds-in-stock {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  flex: 0 0 auto;
}

.compounds-in-stock__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.9);
  color: #3a5f8a;
}

.compounds-in-stock__icon svg {
  width: 18px;
  height: 18px;
}

.compounds-in-stock__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.compounds-in-stock__title {
  display: block;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: #111c31;
  letter-spacing: -0.01em;
}

.compounds-in-stock__body {
  display: block;
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 300;
  color: rgba(17, 28, 49, 0.58);
  line-height: 1.45;
  max-width: 220px;
}

/* ------------------------------------------------------------------
   Featured Stacks section
   ------------------------------------------------------------------ */
.featured-stacks {
  position: relative;
  z-index: 4;
  isolation: isolate;
  overflow: hidden;
  min-height: min(900px, calc(100vh - 24px));
  padding: clamp(94px, 8vw, 120px) 56px clamp(52px, 5vw, 76px);
  background: #edf6ff;
  border-top: 1px solid rgba(23, 35, 52, 0.08);
  border-bottom: 1px solid rgba(23, 35, 52, 0.08);
}

.featured-stacks::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(132deg, transparent 0 54%, rgba(112, 151, 198, 0.20) 54% 62%, transparent 72%) left bottom / 46% 74% no-repeat,
    linear-gradient(38deg, transparent 0 50%, rgba(112, 151, 198, 0.24) 51% 62%, transparent 72%) right bottom / 48% 76% no-repeat,
    radial-gradient(ellipse at 8% 82%, rgba(105, 148, 205, 0.22), transparent 42%),
    radial-gradient(ellipse at 92% 76%, rgba(105, 148, 205, 0.26), transparent 46%),
    radial-gradient(ellipse at 50% 100%, rgba(255,255,255,0.95), transparent 62%);
  opacity: 1;
  filter: none;
  transform: none;
  z-index: 0;
}

.featured-stacks::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(247,251,255,0.98) 0%, rgba(247,251,255,0.80) 24%, rgba(237,246,255,0.52) 56%, rgba(248,252,255,0.90) 100%),
    linear-gradient(90deg, rgba(255,255,255,0.76) 0%, rgba(255,255,255,0.08) 24%, rgba(255,255,255,0.08) 76%, rgba(255,255,255,0.76) 100%);
  pointer-events: none;
  z-index: 0;
}

.featured-stacks__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1380px);
  margin: 0 auto;
}

.featured-stacks__head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.featured-stacks__eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.featured-stacks__eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #1f5d9b;
}

.featured-stacks__promo {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31, 93, 155, 0.10);
  border: 1px solid rgba(31, 93, 155, 0.22);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1f5d9b;
  white-space: nowrap;
}

.featured-stacks h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 4.45vw, 72px);
  font-weight: 200;
  line-height: 0.98;
  letter-spacing: -0.018em;
  color: #111c31;
}

.featured-stacks h2 em {
  font-family: var(--display);
  font-weight: 200;
  font-style: italic;
  color: color-mix(in oklab, var(--accent-deep) 58%, var(--ink) 42%);
}

.featured-stacks__subcopy {
  max-width: 560px;
  margin: 18px auto 0;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(17, 28, 49, 0.78);
}

.featured-stacks__carousel {
  position: relative;
  margin-top: clamp(34px, 4vw, 54px);
}

.featured-stacks__viewport {
  overflow-x: clip;
  overflow-y: visible;
  padding: 6px 0 10px;
}

.featured-stacks__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0 10px;
}

.featured-stacks__track::-webkit-scrollbar { display: none; }

.featured-stacks__track.is-marquee {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.featured-stacks__track.is-marquee .featured-stack-card {
  scroll-snap-align: none;
}

/* Hue palette — matches catalog.css data-hue values */
.featured-stack-card { --hue-1: rgba(158, 181, 209, 0.18); }
.featured-stack-card[data-hue="blue"]      { --hue-1: rgba( 64, 110, 180, 0.32); }
.featured-stack-card[data-hue="blue-mid"]  { --hue-1: rgba( 80, 130, 200, 0.30); }
.featured-stack-card[data-hue="tan"]       { --hue-1: rgba(190, 150, 110, 0.28); }
.featured-stack-card[data-hue="violet"]    { --hue-1: rgba(140, 100, 200, 0.34); }
.featured-stack-card[data-hue="rose"]      { --hue-1: rgba(210, 130, 160, 0.28); }
.featured-stack-card[data-hue="gold"]      { --hue-1: rgba(210, 170, 100, 0.32); }
.featured-stack-card[data-hue="lavender"]  { --hue-1: rgba(150, 130, 200, 0.30); }

.featured-stack-card {
  flex: 0 0 calc((100% - 66px) / 4);
  min-width: 270px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #111;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(33, 75, 122, 0.13);
  backdrop-filter: blur(12px);
  transition: border-color .45s cubic-bezier(.32,.72,.24,1),
              transform .45s cubic-bezier(.32,.72,.24,1),
              box-shadow .45s cubic-bezier(.32,.72,.24,1);
}

.featured-stack-card:hover {
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 82px rgba(33, 75, 122, 0.18);
  transform: scale(1.06) translateY(-2px);
}

/* Stack figure — gradient bg + radial hue glow, identical to catalog .stack-fig */
.featured-stack-card__fig {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  aspect-ratio: 1.42 / 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.66), rgba(240,247,255,0.38)),
    radial-gradient(ellipse 78% 62% at 50% 42%, var(--hue-1), transparent 72%);
  overflow: hidden;
}

.featured-stack-card__fig::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -14px;
  height: 72px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.86)),
    linear-gradient(112deg, rgba(159, 193, 226, 0.10) 0 18%, transparent 18% 34%, rgba(126, 168, 212, 0.18) 34% 48%, transparent 48%),
    radial-gradient(ellipse at 50% 100%, rgba(121, 174, 221, 0.22), transparent 64%);
  opacity: 0.9;
  filter: saturate(0.82) brightness(1.16);
  border-top: 1px solid rgba(255, 255, 255, 0.82);
}

.featured-stack-card__fig::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 22px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(8, 28, 55, 0.20), transparent 70%);
  filter: blur(8px);
  opacity: 0.34;
}

.featured-stack-card__group {
  position: relative;
  z-index: 2;
  display: block;
  width: 112%;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(7px);
  filter: drop-shadow(0 20px 22px rgba(8, 28, 55, 0.14)) contrast(1.03) saturate(1.02);
}

/* Vials container — align-self:stretch fills __fig reliably without height:100% percentage chain */
.featured-stack-card__vials {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  padding: 10% 6% 8%;
  isolation: isolate;
  overflow: visible;
  position: relative;
  z-index: 2;
}

/* Individual vial span — CSS bg image, identical technique to catalog .stack-vial */
.featured-stack-card__vial {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 0;
  align-self: stretch;
  background-image: var(--vial);
  background-repeat: no-repeat;
  background-position: center 55%;
  background-size: 240%;
  filter: drop-shadow(0 22px 22px rgba(0,0,0,0.12)) contrast(1.03) saturate(1.02);
  transform-origin: center center;
}
.featured-stack-card__vial + .featured-stack-card__vial { margin-left: -14%; }
.featured-stack-card__vial:nth-child(1) { z-index: 1; }
.featured-stack-card__vial:nth-child(2) { z-index: 2; }
.featured-stack-card__vial:nth-child(3) { z-index: 3; }
.featured-stack-card__vial:nth-child(4) { z-index: 4; }

/* Vial modifier classes — mirrors catalog .stack-vial-- variants */
.featured-stack-card__vials--three .featured-stack-card__vial + .featured-stack-card__vial { margin-left: -15%; }
.featured-stack-card__vials--two   .featured-stack-card__vial + .featured-stack-card__vial { margin-left: -8%; }

.featured-stack-card__vial--boost     { transform: scale(1.12); }
.featured-stack-card__vial--lift      { transform: scale(1.10); }
.featured-stack-card__vial--soften    { transform: scale(0.94); }
.featured-stack-card__vial--nudge     { top: 3px; }

/* Card body — identical hierarchy to catalog .card-body */
.featured-stack-card__body {
  position: relative;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.featured-stack-card__num {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.3em;
  color: #999;
  margin-bottom: 2px;
}

.featured-stack-card__name {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(21px, 1.65vw, 27px);
  letter-spacing: -0.015em;
  line-height: 1;
  margin: 0 0 2px;
  color: #111;
}

.featured-stack-card__name-sub {
  font-family: var(--display);
  font-weight: 200;
  font-style: italic;
  font-size: 0.72em;
  color: color-mix(in oklab, var(--accent) 70%, var(--ink) 30%);
  letter-spacing: -0.01em;
  margin-left: 0.1em;
}

.featured-stack-card__class {
  font-family: var(--body);
  font-weight: 300;
  font-size: 11.5px;
  color: #666;
  margin: 0;
  letter-spacing: 0.01em;
}

.featured-stack-card__line {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 7px 0 2px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.featured-stack-card__mass {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.15em;
  color: #333;
  text-transform: uppercase;
}

.featured-stack-card__purity {
  font-family: var(--mono);
  font-size: 8.8px;
  letter-spacing: 0.17em;
  color: #999;
  text-transform: uppercase;
}

.featured-stack-card__desc {
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.38;
  color: #666;
  margin: 2px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-stack-card__cta {
  font-family: var(--mono);
  font-size: 8.8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #222;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  transition: color .3s ease, letter-spacing .35s ease;
}

.featured-stack-card:hover .featured-stack-card__cta {
  color: #000;
  letter-spacing: 0.28em;
}

.featured-stacks__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.86);
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #101a2e;
  box-shadow: 0 18px 44px rgba(29, 70, 111, 0.13);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.featured-stacks__nav span { font-family: var(--display); font-size: 30px; line-height: 1; }
.featured-stacks__nav:hover { background: #fff; transform: translateY(-50%) scale(1.04); }
.featured-stacks__nav:disabled { opacity: 0.42; cursor: default; transform: translateY(-50%); }
.featured-stacks__nav--prev { left: -28px; }
.featured-stacks__nav--next { right: -28px; }

.featured-stacks__dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 26px 0 30px;
}

.featured-stacks__dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(33, 75, 122, 0.22);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.featured-stacks__dots button.is-active {
  background: #101a2e;
  transform: scale(1.1);
}

.featured-stacks__all {
  width: min(100%, 380px);
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 999px;
  background: #07152b;
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  box-shadow: 0 18px 44px rgba(7, 21, 43, 0.18);
  transition: transform .2s ease, background .2s ease;
}

.featured-stacks__all:hover { background: #101f38; transform: translateY(-2px); }

.featured-stacks__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.featured-stacks__footer .featured-stacks__all {
  margin: 0;
  flex: 0 0 auto;
}

@media (max-width: 1180px) {
  .featured-stack-card { flex-basis: calc((100% - 44px) / 3); }
}

@media (max-width: 940px) {
  .featured-stacks { padding-inline: 32px; }
  .featured-stack-card { flex-basis: calc((100% - 22px) / 2); }
  .featured-stacks__nav--prev { left: -18px; }
  .featured-stacks__nav--next { right: -18px; }
}

@media (max-width: 1180px) {
  .featured-card {
    flex-basis: calc((100% - 44px) / 3);
  }
}

@media (max-width: 940px) {
  .featured-compounds {
    padding-inline: 32px;
  }
  .featured-card {
    flex-basis: calc((100% - 22px) / 2);
  }
  .featured-compounds__nav--prev { left: -18px; }
  .featured-compounds__nav--next { right: -18px; }
}

.mobile-product-strip {
  display: none;
}

.swipe-hint {
  display: none;
}

.mobile-product-strip__link,
.designboard__link {
  display: block;
  color: inherit;
}

.mobile-product-strip__link:focus-visible,
.designboard__link:focus-visible {
  outline: 2px solid rgba(16, 23, 34, 0.5);
  outline-offset: 4px;
}

.stack-banner {
  position: relative;
  z-index: 4;
  background: #fff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.stack-banner__link {
  display: block;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(.32,.72,.24,1),
              box-shadow 0.55s cubic-bezier(.32,.72,.24,1);
}

.stack-banner__link:hover {
  transform: scale(1.015) translateY(-4px);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.10);
}

.stack-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.designboard {
  position: relative;
  z-index: 4;
  padding: 72px 56px;
  background: #fff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.designboard img {
  display: block;
  width: min(100%, 1120px);
  height: auto;
  margin: 0 auto;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  color: var(--ink);
  transition: background .2s ease;
}
.info-row:first-child {
  border-top: 1px solid var(--line-soft);
}
.info-row:hover {
  background: rgba(255,255,255,0.4);
}

.info-row__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  background: #fff;
}
.info-row__icon svg {
  width: 20px;
  height: 20px;
}

.info-row__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.info-row__text strong {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.info-row__text span {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 400;
}

.info-row__arr {
  font-size: 22px;
  color: var(--ink-mute);
  flex-shrink: 0;
  transition: transform .2s ease, color .2s ease;
}
.info-row:hover .info-row__arr {
  transform: translateX(3px);
  color: var(--accent);
}

/* ------------------------------------------------------------------
   Why Sera image + Features strip
   ------------------------------------------------------------------ */
.why-sera-unit {
  position: relative;
  z-index: 4;
}

.why-sera-img {
  line-height: 0;
  overflow: hidden;
  cursor: pointer;
}

.why-sera-img img {
  transition: transform .5s cubic-bezier(.32,.72,.24,1);
}

.why-sera-img:hover img {
  transform: scale(1.03);
}

.why-sera-img img {
  display: block;
  width: 100%;
  height: auto;
}

.feats-carousel {
  position: relative;
  z-index: 4;
  background: #f0f4f8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 20px 0 24px;
}

.feats-carousel__viewport {
  overflow-x: clip;
  overflow-y: visible;
  padding: 6px 0 8px;
}

.feats-carousel__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 20px;
}

.feats-carousel__track::-webkit-scrollbar { display: none; }

.feats-carousel__track.is-marquee {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.feats-carousel__track.is-marquee .feats-card {
  scroll-snap-align: none;
}

.feats-card {
  flex: 0 0 calc((100% - 42px) / 3);
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  scroll-snap-align: start;
  transition: transform .45s cubic-bezier(.32,.72,.24,1), box-shadow .45s cubic-bezier(.32,.72,.24,1);
}

.feats-card:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.shop-now-card {
  position: relative;
  z-index: 4;
  background: #f0f4f8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 40px 40px 44px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.shop-now-card__eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(17, 28, 49, 0.45);
}

.shop-now-card__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 200;
  letter-spacing: -0.02em;
  color: #111c31;
}

.shop-now-card__cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.feats-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  background: rgba(248, 250, 252, 0.9);
  color: #3a5f8a;
}

.feats-card__icon svg {
  width: 15px;
  height: 15px;
}

.feats-card__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 300;
  letter-spacing: -0.012em;
  line-height: 1.2;
  color: #111c31;
}

.feats-card__body {
  margin: 0;
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(17, 28, 49, 0.58);
  flex: 1;
}

.feats-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1f5d9b;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding-top: 14px;
  margin-top: 4px;
  transition: gap .2s ease;
}

.feats-card__cta:hover { gap: 10px; }

/* ------------------------------------------------------------------
   Contact bar — HIDDEN on desktop
   ------------------------------------------------------------------ */
.contact-bar {
  display: none;
}

/* ------------------------------------------------------------------
   Rise animation
   ------------------------------------------------------------------ */
[data-rise] {
  opacity: 0;
  transform: translateY(14px);
  animation: rise .85s cubic-bezier(.32,.72,.24,1) forwards;
  animation-delay: calc(var(--i, 0) * 110ms + 200ms);
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cta-gloss-varied {
  0%, 8.9% { left: -40%; }
  12.1%, 14.28% { left: 130%; }
  14.29%, 23.2% { left: -40%; }
  26.4%, 28.57% { left: 130%; }
  28.58%, 37.5% { left: 130%; }
  40.7%, 42.85% { left: -40%; }
  42.86%, 51.8% { left: -40%; }
  55%, 57.14% { left: 130%; }
  57.15%, 61.2% { left: -40%; }
  64.4% { left: 130%; }
  68.2%, 71.42% { left: -40%; }
  71.43%, 80.4% { left: -40%; }
  83.6%, 85.71% { left: 130%; }
  85.72%, 94.7% { left: -40%; }
  97.9%, 100% { left: 130%; }
}

/* ==================================================================
   MOBILE — ≤ 820px
   ================================================================== */
@media (max-width: 820px) {

  .anchors { display: none; }
  .feats-carousel { padding: 14px 0 18px; }
  .feats-card { flex: 0 0 calc(50% - 7px); min-width: 180px; }
  .shop-now-card { padding: 32px 20px 36px; }
  .shop-now-card__cta-row .hero-badge { display: none; }
  .featured-compounds__footer,
  .featured-stacks__footer { flex-direction: column; align-items: center; gap: 16px; }
  .featured-compounds__footer .featured-compounds__all,
  .featured-stacks__footer .featured-stacks__all { width: min(100%, 380px); margin: 0; }
  .compounds-in-stock { width: 100%; max-width: 380px; justify-content: flex-start; box-sizing: border-box; }

  /* Stage no longer needs full-viewport min-height on mobile */
  .stage {
    min-height: auto;
  }

  /* Vials image: positioned at top, centered, large */
  .cinema {
    position: absolute;
  }
  .cinema-base {
    position: absolute;
    top: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 130vw;
    max-width: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 3%, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 3%, #000 72%, transparent 100%);
  }

  /* Veil: top-to-bottom fade on mobile so vials show at top */
  .stage-veil {
    position: absolute;
    width: 100%;
    inset: 0;
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.0) 0%,
        rgba(255,255,255,0.3) 28%,
        rgba(255,255,255,0.8) 42%,
        rgba(255,255,255,0.96) 52%,
        rgba(255,255,255,1) 60%,
        rgba(255,255,255,1) 100%);
    backdrop-filter: none;
  }

  .grain {
    position: absolute;
  }

  /* Hero: single column, push text below the vials area */
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 56vw 24px 32px;
    min-height: auto;
    gap: 0;
  }

  .hero-content {
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
    color: #fff;
    margin-bottom: 14px;
  }

  h1.display {
    font-size: clamp(30px, 8vw, 42px);
    margin-bottom: 12px;
    line-height: 1.08;
  }

  .hero-sub {
    font-size: 14px;
    margin: 0 auto 22px;
    max-width: 300px;
    line-height: 1.5;
  }

  /* CTA row: stack vertically, full-width button, hide badges */
  .hero-cta-row {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  .btn-primary-pill {
    --cta-gloss-interval: 3.5s;
    --cta-gloss-cycle: calc(var(--cta-gloss-interval) * 7);
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 16px 28px;
    font-size: 12px;
    letter-spacing: 0.24em;
  }

  .btn-primary-pill::before {
    animation: cta-gloss-varied var(--cta-gloss-cycle) cubic-bezier(.4,0,.2,1) infinite;
  }

  .btn-label-desktop { display: none; }
  .btn-label-mobile { display: inline; }

  .hero-badge { display: none; }

  /* Show info rows on mobile */
  .info-rows {
    display: block;
    position: relative;
    z-index: 4;
    background: #fff;
  }

  .featured-compounds {
    min-height: auto;
    padding: 32px 14px 28px;
  }

  .featured-compounds::before {
    opacity: 0.2;
    background-position: center top;
  }

  .featured-compounds__head {
    margin-bottom: 0;
  }

  .featured-compounds__eyebrow {
    font-size: 9px;
    letter-spacing: 0.26em;
    margin-bottom: 6px;
  }

  .featured-compounds h2 {
    font-size: clamp(24px, 7.5vw, 34px);
    line-height: 1.08;
  }

  .featured-compounds__carousel {
    margin-top: 18px;
  }

  .featured-compounds__viewport {
    overflow: visible;
  }

  .swipe-hint {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 36px;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    transition: opacity 1.2s cubic-bezier(.4,0,.2,1);
  }
  .swipe-hint.is-dismissed { opacity: 0; }
  .swipe-hint--left  { left: 0; }
  .swipe-hint--right { right: 0; }

  .swipe-hint__chevron {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 28px;
    transform: translateY(-50%);
    animation: swipeBreath 2.8s ease-in-out infinite;
  }
  .swipe-hint--left  .swipe-hint__chevron { left: 6px;  animation-delay: 0.4s; }
  .swipe-hint--right .swipe-hint__chevron { right: 6px; animation-delay: 0s; }
  .swipe-hint__chevron svg { display: block; width: 100%; height: 100%; }

  .swipe-hint__edge {
    position: absolute;
    top: 25%;
    bottom: 25%;
    width: 1px;
    animation: swipeEdge 2.8s ease-in-out infinite;
  }
  .swipe-hint--left  .swipe-hint__edge {
    left: 0;
    background: linear-gradient(180deg, transparent, rgba(158,181,209,0.45), transparent);
    animation-delay: 0.4s;
  }
  .swipe-hint--right .swipe-hint__edge {
    right: 0;
    background: linear-gradient(180deg, transparent, rgba(158,181,209,0.45), transparent);
    animation-delay: 0s;
  }

  @keyframes swipeBreath {
    0%, 100% { opacity: 0; }
    40%, 60%  { opacity: 0.62; }
  }
  @keyframes swipeEdge {
    0%, 100% { opacity: 0; }
    40%, 60%  { opacity: 0.85; }
  }

  /* Show 2 cards + small peek of 3rd on mobile */
  .featured-compounds__track,
  .featured-stacks__track {
    gap: 10px;
  }

  .featured-card {
    flex-basis: clamp(132px, 43vw, 174px);
    min-width: clamp(132px, 43vw, 174px);
  }

  .featured-card__media {
    aspect-ratio: 1 / 0.98;
  }

  .featured-card__body {
    padding: 10px 8px 12px;
    gap: 5px;
  }

  .featured-card__name {
    font-size: clamp(17px, 5vw, 22px);
    line-height: 1.05;
  }

  .featured-card__num {
    font-size: 7.5px;
    letter-spacing: 0.22em;
  }

  .featured-card__class,
  .featured-card__desc {
    font-size: 11px;
  }

  .featured-card__line {
    gap: 7px;
    margin-top: 5px;
    padding-top: 7px;
  }

  .featured-card__mass {
    font-size: 8.5px;
  }

  .featured-card__purity {
    font-size: 7.6px;
    letter-spacing: 0.12em;
  }

  .featured-card__desc {
    margin-bottom: 7px;
  }

  .featured-card__cta {
    font-size: 8px;
    letter-spacing: 0.16em;
    padding-top: 8px;
  }

  .featured-compounds__nav {
    display: none;
  }

  .featured-compounds__dots {
    margin: 14px 0 16px;
  }

  .featured-compounds__dots button {
    width: 8px;
    height: 8px;
  }

  .featured-compounds__all {
    min-height: 44px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .featured-stacks {
    min-height: auto;
    padding: 36px 14px 30px;
  }

  .featured-stacks::before {
    opacity: 0.24;
    background-position: center top;
  }

  .featured-stacks h2 {
    font-size: clamp(24px, 7.5vw, 34px);
    line-height: 1.02;
  }

  .featured-stacks__eyebrow {
    font-size: 9px;
    letter-spacing: 0.26em;
    margin-bottom: 8px;
  }

  .featured-stacks__subcopy {
    max-width: 320px;
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.45;
  }

  .featured-stacks__subcopy br {
    display: none;
  }

  .featured-stacks__carousel {
    margin-top: 18px;
  }

  .featured-stacks__viewport {
    overflow: visible;
  }

  .featured-stack-card {
    flex-basis: clamp(150px, 44vw, 210px);
    min-width: clamp(150px, 44vw, 210px);
  }

  .featured-stack-card__fig {
    padding: 0;
    aspect-ratio: 1.34 / 1;
  }

  .featured-stack-card__fig::before {
    height: 44px;
    bottom: -10px;
  }

  .featured-stack-card__fig::after {
    bottom: 12px;
    height: 12px;
  }

  .featured-stack-card__group {
    width: 118%;
    transform: translateY(5px);
  }

  .featured-stack-card__body {
    padding: 12px 10px 14px;
    gap: 5px;
  }

  .featured-stack-card__num {
    font-size: 8.5px;
    letter-spacing: 0.22em;
  }

  .featured-stack-card__name {
    font-size: clamp(16px, 4.6vw, 21px);
    line-height: 1.05;
  }

  .featured-stack-card__class,
  .featured-stack-card__desc {
    font-size: 10.5px;
    line-height: 1.25;
  }

  .featured-stack-card__line {
    gap: 7px;
    margin-top: 5px;
    padding-top: 7px;
  }

  .featured-stack-card__mass {
    font-size: 8.5px;
  }

  .featured-stack-card__purity {
    font-size: 7.6px;
    letter-spacing: 0.12em;
  }

  .featured-stack-card__desc {
    margin-bottom: 7px;
  }

  .featured-stack-card__cta {
    font-size: 7.5px;
    letter-spacing: 0.14em;
    padding-top: 8px;
  }

  .featured-stacks__nav {
    display: none;
  }

  .featured-stacks__dots {
    margin: 14px 0 16px;
  }

  .featured-stacks__dots button {
    width: 8px;
    height: 8px;
  }

  .featured-stacks__all {
    min-height: 44px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .mobile-product-strip {
    position: relative;
    z-index: 4;
    display: block;
    background: #fff;
    border-bottom: 1px solid var(--line-soft);
    overflow: visible;
    padding-bottom: 18px;
  }

  .mobile-product-strip__link {
    overflow: hidden;
    display: block;
    will-change: transform;
    transition: transform 0.55s cubic-bezier(.32,.72,.24,1),
                box-shadow 0.55s cubic-bezier(.32,.72,.24,1);
  }

  .mobile-product-strip__link:hover {
    transform: scale(1.025) translateY(-6px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.13);
  }

  .mobile-product-strip img {
    display: block;
    width: 100%;
    height: auto;
  }

  .designboard {
    padding: 0;
    overflow: hidden;
  }

  .designboard img {
    width: 100%;
  }

  /* Show contact bar on mobile */
  .contact-bar {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: #fff;
    border-top: 1px solid var(--line-soft);
  }
  .contact-bar__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink-soft);
    background: #fff;
  }
  .contact-bar__icon svg {
    width: 18px;
    height: 18px;
  }
  .contact-bar__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
  }
  .contact-bar__q {
    font-family: var(--body);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .contact-bar__sub {
    font-family: var(--body);
    font-size: 13px;
    color: var(--ink-mute);
  }
  .contact-bar__link {
    font-family: var(--body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-deep);
    white-space: nowrap;
    transition: color .2s ease;
  }
  .contact-bar__link:hover { color: var(--ink); }
}

/* ------------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-rise] { opacity: 1; transform: none; }
}
