/*
 * Dear Friends hybrid homepage.
 *
 * The existing homepage structure remains the behavioral source of truth.
 * Every rule is scoped to .home-v3, the final experience served at `/`.
 */

body.home-v3 {
  --v3-ink: #050914;
  --v3-night: #091424;
  --v3-paper: #f7f0e4;
  --v3-muted: rgba(235, 239, 244, 0.72);
  --v3-gold: #efbd72;
  --v3-gold-deep: #b97838;
  --v3-gold-soft: rgba(239, 189, 114, 0.18);
  --v3-lavender: #a99cf7;
  --v3-line: rgba(255, 255, 255, 0.14);
  --v3-glass: rgba(5, 11, 22, 0.62);
  --v3-panel: rgba(7, 13, 29, 0.94);
  --v3-panel-solid: #070d1d;
  --v3-gold-line: rgba(239, 189, 114, 0.3);
  --v3-gold-glow: rgba(239, 189, 114, 0.2);
  /* Remap legacy website chrome without recoloring product screenshots. */
  --accent-teal: var(--v3-gold);
  --border-teal: var(--v3-gold-line);
  --accent-champagne: var(--v3-gold);
  --cyan: var(--v3-gold);
  --cyan-glow: rgba(239, 189, 114, 0.42);
  --text: var(--v3-paper);
  --text-secondary: rgba(239, 241, 245, 0.82);
  --text-muted: var(--v3-muted);
  --v3-device-chassis: linear-gradient(
    145deg,
    #eceef2 0%,
    #8f96a1 10%,
    #343a44 42%,
    #747b86 76%,
    #d9dde4 100%
  );
  --v3-device-border: rgba(231, 234, 240, 0.58);
  --v3-device-shadow:
    0 20px 46px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 44px rgba(239, 189, 114, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: var(--v3-ink);
  color: var(--v3-paper);
}

.v3-page-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(4, 8, 18, 0.34) 0%,
      rgba(5, 9, 20, 0.52) 52%,
      rgba(5, 9, 20, 0.7) 100%
    ),
    radial-gradient(
      ellipse at 50% 28%,
      rgba(5, 9, 20, 0.28),
      transparent 52%
    ),
    url("/assets/website/v2/images/nebula-ambient.webp")
    center center / cover no-repeat;
  filter: saturate(0.9) contrast(1.02) brightness(0.92);
  transform: translateZ(0);
}

body.home-v3::before,
body.home-v3::after {
  content: none;
}

.home-v3 #indexStarfield {
  opacity: 0.34;
}

.home-v3 nav {
  background:
    linear-gradient(
      to bottom,
      rgba(5, 9, 20, 0.9),
      rgba(5, 9, 20, 0.42) 72%,
      transparent
    ) !important;
}

.home-v3 nav.scrolled {
  background: rgba(5, 9, 20, 0.86) !important;
  border-bottom-color: rgba(239, 189, 114, 0.14);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}

.home-v3 .nav-links a::after {
  background: linear-gradient(90deg, var(--v3-gold), var(--v3-lavender)) !important;
}

.home-v3 .nav-links a:focus-visible,
.home-v3 a:focus-visible,
.home-v3 button:focus-visible {
  outline-color: rgba(239, 189, 114, 0.72);
}

@media (max-width: 1180px) {
  .home-v3 nav,
  .home-v3 nav.scrolled {
    min-height: 76px;
    padding: 14px 22px;
  }

  .home-v3 .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 22px 24px;
    background: rgba(5, 9, 20, 0.985);
    border-bottom: 1px solid rgba(239, 189, 114, 0.18);
  }

  .home-v3 .nav-links.active {
    display: flex;
  }

  .home-v3 .nav-links a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
  }

  .home-v3 .menu-toggle {
    display: block;
  }
}

/* Cinematic cover: ordinary native playback, never scroll-scrubbed or pinned. */
.v3-cinematic-hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  height: auto;
  overflow-x: clip;
  overflow-y: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(116px, 14vh, 154px) 24px clamp(92px, 10vh, 122px);
  isolation: isolate;
  background: var(--v3-ink);
}

.v3-hero-media,
.v3-hero-video,
.v3-hero-start-frame,
.v3-hero-final-frame,
.v3-hero-scrim,
.v3-hero-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.v3-hero-media {
  z-index: -1;
  overflow: hidden;
  background: var(--v3-ink);
}

.v3-hero-video,
.v3-hero-start-frame,
.v3-hero-final-frame {
  object-fit: cover;
  object-position: center center;
}

.v3-hero-start-frame,
.v3-hero-final-frame {
  z-index: 0;
  display: block;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1.002);
}

.v3-hero-start-frame {
  opacity: 1;
}

.v3-hero-final-frame {
  z-index: 1;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.v3-hero-video {
  z-index: 2;
  display: block;
  opacity: 0;
  transition: opacity 0.7s ease;
  background: transparent;
}

.v3-cinematic-hero.is-video-ready .v3-hero-video {
  opacity: 1;
}

.v3-hero-scrim {
  z-index: 3;
  background:
    radial-gradient(
      ellipse 58% 46% at 50% 40%,
      rgba(5, 9, 20, 0.55) 0%,
      rgba(5, 9, 20, 0.22) 42%,
      transparent 72%
    ),
    linear-gradient(
      180deg,
      rgba(3, 6, 14, 0.78) 0%,
      rgba(3, 6, 14, 0.36) 28%,
      rgba(3, 6, 14, 0.42) 58%,
      rgba(5, 9, 20, 0.94) 100%
    );
}

.v3-hero-vignette {
  z-index: 4;
  background:
    radial-gradient(
      ellipse at center,
      transparent 17%,
      rgba(2, 5, 12, 0.12) 43%,
      rgba(2, 5, 12, 0.76) 112%
    );
}

.v3-hero-content {
  position: relative;
  z-index: 4;
  width: min(900px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--v3-paper);
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.72);
  animation: v3HeroArrive 1.15s cubic-bezier(0.22, 0.78, 0.26, 1) both;
}

@keyframes v3HeroArrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.v3-logo-aura {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  margin-bottom: clamp(12px, 2vh, 22px);
}

.v3-logo-aura::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(180px, 24vw, 280px);
  height: clamp(180px, 24vw, 280px);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(5, 9, 20, 0.72) 0%,
      rgba(5, 9, 20, 0.42) 42%,
      transparent 72%
    );
  filter: blur(8px);
}

.v3-hero-logo {
  width: clamp(162px, 21vw, 263px);
  height: clamp(162px, 21vw, 263px);
  object-fit: contain;
  /* Enlarge the artwork within its transparent padding, keeping the hero spacing. */
  transform: scale(1.3);
  margin-bottom: 0;
  opacity: 0.96;
  filter:
    drop-shadow(0 0 6px rgba(220, 235, 255, 0.32))
    drop-shadow(0 0 24px rgba(239, 189, 114, 0.14))
    drop-shadow(0 16px 30px rgba(0, 0, 0, 0.34));
}

.v3-brand-aura {
  position: relative;
  isolation: isolate;
}

.v3-brand-aura::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -48px -90px;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse,
      rgba(5, 9, 20, 0.5) 0%,
      rgba(239, 189, 114, 0.1) 38%,
      rgba(169, 156, 247, 0.04) 58%,
      transparent 76%
    );
  filter: blur(12px);
}

.v3-brand-title {
  margin: 0;
  font-family: "Prata", serif;
  font-size: clamp(50px, 8vw, 88px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: clamp(1.5px, 0.28vw, 4px);
  color: var(--v3-paper);
  text-wrap: balance;
}

.hero-launch-signup {
  position: relative;
  z-index: 2;
  width: min(640px, 100%);
  margin: clamp(18px, 2.8vh, 28px) auto 0;
  padding: 20px 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(239, 189, 114, 0.36);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(13, 19, 41, 0.86), rgba(5, 9, 23, 0.9));
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.3),
    0 0 34px rgba(239, 189, 114, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-launch-signup::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(169, 156, 247, 0.13), transparent 52%),
    linear-gradient(90deg, transparent, rgba(239, 189, 114, 0.06), transparent);
}

.hero-launch-signup > * {
  position: relative;
  z-index: 1;
}

.hero-launch-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 7px;
  color: rgba(239, 189, 114, 0.92);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.6px;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-launch-date span::after {
  content: "·";
  margin-left: 10px;
  color: rgba(169, 156, 247, 0.78);
}

.home-v3 .hero-launch-signup h2 {
  margin: 0;
  color: var(--v3-paper);
  font-family: "Prata", serif;
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 400;
  line-height: 1.3;
}

.hero-launch-copy {
  max-width: 540px;
  margin: 7px auto 0;
  color: rgba(239, 241, 245, 0.72);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
}

.hero-launch-signup .newsletter-form {
  max-width: 560px;
  margin: 15px auto 0;
}

.hero-launch-signup .newsletter-form button {
  white-space: nowrap;
}

.hero-launch-signup .newsletter-message {
  display: none;
  width: 100%;
  margin-top: 2px;
  font-size: 14px;
  text-align: center;
}

.home-v3 .v3-hero-content .hero-lead {
  position: relative;
  z-index: 1;
  max-width: 810px !important;
  margin: clamp(22px, 3.5vh, 36px) auto 0;
}

.home-v3 .v3-hero-content .hero-lead h2 {
  margin: 0 0 15px !important;
  color: rgba(255, 251, 243, 0.98);
  font-family: "Prata", serif;
  font-size: clamp(24px, 3.5vw, 38px) !important;
  font-weight: 400;
  line-height: 1.24;
}

.home-v3 .v3-hero-content .hero-lead p {
  max-width: 690px !important;
  margin: 0 auto;
  color: rgba(239, 241, 245, 0.8) !important;
  font-size: clamp(15px, 1.6vw, 18px) !important;
  line-height: 1.72 !important;
  font-weight: 300;
}

.home-v3 .v3-hero-content .hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: clamp(26px, 4vh, 38px) auto 0 !important;
}

.home-v3 .cta-button,
.home-v3 .pricing-trial-btn,
.home-v3 .final-cta-btn,
.home-v3 .final-cta-trial-btn {
  border: 1px solid rgba(250, 218, 165, 0.78) !important;
  background:
    linear-gradient(135deg, #f1ca8b 0%, #d99e50 54%, #a86f37 100%) !important;
  color: #1a1108 !important;
  font-weight: 500 !important;
  box-shadow:
    0 12px 34px rgba(147, 89, 35, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.48) !important;
  animation: none !important;
}

.home-v3 .cta-button::before {
  display: none !important;
}

.home-v3 .cta-button:hover,
.home-v3 .pricing-trial-btn:hover,
.home-v3 .final-cta-btn:hover,
.home-v3 .final-cta-trial-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px rgba(147, 89, 35, 0.4),
    0 0 30px rgba(239, 189, 114, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

.home-v3 .cta-button.cta-secondary,
.home-v3 .hero-actions .cta-button.cta-secondary {
  border-color: rgba(230, 220, 255, 0.3) !important;
  background: rgba(7, 11, 26, 0.58) !important;
  color: rgba(247, 240, 228, 0.9) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.22) !important;
  backdrop-filter: blur(14px);
}

.home-v3 .hero-actions .store-badges {
  flex-basis: 100%;
  margin-top: 9px;
}

.home-v3 .store-badge,
.home-v3 .try-player-store {
  border-color: rgba(239, 189, 114, 0.24);
  background:
    linear-gradient(145deg, rgba(20, 24, 48, 0.76), rgba(7, 10, 24, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 10px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.v3-scroll-cue {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: max(25px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: block;
  color: rgba(247, 240, 228, 0.65);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

/* Keep the current structure; change only atmosphere and surface language. */
.home-v3 .energy-divider {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(239, 189, 114, 0.42) 24%,
      rgba(169, 156, 247, 0.34) 50%,
      rgba(239, 189, 114, 0.42) 76%,
      transparent
    );
}

.home-v3 .section-kicker {
  color: rgba(239, 189, 114, 0.78);
}

.home-v3 .core-library {
  overflow: visible !important;
}

.home-v3 .try-player-section {
  position: relative;
  z-index: 3;
}

.home-v3 .core-library,
.home-v3 .app-showcase,
.home-v3 .meditations-section,
.home-v3 .rest-library,
.home-v3 .mission-section,
.home-v3 .journal-section,
.home-v3 .sleep-section,
.home-v3 .music-section,
.home-v3 .ns-section,
.home-v3 .premium-section,
.home-v3 .pricing-section,
.home-v3 .faq-section,
.home-v3 .final-cta {
  position: relative;
  z-index: 2;
  background: transparent !important;
  isolation: isolate;
}

/* Preserve the star and shooting-star canvas while replacing old teal portals. */
.home-v3 .meditations-bg,
.home-v3 .music-bg,
.home-v3 .protocol-section-bg {
  background:
    radial-gradient(
      ellipse at 50% 28%,
      rgba(169, 156, 247, 0.07),
      rgba(239, 189, 114, 0.035) 38%,
      transparent 70%
    ) !important;
}

.home-v3 .mission-section::before,
.home-v3 .journal-section::before,
.home-v3 .ns-section::before,
.home-v3 .home-story::before {
  background:
    radial-gradient(
      ellipse at 50% 36%,
      rgba(169, 156, 247, 0.065),
      rgba(239, 189, 114, 0.035) 42%,
      transparent 72%
    ) !important;
}

/* Preserve the story artwork exactly; replace only its legacy teal light. */
.home-v3 .home-story-visual::before {
  background:
    radial-gradient(
      circle,
      rgba(239, 189, 114, 0.15),
      rgba(91, 86, 195, 0.1) 48%,
      transparent 72%
    );
}

.home-v3 .home-story-halo {
  filter: drop-shadow(0 0 13px rgba(239, 189, 114, 0.16));
}

.home-v3 .home-story-halo-wave--outer {
  stroke: rgba(239, 189, 114, 0.34);
}

.home-v3 .home-story-emblem::before {
  border-color: rgba(239, 189, 114, 0.14);
}

.home-v3 .home-story-link {
  text-decoration-color: rgba(239, 189, 114, 0.5);
}

.home-v3 .home-story-link:hover,
.home-v3 .home-story-link:focus-visible {
  text-decoration-color: rgba(239, 189, 114, 0.92);
}

.home-v3 .home-story-visual.is-playing .home-story-emblem {
  animation-name: homeStoryEmblemPulseV3;
}

@keyframes homeStoryEmblemPulseV3 {
  50% {
    box-shadow:
      0 18px 36px rgba(0, 0, 0, 0.34),
      0 0 46px rgba(239, 189, 114, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
}

.home-v3 .cat-b,
.home-v3 .themes-path-card,
.home-v3 .iw-stage,
.home-v3 .bridge-shell,
.home-v3 .mission-shell,
.home-v3 .faq-shell,
.home-v3 .premium-card,
.home-v3 .pricing-card,
.home-v3 .home-story-card {
  border-color: rgba(239, 189, 114, 0.19) !important;
  background:
    linear-gradient(155deg, rgba(16, 21, 43, 0.8), rgba(6, 9, 24, 0.88)) !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
  backdrop-filter: blur(8px);
}

/* Let Premium sit in the nebula instead of inheriting the old full-width slab. */
.home-v3 .premium-wrap {
  position: relative;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  isolation: isolate;
}

.home-v3 .premium-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(980px, 92vw);
  height: min(410px, 78vw);
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse,
      rgba(239, 189, 114, 0.085) 0%,
      rgba(169, 156, 247, 0.045) 38%,
      transparent 72%
    );
  filter: blur(10px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.home-v3 .premium-title,
.home-v3 .premium-grid {
  position: relative;
  z-index: 1;
}

.home-v3 .premium-title h2 {
  margin-bottom: 34px;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.58);
}

.home-v3 .premium-card {
  background:
    linear-gradient(155deg, rgba(16, 21, 43, 0.74), rgba(6, 9, 24, 0.84)) !important;
}

.home-v3 .mission-quote {
  border-left-color: rgba(239, 189, 114, 0.72) !important;
  background:
    linear-gradient(90deg, rgba(239, 189, 114, 0.1), transparent 74%) !important;
}

.home-v3 .creator-story-trigger,
.home-v3 .creator-story-player--featured .creator-story-trigger {
  border-color: rgba(239, 189, 114, 0.38);
  background: linear-gradient(145deg, rgba(239, 189, 114, 0.12), rgba(78, 65, 132, 0.12));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26), 0 0 20px rgba(239, 189, 114, 0.08);
}

.home-v3 .creator-story-trigger:hover,
.home-v3 .creator-story-trigger:focus-visible,
.home-v3 .creator-story-trigger[aria-pressed="true"] {
  border-color: rgba(239, 189, 114, 0.68);
  background: linear-gradient(145deg, rgba(239, 189, 114, 0.18), rgba(78, 65, 132, 0.18));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), 0 0 26px rgba(239, 189, 114, 0.13);
}

.home-v3 .creator-story-icon-shell,
.home-v3 .creator-story-player--featured .creator-story-icon-shell {
  border-color: rgba(239, 189, 114, 0.5);
  background: rgba(239, 189, 114, 0.09);
  color: var(--v3-gold);
  box-shadow: 0 0 18px rgba(239, 189, 114, 0.12);
}

.home-v3 .creator-story-progress > span {
  background: linear-gradient(90deg, var(--v3-gold), var(--v3-lavender));
  box-shadow: 0 0 8px rgba(239, 189, 114, 0.42);
}

.home-v3 .creator-story-player--featured .creator-story-trigger:hover,
.home-v3 .creator-story-player--featured .creator-story-trigger:focus-visible,
.home-v3 .creator-story-player--featured .creator-story-trigger[aria-pressed="true"],
.home-v3 .creator-story-player--featured[data-playback-state="completed"] .creator-story-trigger {
  border-color: rgba(239, 189, 114, 0.68) !important;
  background: linear-gradient(145deg, rgba(239, 189, 114, 0.18), rgba(78, 65, 132, 0.18)) !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), 0 0 26px rgba(239, 189, 114, 0.13) !important;
}

.home-v3 .creator-story-player--featured .creator-story-trigger:focus-visible {
  outline-color: rgba(239, 189, 114, 0.58);
}

.home-v3 .creator-story-player--featured .creator-story-icon-shell {
  border-color: rgba(239, 189, 114, 0.5) !important;
  background: linear-gradient(145deg, rgba(239, 189, 114, 0.16), rgba(78, 90, 190, 0.24)) !important;
  color: var(--v3-gold) !important;
  box-shadow: 0 0 22px rgba(239, 189, 114, 0.16) !important;
}

/* Gold is reserved for website actions and selected states; lavender adds depth. */
.home-v3 .themes-path-card.is-active,
.home-v3 .path-switch-btn.active,
.home-v3 .pricing-card.recommended {
  border-color: rgba(239, 189, 114, 0.5) !important;
  background:
    linear-gradient(150deg, rgba(68, 48, 72, 0.88), rgba(15, 18, 45, 0.96)) !important;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.3),
    0 0 26px rgba(239, 189, 114, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

.home-v3 .path-switch-btn.active img {
  filter: drop-shadow(0 0 10px rgba(239, 189, 114, 0.28));
}

.home-v3 .iw-theme-card {
  border-color: rgba(239, 189, 114, 0.32);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.32),
    0 0 22px rgba(239, 189, 114, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.home-v3 .iw-theme-card:hover,
.home-v3 .iw-theme-card:focus-visible {
  border-color: rgba(239, 189, 114, 0.54);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.36),
    0 0 32px rgba(239, 189, 114, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.home-v3 .iw-theme-card.is-active {
  border-color: rgba(239, 189, 114, 0.74);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.38),
    0 0 42px rgba(239, 189, 114, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.home-v3 .rest-shelf-card {
  border-color: rgba(214, 196, 150, 0.36);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.32),
    0 0 20px rgba(186, 206, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.home-v3 .rest-shelf-card:hover,
.home-v3 .rest-shelf-card:focus-visible {
  border-color: rgba(232, 214, 168, 0.58);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.36),
    0 0 30px rgba(186, 206, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.home-v3 .rest-shelf-card.is-active {
  border-color: rgba(232, 214, 168, 0.74);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.38),
    0 0 36px rgba(186, 206, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.home-v3 .rest-path {
  border-color: rgba(214, 196, 150, 0.24);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-v3 .rest-path:hover {
  border-color: rgba(232, 214, 168, 0.42);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(232, 214, 168, 0.18), transparent 50%),
    linear-gradient(165deg, rgba(24, 30, 62, 0.84), rgba(10, 13, 30, 0.92));
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.26),
    0 0 18px rgba(232, 214, 168, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-v3 .iw-path:hover {
  border-color: rgba(239, 189, 114, 0.32);
  background: rgba(239, 189, 114, 0.05);
}

.home-v3 .sleep-card,
.home-v3 .music-card,
.home-v3 .ns-card {
  border-color: rgba(239, 189, 114, 0.14) !important;
  background:
    linear-gradient(155deg, rgba(14, 20, 42, 0.78), rgba(6, 10, 25, 0.9)) !important;
}

.home-v3 .sleep-card:hover,
.home-v3 .music-card:hover,
.home-v3 .ns-card:hover {
  border-color: rgba(239, 189, 114, 0.4) !important;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(239, 189, 114, 0.08) !important;
}

.home-v3 .music-card:hover h4,
.home-v3 .ns-card:hover h4 {
  color: var(--v3-gold);
}

.home-v3 .mission-shell,
.home-v3 .faq-shell,
.home-v3 .pricing-wrap,
.home-v3 .final-cta-wrap {
  border-color: rgba(239, 189, 114, 0.24) !important;
  background:
    linear-gradient(155deg, rgba(12, 18, 38, 0.96), rgba(5, 9, 22, 0.98)) !important;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 0 34px rgba(239, 189, 114, 0.055) !important;
}

.home-v3 .mission-head,
.home-v3 .faq-head {
  border-bottom-color: rgba(239, 189, 114, 0.14) !important;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(239, 189, 114, 0.095), transparent 66%) !important;
}

.home-v3 .mission-close {
  border-top-color: rgba(239, 189, 114, 0.14) !important;
}

.home-v3 .mission-faq-btn,
.home-v3 .sleep-cta-btn,
.home-v3 .music-cta-btn {
  border: 1px solid rgba(239, 189, 114, 0.54) !important;
  background:
    linear-gradient(145deg, rgba(239, 189, 114, 0.16), rgba(169, 156, 247, 0.13)) !important;
  color: var(--v3-paper) !important;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.home-v3 .mission-faq-btn:hover,
.home-v3 .sleep-cta-btn:hover,
.home-v3 .music-cta-btn:hover {
  border-color: rgba(255, 220, 166, 0.76) !important;
  background:
    linear-gradient(145deg, rgba(239, 189, 114, 0.25), rgba(169, 156, 247, 0.18)) !important;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.3),
    0 0 24px rgba(239, 189, 114, 0.12) !important;
}

.home-v3 .faq-icon::before,
.home-v3 .faq-icon::after {
  background: rgba(239, 189, 114, 0.88) !important;
}

.home-v3 .faq-item.is-open {
  background: rgba(239, 189, 114, 0.035) !important;
}

/* The outer sampler card disappears; the interactive phone becomes the object. */
.home-v3 .try-player-section {
  padding-top: 92px;
  background: transparent;
}

.home-v3 .try-player-section::before {
  background:
    radial-gradient(
      ellipse at 50% 24%,
      rgba(169, 156, 247, 0.09),
      rgba(239, 189, 114, 0.04) 34%,
      transparent 68%
    );
}

.home-v3 .try-player-surface {
  max-width: 1120px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 14px 24px 50px;
  background: transparent;
  box-shadow: none;
}

.home-v3 .try-player-header {
  max-width: 860px;
}

.home-v3 .try-sample-tab {
  border-color: rgba(225, 214, 244, 0.17);
  background:
    linear-gradient(145deg, rgba(21, 25, 52, 0.8), rgba(7, 10, 26, 0.9));
}

.home-v3 .try-sample-tab.is-active {
  border-color: rgba(239, 189, 114, 0.68);
  background:
    linear-gradient(145deg, rgba(69, 49, 83, 0.86), rgba(18, 20, 51, 0.96));
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(239, 189, 114, 0.1) inset;
}

.home-v3 .try-sample-tab.is-active .try-sample-number,
.home-v3 .try-sample-dot.is-active {
  border-color: rgba(255, 232, 193, 0.7);
  background: var(--v3-gold);
  color: #25180c;
  box-shadow: 0 0 14px rgba(239, 189, 114, 0.24);
}

/*
 * Real phone geometry at every breakpoint. These selectors intentionally have
 * more specificity than the sampler's later inline responsive rules.
 */
.home-v3 .phone-device {
  width: min(400px, calc(100vw - 48px));
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 9 / 19.4;
  overflow: visible;
  padding: 10px;
  border: 1px solid var(--v3-device-border);
  border-radius: 52px;
  background: var(--v3-device-chassis);
  box-shadow: var(--v3-device-shadow);
}

.home-v3 .phone-device::before {
  display: block;
  inset: 5px;
  border-color: rgba(255, 255, 255, 0.16);
}

.home-v3 .phone-glass {
  position: absolute;
  inset: 10px;
  width: auto;
  height: auto;
  min-height: 0;
  border-radius: 42px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.8),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.home-v3 .phone-screen {
  border-radius: 42px;
}

.home-v3 .phone-btn-silent,
.home-v3 .phone-btn-volup,
.home-v3 .phone-btn-voldn,
.home-v3 .phone-btn-power {
  display: block;
}

.home-v3 .phone-island,
.home-v3 .phone-home-bar {
  display: block;
}

.home-v3 .phone-status {
  display: flex;
}

.home-v3 .ws-art::before {
  background:
    linear-gradient(
      180deg,
      rgba(2, 5, 16, 0.72) 0%,
      rgba(2, 5, 16, 0.28) 21%,
      transparent 48%
    );
}

.home-v3 .ws-title {
  white-space: normal;
  overflow: hidden;
  text-overflow: clip;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-v3 .try-player-cta {
  margin-top: 42px;
}

/* Carousel, Journal, and sampler now share one complete metallic chassis. */
.home-v3 .app-phone-frame,
.home-v3 .showcase-phone {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 1px solid var(--v3-device-border) !important;
  background: var(--v3-device-chassis) !important;
  box-shadow: var(--v3-device-shadow) !important;
}

.home-v3 .showcase-phone,
.home-v3 .journal-phone {
  padding: 7px !important;
  border-radius: 38px !important;
}

.home-v3 .showcase-phone::before,
.home-v3 .journal-phone::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.home-v3 .showcase-phone > picture,
.home-v3 .showcase-phone > picture > img,
.home-v3 .journal-phone > img {
  position: relative;
  z-index: 1;
  border-radius: 30px;
  background: #03050c;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.82);
}

/* Reuse the sampler's actual dark hardware, scaled with the smaller chassis. */
.home-v3 .app-phone-frame .phone-btn-silent,
.home-v3 .app-phone-frame .phone-btn-volup,
.home-v3 .app-phone-frame .phone-btn-voldn,
.home-v3 .app-phone-frame .phone-btn-power {
  position: absolute;
  z-index: 4;
  display: block;
  width: 3px;
  border: 0;
  border-radius: 3px;
  background: #1c1c1f;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.home-v3 .app-phone-frame .phone-btn-silent {
  top: 13.7%;
  left: -2px;
  height: 3.4%;
}

.home-v3 .app-phone-frame .phone-btn-volup {
  top: 19.5%;
  left: -2px;
  height: 6%;
}

.home-v3 .app-phone-frame .phone-btn-voldn {
  top: 26.7%;
  left: -2px;
  height: 6%;
}

.home-v3 .app-phone-frame .phone-btn-power {
  top: 22%;
  right: -2px;
  height: 9%;
}

@media (max-width: 768px) {
  .v3-page-ambient {
    background:
      linear-gradient(
        180deg,
        rgba(4, 8, 18, 0.3) 0%,
        rgba(5, 9, 20, 0.5) 54%,
        rgba(5, 9, 20, 0.7) 100%
      ),
      radial-gradient(
        ellipse at 50% 26%,
        rgba(5, 9, 20, 0.3),
        transparent 52%
      ),
      url("/assets/website/v2/images/nebula-ambient-mobile.webp")
      center center / cover no-repeat;
  }
}

.home-v3 .showcase-btn {
  border-color: rgba(239, 189, 114, 0.24) !important;
  background: rgba(7, 11, 26, 0.66) !important;
}

.home-v3 .showcase-btn:hover,
.home-v3 .showcase-btn:focus-visible {
  border-color: rgba(239, 189, 114, 0.6) !important;
}

.home-v3 .showcase-dot.active {
  background: var(--v3-gold) !important;
  box-shadow: 0 0 12px rgba(239, 189, 114, 0.34) !important;
}

/* The final page arrival is solid and legible above the fixed nebula overlay. */
.home-v3 .site-footer {
  position: relative;
  z-index: 3;
  isolation: isolate;
  padding: 30px 20px 48px;
  background:
    linear-gradient(
      180deg,
      rgba(5, 9, 20, 0) 0%,
      rgba(5, 9, 20, 0.88) 14%,
      #050914 42%,
      #050914 100%
    ) !important;
}

.home-v3 .newsletter-bar {
  border: 1px solid rgba(239, 189, 114, 0.34) !important;
  background:
    linear-gradient(150deg, rgba(15, 21, 43, 0.98), rgba(7, 11, 27, 0.985)) !important;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.34),
    0 0 30px rgba(239, 189, 114, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
  padding: 30px 22px !important;
  backdrop-filter: blur(14px);
}

.home-v3 .newsletter-bar::before {
  opacity: 0.72 !important;
  background:
    linear-gradient(
      120deg,
      rgba(255, 225, 180, 0.72),
      rgba(239, 189, 114, 0.5),
      rgba(169, 156, 247, 0.48)
    ) !important;
}

.home-v3 .newsletter-bar h3,
.home-v3 .footer-col h4 {
  color: var(--v3-paper) !important;
}

.home-v3 .newsletter-bar p {
  color: rgba(235, 239, 244, 0.72) !important;
}

.home-v3 .newsletter-form input {
  border-color: rgba(239, 189, 114, 0.2) !important;
  background: rgba(3, 7, 18, 0.9) !important;
  color: var(--v3-paper) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.home-v3 .newsletter-form input::placeholder {
  color: rgba(235, 239, 244, 0.42);
}

.home-v3 .newsletter-form input:focus {
  outline: 2px solid rgba(239, 189, 114, 0.38);
  outline-offset: 2px;
  border-color: rgba(239, 189, 114, 0.55) !important;
}

.home-v3 .newsletter-form button {
  border: 1px solid rgba(255, 226, 181, 0.7) !important;
  background:
    linear-gradient(135deg, #f1ca8b 0%, #d99e50 56%, #a86f37 100%) !important;
  color: #1a1108 !important;
  box-shadow:
    0 12px 30px rgba(147, 89, 35, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.home-v3 .newsletter-form button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 36px rgba(147, 89, 35, 0.36),
    0 0 24px rgba(239, 189, 114, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.home-v3 .footer-card {
  border: 1px solid rgba(239, 189, 114, 0.16) !important;
  background:
    linear-gradient(160deg, rgba(8, 14, 30, 0.985), rgba(4, 8, 19, 0.99)) !important;
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.home-v3 .footer-logo img {
  filter:
    drop-shadow(0 0 18px rgba(239, 189, 114, 0.14))
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.24)) !important;
}

.home-v3 .footer-links a,
.home-v3 .footer-meta,
.home-v3 .footer-meta a[style] {
  color: rgba(235, 239, 244, 0.68) !important;
}

.home-v3 .footer-links a:hover,
.home-v3 .footer-meta a:hover {
  color: var(--v3-gold) !important;
}

.home-v3 .footer-copy {
  color: rgba(235, 239, 244, 0.48) !important;
  border-top-color: rgba(239, 189, 114, 0.32) !important;
}

@media (max-width: 768px) {
  .v3-cinematic-hero {
    min-height: 100svh;
    padding:
      max(104px, calc(env(safe-area-inset-top) + 86px))
      18px
      max(102px, calc(env(safe-area-inset-bottom) + 84px));
  }

  .v3-hero-video,
  .v3-hero-start-frame,
  .v3-hero-final-frame {
    object-position: 50% center;
  }

  .v3-logo-aura {
    margin-bottom: 8px;
  }

  .v3-logo-aura::before {
    width: clamp(160px, 42vw, 220px);
    height: clamp(160px, 42vw, 220px);
  }

  .v3-hero-logo {
    width: clamp(146px, 43.4vw, 193px);
    height: clamp(146px, 43.4vw, 193px);
    margin-bottom: 0;
  }

  .v3-brand-title {
    font-size: clamp(44px, 14vw, 62px);
    line-height: 1.04;
  }

  .hero-launch-signup {
    margin-top: 16px;
    padding: 17px 15px 18px;
    border-radius: 18px;
  }

  .hero-launch-date {
    gap: 7px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  .hero-launch-date span::after {
    margin-left: 7px;
  }

  .home-v3 .hero-launch-signup h2 {
    font-size: clamp(19px, 5.5vw, 23px);
  }

  .hero-launch-copy {
    font-size: 13.5px;
    line-height: 1.48;
  }

  .hero-launch-signup .newsletter-form {
    gap: 9px;
    margin-top: 13px;
  }

  .home-v3 .v3-hero-content .hero-lead {
    margin-top: 18px;
  }

  .home-v3 .v3-hero-content .hero-lead h2 {
    font-size: clamp(22px, 6.6vw, 29px) !important;
  }

  .home-v3 .v3-hero-content .hero-lead p {
    max-width: 36rem !important;
    font-size: 14px !important;
    line-height: 1.58 !important;
  }

  .home-v3 .v3-hero-content .hero-actions {
    width: 100%;
    gap: 10px;
    margin-top: 23px !important;
  }

  .home-v3 .v3-hero-content .cta-button {
    width: min(100%, 340px);
    min-width: 0;
    padding: 14px 24px;
  }

  .home-v3 .hero-actions .store-badges {
    display: none;
  }

  .v3-scroll-cue {
    bottom: max(20px, env(safe-area-inset-bottom));
  }

  .home-v3 .try-player-section {
    padding-top: 66px;
  }

  .home-v3 .try-player-surface {
    width: 100%;
    max-width: 440px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    padding: 18px 0 42px;
    background: transparent;
    box-shadow: none;
  }

  .home-v3 .phone-device {
    width: min(366px, calc(100vw - 32px));
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 9 / 19.4;
    padding: 8px;
    border-radius: 47px;
  }

  .home-v3 .phone-device::before {
    display: block;
    inset: 4px;
    border-radius: 44px;
  }

  .home-v3 .phone-glass {
    inset: 8px;
    width: auto;
    height: auto;
    min-height: 0;
    border-radius: 39px;
  }

  .home-v3 .phone-screen {
    height: 100%;
    min-height: 0;
    border-radius: 39px;
  }

  .home-v3 .phone-btn-silent,
  .home-v3 .phone-btn-volup,
  .home-v3 .phone-btn-voldn,
  .home-v3 .phone-btn-power,
  .home-v3 .phone-island,
  .home-v3 .phone-home-bar {
    display: block;
  }

  .home-v3 .phone-status {
    display: flex;
  }

  .home-v3 .ws-player {
    padding-top: 54px;
    padding-bottom: 24px;
  }

  .home-v3 .ws-art {
    position: absolute !important;
    inset: 0 -14px auto !important;
    width: auto;
    height: 54%;
    min-height: 0;
    max-height: none;
    flex: none;
    margin: 0;
    border-radius: 0;
  }

  .home-v3 .ws-art img {
    object-position: center top;
  }

  .home-v3 .ws-art::after {
    inset: 38% 0 -1px;
    background:
      linear-gradient(
        180deg,
        rgba(7, 11, 52, 0) 0%,
        rgba(7, 11, 52, 0.38) 28%,
        #070b34 86%
      );
  }

  .home-v3 .ws-hero-space {
    display: block;
    height: 300px;
    flex: 0 0 300px;
  }

  .home-v3 .showcase-phone,
  .home-v3 .journal-phone {
    border-radius: 38px !important;
  }

  .home-v3 .showcase-phone > picture,
  .home-v3 .showcase-phone > picture > img,
  .home-v3 .journal-phone > img {
    border-radius: 30px;
  }
}

@media (max-width: 360px) {
  .home-v3 .phone-device {
    width: min(330px, calc(100vw - 24px));
    border-radius: 43px;
  }

  .home-v3 .phone-device::before {
    border-radius: 40px;
  }

  .home-v3 .phone-glass,
  .home-v3 .phone-screen {
    border-radius: 35px;
  }

  .home-v3 .ws-player {
    padding-left: 12px;
    padding-right: 12px;
  }

  .home-v3 .ws-art {
    inset: 0 -12px auto !important;
  }

  .home-v3 .ws-hero-space {
    height: 270px;
    flex-basis: 270px;
  }
}

@media (max-width: 950px) and (max-height: 600px) and (orientation: landscape) {
  .home-v3 .phone-device {
    width: min(310px, calc(100vw - 40px));
    height: auto;
    max-height: none;
    aspect-ratio: 9 / 19.4;
  }

  .home-v3 .ws-art {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    height: auto;
    min-height: 76px;
    max-height: 100px;
    flex: 1 1 86px;
    margin: 4px 0 6px;
    border-radius: 17px;
  }

  .home-v3 .ws-hero-space {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v3-hero-content {
    animation: none;
  }

  .v3-hero-video {
    display: none;
  }

  .v3-hero-final-frame {
    transition: none;
  }

  .home-v3 .inner-work-card,
  .home-v3 .inner-work-card-media img {
    transition: none;
  }

  .home-v3 .inner-work-card:hover,
  .home-v3 .inner-work-card:focus-visible {
    transform: none;
  }

  .home-v3 .inner-work-card-media img,
  .home-v3 .inner-work-card:hover .inner-work-card-media img,
  .home-v3 .inner-work-card:focus-visible .inner-work-card-media img {
    transform: scale(1.04);
  }
}

/* Explore: Inner Work featured card + Listen & Rest tiles */
.home-v3 .explore-home {
  position: relative;
  z-index: 3;
  max-width: 1080px;
  margin: 0 auto;
}

.home-v3 .explore-home .core-title {
  margin-bottom: 28px;
}

.home-v3 .inner-work-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16 / 8.15;
  min-height: 300px;
  border-radius: 26px;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  border: 1px solid rgba(255, 214, 168, 0.34);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 236, 210, 0.08) inset,
    0 0 48px rgba(239, 156, 88, 0.2),
    0 0 96px rgba(146, 72, 168, 0.16);
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.home-v3 .inner-work-card::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 11px;
  border-radius: 18px;
  border: 1px solid rgba(255, 232, 196, 0.18);
  box-shadow: inset 0 0 42px rgba(255, 186, 120, 0.06);
  pointer-events: none;
}

.home-v3 .inner-work-card:hover,
.home-v3 .inner-work-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 214, 168, 0.55);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 236, 210, 0.12) inset,
    0 0 64px rgba(239, 156, 88, 0.28),
    0 0 110px rgba(146, 72, 168, 0.2);
}

.home-v3 .inner-work-card:focus-visible {
  outline: 2px solid rgba(239, 189, 114, 0.7);
  outline-offset: 4px;
}

.home-v3 .inner-work-card-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1a1230;
}

.home-v3 .inner-work-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 46%;
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
  transition: transform 1.4s ease;
}

.home-v3 .inner-work-card:hover .inner-work-card-media img,
.home-v3 .inner-work-card:focus-visible .inner-work-card-media img {
  transform: scale(1.12);
}

.home-v3 .inner-work-card-media::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 61% 40%, rgba(255, 198, 120, 0.34) 0%, transparent 34%),
    radial-gradient(ellipse at 82% 78%, rgba(168, 82, 196, 0.22) 0%, transparent 42%);
  mix-blend-mode: soft-light;
}

.home-v3 .inner-work-card-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 8, 24, 0.38) 0%, rgba(10, 8, 24, 0.16) 24%, rgba(10, 8, 24, 0) 48%),
    linear-gradient(180deg, rgba(18, 10, 32, 0.12) 0%, rgba(10, 8, 24, 0) 36%, rgba(12, 8, 26, 0.32) 100%),
    radial-gradient(ellipse at 50% 55%, transparent 46%, rgba(8, 6, 20, 0.34) 100%);
}

.home-v3 .inner-work-card-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  height: 100%;
  padding: 36px 40px 38px;
  max-width: 28rem;
  background: linear-gradient(90deg, rgba(8, 6, 22, 0.22), rgba(8, 6, 22, 0.08) 62%, transparent 100%);
}

.home-v3 .inner-work-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  color: rgba(255, 244, 226, 0.96);
  filter: drop-shadow(0 0 14px rgba(255, 196, 120, 0.55));
}

.home-v3 .inner-work-emblem svg {
  width: 100%;
  height: 100%;
}

.home-v3 .inner-work-card-copy h3 {
  margin: 0;
  color: #fffaf3;
  font-family: "Prata", serif;
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.2px;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(255, 176, 90, 0.18);
}

.home-v3 .inner-work-diamond {
  display: block;
  width: 8px;
  height: 8px;
  margin: 13px 0 12px 3px;
  background: rgba(255, 214, 168, 0.94);
  transform: rotate(45deg);
  box-shadow: 0 0 16px rgba(255, 186, 110, 0.55);
}

.home-v3 .inner-work-card-copy p {
  margin: 0;
  max-width: 21rem;
  color: rgba(255, 246, 232, 0.92);
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 300;
  line-height: 1.45;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.58);
}

.home-v3 .listen-rest {
  margin-top: 34px;
}

.home-v3 .listen-rest-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 18px;
  color: rgba(239, 189, 114, 0.86);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.home-v3 .listen-rest-kicker::before,
.home-v3 .listen-rest-kicker::after {
  content: "✦";
  font-size: 11px;
  opacity: 0.85;
}

.home-v3 .listen-rest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-v3 .listen-rest-tile {
  --rest-accent: 147, 136, 220;
  --rest-glow: 184, 174, 255;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 236px;
  padding: 18px 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

/* Match the apps' static glass lighting; only the artwork shimmers. */
.home-v3 .listen-rest-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(139deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.025) 20%,
      rgba(255, 255, 255, 0.13) 34%,
      rgba(255, 255, 255, 0.025) 46%,
      transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 35%),
    radial-gradient(ellipse 65% 45% at 85% 100%,
      rgba(var(--rest-accent), 0.18), rgba(var(--rest-accent), 0)),
    radial-gradient(ellipse 80% 55% at 50% 30%,
      rgba(var(--rest-glow), 0.28),
      rgba(var(--rest-glow), 0.08) 50%,
      rgba(var(--rest-glow), 0));
}

.home-v3 .listen-rest-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.58),
    rgba(var(--rest-glow), 0.24) 22%,
    rgba(var(--rest-glow), 0.04) 58%,
    rgba(var(--rest-glow), 0.48));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.home-v3 .listen-rest-tile > * {
  position: relative;
  z-index: 1;
}

.home-v3 .listen-rest-tile.is-sleep {
  --rest-accent: 123, 164, 232;
  --rest-glow: 155, 184, 245;
  background: linear-gradient(165deg, rgba(23, 58, 102, 0.78), rgba(11, 35, 74, 0.92) 54%, rgba(7, 7, 45, 0.96));
  border-color: rgba(123, 164, 232, 0.32);
}

.home-v3 .listen-rest-tile.is-music {
  --rest-accent: 166, 154, 232;
  --rest-glow: 194, 185, 247;
  background: linear-gradient(165deg, rgba(74, 35, 107, 0.78), rgba(37, 17, 79, 0.92) 54%, rgba(8, 6, 45, 0.96));
  border-color: rgba(166, 154, 232, 0.32);
}

.home-v3 .listen-rest-tile.is-nature {
  --rest-accent: 196, 165, 116;
  --rest-glow: 232, 200, 120;
  background: linear-gradient(165deg, rgba(40, 80, 73, 0.78), rgba(18, 50, 56, 0.92) 54%, rgba(7, 10, 45, 0.96));
  border-color: rgba(196, 165, 116, 0.34);
}

.home-v3 .listen-rest-tile.is-noise {
  --rest-accent: 147, 136, 220;
  --rest-glow: 184, 174, 255;
  background: linear-gradient(165deg, rgba(36, 45, 104, 0.8), rgba(18, 27, 76, 0.92) 54%, rgba(8, 13, 50, 0.96));
  border-color: rgba(147, 136, 220, 0.36);
}

.home-v3 .listen-rest-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(168px, 78%);
  aspect-ratio: 1;
  margin: 0 auto 8px;
}

.home-v3 .listen-rest-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 16px rgba(255, 255, 255, 0.08));
}

.home-v3 .listen-rest-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    108deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 248, 236, 0.14) 46%,
    rgba(255, 255, 255, 0.62) 50%,
    rgba(255, 248, 236, 0.14) 54%,
    transparent 58%,
    transparent 100%
  );
  background-size: 240% 100%;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  animation: listen-rest-icon-shimmer 7.2s ease-in-out infinite;
}

.home-v3 .listen-rest-tile.is-sleep .listen-rest-icon::after {
  -webkit-mask-image: url("/assets/website/images/Icons/Main/Sleep.png");
  mask-image: url("/assets/website/images/Icons/Main/Sleep.png");
}

.home-v3 .listen-rest-tile.is-music .listen-rest-icon::after {
  -webkit-mask-image: url("/assets/website/images/Icons/Main/Music.png");
  mask-image: url("/assets/website/images/Icons/Main/Music.png");
  animation-delay: 1.4s;
}

.home-v3 .listen-rest-tile.is-nature .listen-rest-icon::after {
  -webkit-mask-image: url("/assets/website/images/Icons/Main/Nature%20Sounds.png");
  mask-image: url("/assets/website/images/Icons/Main/Nature%20Sounds.png");
  animation-delay: 2.8s;
}

.home-v3 .listen-rest-tile.is-noise .listen-rest-icon::after {
  -webkit-mask-image: url("/assets/website/images/Icons/Main/Noise.png");
  mask-image: url("/assets/website/images/Icons/Main/Noise.png");
  animation-delay: 4.2s;
}

@keyframes listen-rest-icon-shimmer {
  0%, 22% { background-position: 140% 0; }
  48%, 100% { background-position: -140% 0; }
}

.home-v3 .listen-rest-tile.is-sleep .listen-rest-icon img {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 18px rgba(123, 164, 232, 0.28));
}

.home-v3 .listen-rest-tile.is-music .listen-rest-icon img {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 18px rgba(34, 199, 190, 0.28));
}

.home-v3 .listen-rest-tile.is-nature .listen-rest-icon img {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 18px rgba(232, 200, 120, 0.26));
}

.home-v3 .listen-rest-tile.is-noise .listen-rest-icon img {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 18px rgba(176, 140, 255, 0.4));
}

@media (prefers-reduced-motion: reduce) {
  .home-v3 .listen-rest-icon::after {
    animation: none;
    opacity: 0;
  }
}

.home-v3 .listen-rest-tile h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

@media (max-width: 820px) {
  .home-v3 .listen-rest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-v3 .listen-rest-tile {
    min-height: 210px;
  }

  .home-v3 .listen-rest-icon {
    width: min(150px, 72%);
  }
}

@media (max-width: 640px) {
  .home-v3 .inner-work-card {
    min-height: 250px;
    aspect-ratio: 16 / 10.5;
    border-radius: 20px;
  }

  .home-v3 .inner-work-card::after {
    inset: 8px;
    border-radius: 14px;
  }

  .home-v3 .inner-work-card-media img {
    object-position: 70% 48%;
  }

  .home-v3 .inner-work-card-copy {
    min-height: 0;
    padding: 22px 20px 24px;
    max-width: 18rem;
  }

  .home-v3 .inner-work-emblem {
    width: 46px;
    height: 46px;
    margin-bottom: 10px;
  }

  .home-v3 .inner-work-card-copy h3 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .home-v3 .inner-work-card-copy p {
    max-width: 18rem;
    font-size: 15px;
  }

  .home-v3 .listen-rest {
    margin-top: 26px;
  }

  .home-v3 .listen-rest-kicker {
    letter-spacing: 0.22em;
    font-size: 11px;
  }

  .home-v3 .listen-rest-tile {
    min-height: 188px;
    padding: 14px 10px 14px;
    border-radius: 18px;
  }

  .home-v3 .listen-rest-icon {
    width: min(128px, 78%);
  }

  .home-v3 .listen-rest-tile h3 {
    font-size: 15px;
  }
}

@media (max-width: 760px) {
  .home-v3 .iw-theme-card,
  .home-v3 .iw-theme-card:hover,
  .home-v3 .rest-shelf-card,
  .home-v3 .rest-shelf-card:hover {
    transform: none;
  }

  .home-v3 .mission-shell,
  .home-v3 .faq-shell {
    border-radius: 20px;
  }
}

@media (max-width: 380px) {
  .home-v3 .inner-work-card {
    min-height: 220px;
  }

  .home-v3 .listen-rest-tile {
    min-height: 164px;
    padding: 12px 8px;
  }

  .home-v3 .listen-rest-icon {
    width: min(108px, 82%);
  }

  .home-v3 .listen-rest-tile h3 {
    font-size: 14px;
  }
}
