/* ============================================================
   HOME PAGE — home.css
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 74px;
  background: var(--ivory);
  overflow: hidden;
}

.hero-bg-decor {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 75% 60% at 72% 52%, rgba(232,213,207,0.38) 0%, transparent 58%),
    radial-gradient(ellipse 40% 70% at 5% 85%, rgba(184,149,90,0.07) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
  padding: 56px 0;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.eyebrow-line {
  display: block;
  width: 30px; height: 1px;
  background: var(--gold);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--charcoal-soft);
  line-height: 1.85;
  max-width: 460px;
  margin-bottom: 44px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Book Stack Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 440px;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(184,149,90,0.18);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.hero-ring-1 { width: 380px; height: 380px; }
.hero-ring-2 { width: 280px; height: 280px; border-color: rgba(184,149,90,0.1); }

.hero-book-back {
  position: absolute;
  width: 190px; height: 300px;
  background: linear-gradient(155deg, var(--blush-deep), var(--blush));
  top: 60px; left: 56%;
  transform: rotate(5deg);
  box-shadow: 4px 8px 24px rgba(34,34,34,0.14);
}

.hero-book-main {
  position: absolute;
  width: 210px; height: 320px;
  top: 50px; left: 42%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 8px 12px 36px rgba(34,34,34,0.22);
  display: flex;
}
.hero-book-spine {
  width: 8px; height: 100%;
  background: linear-gradient(to right, #0e0e0e, #1c1c1c);
  flex-shrink: 0;
}
.hero-book-face {
  flex: 1;
  background: linear-gradient(155deg, #1c1c1c 0%, #2b2b2b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}
.hb-ornament { font-size: 1.1rem; color: var(--gold); margin-bottom: 10px; }
.hb-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-light);
  line-height: 1.3;
  font-weight: 400;
}
.hb-line { width: 28px; height: 1px; background: var(--gold); margin: 8px auto; }
.hb-author {
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.36);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  animation: scrollBounce 2.8s ease-in-out infinite;
}
.hero-scroll-hint span {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(9px); }
}

/* ── Welcome ────────────────────────────────────────────────── */
.welcome-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 88px;
  align-items: center;
}

.welcome-img-frame {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.welcome-img-frame::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px; right: 16px; bottom: 16px;
  border: 1px solid rgba(184,149,90,0.22);
  z-index: -1;
}
.welcome-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, var(--cream) 0%, var(--blush) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
}
.wip-icon { font-size: 2.5rem; opacity: 0.35; }
.wip-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

.welcome-pull-quote {
  position: absolute;
  bottom: -28px; right: -28px;
  background: var(--charcoal);
  padding: 26px 28px;
  max-width: 250px;
}
.welcome-pull-quote p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.5;
}
.welcome-pull-quote cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-top: 10px;
  font-style: normal;
}

.welcome-visual { position: relative; }

.welcome-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--ivory-deep);
  border-left: 2px solid var(--gold);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal-mid);
  letter-spacing: 0.04em;
  transition: background var(--tr);
}
.pillar:hover { background: var(--gold-pale); }
.pillar-icon { font-size: 1.1rem; }

/* ── Home Books Grid ────────────────────────────────────────── */
.home-books-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.home-book-card {
  background: var(--white);
  display: flex;
  gap: 28px;
  padding: 36px;
  position: relative;
  transition: transform var(--tr), box-shadow var(--tr);
}
.home-book-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blush-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
}
.home-book-card:hover { transform: translateY(-4px); box-shadow: 0 18px 52px rgba(34,34,34,0.1); }
.home-book-card:hover::before { transform: scaleX(1); }

.hb-badge {
  display: inline-block;
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 5px 12px;
  margin-bottom: 12px;
}
.hb-title-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.2;
}
.hb-desc {
  font-size: 0.86rem;
  color: var(--charcoal-soft);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ── Home Astra ─────────────────────────────────────────────── */
.home-astra-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 88px;
  align-items: center;
}

.astra-img-frame {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}
.astra-img-frame::after {
  content: '';
  position: absolute;
  top: -18px; right: -18px;
  width: 55%; height: 55%;
  border: 1px solid rgba(184,149,90,0.28);
  z-index: -1;
}
.astra-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(155deg, var(--blush) 0%, var(--cream) 50%, var(--gold-pale) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 32px;
  position: relative;
}
.aip-silhouette {
  position: absolute;
  font-size: 7rem;
  bottom: 80px;
  left: 50%; transform: translateX(-50%);
  opacity: 0.1;
  line-height: 1;
}
.aip-caption {
  position: relative; z-index: 1;
  text-align: center;
  background: rgba(250,248,244,0.82);
  padding: 16px 24px;
  backdrop-filter: blur(6px);
}
.aip-caption span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--charcoal);
  display: block;
}
.aip-caption small {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.home-astra-quote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.5;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 28px 0;
}

/* ── CTA Banner ─────────────────────────────────────────────── */
.home-cta-banner {
  background: var(--charcoal);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.home-cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(184,149,90,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner-inner {
  text-align: center;
  position: relative; z-index: 1;
}
.cta-banner-ornament {
  font-size: 1.4rem;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 16px;
}
.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 14px;
}
.cta-banner-title em { font-style: italic; color: var(--gold-light); }
.cta-banner-sub {
  font-size: 0.92rem;
  color: rgba(250,248,244,0.45);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}
.cta-banner-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { gap: 40px; }
  .welcome-inner, .home-astra-inner { gap: 48px; }
  .home-books-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-eyebrow { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-visual { order: -1; height: 300px; }
  .hero-ring-1 { width: 260px; height: 260px; }
  .hero-ring-2 { width: 200px; height: 200px; }
  .hero-book-main { width: 160px; height: 240px; top: 30px; left: 46%; }
  .hero-book-back { width: 145px; height: 225px; top: 45px; left: 54%; }

  .welcome-inner { grid-template-columns: 1fr; }
  .welcome-pull-quote { position: static; max-width: 100%; margin-top: 16px; }
  .welcome-pillars { grid-template-columns: 1fr 1fr; }

  .home-astra-inner { grid-template-columns: 1fr; }
  .home-book-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .welcome-pillars { grid-template-columns: 1fr; }
}
