/* ==========================================================================
   Living A Soul Focused Life | Deborah Mills
   Luminous Lavender-Pearl Sanctuary Aesthetic (Mobile-First, Zero Overflow)
   ========================================================================== */

:root {
  --bg-pearl: #faf8fc;
  --bg-tint: #f2ecf8;
  --bg-card: #ffffff;
  --plum-deep: #341d4f;
  --plum-mid: #533278;
  --lavender: #9170b8;
  --lavender-soft: #e6dcf2;
  --gold: #b88b3b;
  --gold-soft: rgba(184, 139, 59, 0.22);
  --text-ink: #241933;
  --text-body: #4b3f5c;
  --text-muted: #76688a;
  --border: rgba(83, 50, 120, 0.14);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 18px 46px rgba(52, 29, 79, 0.09);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-pearl);
  color: var(--text-body);
  font-family: var(--font-sans);
  line-height: 1.68;
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

main, section, header, footer {
  max-width: 100%;
}

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

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

.container {
  width: min(1140px, 90%);
  margin: 0 auto;
}

.hero-grid > *,
.editorial-two-col > *,
.pillars-grid > *,
.teachings-grid > *,
.author-grid > * {
  min-width: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 252, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-serif);
  font-size: 1.48rem;
  font-weight: 700;
  color: var(--plum-deep);
  white-space: nowrap;
}

.brand-mark {
  color: var(--gold);
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  white-space: nowrap;
  transition: color 0.2s ease;
}

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

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 9px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--plum-deep);
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 20px 6%;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  font-weight: 600;
  color: var(--plum-deep);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  max-width: 100%;
  white-space: normal;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.83rem;
}

.btn-plum {
  background: linear-gradient(135deg, var(--plum-mid) 0%, var(--plum-deep) 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(52, 29, 79, 0.22);
}

.btn-plum:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(52, 29, 79, 0.3);
}

.btn-outline {
  background: #ffffff;
  color: var(--plum-deep);
  border-color: rgba(83, 50, 120, 0.28);
}

.btn-outline:hover {
  background: var(--bg-tint);
  border-color: var(--plum-mid);
  transform: translateY(-2px);
}

/* Hero */
.hero {
  padding: 66px 0 76px;
  background:
    radial-gradient(circle at 80% 24%, rgba(164, 128, 206, 0.24), transparent 46%),
    radial-gradient(circle at 12% 76%, rgba(184, 139, 59, 0.12), transparent 44%),
    linear-gradient(180deg, #faf8fc 0%, #f4effa 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(145, 112, 184, 0.32);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--plum-mid);
  margin-bottom: 18px;
}

.hero-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.45rem, 5vw, 4rem);
  line-height: 1.06;
  color: var(--plum-deep);
}

.hero-subtitle {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  color: var(--plum-mid);
}

.hero-desc {
  margin: 0 0 28px;
  font-size: 1.02rem;
  color: var(--text-body);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.book-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.cover-pedestal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 340px;
  width: 100%;
}

.cover-halo {
  position: absolute;
  inset: 6% -6% 14%;
  background: radial-gradient(circle, rgba(164, 128, 206, 0.45), rgba(184, 139, 59, 0.16), transparent 70%);
  filter: blur(28px);
  z-index: 0;
}

.book-cover-img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(83, 50, 120, 0.22);
  box-shadow: 0 24px 54px rgba(52, 29, 79, 0.24);
}

.cover-caption {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--plum-mid);
}

/* Moving Marquee Banner */
.marquee-band {
  background: var(--plum-deep);
  color: #f4ecfc;
  padding: 14px 0;
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
}

.marquee-group span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
.section {
  padding: 84px 0;
}

.section-tint {
  background: var(--bg-tint);
}

.section-head {
  margin-bottom: 46px;
}

.section-head.centered {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  color: var(--plum-deep);
}

.section-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-body);
}

/* Editorial Cards */
.editorial-two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.editorial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
}

.editorial-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--plum-deep);
}

.editorial-card p {
  margin: 0;
  font-size: 0.98rem;
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--lavender);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-soft);
}

.pillar-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.pillar-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--plum-deep);
}

.pillar-card p {
  margin: 0;
  font-size: 0.96rem;
}

/* Grounded Amethyst Quote Band */
.quote-band {
  background: linear-gradient(135deg, #341d4f 0%, #4d2d73 100%);
  color: #faf6ff;
  padding: 72px 0;
  text-align: center;
}

.quote-inner {
  max-width: 820px;
}

.quote-mark {
  display: inline-block;
  color: #e8c77b;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.quote-band blockquote {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  line-height: 1.44;
  color: #ffffff;
}

.quote-attrib {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: #e4d6f5;
}

/* Teachings Grid */
.teachings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.teaching-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.teaching-item h4 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.42rem;
  color: var(--plum-deep);
}

.teaching-item p {
  margin: 0;
  font-size: 0.96rem;
}

/* Author Section */
.author-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 50px;
  align-items: center;
}

.author-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-photo {
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius-md);
  border: 4px solid #ffffff;
  box-shadow: 0 20px 48px rgba(52, 29, 79, 0.18);
}

.author-badge {
  margin-top: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--plum-mid);
}

.author-role {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.32rem;
  color: var(--plum-mid);
}

.author-bio p {
  margin: 0 0 16px;
}

.credentials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.cred-pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(145, 112, 184, 0.34);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--plum-deep);
}

/* Connect Card */
.connect-card {
  text-align: center;
  padding: 54px 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #ffffff 0%, #f3ecf9 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.connect-desc {
  max-width: 64ch;
  margin: 0 auto 28px;
}

.connect-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.contact-strip a {
  color: var(--plum-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  background: #241438;
  color: #dfd3ee;
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: #b7a4cf;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .editorial-two-col,
  .pillars-grid,
  .teachings-grid,
  .author-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 780px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .hero {
    padding: 40px 0 54px;
  }
  .section {
    padding: 60px 0;
  }
  .hero-actions,
  .connect-actions {
    flex-direction: column;
  }
  .hero-actions .btn,
  .connect-actions .btn {
    width: 100%;
  }
  .cover-pedestal,
  .author-photo {
    max-width: min(300px, 82vw);
  }
  .connect-card {
    padding: 36px 20px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}
