/* ============================================================
   SHERRY L. ROSS — style.css
   Aesthetic: Celestial Literary / Wonderment-forward
   Fonts: Cormorant Garamond (display) + Jost (body)
   ============================================================ */

:root {
  --navy:        #0d1b2a;
  --navy-mid:    #162236;
  --navy-light:  #1e3250;
  --gold:        #c9a84c;
  --gold-pale:   #e8d5a3;
  --cream:       #f5f0e8;
  --cream-dark:  #e8e0d0;
  --white:       #ffffff;
  --text-dark:   #1a1a2e;
  --text-body:   #3a3a50;
  --text-muted:  #7a7a90;
  --vine-green:  #2d5a27;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;
  --max-w: 1100px;
  --section-pad: 5rem 0;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
  background-color: var(--cream);
  overflow-x: hidden;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section { padding: var(--section-pad); }
.alt-bg { background: var(--cream-dark); }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.4rem; }
em { font-style: italic; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.section-label.center { text-align: center; }

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--cream); }
.btn-outline-light { background: transparent; color: var(--cream); border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--gold-pale); color: var(--gold-pale); }
.btn-sm { padding: 0.5rem 1.3rem; font-size: 0.7rem; }

/* ============================================================ HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-pale); letter-spacing: 0.05em; transition: color var(--transition); }
.logo:hover { color: var(--gold); }
.site-nav ul { display: flex; gap: 2.5rem; }
.site-nav a { font-size: 0.73rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-dark); transition: color var(--transition); position: relative; }
.site-nav a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width var(--transition); }
.site-nav a:hover, .site-nav a.active { color: var(--gold-pale); }
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.5rem; cursor: pointer; }

/* ============================================================ HERO — WONDERMENT */
.hero-wonderment {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 7rem 0 5rem;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(45,90,39,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 50%),
    linear-gradient(160deg, #060e0a 0%, #0d1f10 40%, #0d1b2a 100%);
  position: relative; overflow: hidden;
}
.hero-wonderment::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 45%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 45% 20%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 65%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 30%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 55%, rgba(255,255,255,0.2) 0%, transparent 100%);
  pointer-events: none;
}
.hero-wonderment-inner {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-book-cover {
  position: relative;
}
.hero-book-cover img {
  max-width: 340px; margin: 0 auto;
  filter: drop-shadow(-8px 8px 30px rgba(0,0,0,0.9)) drop-shadow(8px 20px 40px rgba(0,0,0,0.7));
  transition: transform 0.4s ease;
  animation: fadeUp 1.2s ease both;
}
.hero-book-cover img:hover { transform: translateY(-8px) rotate(-1.5deg); }
.hero-text { animation: fadeUp 1s ease 0.3s both; }
.hero-eyebrow { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.hero-title { font-size: clamp(3rem, 6vw, 5.5rem); color: var(--cream); margin-bottom: 0.5rem; }
.hero-subtitle { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-pale); margin-bottom: 1.5rem; opacity: 0.8; }
.hero-tagline { font-family: var(--font-display); font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-style: italic; color: var(--gold-pale); line-height: 1.5; margin-bottom: 1.25rem; }
.hero-desc { color: rgba(232,224,208,0.75); font-size: 0.95rem; line-height: 1.8; margin-bottom: 2rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* WONDERMENT PRAISE STRIP */
.wonder-praise {
  background: var(--gold);
  padding: 1.25rem 0;
  text-align: center;
}
.wonder-praise-quote { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--navy); display: inline; }
.wonder-praise-source { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.15em; color: var(--navy); opacity: 0.75; margin-top: 0.25rem; }

/* ============================================================ PAGE HERO (inner pages) */
.page-hero {
  padding: 8rem 0 3rem;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  text-align: center;
}
.page-hero h1 { color: var(--cream); }

/* ============================================================ ABOUT SNIPPET (homepage) */
.about-snippet { background: var(--navy); }
.about-inner { display: grid; grid-template-columns: 1fr 1.8fr; gap: 5rem; align-items: center; }
.author-photo img { width: 100%; max-width: 340px; aspect-ratio: 3/4; object-fit: cover; object-position: top; border: 3px solid rgba(201,168,76,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.author-bio h2 { color: var(--cream); margin-bottom: 1rem; }
.author-bio p { color: rgba(232,224,208,0.82); margin-bottom: 1rem; }
.author-bio .btn-ghost { border-color: var(--gold-pale); color: var(--gold-pale); margin-top: 1rem; }
.author-bio .btn-ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ============================================================ OTHER BOOKS (homepage) */
.other-books { background: var(--cream); }
.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2.5rem; }
.book-card { text-align: center; transition: transform var(--transition); }
.book-card:hover { transform: translateY(-5px); }
.book-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; box-shadow: 6px 10px 30px rgba(13,27,42,0.18); margin-bottom: 1rem; }
.book-card h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.book-card p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }

/* ============================================================ BOOK SECTIONS (books page) */
.book-section { padding: var(--section-pad); }
.book-section-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
.book-section-inner.reverse { grid-template-columns: 1.6fr 1fr; }
.book-section-inner.reverse .book-section-cover { order: 2; }
.book-section-inner.reverse .book-section-info { order: 1; }
.book-section-cover { position: relative; }
.book-section-cover img { filter: drop-shadow(12px 20px 50px rgba(13,27,42,0.22)); transition: transform var(--transition), filter var(--transition); max-width: 320px; }
.book-section-cover img:hover { transform: translateY(-5px) rotate(-1deg); filter: drop-shadow(16px 28px 60px rgba(13,27,42,0.32)); }
.book-section-info h2 { margin-bottom: 0.5rem; }
.book-subtitle { font-size: 1.4rem; display: block; }
.book-meta { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.08em; margin-bottom: 1.25rem; }
.endorsement-pull { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--gold); border-left: 3px solid var(--gold); padding-left: 1.25rem; margin: 1.5rem 0; line-height: 1.5; }
.endorsement-pull span { display: block; font-size: 0.8rem; color: var(--text-muted); font-style: normal; font-family: var(--font-body); margin-top: 0.5rem; letter-spacing: 0.1em; }
.coming-note { font-size: 0.85rem; color: var(--text-muted); font-style: italic; margin-top: 1rem; }
.book-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.instagram-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 1rem; }
.instagram-note a { color: var(--gold); }

/* Wonderment section special bg */
.wonderment-section {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(45,90,39,0.08) 0%, transparent 60%),
    var(--cream);
}

/* Vinetrope section special bg */
.vinetrope-section { background: #f0f5ee; }

/* PRAISE STACK */
.praise-stack { margin: 1.5rem 0; display: flex; flex-direction: column; gap: 1rem; }
.praise-stack blockquote { background: var(--white); border-left: 3px solid var(--gold); padding: 1.25rem 1.5rem; box-shadow: 0 3px 15px rgba(13,27,42,0.06); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--text-dark); }
.praise-stack cite { display: block; font-family: var(--font-body); font-size: 0.75rem; font-style: normal; color: var(--gold); margin-top: 0.6rem; letter-spacing: 0.08em; }

/* ILLUSTRATION GALLERY */
.illustration-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; margin: 1.5rem 0; }
.illustration-gallery img { aspect-ratio: 2/3; object-fit: cover; box-shadow: 4px 6px 20px rgba(13,27,42,0.15); }

/* ============================================================ BIO PAGE */
.bio-inner { display: grid; grid-template-columns: 1fr 1.8fr; gap: 5rem; align-items: start; }
.bio-photos { display: flex; flex-direction: column; gap: 1.5rem; }
.bio-photo-main { width: 100%; max-width: 340px; aspect-ratio: 4/5; object-fit: cover; object-position: top; box-shadow: 10px 16px 50px rgba(13,27,42,0.2); border: 3px solid var(--cream-dark); }
.bio-photo-secondary { width: 100%; max-width: 280px; aspect-ratio: 3/4; object-fit: cover; object-position: top; box-shadow: 8px 12px 40px rgba(13,27,42,0.15); }
.bio-text h2 { margin-bottom: 1.25rem; }
.bio-text p { margin-bottom: 1.1rem; }
.bio-text a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color var(--transition); }
.bio-text a:hover { border-color: var(--gold); }

/* OWL SECTION */
.owl-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; }
.owl-photo img { width: 100%; max-width: 360px; box-shadow: 10px 16px 50px rgba(13,27,42,0.15); }
.owl-text h2 { margin-bottom: 1rem; }

/* JULIE SECTION */
.julie-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; }
.julie-photo img { width: 100%; max-width: 380px; box-shadow: 10px 16px 50px rgba(13,27,42,0.15); }
.julie-text h2 { margin-bottom: 1rem; }

/* ============================================================ CONTACT PAGE */
.contact-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-links { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.contact-item a { color: var(--text-body); transition: color var(--transition); }
.contact-item a:hover { color: var(--gold); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.8rem 1rem; border: 2px solid var(--cream-dark); background: var(--white); font-family: var(--font-body); font-size: 0.9rem; color: var(--text-body); outline: none; transition: border-color var(--transition); resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-note { font-size: 0.75rem; color: var(--text-muted); font-style: italic; margin-top: 1rem; }

/* ============================================================ NEWSLETTER */
.newsletter {
  background: radial-gradient(ellipse at 50% 100%, rgba(201,168,76,0.07) 0%, transparent 70%), var(--navy-mid);
  text-align: center; color: var(--cream);
}
.newsletter-inner { max-width: 560px; margin: 0 auto; }
.newsletter h2 { color: var(--cream); margin-bottom: 0.75rem; }
.newsletter p { color: var(--gold-pale); font-family: var(--font-display); font-style: italic; font-size: 1.1rem; margin-bottom: 2rem; }
.newsletter-form { display: flex; max-width: 460px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 0.85rem 1.25rem; border: 2px solid var(--gold); border-right: none; background: rgba(255,255,255,0.06); color: var(--cream); font-family: var(--font-body); font-size: 0.9rem; outline: none; }
.newsletter-form input::placeholder { color: rgba(232,224,208,0.4); }

/* ============================================================ FOOTER */
.site-footer { background: var(--navy); border-top: 1px solid rgba(201,168,76,0.2); padding: 3.5rem 0 2rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.footer-logo { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-pale); margin: 0; }
.footer-nav { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-dark); transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold); }
.social-links { display: flex; gap: 1.5rem; }
.social-links a { font-size: 0.73rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid transparent; transition: border-color var(--transition); }
.social-links a:hover { border-color: var(--gold); }
.footer-copy { font-size: 0.73rem; color: var(--text-muted); margin: 0; }

/* ============================================================ ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================ RESPONSIVE */
@media (max-width: 900px) {
  .hero-wonderment-inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-book-cover img { max-width: 260px; }
  .hero-actions { justify-content: center; }
  .hero-desc { margin: 0 auto 2rem; }
  .about-inner, .bio-inner, .owl-inner, .julie-inner, .contact-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .author-photo img, .bio-photo-main, .owl-photo img, .julie-photo img { max-width: 280px; margin: 0 auto; }
  .bio-photo-secondary { max-width: 220px; margin: 0 auto; }
  .author-bio .btn-ghost { display: inline-block; }
  .book-section-inner, .book-section-inner.reverse { grid-template-columns: 1fr; gap: 3rem; }
  .book-section-inner.reverse .book-section-cover, .book-section-inner.reverse .book-section-info { order: unset; }
  .book-section-cover img { max-width: 260px; margin: 0 auto; }
  .books-grid { grid-template-columns: 1fr 1fr; }
  .illustration-gallery { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 640px) {
  :root { --section-pad: 3.5rem 0; }
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .books-grid { grid-template-columns: 1fr; max-width: 300px; margin-left: auto; margin-right: auto; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 2px solid var(--gold); border-bottom: none; }
  .illustration-gallery { grid-template-columns: 1fr; }
  .footer-nav { gap: 1.25rem; }
}
