/* Story Co — Home (soft / cute) */

.home {
  --home-font-display: "Lexend", system-ui, sans-serif;
  --home-font-body: "Lexend", system-ui, sans-serif;
  --home-red: #ed1c24;
  --home-blush: #ff9aa2;
  --home-ink: #1a0c0e;
  --home-soft: #2a1518;
  --home-cream: #fff4f5;
  --home-muted: rgba(255, 244, 245, 0.68);
  background:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(237, 28, 36, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(255, 154, 162, 0.08), transparent 50%),
    linear-gradient(180deg, #12080a 0%, #0a0506 40%, #12080a 100%);
  color: var(--home-cream);
  font-family: var(--home-font-body);
  overflow-x: hidden;
}

.home .site-nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home .site-nav.is-scrolled {
  background: rgba(10, 5, 6, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home .nav-cta {
  border-radius: 999px;
  font-family: var(--home-font-body);
  font-weight: 700;
  background: linear-gradient(135deg, #ff3b45, #ed1c24);
  box-shadow: 0 10px 28px rgba(237, 28, 36, 0.35);
}

.home .btn-primary,
.home-btn {
  border-radius: 999px;
  font-family: var(--home-font-body);
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #ff4d55, #ed1c24);
  box-shadow: 0 14px 34px rgba(237, 28, 36, 0.32);
}

.home-btn-soft {
  border-radius: 999px;
  font-family: var(--home-font-body);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

/* ── Hero ── */
.home-hero {
  position: relative;
  height: 100svh;
  max-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  box-sizing: border-box;
  padding: calc(72px + var(--safe-top)) 0 20px;
}

.home-hero-glow {
  position: absolute;
  right: 5%;
  top: 20%;
  width: min(420px, 60vw);
  height: min(420px, 60vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.32), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.home-hero-layout {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  height: 100%;
  min-height: 0;
}

.home-hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 320px;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero-visual img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  min-width: 0;
}

.home-hero-wordmark {
  height: 36px;
  width: auto;
  margin: 0 auto 14px;
  filter: drop-shadow(0 10px 24px rgba(237, 28, 36, 0.28));
}

.home-hero-kicker {
  margin: 0 0 8px;
  color: var(--home-blush);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-hero h1 {
  margin: 0;
  font-family: var(--home-font-display);
  font-size: clamp(2rem, 7.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-optical-sizing: auto;
}

.home-hero h1 em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(120deg, #fff 20%, var(--home-blush) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero-sub {
  margin: 10px auto 0;
  max-width: 34ch;
  color: var(--home-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.home-hero-actions .btn {
  min-height: 46px;
  padding-inline: 20px;
}

/* ── Mood row ── */
.home-mood {
  padding: 28px 0 56px;
}

.home-mood-head {
  width: min(680px, calc(100% - 40px));
  margin: 0 auto 22px;
  text-align: center;
}

.home-mood-head h2,
.home-soft-copy h2,
.home-phones-copy h2,
.home-genres h2,
.home-final-cta h2 {
  margin: 0;
  font-family: var(--home-font-display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.home-mood-head p,
.home-soft-copy p,
.home-phones-copy p,
.home-final-cta p {
  margin: 10px 0 0;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.home-mood-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
}

.home-mood-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s ease;
}

.home-mood-card:hover {
  transform: translateY(-4px);
}

.home-mood-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  vertical-align: top;
}

.home-mood-card figcaption {
  padding: 12px 14px 14px;
  font-family: var(--home-font-display);
  font-size: 1rem;
  font-weight: 500;
  font-style: normal;
}

/* ── Soft feature ── */
.home-soft-feature {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto 56px;
  padding: 28px 22px;
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(237, 28, 36, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 154, 162, 0.16);
}

.home-soft-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--home-blush);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-soft-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.home-soft-list li {
  padding: 16px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-soft-list strong {
  display: block;
  font-family: var(--home-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.home-soft-list span {
  color: var(--home-muted);
  font-size: 0.88rem;
}

/* ── Phones ── */
.home-phones-block {
  padding: 12px 0 48px;
  text-align: center;
}

.home-phones-copy {
  width: min(520px, calc(100% - 40px));
  margin: 0 auto 16px;
}

.home-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 420px;
}

.home-phones-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 154, 162, 0.22), transparent 70%);
  filter: blur(30px);
}

.home-phone-stack {
  position: relative;
  width: 220px;
  height: 400px;
}

.home-phone-card {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  transform: translateX(0) rotate(0deg) scale(0.75);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease,
    z-index 0s linear 0.2s;
}

.home-phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
}

.home-phone-card.is-left {
  transform: translateX(-58px) rotate(-7deg) scale(0.88);
  opacity: 0.55;
  z-index: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.home-phone-card.is-center {
  transform: translateX(0) rotate(0deg) scale(1);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
  transition-delay: 0s;
}

.home-phone-card.is-right {
  transform: translateX(58px) rotate(7deg) scale(0.88);
  opacity: 0.55;
  z-index: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.home-phone-card.is-hidden {
  transform: translateX(0) rotate(0deg) scale(0.7);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.home-phone-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.home-phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.home-phone-dot.is-active {
  background: var(--home-blush);
  transform: scale(1.25);
}

/* ── Genres ── */
.home-genres {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto 56px;
  text-align: center;
}

.home-genre-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.home-genre-cloud span {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 154, 162, 0.22);
  background: rgba(255, 154, 162, 0.08);
  color: #ffe4e7;
  font-weight: 700;
  font-size: 0.92rem;
}

/* ── Final CTA ── */
.home-final-cta {
  position: relative;
  width: min(680px, calc(100% - 32px));
  margin: 0 auto 48px;
  padding: 44px 28px;
  border-radius: 36px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(237, 28, 36, 0.22), rgba(20, 8, 10, 0.9));
  border: 1px solid rgba(255, 154, 162, 0.2);
}

.home-final-cta::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 154, 162, 0.28), transparent 70%);
  pointer-events: none;
}

.home-final-cta img {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.home-final-cta h2,
.home-final-cta p,
.home-final-cta .btn {
  position: relative;
}

.home-final-cta .btn {
  margin-top: 22px;
  min-width: 200px;
}

@media (min-width: 768px) {
  .home-hero {
    height: 100svh;
    max-height: 100svh;
    padding: calc(80px + var(--safe-top)) 0 24px;
  }

  .home-hero-layout {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: minmax(0, 1fr);
    gap: 36px;
  }

  .home-hero-inner {
    text-align: left;
    order: 1;
  }

  .home-hero-visual {
    order: 2;
    justify-self: end;
    width: 100%;
    max-width: 380px;
    height: 100%;
  }

  .home-hero-wordmark {
    height: 40px;
    margin-left: 0;
    margin-bottom: 16px;
  }

  .home-hero-actions {
    justify-content: flex-start;
    margin-top: 22px;
  }

  .home-hero-actions .btn {
    min-height: 50px;
  }

  .home-hero-sub {
    margin-inline: 0;
    font-size: 1.02rem;
  }

  .home-hero h1 {
    font-size: clamp(2.6rem, 4.5vw, 4rem);
  }

  .home-hero-visual img {
    max-height: 100%;
    border-radius: 28px;
  }

  .home-mood-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .home-soft-feature {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    padding: 36px;
  }

  .home-soft-list {
    margin-top: 0;
  }

  .home-phones {
    height: 480px;
  }

  .home-phone-stack {
    width: 250px;
    height: 450px;
  }

  .home-phone-card.is-left {
    transform: translateX(-96px) rotate(-9deg) scale(0.86);
  }

  .home-phone-card.is-right {
    transform: translateX(96px) rotate(9deg) scale(0.86);
  }
}

@media (max-width: 767px) {
  .home .site-nav .nav-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  /* Mobile hero: full-bleed image + bottom copy */
  .home-hero {
    height: 100svh;
    max-height: 100svh;
    padding: 0;
    display: block;
  }

  .home-hero-glow {
    display: none;
  }

  .home-hero-layout {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
  }

  .home-hero-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    border-radius: 0;
  }

  .home-hero-visual img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  .home-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(10, 5, 6, 0.55) 0%, transparent 28%),
      linear-gradient(0deg, rgba(10, 5, 6, 0.96) 0%, rgba(10, 5, 6, 0.72) 38%, transparent 68%);
    pointer-events: none;
  }

  .home-hero-inner {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 24px 20px 28px;
    text-align: center;
  }

  .home-hero-wordmark {
    display: none;
  }

  .home-hero-kicker {
    font-size: 0.78rem;
    margin-bottom: 10px;
  }

  .home-hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
    line-height: 1.08;
  }

  .home-hero-sub {
    margin-top: 10px;
    font-size: 0.92rem;
    max-width: 30ch;
    line-height: 1.45;
  }

  .home-hero-actions {
    margin-top: 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-actions .btn {
    width: 100%;
    min-height: 50px;
  }

  .home-hero-actions .home-btn-soft {
    display: none;
  }

  /* Mood: horizontal cards, full image, no crop fight */
  .home-mood {
    padding: 36px 0 40px;
  }

  .home-mood-head {
    width: calc(100% - 32px);
    margin-bottom: 18px;
  }

  .home-mood-head h2 {
    font-size: 1.55rem;
  }

  .home-mood-head p {
    font-size: 0.92rem;
  }

  .home-mood-row {
    display: flex;
    gap: 12px;
    width: auto;
    margin: 0;
    padding: 0 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-mood-row::-webkit-scrollbar {
    display: none;
  }

  .home-mood-card {
    flex: 0 0 72vw;
    max-width: 280px;
    scroll-snap-align: center;
    border-radius: 20px;
  }

  .home-mood-card figcaption {
    padding: 10px 12px 12px;
    font-size: 0.9rem;
  }

  .home-soft-feature {
    width: calc(100% - 24px);
    margin-bottom: 40px;
    padding: 22px 18px;
    border-radius: 24px;
  }

  .home-soft-copy h2 {
    font-size: 1.45rem;
  }

  .home-soft-list {
    gap: 10px;
    margin-top: 18px;
  }

  .home-soft-list li {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .home-soft-list strong {
    font-size: 1.05rem;
  }

  .home-soft-list span {
    font-size: 0.8rem;
  }

  .home-phones-block {
    padding: 8px 0 36px;
    overflow: hidden;
  }

  .home-phones-copy h2 {
    font-size: 1.45rem;
  }

  .home-phones {
    height: 360px;
  }

  .home-phone-stack {
    width: 190px;
    height: 340px;
  }

  .home-phone-card.is-left {
    transform: translateX(-42px) rotate(-6deg) scale(0.86);
  }

  .home-phone-card.is-right {
    transform: translateX(42px) rotate(6deg) scale(0.86);
  }

  .home-genres {
    margin-bottom: 36px;
  }

  .home-genres h2 {
    font-size: 1.45rem;
  }

  .home-genre-cloud {
    gap: 8px;
  }

  .home-genre-cloud span {
    padding: 8px 14px;
    font-size: 0.84rem;
  }

  .home-final-cta {
    width: calc(100% - 24px);
    margin-bottom: 28px;
    padding: 32px 20px;
    border-radius: 28px;
  }

  .home-final-cta h2 {
    font-size: 1.5rem;
  }

  .home-final-cta .btn {
    width: 100%;
    min-width: 0;
  }

  .home .site-footer {
    padding-bottom: 16px;
  }
}
