/* YNS prototype — dark / near-black + red accent
   Mobile-first. 390px and 1440px are first-class targets. */

:root {
  --bg: #080808;
  --bg-2: #0e0e0e;
  --bg-elev: #141414;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f6f6f6;
  --text-muted: #9a9a9a;
  --text-dim: #6e6e6e;
  --accent: #e11d2e;
  --accent-2: #ff2d40;
  --accent-deep: #9b1420;
  --accent-soft: rgba(225, 29, 46, 0.14);
  --glow: rgba(225, 29, 46, 0.5);
  --cream: #f3efe9;
  --cream-2: #e8e2d9;
  --ink: #111111;
  --ink-soft: #3d3d3d;
  --white: #ffffff;
  --nav-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Syne", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  background: var(--bg);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--accent);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3, .wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 0 0 0 var(--glow), 0 10px 30px rgba(225, 29, 46, 0.25);
}

.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 0 40px var(--glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #000;
}

.btn-card {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
}

.btn-card:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-card.is-added {
  background: var(--accent);
  color: var(--white);
  pointer-events: none;
}

.btn:focus-visible,
.icon-btn:focus-visible,
.nav-links a:focus-visible,
.menu a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.nav-inner {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  line-height: 1;
  justify-self: start;
}

.wordmark span {
  color: var(--accent);
}

.nav-links {
  display: none;
  gap: 28px;
  justify-content: center;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-btn,
.menu-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.35s var(--ease);
}

.cart-btn:hover,
.menu-toggle:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.cart-btn.is-pulse {
  transform: scale(1.12);
  border-color: var(--accent);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.menu-toggle {
  display: grid;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

.nav.is-open .menu-toggle span { background: transparent; }
.nav.is-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 70;
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 32px 24px 48px;
  gap: 8px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.nav.is-open .mobile-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 10vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 16px) 0 28px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 70% 45%, rgba(225, 29, 46, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(225, 29, 46, 0.08), transparent 55%),
    linear-gradient(180deg, #080808 0%, #0c0c0c 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 50%, black 20%, transparent 75%);
  opacity: 0.7;
}

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.35;
  animation: rise var(--dur, 14s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.particle.w {
  background: #fff;
  opacity: 0.2;
}

@keyframes rise {
  0% { transform: translateY(20px) scale(1); opacity: 0; }
  15% { opacity: var(--o, 0.35); }
  100% { transform: translateY(-110vh) scale(0.6); opacity: 0; }
}

.hero-inner {
  position: relative;
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 36px;
  z-index: 1;
}

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

.hero-inner,
.hero-copy,
.hero-body,
.hero h1 {
  min-width: 0;
}
.hero h1 {
  margin: 16px 0 8px;
  font-size: clamp(2.4rem, calc((100vw - 72px) / 8.2), 8.4rem);
  letter-spacing: -0.06em;
}

.hero h1 .red {
  color: var(--accent);
}

.hero-lead {
  max-width: 42ch;
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-actions .btn {
  min-height: 48px;
  padding: 0 20px;
}

.hero-stage {
  position: relative;
  height: 250px;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.55) 0%, rgba(225, 29, 46, 0.12) 42%, transparent 70%);
  filter: blur(8px);
  animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}

.product-cluster {
  position: relative;
  width: min(100%, 320px);
  height: 250px;
}

.float {
  position: absolute;
  animation: floaty var(--f-dur, 6s) ease-in-out infinite;
  animation-delay: var(--f-delay, 0s);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}

.float-a { left: 20%; bottom: 0; width: 64%; z-index: 2; --rot: -6deg; --f-dur: 6.5s; }
.float-b { right: 2%; top: 2%; width: 44%; z-index: 3; --rot: 10deg; --f-dur: 5.4s; --f-delay: -1.2s; }
.float-c { left: 0; top: 14%; width: 38%; z-index: 1; --rot: -14deg; --f-dur: 7s; --f-delay: -2s; }

.scroll-cue {
  display: none;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  z-index: 2;
}

.scroll-cue i {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--accent), transparent);
  display: block;
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0% { transform: scaleY(0.3); transform-origin: top; opacity: 0; }
  40% { opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 88px 0;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  max-width: 14ch;
}

.section-head p {
  max-width: 46ch;
  color: var(--text-muted);
}

.kicker {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ---------- Goals ---------- */
.goals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.goal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.45s var(--ease), background 0.3s ease;
}

.goal-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.goal-card:hover {
  border-color: rgba(225, 29, 46, 0.45);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.goal-card:hover::after { opacity: 0.7; }

.goal-icon {
  width: 42px;
  height: 42px;
  color: var(--accent);
}

.goal-card h3 {
  font-size: 1.45rem;
  margin-top: 28px;
  letter-spacing: -0.03em;
}

.goal-card p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.goal-card .go {
  margin-top: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

/* ---------- Products ---------- */
.products {
  background: linear-gradient(180deg, var(--bg) 0%, #0b0b0b 100%);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.product-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 18px 20px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.45s var(--ease);
}

.product-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-6px);
}

.product-visual {
  position: relative;
  height: 240px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 50% 70%, var(--accent-soft), transparent 65%),
    #101010;
  margin-bottom: 18px;
  overflow: hidden;
}

.product-visual svg {
  width: 58%;
  height: auto;
  transform: translateY(8px) rotate(-6deg);
  transition: transform 0.55s var(--ease);
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.4));
}

.product-card:hover .product-visual svg {
  transform: translateY(-4px) rotate(0deg) scale(1.05);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.badge.hot {
  background: var(--accent);
  border-color: transparent;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 6px;
}

.product-meta h3 {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.price {
  font-weight: 700;
  white-space: nowrap;
}

.price small {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  vertical-align: super;
}

.product-sub {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 16px;
}

.demo-note {
  margin-top: 22px;
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  gap: 40px;
}

.why-points {
  display: grid;
  gap: 18px;
}

.why-points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}

.why-points strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 2px;
}

.tick {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-2);
  margin-top: 2px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  padding: 22px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 140px;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--white);
}

.stat b span,
.stat b em {
  display: inline;
  font-style: normal;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  margin: 0;
  color: inherit;
}

.stat b em,
.stat b .accent {
  color: var(--accent);
}

.stat > p,
.stat > .stat-label {
  display: block;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ---------- Quality / ingredients ---------- */
.quality {
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
}

.quality .eyebrow { color: var(--accent-deep); }
.quality .eyebrow::before { background: var(--accent); }
.quality .section-head p,
.quality .kicker { color: var(--ink-soft); }

.ing-grid {
  display: grid;
  gap: 12px;
}

.ing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.ing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.ing-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f6d5d8;
  color: var(--accent-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.ing-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.quality-aside {
  margin-top: 28px;
  padding: 24px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--text);
  display: grid;
  gap: 10px;
}

.quality-aside h3 {
  font-size: 1.4rem;
}

.quality-aside p {
  color: var(--text-muted);
  max-width: 60ch;
}

.out-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.out-list li {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #d0d0d0;
}

.out-list li::before {
  content: "× ";
  color: var(--accent-2);
  font-weight: 700;
}

/* ---------- Marquee ---------- */
.stories {
  padding: 80px 0 40px;
  overflow: hidden;
}

.marquee {
  margin-top: 32px;
  display: grid;
  gap: 12px;
}

.marquee-row {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee var(--speed, 42s) linear infinite;
}

.marquee-row.reverse .marquee-track {
  animation-direction: reverse;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.quote {
  flex: 0 0 auto;
  width: min(78vw, 380px);
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.quote p {
  font-size: 1.02rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.quote footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.quote footer b {
  color: var(--text);
  font-weight: 700;
}

.stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

/* ---------- Newsletter ---------- */
.cta {
  padding: 20px 0 100px;
}

.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 48px 24px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(225, 29, 46, 0.35), transparent 50%),
    linear-gradient(180deg, #16080a 0%, #0e0e0e 100%);
  border: 1px solid rgba(225, 29, 46, 0.25);
  text-align: center;
}

.cta-box h2 {
  font-size: clamp(2.2rem, 8vw, 4.8rem);
  margin: 12px 0 12px;
}

.cta-box > p {
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 auto 28px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}

.cta-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.cta-form input[type="email"] {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.35);
  outline: none;
}

.cta-form input:focus {
  border-color: var(--accent);
}

.form-note,
.form-ok {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.form-ok {
  color: #f0c7cb;
  display: none;
}

.cta-form.is-done .form-ok { display: block; }
.cta-form.is-done .form-note,
.cta-form.is-done input,
.cta-form.is-done .btn { display: none; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}

.footer-top {
  display: grid;
  gap: 32px;
  padding-bottom: 36px;
}

.footer .wordmark {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 36ch;
  font-size: 0.92rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer-cols h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-cols a,
.footer-cols li {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 4px 0;
}

.footer-cols a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--text-dim);
  font-size: 0.78rem;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  z-index: 90;
  background: var(--white);
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 650;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
  white-space: nowrap;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Reveal defaults (JS adds .is-in) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
  .wrap { width: min(100% - 56px, var(--max)); }
  .nav-inner { width: min(100% - 48px, var(--max)); }
  .menu-toggle { display: none; }
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .nav-links { display: flex; }
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    min-height: calc(100svh - var(--nav-h) - 56px);
    align-content: center;
  }
  .hero {
    padding: calc(var(--nav-h) + 12px) 0 20px;
  }
  .hero-copy,
  .hero-body { position: relative; z-index: 2; }
  .hero-body { max-width: 42ch; }
  .hero-stage {
    position: absolute;
    right: -10px;
    top: 46%;
    transform: translateY(-50%);
    width: min(50%, 520px);
    height: 500px;
    z-index: 3;
    pointer-events: none;
  }
  .product-cluster { width: 100%; height: 100%; max-width: none; }
  .hero h1 { margin-bottom: 16px; }
  .hero-actions .btn { min-height: 52px; padding: 0 24px; }
  .scroll-cue { display: none; }
  .goals-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .goal-card { min-height: 280px; padding: 26px 22px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .why-grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; gap: 64px; }
  .ing-grid { grid-template-columns: 1fr 1fr; }
  .cta-form { flex-direction: row; align-items: stretch; }
  .cta-form .btn { flex: 0 0 auto; }
  .cta-form input { flex: 1; }
  .cta-box { padding: 80px 48px; text-align: left; }
  .cta-box > p { margin-left: 0; }
  .cta-form { margin: 0; }
  .footer-top { grid-template-columns: 1.3fr 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .section { padding: 120px 0; }
  .hero-copy { max-width: none; }
  .hero-body { max-width: 42ch; }
}

@media (min-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .ing-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: clamp(5.4rem, 8.2vw, 8.8rem); }
  .hero-stage { width: min(48%, 540px); height: 520px; right: 0; top: 45%; }
  .float-a { width: 66%; left: 14%; bottom: 0; }
  .float-b { width: 44%; right: 0; top: 4%; }
  .float-c { width: 38%; left: -2%; top: 16%; }
  .section-head { grid-template-columns: 1fr auto; align-items: end; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .float,
  .glow,
  .particle,
  .scroll-cue i,
  .marquee-track {
    animation: none !important;
  }
  .product-card,
  .goal-card,
  .ing-card,
  .btn,
  .product-visual svg {
    transition: none !important;
  }
}


html.is-shot .float,
html.is-shot .glow,
html.is-shot .particle,
html.is-shot .scroll-cue i,
html.is-shot .marquee-track {
  animation: none !important;
}
