/* ─── Rayu website tokens ─────────────────────────────────────────────── */
:root {
  --bg: #050505;
  --bg-2: #0c0c0c;
  --fg: #fafaf7;
  --fg-soft: rgba(250, 250, 247, 0.6);
  --fg-faint: rgba(250, 250, 247, 0.3);
  --line: rgba(250, 250, 247, 0.12);
  --accent: #94f4cb;
  --accent-fg: #050505;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* light theme */
[data-mode="light"] {
  --bg: #f4efe6;
  --bg-2: #ebe5d9;
  --fg: #161514;
  --fg-soft: rgba(22, 21, 20, 0.65);
  --fg-faint: rgba(22, 21, 20, 0.35);
  --line: rgba(22, 21, 20, 0.14);
  --accent-fg: #161514;
}

/* vibe overrides */
[data-vibe="wellness"] {
  --bg: #f1ece1;
  --bg-2: #e6dfd0;
  --fg: #1a1714;
  --fg-soft: rgba(26, 23, 20, 0.6);
  --fg-faint: rgba(26, 23, 20, 0.32);
  --line: rgba(26, 23, 20, 0.12);
  --accent-fg: #1a1714;
}
[data-vibe="athletic"] {
  --bg: #0a0d10;
  --bg-2: #11161b;
  --fg: #fafaf7;
  --line: rgba(255, 255, 255, 0.1);
  --serif: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
}
[data-vibe="athletic"][data-mode="light"] {
  --bg: #ecedee;
  --bg-2: #dfe0e3;
  --fg: #0a0d10;
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html { scroll-behavior: smooth; }
/* Offset anchored sections so the fixed nav doesn't cover their tops */
#daily, #how, #membership, #voices, #device { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, video { display: block; max-width: 100%; }

/* ─── Type system ──────────────────────────────────────────────────────── */
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
}
.display em { font-style: italic; }

[data-vibe="athletic"] .display {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

.body-l {
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--fg-soft);
}

/* ─── Layout primitives ───────────────────────────────────────────────── */
.shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) {
  .shell { padding: 0 22px; }
}

.rule {
  height: 0.5px;
  background: var(--line);
  width: 100%;
}

/* ─── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: var(--accent);
  color: var(--accent-fg);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), background 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  color: var(--fg);
  border: 0.5px solid var(--line);
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* ─── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  color: #fafaf7;
}
.nav.solid {
  mix-blend-mode: normal;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  color: var(--fg);
  border-bottom: 0.5px solid var(--line);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.02em;
  font-style: italic;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
}
[data-mode="light"] .nav-logo img { filter: invert(1); }
[data-vibe="athletic"] .nav-logo {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.nav-links a { opacity: 0.85; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  padding: 14px 26px; border-radius: 999px;
  background: #4fb88a; color: #ffffff !important;
  font-weight: 600; font-size: 15px; opacity: 1 !important;
  transition: filter 0.2s, transform 0.2s;
}
.nav-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* Magnetize button */
.mag-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 14px 26px;
  border-radius: 999px;
  background: #4fb88a;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  overflow: hidden;
  touch-action: none;
  isolation: isolate;
  transition: filter 0.2s, transform 0.2s;
}
.mag-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.mag-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 0.4;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.3s;
  z-index: 0;
}
.mag-btn.on .mag-dot { opacity: 1; background: #ffffff; }
.mag-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mag-magnet {
  transition: transform 0.3s;
}
.mag-btn.on .mag-magnet { transform: scale(1.15) rotate(-8deg); }
.nav-ireland {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding-left: 32px;
  border-left: 0.5px solid color-mix(in oklab, currentColor 22%, transparent);
}
.nav-flag {
  width: 30px; height: 20px; border-radius: 3px; display: block;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.nav-ireland-cap {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.85;
}
@media (max-width: 720px) {
  .nav { padding: 18px 22px; }
  .nav-links { display: none; }
  .nav-ireland { display: none; }
}

/* ─── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
  color: #fafaf7;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 80% at 30% 40%, rgba(148, 244, 203, 0.18), transparent 60%),
    radial-gradient(50% 60% at 80% 30%, rgba(188, 168, 246, 0.22), transparent 60%),
    radial-gradient(100% 100% at 70% 80%, rgba(220, 110, 90, 0.15), transparent 70%),
    linear-gradient(170deg, #0d0f14 0%, #1a1218 60%, #0a0a0a 100%);
  display: grid;
  place-items: center;
}
.hero-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-placeholder-label {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding: 8px 12px;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 30%, transparent 60%, rgba(0,0,0,0.6) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.4) 0%, transparent 40%);
  pointer-events: none;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.7'/></svg>");
}
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-dot {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: background 0.25s, width 0.25s, transform 0.2s;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.7); }
.hero-dot.on {
  width: 30px;
  background: #ffffff;
}
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(160px, 24vh, 300px);
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, color-mix(in oklab, var(--bg) 55%, transparent) 55%, var(--bg) 100%);
}
.hero-inner {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 150px;
  z-index: 3;
  display: flex;
  flex-direction: column;
}
@media (max-width: 720px) {
  .hero-inner { left: 22px; right: 22px; bottom: 124px; }
}

.hero-meta {
  position: absolute;
  top: 96px;
  left: 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-meta .eyebrow { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 720px) { .hero-meta { left: 22px; top: 90px; } }

.hero-title {
  font-size: clamp(48px, 8vw, 116px);
  max-width: none;
  white-space: nowrap;
  margin-bottom: 28px;
}
.hero-title em {
  display: inline-block;
}
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-sub {
  font-size: 16px;
  max-width: 74ch;
  flex: 1 1 640px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 10px;
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s, background 0.2s;
  min-height: 50px;
}
.store-btn:hover { transform: translateY(-1px); background: #111; }
.store-btn .store-glyph { font-size: 22px; line-height: 1; }
.store-btn .store-txt {
  display: flex; flex-direction: column; line-height: 1.05; align-items: flex-start;
}
.store-btn .store-txt small {
  font-size: 10.5px; opacity: 0.95; letter-spacing: 0.02em; font-weight: 400; margin-bottom: 2px;
}
.store-btn .store-txt b {
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}

.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border-top: 0.5px solid rgba(255, 255, 255, 0.18);
  padding: 11px 0;
  white-space: nowrap;
  overflow: hidden;
}
.hero-marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: marquee 38s linear infinite;
}
.hero-marquee-track > span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.hero-marquee-track > span::after {
  content: "✦";
  color: rgba(255, 255, 255, 0.3);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Sections ────────────────────────────────────────────────────────── */
section { padding: 120px 0; position: relative; }
@media (max-width: 720px) { section { padding: 80px 0; } }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 80px;
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; }
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-title {
  font-size: clamp(40px, 7vw, 96px);
  max-width: 18ch;
}
.section-lede {
  font-size: 17px;
  color: var(--fg-soft);
  max-width: 44ch;
  line-height: 1.55;
}

/* ─── Screens showcase (rayu.ai-style hero rebuild) ───────────────────── */
.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;
}

.screens {
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 40%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 70%),
    var(--bg);
}

.screens-heading {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 0 24px;
  margin-bottom: 48px;
}
.screens-h1 {
  font-size: clamp(36px, 5.4vw, 86px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
  max-width: 22ch;
  margin: 0 auto;
}
.screens-h1 em { font-style: italic; }
[data-vibe="athletic"] .screens-h1 {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.word-rotator {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  white-space: nowrap;
}
.rot-measure {
  display: inline-block;
  font-style: italic;
  visibility: hidden;
  white-space: nowrap;
  transition: width 0.45s cubic-bezier(0.7, 0, 0.2, 1);
}
.rot-word {
  position: absolute;
  inset: 0;
  display: inline-block;
  white-space: nowrap;
  font-style: italic;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.7, 0, 0.2, 1);
  background: linear-gradient(
    100deg,
    var(--accent) 0%,
    color-mix(in oklab, var(--accent) 60%, #fff) 55%,
    var(--accent) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
}
.rot-word.on {
  opacity: 1;
  transform: translateY(0);
}
[data-vibe="athletic"] .rot-word,
[data-vibe="athletic"] .rot-measure {
  font-style: normal;
}

/* Floating screens stage */
.screens-stage {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  height: 720px;
  z-index: 1;
}
@media (max-width: 900px) {
  .screens-stage { height: 540px; }
}

.float-screen {
  position: absolute;
  width: 240px;
  height: auto;
  border-radius: 22px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.55),
    0 8px 24px -8px rgba(0, 0, 0, 0.4);
  will-change: transform;
  z-index: 2;
  filter: saturate(1.05);
}
[data-mode="light"] .float-screen {
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.18),
    0 6px 18px -4px rgba(0, 0, 0, 0.12);
}
.float-1 { top: 60px;   left: 4%;   width: 200px; }
.float-2 { top: 30px;   right: 6%;  width: 220px; }
.float-3 { top: 380px;  left: 0%;   width: 220px; }
.float-4 { top: 420px;  right: 2%;  width: 230px; }
.float-5 { top: 220px;  left: 18%;  width: 180px; }

@media (max-width: 1100px) {
  .float-1 { width: 160px; left: 2%; }
  .float-2 { width: 170px; right: 2%; }
  .float-3 { width: 170px; left: -3%; top: 360px; }
  .float-4 { width: 180px; right: -2%; top: 400px; }
  .float-5 { width: 140px; left: 14%; }
}
@media (max-width: 720px) {
  .float-screen { width: 110px !important; }
  .float-1 { top: 40px; left: -2%; }
  .float-2 { top: 20px; right: -2%; }
  .float-3 { top: 280px; left: -5%; }
  .float-4 { top: 320px; right: -3%; }
  .float-5 { top: 200px; left: 8%; }
}

/* Mobile mockup centered */
.mobile-mockup {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 580px;
  transform: translate(-50%, -50%);
  z-index: 3;
  will-change: transform;
  transform-origin: center;
}
.mobile-mockup > * {
  position: absolute;
}
.mobile-screen {
  inset: 14px 14px 14px 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: cover;
  border-radius: 36px;
  z-index: 1;
  background: #0b0b0e;
}
.mobile-frame {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
[data-mode="light"] .mobile-frame { filter: invert(0.85) hue-rotate(180deg); }
.mobile-glow {
  position: absolute;
  inset: -40% -20% -40% -20%;
  z-index: 0;
  background: radial-gradient(50% 60% at 50% 50%, color-mix(in oklab, var(--accent) 25%, transparent), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

@media (max-width: 720px) {
  .mobile-mockup { width: 210px; height: 440px; }
}

/* Slide-in tail */
.screens-tail {
  position: relative;
  z-index: 4;
  margin-top: 64px;
  text-align: center;
  padding: 0 24px;
  overflow: hidden;
}
.slide-in-heading {
  font-size: clamp(40px, 7vw, 108px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 auto 40px;
  max-width: 18ch;
  will-change: transform;
}
.slide-in-heading em { font-style: italic; }
[data-vibe="athletic"] .slide-in-heading {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
}

/* Primary "Download app" button with hover fill */
.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 36px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
}
.primary-btn > span { position: relative; z-index: 2; transition: color 0.4s; }
.primary-btn::before {
  content: "";
  position: absolute;
  inset: 50% 50%;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 1;
  width: 200%;
  aspect-ratio: 1;
  margin: 0;
  left: 50%;
  top: 50%;
}
.primary-btn:hover::before { transform: translate(-50%, -50%) scale(1); }
.primary-btn:hover > span { color: var(--accent-fg); }
.primary-btn-arrow {
  display: inline-block;
  transform: translate(0, 0);
  transition: transform 0.3s;
}
.primary-btn:hover .primary-btn-arrow { transform: translate(2px, -2px); }

/* ─── How it works ────────────────────────────────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
}
.how-cell {
  background: var(--bg);
  padding: 48px 36px 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 460px;
  position: relative;
}
.how-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-soft);
}
.how-visual {
  flex: 1;
  background: var(--bg-2);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: grid;
  place-items: center;
}
.how-title {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
}
[data-vibe="athletic"] .how-title {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.how-desc {
  font-size: 14px;
  color: var(--fg-soft);
  line-height: 1.55;
  max-width: 32ch;
}

/* AI orb visual */
.viz-orb {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #d8d4ff 0%, #9d92f0 40%, #5b6dd5 70%, #2a2f8a 100%);
  box-shadow:
    inset -20px -30px 60px rgba(0, 0, 30, 0.4),
    inset 30px 20px 40px rgba(255, 255, 255, 0.15),
    0 30px 80px rgba(120, 90, 220, 0.4);
  position: relative;
  animation: orb-float 8s ease-in-out infinite;
}
.viz-orb::before {
  content: "";
  position: absolute;
  top: 18%;
  left: 28%;
  width: 30%;
  height: 24%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.85), transparent 70%);
  filter: blur(4px);
}
@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

/* Wearable visual */
.viz-band {
  position: relative;
  width: 76%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, #1a1d24, #0a0c10);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 -20px 40px rgba(0,0,0,0.6),
    inset 0 10px 30px rgba(255,255,255,0.06),
    0 30px 60px rgba(0,0,0,0.5);
}
.viz-band::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #2a2f3a, #0a0c10);
  box-shadow: inset 0 2px 8px rgba(255,255,255,0.08);
}
.viz-band-led {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
  top: 8%;
  z-index: 2;
  animation: led-pulse 2s ease-in-out infinite;
}
@keyframes led-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Sync visual */
.viz-sync {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-soft);
}
.viz-sync-node {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 0.5px solid var(--line);
  background: var(--bg);
  font-size: 28px;
}
.viz-sync-wire {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  position: relative;
  min-width: 30px;
}
.viz-sync-wire::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: wire-flow 2.5s linear infinite;
}
@keyframes wire-flow {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ─── Wearable showcase ──────────────────────────────────────────────── */
.wear {
  background: var(--bg-2);
  padding: 140px 0 140px;
}
.wear-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .wear-grid { grid-template-columns: 1fr; gap: 56px; }
}
.wear-stage {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: 24px;
  background:
    radial-gradient(60% 70% at 50% 40%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%),
    var(--bg);
  border: 0.5px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.wear-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 75%);
}
.wear-ring {
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 25%, #d4d4d4 0%, #888 18%, #2a2a2a 50%, #050505 80%),
    #111;
  position: relative;
  box-shadow:
    inset 0 -16px 40px rgba(0,0,0,0.7),
    inset 0 4px 12px rgba(255,255,255,0.12),
    0 40px 80px rgba(0,0,0,0.5);
}
.wear-ring::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #1a1a1a, #050505);
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.8), inset 0 -2px 4px rgba(255,255,255,0.04);
}
.wear-ring-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
  padding: 8px 12px;
  border: 0.5px solid var(--line);
  border-radius: 6px;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.wear-copy h3 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  max-width: 14ch;
}
[data-vibe="athletic"] .wear-copy h3 {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
}
.wear-copy h3 em { font-style: italic; }
.wear-copy p {
  font-size: 17px;
  color: var(--fg-soft);
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 46ch;
}
.wear-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--line);
}
.wear-spec {
  padding: 22px 0;
  border-bottom: 0.5px solid var(--line);
}
.wear-spec:nth-child(odd) { padding-right: 24px; border-right: 0.5px solid var(--line); }
.wear-spec:nth-child(even) { padding-left: 24px; }
.wear-spec-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 6px;
}
.wear-spec-v {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
[data-vibe="athletic"] .wear-spec-v {
  font-family: var(--sans);
  font-weight: 500;
}

/* ─── Sync logos ──────────────────────────────────────────────────────── */
.sync-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 60px 0;
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
  flex-wrap: wrap;
}
.sync-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.sync-logo svg { width: 22px; height: 22px; opacity: 0.7; }

/* ─── Testimonials ────────────────────────────────────────────────────── */
.tests {
  padding: 140px 0;
}
.tests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 0.5px solid var(--line);
}
@media (max-width: 900px) {
  .tests-grid { grid-template-columns: 1fr; }
}
.test {
  background: var(--bg);
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 360px;
}
.test-quote {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  flex: 1;
}
[data-vibe="athletic"] .test-quote {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.test-quote em { font-style: italic; }
.test-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-2), var(--line));
  border: 0.5px solid var(--line);
  flex-shrink: 0;
}
.test-name {
  font-size: 13px;
  font-weight: 500;
}
.test-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ─── Press / strip ───────────────────────────────────────────────────── */
.press {
  padding: 56px 0;
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.press-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.press-row {
  display: flex;
  gap: 56px;
  align-items: center;
  flex-wrap: wrap;
}
.press-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.01em;
  opacity: 0.75;
}
[data-vibe="athletic"] .press-mark {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
}

/* ─── CTA block ───────────────────────────────────────────────────────── */
.cta {
  padding: 160px 0 160px;
  text-align: center;
  position: relative;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(56px, 10vw, 156px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
[data-vibe="athletic"] .cta-title {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}
.cta-title em { font-style: italic; }
.cta-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-store {
  background: var(--fg);
  color: var(--bg);
}

/* ─── Footer ──────────────────────────────────────────────────────────── */
footer {
  padding: 80px 0 40px;
  border-top: 0.5px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
.footer-logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
}
.footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}
[data-mode="light"] .footer-logo img { filter: invert(1); }
[data-vibe="athletic"] .footer-logo {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}
.footer-tag {
  font-size: 14px;
  color: var(--fg-soft);
  max-width: 28ch;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--fg-soft);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
  flex-wrap: wrap;
  gap: 16px;
}

/* ─── Reveal on scroll ────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.3, 1),
              transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════
   WHOOP-order lifestyle sections
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 2. Wear rayu daily ──────────────────────────────────────────────── */
.daily { padding: 130px 0; background: var(--bg); }
.daily-head { max-width: none; margin-bottom: 56px; }
.daily-title { font-size: clamp(44px, 7vw, 104px); margin-bottom: 28px; }
.daily-lede { font-size: clamp(18px, 2.1vw, 24px); line-height: 1.5; color: var(--fg-soft); max-width: none; }
.daily-aster { color: var(--fg-faint); }
.daily-stage {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden;
  background: var(--bg-2); border: 0.5px solid var(--line);
}
@media (max-width: 720px) { .daily-stage { aspect-ratio: 4 / 5; } }
.daily-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.daily-join {
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
  z-index: 4; padding: 16px 30px; border-radius: 999px; background: #fff; color: #0a0a0a;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transition: transform 0.2s; white-space: nowrap;
}
.daily-join:hover { transform: translateX(-50%) translateY(-2px); }

/* particle health-age orb */
.daily-orb {
  position: absolute; left: 7%; top: 50%; transform: translateY(-50%);
  width: clamp(180px, 22vw, 280px); aspect-ratio: 1; z-index: 3; display: grid; place-items: center;
}
@media (max-width: 720px) { .daily-orb { left: 50%; top: 38%; transform: translate(-50%, -50%); } }
.orb-glow {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(20,40,32,0.92) 0%, rgba(16,32,26,0.7) 42%, transparent 68%),
    radial-gradient(circle at 50% 50%, rgba(74,232,170,0.55), transparent 60%);
  box-shadow: 0 0 60px 10px rgba(74,232,170,0.28), inset 0 0 50px rgba(74,232,170,0.25);
  filter: blur(0.5px);
  animation: orbPulse 5s ease-in-out infinite;
}
.orb-glow::after {
  content: ""; position: absolute; inset: -6%; border-radius: 50%;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(120,255,200,0.9), transparent 60%),
    radial-gradient(2px 2px at 80% 25%, rgba(120,255,200,0.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 30% 80%, rgba(120,255,200,0.8), transparent 60%),
    radial-gradient(2px 2px at 70% 75%, rgba(120,255,200,0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 85% 55%, rgba(120,255,200,0.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 12% 60%, rgba(120,255,200,0.7), transparent 60%);
  animation: orbSpin 18s linear infinite;
}
@keyframes orbPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.04); opacity: 0.9; } }
@keyframes orbSpin { to { transform: rotate(360deg); } }
.orb-core { position: relative; z-index: 2; text-align: center; color: #fff; }
.orb-num { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 5vw, 52px); line-height: 1; }
.orb-lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 6px; }
.orb-sub { font-family: var(--mono); font-size: 11px; color: #7dffc4; margin-top: 7px; letter-spacing: 0.02em; }

/* ── 3. The complete picture ─────────────────────────────────────────── */
.cp { padding: 120px 0; background: var(--bg-2); }
.cp-head { max-width: 880px; margin-bottom: 56px; }
.cp-title { font-size: clamp(40px, 6vw, 88px); margin-bottom: 26px; }
.cp-lede { font-size: clamp(17px, 2vw, 22px); line-height: 1.5; color: var(--fg-soft); max-width: 56ch; }
.cp-scroller { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
.cp-scroller::-webkit-scrollbar { height: 6px; }
.cp-scroller::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.cp-track { display: flex; gap: 18px; padding: 0 max(40px, calc((100vw - 1440px) / 2 + 40px)); width: max-content; }
@media (max-width: 720px) { .cp-track { padding: 0 22px; } }
.cp-card {
  position: relative; flex: 0 0 auto; width: clamp(280px, 30vw, 360px); aspect-ratio: 3 / 4;
  border-radius: 22px; overflow: hidden; scroll-snap-align: start; background: var(--bg);
  border: 0.5px solid var(--line);
}
.cp-card-media { position: absolute; inset: 0; width: 100%; height: 100%; }
.cp-card-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 32%, transparent 52%, rgba(0,0,0,0.82) 100%); pointer-events: none; z-index: 2; }
.cp-card-kicker { position: absolute; top: 22px; left: 24px; z-index: 3; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.cp-card-title { position: absolute; left: 24px; bottom: 24px; right: 70px; z-index: 3; font-family: var(--serif); font-size: 27px; line-height: 1.05; color: #fff; letter-spacing: -0.01em; }
.cp-card-plus { position: absolute; right: 20px; bottom: 20px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.95); color: #0a0a0a; display: grid; place-items: center; cursor: pointer; transition: transform 0.2s; }
.cp-card-plus:hover { transform: scale(1.08); }
.cp-card-plus svg { width: 18px; height: 18px; }
.cp-cta-wrap { display: flex; justify-content: center; margin-top: 48px; }

/* ── 4. Membership ───────────────────────────────────────────────────── */
.mem { padding: 130px 0; background: #060606; }
.mem-title { font-size: clamp(44px, 7vw, 104px); text-align: center; margin-bottom: 72px; }
.mem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .mem-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.mem-card { background: #fff; border-radius: 24px; overflow: hidden; color: #14141a; display: flex; flex-direction: column; }
.mem-card.hi { outline: 2px solid var(--accent); outline-offset: 2px; }
.mem-single { grid-template-columns: minmax(0, 460px); justify-content: center; }
.mem-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.mem-price-num { font-family: var(--serif); font-style: italic; font-size: 52px; line-height: 0.9; letter-spacing: -0.02em; color: #14141a; }
.mem-price-per { font-size: 16px; color: #6a6a72; }
.mem-media { position: relative; height: 320px; display: grid; place-items: center; background: linear-gradient(165deg, #e8e8ea 0%, #d6dde2 100%); overflow: hidden; }
.mem-card:nth-child(2) .mem-media { background: linear-gradient(165deg, #dfe6ec 0%, #c6d2da 100%); }
.mem-card:nth-child(3) .mem-media { background: linear-gradient(165deg, #e4ece4 0%, #cfe0d4 100%); }
.mem-name { position: absolute; top: 26px; left: 0; right: 0; text-align: center; font-family: var(--sans); font-weight: 500; font-size: 22px; letter-spacing: 0.42em; color: #1a1a1f; padding-left: 0.42em; z-index: 2; }
.mem-media img { height: 248px; width: auto; object-fit: contain; transform: rotate(-18deg) translateY(14px); filter: drop-shadow(0 24px 40px rgba(0,0,0,0.28)); }
.mem-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.mem-swatches { display: flex; align-items: center; gap: 7px; margin-bottom: 22px; }
.mem-swatches i { width: 17px; height: 17px; border-radius: 50%; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); }
.mem-swatch-more { font-size: 13px; color: #6a6a72; margin-left: 4px; }
.mem-lead { font-size: 15px; font-weight: 600; color: #14141a; margin-bottom: 14px; }
.mem-feats { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 26px; flex: 1; }
.mem-feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: #2a2a31; line-height: 1.35; }
.mem-feats svg { width: 18px; height: 18px; color: #14141a; flex-shrink: 0; margin-top: 1px; }
.mem-start { display: block; text-align: center; padding: 17px; border-radius: 999px; background: #0a0a0a; color: #fff; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase; transition: background 0.2s; }
.mem-start:hover { background: #2a2a2a; }
.mem-card.hi .mem-start { background: var(--accent); color: #06120d; }
.mem-learn { display: block; text-align: center; padding: 15px; margin-top: 10px; border-radius: 999px; border: 1px solid #d2d2d8; color: #14141a; font-weight: 600; font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase; transition: border-color 0.2s; }
.mem-learn:hover { border-color: #0a0a0a; }
.mem-foot { text-align: center; margin-top: 16px; font-size: 13.5px; color: #6a6a72; }

/* ── 5. Worn by the bold ─────────────────────────────────────────────── */
.wb { padding: 130px 0; background: var(--bg); }
.wb-head { max-width: 900px; margin-bottom: 56px; }
.wb-title { font-size: clamp(42px, 6.4vw, 96px); margin-bottom: 26px; }
.wb-lede { font-size: clamp(17px, 2vw, 22px); line-height: 1.5; color: var(--fg-soft); max-width: 52ch; }
.wb-grid { column-count: 4; column-gap: 16px; }
@media (max-width: 900px) { .wb-grid { column-count: 2; } }
@media (max-width: 560px) { .wb-grid { column-count: 1; } }
.wb-tile { break-inside: avoid; margin-bottom: 16px; position: relative; border-radius: 18px; overflow: hidden; }
.wb-tile.wb-a, .wb-tile.wb-d { aspect-ratio: 3 / 4; }
.wb-tile.wb-b, .wb-tile.wb-f { aspect-ratio: 4 / 5; }
.wb-media { position: absolute; inset: 0; width: 100%; height: 100%; }
.wb-grad { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.8) 100%); pointer-events: none; }
.wb-cap { position: absolute; left: 18px; bottom: 16px; z-index: 3; color: #fff; }
.wb-cap-name { font-weight: 600; font-size: 16px; }
.wb-cap-role { font-size: 13px; color: rgba(255,255,255,0.72); }
.wb-play, .wb-plus { position: absolute; z-index: 4; border: 0; cursor: pointer; display: grid; place-items: center; transition: transform 0.2s; }
.wb-play { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.92); color: #0a0a0a; }
.wb-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.wb-play svg { width: 20px; height: 20px; }
.wb-plus { right: 16px; bottom: 16px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.92); color: #0a0a0a; }
.wb-plus.dark { background: #0a0a0a; color: #fff; }
.wb-plus:hover { transform: scale(1.08); }
.wb-plus svg { width: 17px; height: 17px; }
.wb-quote { background: var(--bg-2); border: 0.5px solid var(--line); padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 22px; }
.wb-quote blockquote { font-family: var(--serif); font-size: 24px; line-height: 1.18; color: var(--fg); letter-spacing: -0.01em; }
.wb-q-meta { display: flex; flex-direction: column; gap: 2px; }
.wb-q-meta span:first-child { font-weight: 600; font-size: 15px; }
.wb-q-sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); }
.wb-cta-wrap { display: flex; justify-content: center; margin-top: 48px; }

/* ── 6. Built to be worn 24/7 (scroll-scrubbed) ──────────────────────── */
.w247 { position: relative; background: #000; min-height: 180vh; }
.w247-sticky { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; padding: 80px 0; }
.w247-title { font-size: clamp(44px, 7vw, 108px); color: #fff; margin-bottom: 56px; }
.w247-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .w247-grid { grid-template-columns: 1fr; gap: 32px; } .w247 { min-height: 170vh; } }
.w247-list { position: relative; height: 440px; display: flex; flex-direction: column; padding-left: 26px; }
.w247-track { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: rgba(255,255,255,0.16); border-radius: 2px; overflow: hidden; }
.w247-fill { position: absolute; left: 0; top: 0; width: 2px; background: #fff; border-radius: 2px; transition: height 0.18s linear; box-shadow: 0 0 10px rgba(255,255,255,0.6); }
.w247-item { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.w247-item-t { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; color: rgba(255,255,255,0.32); transition: color 0.35s; letter-spacing: -0.01em; }
.w247-item.on .w247-item-t { color: #fff; }
.w247-item-d { font-size: 16px; color: rgba(255,255,255,0.62); line-height: 1.5; overflow: hidden; transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease; max-width: 42ch; }
.w247-item-d { margin-top: 0; }
.w247-item.on .w247-item-d { margin-top: 12px; }
.w247-stage { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.w247-spot { position: absolute; inset: 0; background: radial-gradient(circle at 55% 50%, rgba(74,232,170,0.14), rgba(20,20,24,0.4) 45%, transparent 70%); }
.w247-band { position: relative; z-index: 2; max-height: 80%; width: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6)); animation: w247Float 7s ease-in-out infinite; }

/* iPhone mockup showing the app home screen (replaces the band graphic) */
.w247-phone {
  position: relative; z-index: 2;
  height: min(86%, 560px);
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(155deg, #3a3a3f 0%, #161618 45%, #0a0a0c 100%);
  border-radius: 46px;
  padding: 10px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 8px 24px rgba(0,0,0,0.5),
    inset 0 0 0 1.5px rgba(255,255,255,0.10);
  animation: w247Float 7s ease-in-out infinite;
}
.w247-phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 37px; overflow: hidden; background: #000;
}
.w247-phone-screen img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.w247-phone-island {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 13px; border-radius: 999px; background: #000; z-index: 3;
}
@media (max-width: 860px) { .w247-phone { height: min(70vh, 520px); } }
@keyframes w247Float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(2deg); } }

/* image-slot empty-state tuned for dark sections */
image-slot { background: var(--bg); }
.mem-media image-slot { background: transparent; }

/* ── Scroll-scrubbed video (paste-in section, placed under hero) ───────── */
.rayu-scrolly {
  position: relative;
  height: var(--rayu-scroll-length, 300vh); /* scroll distance = scrub length */
  background: #000;
}
/* Blend the hero → black-section seam: a soft fade from the page bg into black
   across the top of this section, so there's no hard line on the way in. */
.rayu-scrolly::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 340px;
  z-index: 4;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.rayu-sticky {
  position: sticky; top: 0; left: 0; right: 0; height: 100vh; width: 100%;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.rayu-sticky > video {
  max-width: min(92vw, var(--rayu-max-width, 1200px));
  max-height: 90vh; width: auto; height: auto; display: block;
}
/* Mobile portrait: fill the screen instead of letterboxing a landscape clip.
   Full-bleed width + cover removes the side bars and most of the black; the
   phone mockup is the focus so a slight side-crop of the components is fine. */
@media (max-width: 720px) {
  .rayu-sticky > video {
    width: 100vw; height: 100%;
    max-width: none; max-height: none;
    object-fit: cover; object-position: center;
  }
}
