/* === Base === */
:root{
  --bg:#0a0a0a;
  --ink:#e7d39a;
  --ink-dim:#c8b36f;
  --text:#d9d9d9;
  --muted:#9a9a9a;
  --surface:#121212;
  --ring: rgba(231,211,154,.2);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:'Lato',system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif;}

h1,h2,h3{font-family:'Cormorant Garamond',Georgia,serif;line-height:1.1;color:var(--ink)}
h1{font-size: clamp(2.1rem, 5vw, 3.2rem);}
h2{font-size: clamp(1.6rem, 3.5vw, 2.2rem);margin:0 0 .5rem 0}
p{line-height:1.7;color:#d6d3c9}

a{color:var(--ink)}
.btn{display:inline-block;border:1px solid var(--ink);padding:.8rem 1.1rem;border-radius:6px;text-decoration:none;color:var(--ink);transition:all .2s;letter-spacing:.3px}
.btn:hover{background:rgba(231,211,154,.08);transform:translateY(-1px)}
.btn.primary{background:var(--ink);color:#1a1402;border-color:var(--ink)}
.btn.primary:hover{filter:brightness(1.05)}

.section{padding: clamp(3rem, 7vw, 6rem) 1.25rem}
.section .section-inner{max-width:1120px;margin:0 auto;display:flex;gap:2rem;align-items:center;flex-wrap:wrap}
.section .section-inner.narrow{max-width:760px}

/* === Header === */
.site-header{position:sticky;top:0;background:linear-gradient(180deg,#0a0a0ae6,#0a0a0a00);backdrop-filter:saturate(120%) blur(6px);z-index:60}
.nav{max-width:1120px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:.6rem 1rem}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none}
.brand img{width:40px;height:40px;object-fit:contain;filter:drop-shadow(0 0 6px rgba(231,211,154,.15))}
.brand-text{font-family:'Cormorant Garamond',Georgia,serif;color:var(--ink);font-weight:600;letter-spacing:.4px}

.nav-links{display:flex;gap:1rem;list-style:none;margin:0;padding:0}
.nav-links a{color:#ddd;text-decoration:none;padding:.6rem .7rem;border-radius:6px}
.nav-links a:hover{background:#151515}
.nav-toggle{display:none;flex-direction:column;gap:4px;background:transparent;border:none;color:#fff}
.nav-toggle span{display:block;width:24px;height:2px;background:#e7e7e7}

/* === Hero === */
.hero{position:relative;min-height:72vh;display:grid;place-items:center;overflow:hidden;padding:6rem 1.25rem}
.hero::before{
  content:"";position:absolute;inset:-20%;background:
  radial-gradient(800px 400px at 10% 20%, rgba(231,211,154,.08), transparent 60%),
  radial-gradient(600px 300px at 80% 10%, rgba(231,211,154,.06), transparent 60%),
  radial-gradient(900px 500px at 60% 90%, rgba(116,90,36,.15), transparent 60%);
  pointer-events:none;
}
.hero-stars{
  position:absolute;inset:0;
  background-image: radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.6), transparent),
                    radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,.4), transparent),
                    radial-gradient(1px 1px at 80% 40%, rgba(255,255,255,.5), transparent);
  animation: twinkle 4s infinite linear;
  opacity:.35;
}
@keyframes twinkle{from{transform:translateY(0)}50%{opacity:.2}to{transform:translateY(-1px)}}

.hero-inner{position:relative;text-align:center;max-width:860px;z-index:1}
.hero-logo{width:min(200px,25vw);margin:0 auto 1rem;display:block}
.hero h1{margin:.4rem 0 .6rem}
.hero h1 span{color:var(--ink-dim)}
.tagline{color:#eae5d3;opacity:.9;margin:0 auto 1.2rem;max-width:740px}
.ctas{display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap}

/* === Series === */
.series .media{flex:0 1 420px;display:flex;justify-content:center}
.series .copy{flex:1 1 420px}
.lead{color:#efe7c6}

/* Simple faux 3D book */
.book-card{position:relative;width:320px;height:460px;perspective:1200px}
.book-cover{position:absolute;inset:0;background:#0f0f0f;border:1px solid #2a210e;border-radius:6px;display:grid;place-items:center;box-shadow: 0 20px 60px rgba(0,0,0,.6), inset 0 0 0 1px rgba(231,211,154,.15);}
.book-cover img{max-width:70%;opacity:.95;filter:drop-shadow(0 0 12px rgba(231,211,154,.12))}
.book-spine{position:absolute;left:-14px;top:0;bottom:0;width:14px;border-radius:4px 0 0 4px;background:linear-gradient(90deg,#1b160a,#2a210e);box-shadow:inset -1px 0 0 rgba(231,211,154,.1)}

/* Divider */
.divider{display:grid;place-items:center;padding:1rem}
.sigil{width:100px;height:100px;border-radius:50%;border:1px solid var(--ring);box-shadow:0 0 80px var(--ring) inset}

/* Quote */
.quote blockquote{max-width:820px;margin:0 auto;text-align:center;font-family:'Cormorant Garamond',serif;font-size:clamp(1.2rem,3vw,1.6rem);color:#f0e8c9}
.quote cite{display:block;margin-top:.6rem;color:var(--muted);font-style:normal}

/* Newsletter */
.newsletter .signup{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center;margin-top:1rem}
.newsletter input{background:#111;border:1px solid #2b2410;border-radius:6px;padding:.8rem 1rem;color:#eee;min-width:260px}
.privacy{color:#9b988f;font-size:.9rem;margin-top:.8rem}

/* About */
.about .media{flex:0 1 420px;display:flex;justify-content:center}
.author-frame{position:relative;width:320px;height:320px;display:grid;place-items:center}
.gold-ring{position:absolute;inset:0;border-radius:50%;border:1px solid var(--ring);box-shadow:0 0 80px var(--ring) inset, 0 0 12px rgba(231,211,154,.08)}
.avatar-placeholder{width:78%;height:78%;border-radius:50%;display:grid;place-items:center;border:1px dashed #6b5a2a;color:#cbbd87;background:#0f0f0f}

/* Footer */
.site-footer{padding:2.2rem 1rem;border-top:1px solid #1b1b1b;background:#0a0a0a}
.footer-inner{max-width:1120px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.social .icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #30240d;border-radius:50%;margin-right:.4rem;color:#e9d79f}
.social .icon:hover{background:#151515}

/* Accessibility */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Responsive */
@media (max-width: 860px){
  .nav-toggle{display:flex}
  .nav-links{position:absolute;top:58px;right:12px;background:#0f0f0f;border:1px solid #1f1a0c;border-radius:8px;padding:.6rem;display:none;flex-direction:column;min-width:200px}
  .nav-links.open{display:flex}
  .brand-text{display:none}
}

@media (max-width: 768px) {
  #quote video {
    width: 200px;
    height: 200px;
    opacity: 0.25;
  }

/* --- Series layout fixes --- */
.section.series .section-inner {
  align-items: flex-start;       /* keep columns aligned at the top */
  gap: 2.2rem;
}

/* Left column width control */
.series .media {
  flex: 0 1 340px;
}

/* Clean 2:3 book frame that replaces the old .book-card */
.book-video {
  width: min(160px, 28vw);
  aspect-ratio: 2 / 3;           /* keeps a true book shape */
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,.6),
    inset 0 0 0 1px rgba(231,211,154,.15);
  background: #0f0f0f;           /* prevents flash on load */
}

/* Video scales correctly and never overflows */
.book-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Gentle hover polish (optional) */
.book-video:hover video {
  transform: scale(1.01);
  transition: transform .5s ease, filter .5s ease;
  filter: brightness(1.03);
}

/* Right column copy width */
.series .copy {
  flex: 1 1 480px;
  max-width: 640px;
}
/* === Golden Aura Effect === */
.book-video {
  position: relative;
  width: min(320px, 38vw);
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #0f0f0f;
  box-shadow:
    0 0 25px rgba(231,211,154,0.25),
    0 0 60px rgba(231,211,154,0.15);
}

/* Animated aura layer */
.book-video::after {
  content: "";
  position: absolute;
  inset: -3%;
  border-radius: 14px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(231,211,154,0.35) 0%,
    rgba(231,211,154,0.15) 25%,
    rgba(231,211,154,0.0) 70%
  );
  z-index: 0;
  pointer-events: none;
  animation: goldenPulse 6s ease-in-out infinite;
  mix-blend-mode: screen;
}

/* Aura pulse animation */
@keyframes goldenPulse {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(1.03); }
}

/* Keep the video above the glow */
.book-video video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

}

