/* LoveCircles premium homepage */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Outfit:wght@400;500;600&display=swap");

body.home .content-container,
body.home #main,
body.home .content-wrap,
body.home .entry-content-wrap,
body.home .site-main,
body.home .content-area {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.home .entry-hero,
body.home .entry-header,
body.home .content-title-style-above .entry-header {
  display: none !important;
}

body.home #inner-wrap,
body.home .wrap {
  max-width: none;
  padding: 0;
}

.lc-home {
  --home-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --home-sans: "Outfit", system-ui, sans-serif;
  color: var(--lc-ink, #1c1412);
  overflow-x: hidden;
}

.lc-home-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Hero: one composition, brand first */
.lc-home-hero {
  position: relative;
  min-height: clamp(420px, 58svh, 620px);
  display: grid;
  place-items: end stretch;
  color: #fff8f4;
  isolation: isolate;
}

.lc-home-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(240, 184, 154, 0.35), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(155, 107, 199, 0.35), transparent 45%),
    linear-gradient(160deg, #1a1018 0%, #2a1828 45%, #1c1412 100%);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: lc-hero-drift 18s ease-in-out infinite alternate;
  z-index: -2;
}

.lc-home-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 8, 14, 0.35) 0%, rgba(12, 8, 14, 0.55) 40%, rgba(12, 8, 14, 0.88) 100%);
  z-index: -1;
}

.lc-home-hero-inner {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 10vh, 7rem) 0 3.25rem;
}

.lc-home-brand {
  margin: 0 0 0.8rem;
}

.lc-home-brand-logo {
  display: block;
  height: clamp(2.7rem, 5vw, 3.8rem);
  width: auto;
  max-width: min(420px, 88vw);
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.35));
}

.lc-home-brand-text {
  font-family: var(--home-serif);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--lc-brand-gradient, linear-gradient(105deg, #f0b89a, #e07aad, #9b6bc7));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lc-home-headline {
  margin: 0 0 0.65rem;
  font-family: var(--home-serif);
  font-weight: 500;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  max-width: 18ch;
  color: rgba(255, 248, 244, 0.92);
}

.lc-home-lede {
  margin: 0 0 1.15rem;
  max-width: 34rem;
  font-family: var(--home-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 248, 244, 0.78);
}

.lc-home-ctas,
.lc-home-shop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.lc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--home-sans);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.lc-btn:hover {
  transform: translateY(-2px);
}

.lc-btn-primary {
  background: var(--lc-brand-gradient, linear-gradient(105deg, #f0b89a, #e07aad, #9b6bc7));
  color: #1c1412 !important;
  border: 0;
}

.lc-btn-ghost {
  background: transparent;
  color: #fff8f4 !important;
  border: 1px solid rgba(255, 248, 244, 0.45);
}

.lc-btn-ghost:hover {
  border-color: #fff8f4;
}

.lc-btn-ghost-dark {
  background: transparent;
  color: var(--lc-deep, #3a221c) !important;
  border: 1px solid rgba(58, 34, 28, 0.28);
}

.lc-home-scroll {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 248, 244, 0.4);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 0.45rem;
}

.lc-home-scroll span {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: #fff8f4;
  animation: lc-scroll-dot 1.6s ease-in-out infinite;
}

/* Sections */
.lc-home-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.lc-home-section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.lc-home-eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--home-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lc-orchid, #9b6bc7);
}

.lc-home-section-head h2,
.lc-home-feature-copy h2,
.lc-home-close h2 {
  margin: 0 0 0.7rem;
  font-family: var(--home-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--lc-deep, #3a221c);
}

.lc-home-section-head p,
.lc-home-feature-copy p,
.lc-home-close p {
  margin: 0;
  font-family: var(--home-sans);
  color: var(--lc-muted, #5c4a45);
  line-height: 1.65;
  font-size: 1.05rem;
}

/* Topics as editorial rows — not cards */
.lc-home-topics {
  padding: clamp(1.75rem, 4vw, 3rem) 0;
}

.lc-home-topics .lc-home-section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: baseline;
  max-width: none;
  margin-bottom: 1rem;
}

.lc-home-topics .lc-home-eyebrow {
  grid-row: 1 / span 2;
}

.lc-home-topics .lc-home-section-head h2 {
  margin-bottom: 0.2rem;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.lc-home-topics .lc-home-section-head p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.lc-topic-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(28, 20, 18, 0.12);
  border-left: 1px solid rgba(28, 20, 18, 0.12);
}

.lc-topic-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 0.7rem;
  align-items: center;
  min-height: 5rem;
  padding: 0.7rem 0.85rem;
  border-right: 1px solid rgba(28, 20, 18, 0.12);
  border-bottom: 1px solid rgba(28, 20, 18, 0.12);
  text-decoration: none !important;
  color: inherit;
  transition: padding-left 0.25s ease, background 0.25s ease;
}

.lc-topic-row:hover {
  padding-left: 1rem;
  background: linear-gradient(90deg, rgba(240, 184, 154, 0.14), transparent 55%);
}

.lc-topic-name {
  font-family: var(--home-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 600;
  color: var(--lc-deep, #3a221c);
}

.lc-topic-hint {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--home-sans);
  color: var(--lc-muted, #5c4a45);
  font-size: 0.82rem;
}

.lc-topic-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--lc-rose, #d46a8a);
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.lc-topic-row:hover .lc-topic-arrow {
  transform: translateX(4px);
}

/* Featured chapter */
.lc-home-feature {
  background:
    radial-gradient(ellipse at left center, rgba(224, 122, 173, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.2), rgba(243, 235, 227, 0.65));
}

.lc-home-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.lc-home-feature-copy .lc-btn {
  margin-top: 1.5rem;
}

.lc-home-feature-media {
  display: block;
  overflow: hidden;
  border-radius: 2px;
  line-height: 0;
}

.lc-home-feature-img {
  width: 100%;
  height: clamp(240px, 38vw, 420px);
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.lc-home-feature-media:hover .lc-home-feature-img {
  transform: scale(1.03);
}

/* Recent chapters on Relationship Advice path */
.lc-home-chapters {
  background: linear-gradient(180deg, #fffaf7 0%, #f3ebe3 100%);
}

.lc-chapter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(28, 20, 18, 0.12);
}

.lc-chapter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(28, 20, 18, 0.12);
  color: inherit;
  text-decoration: none;
  transition: padding-left 0.25s ease, color 0.25s ease;
}

.lc-chapter-row:hover {
  padding-left: 0.35rem;
  color: var(--lc-rose, #d46a8a);
}

.lc-chapter-title {
  font-family: var(--home-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
}

.lc-chapter-arrow {
  color: var(--lc-rose, #d46a8a);
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}

.lc-chapter-row:hover .lc-chapter-arrow {
  transform: translateX(4px);
}

.lc-home-chapters-more {
  margin: 1.75rem 0 0;
}

/* Shop strip */
.lc-home-shop {
  background: #1c1412;
  color: #fff8f4;
}

.lc-home-shop .lc-home-eyebrow {
  color: #f0b89a;
}

.lc-home-shop h2 {
  color: #fff8f4;
}

.lc-home-shop .lc-home-section-head p {
  color: rgba(255, 248, 244, 0.72);
}

.lc-home-shop .lc-btn-ghost-dark {
  color: #fff8f4 !important;
  border-color: rgba(255, 248, 244, 0.35);
}

.lc-home-shop-actions {
  margin-top: 0.5rem;
}

/* Close */
.lc-home-close-inner {
  text-align: center;
  max-width: 40rem;
}

.lc-home-close-inner .lc-btn {
  margin-top: 1.5rem;
}

/* Motion */
.lc-reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: lc-rise 0.9s ease forwards;
}

.lc-reveal-delay-1 { animation-delay: 0.15s; }
.lc-reveal-delay-2 { animation-delay: 0.3s; }
.lc-reveal-delay-3 { animation-delay: 0.45s; }

@keyframes lc-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lc-hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes lc-scroll-dot {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(10px); }
}

@media (max-width: 900px) {
  .lc-home-feature-grid {
    grid-template-columns: 1fr;
  }

  .lc-topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lc-home-hero-inner {
    padding-top: 4rem;
  }
}

@media (max-width: 600px) {
  .lc-home-hero {
    min-height: clamp(390px, 54svh, 500px);
  }

  .lc-home-hero-inner {
    padding: 3rem 0 2.75rem;
  }

  .lc-home-lede {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .lc-home-scroll {
    display: none;
  }

  .lc-home-topics .lc-home-section-head {
    display: block;
  }

  .lc-home-topics .lc-home-eyebrow {
    margin-bottom: 0.25rem;
  }

  .lc-topic-list {
    grid-template-columns: 1fr;
  }

  .lc-topic-row {
    min-height: 3.8rem;
    padding: 0.55rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lc-reveal,
  .lc-home-hero-bg,
  .lc-home-scroll span,
  .lc-home-feature-img {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
