:root {
  --gold: #c8a030;
  --gold-dim: #8a6820;
  --gold-bright: #e8c860;
  --cream: #d4b87a;
  --cream-dim: rgba(212,184,122,0.55);
  --dark: #060504;
  --dark2: #0c0a08;
  --text: rgba(220,195,140,0.85);
  --text-dim: rgba(200,172,110,0.5);
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  overflow-x: hidden;
  cursor: default;
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/author_photo.jpg');
  background-size: cover;
  background-position: center 15%;
  filter: brightness(0.22) saturate(0.4) contrast(1.1);
  transform: scale(1.05);
  animation: slowzoom 20s ease-out forwards;
}
@keyframes slowzoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.0); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(30,18,4,0.3) 0%, transparent 70%),
    linear-gradient(180deg, rgba(6,5,4,0.55) 0%, transparent 35%, transparent 55%, rgba(6,5,4,0.95) 100%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 48px;
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(180deg, rgba(6,5,4,0.9) 0%, transparent 100%);
  animation: fadedown 1.2s ease both;
}
@keyframes fadedown { from { opacity:0; transform:translateY(-12px); } to { opacity:1; transform:none; } }
.nav-name {
  font-family: 'Cinzel', serif; font-size: 13px; font-weight: 400;
  letter-spacing: 0.22em; color: var(--cream-dim); text-decoration: none;
}
.nav-cta {
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 300;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); border: 0.5px solid rgba(200,160,48,0.4);
  padding: 8px 18px; text-decoration: none;
  transition: all 0.3s ease;
}
.nav-cta:hover { background: rgba(200,160,48,0.08); border-color: var(--gold); }

/* HERO CONTENT */
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  animation: risefade 1.6s ease 0.3s both;
}
@keyframes risefade {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:none; }
}
.hero-pre {
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 200;
  letter-spacing: 0.6em; text-transform: uppercase; color: var(--cream-dim);
  margin-bottom: 28px;
}
.hero-rule {
  width: 280px; height: 0.5px; margin: 0 auto 30px;
  background: linear-gradient(90deg, transparent, var(--gold-dim) 30%, var(--gold-dim) 70%, transparent);
}
.hero-the {
  font-family: 'Cinzel', serif; font-size: 14px; font-weight: 400;
  letter-spacing: 0.6em; color: rgba(200,160,48,0.55);
  margin-bottom: 6px;
}
.hero-title {
  font-family: 'Cinzel', serif; font-size: clamp(52px, 9vw, 96px); font-weight: 900;
  letter-spacing: 0.04em; line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 80px rgba(200,160,48,0.2), 0 4px 12px rgba(0,0,0,0.8);
  margin-bottom: 8px;
}
.hero-sub {
  font-family: 'Cinzel', serif; font-size: clamp(16px, 2.5vw, 24px); font-weight: 400;
  letter-spacing: 0.2em; color: rgba(212,184,122,0.7);
  margin-bottom: 32px;
}
.hero-rule2 {
  width: 180px; height: 0.5px; margin: 0 auto 32px;
  background: linear-gradient(90deg, transparent, rgba(200,160,48,0.4) 50%, transparent);
}
.hero-tagline {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(20px, 3vw, 28px);
  font-weight: 300; font-style: italic; letter-spacing: 0.04em;
  color: rgba(220,195,140,0.7); line-height: 1.5;
  max-width: 620px; margin: 0 auto 18px;
}
.hero-tagline span { color: var(--cream); font-style: normal; }
.hero-author {
  font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 200;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--cream-dim); margin-bottom: 52px;
}

/* CTA BUTTON */
.cta-btn {
  display: inline-block;
  font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 300;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--dark); background: var(--gold);
  padding: 16px 40px; text-decoration: none;
  transition: all 0.3s ease; border: none; cursor: pointer;
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(200,160,48,0.25); }
  50%       { box-shadow: 0 0 40px rgba(200,160,48,0.45); }
}
.cta-btn:hover { background: var(--gold-bright); transform: translateY(-1px); }
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-family: 'Jost', sans-serif; font-size: 9px; font-weight: 200;
  letter-spacing: 0.45em; text-transform: uppercase; color: var(--cream-dim);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ── BOOK REVEAL SECTION ───────────────────────────────── */
.section-book {
  background: var(--dark2);
  padding: 100px 24px;
  display: flex; flex-direction: column; align-items: center;
  position: relative; overflow: hidden;
}
.section-book::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, var(--gold-dim) 30%, var(--gold-dim) 70%, transparent);
}
.book-layout {
  display: flex; align-items: flex-start; justify-content: center;
  gap: clamp(40px,6vw,100px); flex-wrap: wrap;
  max-width: 1100px; width: 100%;
}
.book-cover-wrap {
  flex-shrink: 0;
  position: relative;
}
.book-cover-wrap::after {
  content: '';
  position: absolute; bottom: -24px; left: 10%; right: 10%;
  height: 30px;
  background: radial-gradient(ellipse, rgba(200,160,48,0.18) 0%, transparent 70%);
  filter: blur(8px);
}
.book-cover-img {
  width: clamp(200px, 30vw, 300px);
  box-shadow: -12px 24px 60px rgba(0,0,0,0.8), 4px 8px 20px rgba(0,0,0,0.5);
  display: block;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-10px) rotate(-0.5deg); }
}
.book-text { max-width: 480px; padding-top: 20px; }
.section-label {
  font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 200;
  letter-spacing: 0.55em; text-transform: uppercase; color: var(--cream-dim);
  margin-bottom: 20px;
}
.book-text h2 {
  font-family: 'Cinzel', serif; font-size: clamp(26px, 4vw, 38px); font-weight: 600;
  color: var(--gold); line-height: 1.3; margin-bottom: 28px;
}
.book-text p {
  font-size: clamp(17px, 2vw, 20px); font-weight: 300; line-height: 1.8;
  color: rgba(220,195,140,0.72); margin-bottom: 20px;
}
.book-text p em { color: var(--cream); font-style: italic; }
.divider-line {
  width: 60px; height: 0.5px; margin: 28px 0;
  background: linear-gradient(90deg, var(--gold-dim), transparent);
}
.chapter-preview {
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 200;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--cream-dim);
  line-height: 2.2;
}
.chapter-preview span { color: rgba(200,160,48,0.6); margin-right: 10px; }

/* ── REGISTER SECTION ─────────────────────────────────── */
.section-register {
  background: var(--dark);
  padding: 110px 24px;
  text-align: center;
  position: relative;
}
.section-register::before, .section-register::after {
  content: '';
  position: absolute; left: 10%; right: 10%; height: 0.5px;
  background: linear-gradient(90deg, transparent, rgba(200,160,48,0.35) 30%, rgba(200,160,48,0.35) 70%, transparent);
}
.section-register::before { top: 0; }
.section-register::after  { bottom: 0; }

.register-eyebrow {
  font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 200;
  letter-spacing: 0.6em; text-transform: uppercase; color: var(--cream-dim);
  margin-bottom: 20px;
}
.register-heading {
  font-family: 'Cinzel', serif; font-size: clamp(24px,4vw,42px); font-weight: 600;
  color: var(--gold); line-height: 1.3; max-width: 600px; margin: 0 auto 20px;
}
.register-sub {
  font-size: clamp(17px,2vw,21px); font-weight: 300; font-style: italic;
  color: rgba(220,195,140,0.6); max-width: 500px; margin: 0 auto 48px;
  line-height: 1.7;
}

/* FORM */
.register-form {
  max-width: 480px; margin: 0 auto;
}
.form-group {
  margin-bottom: 16px; text-align: left;
}
.form-group label {
  display: block; font-family: 'Jost', sans-serif; font-size: 9px;
  font-weight: 300; letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--cream-dim); margin-bottom: 8px;
}
.form-group input {
  width: 100%; padding: 14px 18px;
  background: rgba(200,160,48,0.04);
  border: 0.5px solid rgba(200,160,48,0.25);
  color: var(--cream); font-family: 'Cormorant Garamond', serif; font-size: 17px;
  outline: none; transition: border-color 0.3s;
}
.form-group input::placeholder { color: rgba(200,172,110,0.3); }
.form-group input:focus { border-color: rgba(200,160,48,0.6); background: rgba(200,160,48,0.07); }
.form-submit {
  width: 100%; margin-top: 8px;
  padding: 16px; background: var(--gold);
  border: none; cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 300;
  letter-spacing: 0.4em; text-transform: uppercase; color: var(--dark);
  transition: all 0.3s ease;
}
.form-submit:hover { background: var(--gold-bright); }
.form-note {
  font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 200;
  letter-spacing: 0.18em; color: rgba(200,172,110,0.35);
  margin-top: 16px; text-align: center;
}
.form-success {
  display: none; padding: 32px;
  border: 0.5px solid rgba(200,160,48,0.3);
  background: rgba(200,160,48,0.04); text-align: center;
}
.form-success p {
  font-family: 'Cormorant Garamond', serif; font-size: 22px;
  font-weight: 300; font-style: italic; color: var(--cream);
  line-height: 1.7;
}
.preview-gift {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 0.5px solid rgba(200,160,48,0.2);
}
.preview-label {
  font-family: 'Jost', sans-serif; font-size: 10px !important; font-weight: 200;
  letter-spacing: 0.55em; text-transform: uppercase; color: var(--cream-dim);
  margin-bottom: 12px; font-style: normal !important;
}
.preview-heading {
  font-family: 'Cinzel', serif; font-size: clamp(18px, 2.5vw, 26px); font-weight: 600;
  color: var(--gold); margin-bottom: 10px; line-height: 1.3;
}
.preview-sub {
  font-family: 'Cormorant Garamond', serif; font-size: 17px !important;
  font-weight: 300; font-style: italic !important; color: rgba(220,195,140,0.55);
  margin-bottom: 32px;
}
.preview-img {
  max-width: 480px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.4);
  border: 0.5px solid rgba(200,160,48,0.15);
  display: block; margin: 0 auto;
}

/* ── AUTHOR SECTION ───────────────────────────────────── */
.section-author {
  background: var(--dark2);
  padding: 100px 24px;
  display: flex; flex-direction: column; align-items: center;
}
.author-layout {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(40px,6vw,90px); flex-wrap: wrap;
  max-width: 1000px; width: 100%;
}
.author-photo-wrap { position: relative; flex-shrink: 0; }
.author-photo {
  width: clamp(180px,25vw,240px); height: clamp(180px,25vw,240px);
  border-radius: 50%; object-fit: cover; object-position: center top;
  filter: brightness(0.88) saturate(0.75) contrast(1.05);
  border: 0.5px solid rgba(200,160,48,0.25);
  display: block;
}
.author-photo-wrap::after {
  content: '';
  position: absolute; inset: -8px; border-radius: 50%;
  border: 0.5px solid rgba(200,160,48,0.12);
}
.author-text { max-width: 480px; }
.author-name-label {
  font-family: 'Jost', sans-serif; font-size: 9px; font-weight: 200;
  letter-spacing: 0.55em; text-transform: uppercase; color: var(--cream-dim);
  margin-bottom: 10px;
}
.author-name {
  font-family: 'Cinzel', serif; font-size: clamp(22px,3.5vw,32px); font-weight: 600;
  color: var(--gold); margin-bottom: 24px; line-height: 1.2;
}
.author-bio {
  font-size: clamp(16px,1.8vw,19px); font-weight: 300; line-height: 1.85;
  color: rgba(220,195,140,0.65); margin-bottom: 16px;
}
.author-bio em { color: var(--cream); font-style: italic; }

/* ── QUOTE SECTION ────────────────────────────────────── */
.section-quote {
  background: var(--dark);
  padding: 80px 24px;
  text-align: center; position: relative;
}
.section-quote::before {
  content: '\201C';
  position: absolute; top: 30px; left: 50%; transform: translateX(-50%);
  font-family: 'Cinzel', serif; font-size: 120px; line-height: 1;
  color: rgba(200,160,48,0.06); pointer-events: none;
}
.pull-quote {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(22px,3.5vw,34px);
  font-weight: 300; font-style: italic; line-height: 1.6;
  color: rgba(220,195,140,0.75); max-width: 700px; margin: 0 auto 20px;
}
.pull-quote strong { color: var(--cream); font-style: normal; font-weight: 400; }
.quote-attr {
  font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 200;
  letter-spacing: 0.4em; text-transform: uppercase; color: var(--cream-dim);
}

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  background: var(--dark2);
  padding: 48px 24px;
  text-align: center;
  border-top: 0.5px solid rgba(200,160,48,0.12);
}
.footer-name {
  font-family: 'Cinzel', serif; font-size: 16px; font-weight: 400;
  color: var(--cream-dim); letter-spacing: 0.2em; margin-bottom: 10px;
}
.footer-copy {
  font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 200;
  letter-spacing: 0.3em; color: rgba(200,172,110,0.28);
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 640px) {
  nav { padding: 18px 24px; }
  .book-layout, .author-layout { flex-direction: column; align-items: center; text-align: center; }
  .divider-line { margin: 28px auto; }
}
