/* ============================================================
   CYNARA CAMPANATI — Official Author Website
   Luxury romance & romantasy aesthetic
   ============================================================ */

:root {
  --midnight: #08131D;
  --navy: #0F1D31;
  --navy-2: #112743;
  --gold: #D4A84F;
  --soft-gold: #F1C76A;
  --ivory: #F6F2EA;
  --ivory-dim: rgba(246, 242, 234, 0.72);
  --ivory-faint: rgba(246, 242, 234, 0.5);
  --gold-line: rgba(212, 168, 79, 0.32);
  --gold-glow: rgba(212, 168, 79, 0.45);
  --glass: rgba(15, 29, 49, 0.55);
  --glass-border: rgba(212, 168, 79, 0.22);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "EB Garamond", Georgia, serif;
  --font-script: "Pinyon Script", cursive;

  --maxw: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-body);
  background: var(--midnight);
  color: var(--ivory);
  line-height: 1.65;
  font-size: 18px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Shared atoms ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.script {
  font-family: var(--font-script);
  color: var(--soft-gold);
  font-weight: 400;
}

/* Ornamental gold divider with center diamond */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
}
.ornament::before, .ornament::after {
  content: "";
  height: 1px;
  width: clamp(40px, 12vw, 120px);
  background: linear-gradient(90deg, transparent, var(--gold-line), var(--gold));
}
.ornament::after { background: linear-gradient(90deg, var(--gold), var(--gold-line), transparent); }
.ornament .diamond { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 10px var(--gold-glow); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  color: var(--ivory);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--soft-gold), var(--gold));
  color: #1a1206;
  font-weight: 600;
  box-shadow: 0 10px 30px -10px var(--gold-glow);
}
.btn-gold:hover {
  box-shadow: 0 16px 44px -12px var(--gold-glow), 0 0 0 1px var(--soft-gold);
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.btn-ghost {
  background: rgba(246, 242, 234, 0.02);
  border: 1px solid var(--gold-line);
  color: var(--ivory);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(212, 168, 79, 0.08);
  transform: translateY(-2px);
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
.reveal.d4 { transition-delay: 0.48s; }

/* Global particle canvas */
#particles {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 19, 29, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--gold-line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  transition: padding 0.5s var(--ease);
}
.nav.scrolled .nav-inner { padding: 14px 40px; }

.brand { display: flex; align-items: center; gap: 14px; }
.monogram {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.15rem;
  letter-spacing: -0.04em;
  color: var(--gold);
  position: relative;
}
.monogram::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px solid var(--gold-line); }
.brand-name { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.34em; color: var(--ivory); line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 0.55rem; letter-spacing: 0.34em; color: var(--gold); margin-top: 3px; }

.nav-links { display: flex; gap: 38px; align-items: center; }
.nav-links a {
  font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ivory-dim); position: relative; padding: 6px 0;
  transition: color 0.35s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: all 0.4s var(--ease); transform: translateX(-50%);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 12px 24px; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.hamburger span { width: 26px; height: 2px; background: var(--gold); transition: all 0.35s var(--ease); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8, 19, 29, 0.97);
  backdrop-filter: blur(16px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 30px;
  opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease);
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer a { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory); }
.drawer a:hover { color: var(--gold); }
.drawer .btn { margin-top: 14px; }

/* ============================================================
   HERO  (Session 1)
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; z-index: 2; background: var(--midnight); }
.hero-bg { position: absolute; inset: -90px 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 40%; }
/* scrim to deepen the left side so headline text stays legible over the scene */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--midnight) 4%, rgba(8,19,29,0.78) 26%, rgba(8,19,29,0.25) 46%, transparent 62%),
    linear-gradient(180deg, rgba(8,19,29,0.5) 0%, transparent 22%, transparent 72%, var(--midnight) 100%);
}

.hero-content { position: relative; z-index: 3; max-width: 640px; padding: 120px 0 80px; }
.hero-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.9rem, 6.8vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--ivory);
  margin: 22px 0 8px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.hero-name .ln2 { color: transparent; background: linear-gradient(135deg, var(--soft-gold), var(--gold) 70%); -webkit-background-clip: text; background-clip: text; }
.hero-rule { width: 200px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); margin: 26px 0; }
.hero-sub { font-size: 0.82rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); }
.hero-headline { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.18; color: var(--ivory); margin: 4px 0 20px; max-width: 30ch; }
.hero-text { font-size: 1.18rem; color: var(--ivory-dim); max-width: 46ch; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-foot {
  margin-top: 34px;
  z-index: 3; max-width: 46ch;
}
.stars { display: flex; gap: 8px; color: var(--gold); font-size: 0.9rem; letter-spacing: 4px; margin-top: 14px; }
.hero-foot p { font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ivory-faint); }

/* ============================================================
   SECTION shell
   ============================================================ */
.section { position: relative; z-index: 2; padding: 130px 0; }
.section-dark { background: linear-gradient(180deg, var(--midnight), var(--navy) 50%, var(--midnight)); }
.sec-head { text-align: center; margin-bottom: 72px; }
.sec-head .eyebrow { display: block; margin-bottom: 22px; }
.sec-head h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.sec-head .lead { font-size: 1.25rem; color: var(--ivory-dim); margin-top: 14px; }
.sec-head .ornament { margin: 26px auto 0; }
.sec-head-left { text-align: left; }
.sec-head-left .ornament { margin-left: 0; margin-right: 0; justify-content: flex-start; }
.sec-head-left .ornament::before { display: none; }
.sec-head-left .lead { margin-left: 0; margin-right: 0; }

/* ============================================================
   FEATURED BOOKS (Session 2) — horizontal editorial cards
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.feat-card {
  display: grid; grid-template-columns: 0.85fr 1fr; gap: 28px; align-items: center;
  background: linear-gradient(160deg, rgba(17,39,67,0.5), rgba(8,19,29,0.4));
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 34px;
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 70px -40px rgba(0,0,0,0.9);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.feat-card:hover { transform: translateY(-8px); border-color: var(--gold-line); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.95), 0 0 60px -30px var(--gold-glow); }
.book3d { position: relative; transition: transform 0.6s var(--ease); }
.book3d img { width: 100%; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.7)); }
.feat-card:hover .book3d { transform: translateY(-6px) scale(1.04); }
.book3d::after { content: ""; position: absolute; inset: -10% -6% -16%; background: radial-gradient(60% 50% at 50% 50%, var(--gold-glow), transparent 70%); opacity: 0; transition: opacity 0.6s var(--ease); z-index: -1; }
.feat-card:hover .book3d::after { opacity: 0.5; }

.feat-info .genre { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.feat-info h3 { font-family: var(--font-display); font-weight: 500; font-size: 2rem; line-height: 1.05; margin: 6px 0 14px; color: var(--ivory); }
.feat-info .synopsis { font-size: 1.02rem; color: var(--ivory-dim); margin-bottom: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--soft-gold); border: 1px solid var(--gold-line); border-radius: 100px;
  padding: 6px 14px; margin-bottom: 18px;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--soft-gold); box-shadow: 0 0 8px var(--soft-gold); }
.feat-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.feat-actions .btn { padding: 12px 22px; font-size: 0.74rem; }

.feat-quote { text-align: center; margin-top: 78px; }
.feat-quote .qmark { font-family: var(--font-display); font-size: 4rem; color: var(--gold-line); line-height: 0.4; }
.feat-quote .big { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin: 18px 0 6px; }
.feat-quote .small { color: var(--ivory-dim); }

/* ============================================================
   BOOKS CATALOG (Session 3) — grand 3D showcase
   ============================================================ */
.books-section { position: relative; overflow: hidden; background: var(--midnight); }
.books-bg { position: absolute; inset: -90px 0; z-index: 0; }
.books-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.books-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 40%, transparent, rgba(8,19,29,0.55) 70%),
    linear-gradient(180deg, var(--midnight), rgba(8,19,29,0.55) 24%, rgba(8,19,29,0.55) 76%, var(--midnight)); }
.books-section .wrap { position: relative; z-index: 2; }
.books-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 72px; gap: 30px; flex-wrap: wrap; }
.books-head .heading { flex: 1; min-width: 280px; }
.books-head h2 { font-size: clamp(3rem, 8vw, 6rem); letter-spacing: 0.14em; }
.books-head .lead { color: var(--ivory-dim); margin-top: 8px; font-size: 1.15rem; }
.view-all { display: inline-flex; align-items: center; gap: 10px; font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--gold-line); padding-bottom: 6px; transition: gap 0.4s var(--ease), color 0.4s var(--ease); }
.view-all:hover { gap: 16px; color: var(--soft-gold); }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1000px; margin: 0 auto; }
.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.book-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17,39,67,0.5) 0%, rgba(8,19,29,0.9) 100%);
  box-shadow: 0 30px 70px -45px rgba(0,0,0,0.9);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.book-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold-line);
  box-shadow: 0 46px 100px -45px rgba(0,0,0,0.95), 0 0 80px -38px var(--gold-glow);
}
.book-card-media {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
.book-card-media .glow {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 100%, var(--gold-glow), transparent 70%);
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.book-card:hover .book-card-media .glow { opacity: 0.35; }
.book-card-media img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transition: transform 0.7s var(--ease);
}
.book-card:hover .book-card-media img { transform: scale(1.06); }
.book-card-body {
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left;
  padding: 22px 22px 26px;
  border-top: 1px solid var(--gold-line);
}
.book-card-body h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.12;
  color: var(--ivory); margin: 0 0 12px;
}
.book-card-body .stars { font-size: 0.82rem; letter-spacing: 3px; gap: 3px; flex-wrap: nowrap; margin: 0 0 18px; }
.book-card-body .btn { width: 100%; padding: 13px 8px; font-size: 0.72rem; letter-spacing: 0.18em; }

/* ============================================================
   BOOK DETAIL PAGE
   ============================================================ */
.book-page-main { position: relative; z-index: 2; min-height: 100vh; overflow: hidden; background: var(--midnight); }
.book-hero { position: relative; padding: 150px 0 100px; overflow: hidden; }
.book-hero-bg { position: absolute; inset: -90px 0; z-index: 0; }
.book-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.book-hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 30% 30%, rgba(8,19,29,0.55), transparent 60%),
    linear-gradient(180deg, var(--midnight), rgba(8,19,29,0.55) 20%, rgba(8,19,29,0.55) 80%, var(--midnight)); }
.book-hero .wrap { position: relative; z-index: 2; }
.book-back { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 40px; transition: gap 0.4s var(--ease), color 0.4s var(--ease); }
.book-back:hover { gap: 16px; color: var(--soft-gold); }
.book-detail { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.book-detail-cover { position: relative; display: flex; justify-content: center; }
.book-detail-cover .glow { position: absolute; inset: -8%; background: radial-gradient(50% 50% at 50% 50%, var(--gold-glow), transparent 70%); opacity: 0.45; z-index: 0; }
.book-detail-cover img { position: relative; z-index: 1; width: 100%; max-width: 340px; filter: drop-shadow(0 36px 60px rgba(0,0,0,0.8)); }
.book-detail-info .genre { font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.book-detail-info h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1; color: var(--ivory); margin: 12px 0 16px; }
.book-detail-info .stars { color: var(--gold); font-size: 1rem; letter-spacing: 4px; margin-bottom: 24px; }
.book-detail-rule { width: 180px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); margin: 22px 0; }
.book-synopsis { font-size: 1.12rem; color: var(--ivory-dim); margin-bottom: 18px; max-width: 56ch; }
.book-synopsis.placeholder { font-style: italic; color: var(--ivory-faint); }
.book-synopsis.book-beat {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; line-height: 1.25;
  color: var(--ivory); margin: 22px 0;
}
.book-synopsis.book-couplet {
  font-family: var(--font-display); font-style: italic; font-size: 1.34rem; line-height: 1.4;
  color: var(--gold); padding-left: 22px; border-left: 2px solid var(--gold-line);
  margin: 26px 0 4px;
}
.book-synopsis.book-lead {
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1.32;
  color: var(--ivory); margin-bottom: 26px; max-width: 52ch;
}
.book-era {
  display: inline; font-family: var(--font-display); font-style: italic;
  font-size: 1.02em; color: var(--gold); letter-spacing: 0.01em;
}
.book-synopsis.book-cta-line {
  font-style: italic; color: var(--soft-gold); margin-top: 26px;
}
.book-meta { display: flex; flex-wrap: wrap; gap: 28px; margin: 30px 0; }
.book-meta .mi { display: flex; flex-direction: column; gap: 4px; }
.book-meta .mi span { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.book-meta .mi b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--ivory); }
.book-detail-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* Buy Now → Amazon store dropdown */
.buy-dropdown { position: relative; }
.buy-toggle { display: inline-flex; align-items: center; gap: 10px; }
.buy-caret { font-size: 0.7em; transition: transform 0.35s var(--ease); }
.buy-dropdown.open .buy-caret { transform: rotate(180deg); }
.buy-menu {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 40;
  min-width: 260px; padding: 8px;
  background: linear-gradient(165deg, rgba(17,39,67,0.96), rgba(8,19,29,0.98));
  border: 1px solid var(--gold-line); border-radius: 10px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(0,0,0,0.4);
  backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  max-height: 60vh; overflow-y: auto;
}
.buy-dropdown.open .buy-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.buy-menu-head {
  font-family: var(--font-display); font-style: italic; font-size: 0.95rem;
  color: var(--gold); padding: 8px 12px 10px; margin: 0;
  border-bottom: 1px solid var(--gold-line);
}
.buy-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 6px;
  font-size: 0.92rem; letter-spacing: 0.01em; color: var(--ivory-dim);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.buy-menu a:hover { background: rgba(212,168,79,0.12); color: var(--ivory); }
.buy-menu a .flag { font-size: 1.15rem; line-height: 1; width: 1.4em; text-align: center; }
.book-quote { text-align: center; margin-top: 90px; position: relative; z-index: 2; }
.book-quote p { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--ivory); }
.book-quote cite { display: block; font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-style: normal; margin-top: 12px; }

/* ============================================================
   ABOUT (Session 4)
   ============================================================ */
.about-section { position: relative; overflow: hidden; background: var(--midnight); padding: 0; }
.about-hero { position: relative; overflow: hidden; padding: 150px 0 120px; }
.about-bg { position: absolute; top: 0; left: 0; right: 0; height: auto; z-index: 0; }
.about-bg img { width: 100%; height: auto; display: block; }
.about-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--midnight) 4%, rgba(8,19,29,0.82) 26%, rgba(8,19,29,0.35) 46%, transparent 62%),
    linear-gradient(180deg, var(--midnight) 0%, transparent 14%, transparent 42%, rgba(8,19,29,0.7) 56%, var(--midnight) 66%); }
.about-hero .wrap { position: relative; z-index: 2; }
.about-section > .wrap { padding-top: 96px; padding-bottom: 130px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.6fr) 0.4fr; gap: 70px; align-items: start; min-height: 460px; }
.about-copy .eyebrow { display: block; margin-bottom: 18px; }
.about-copy h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: 0.08em; line-height: 1; color: transparent; background: linear-gradient(135deg, var(--ivory), var(--soft-gold)); -webkit-background-clip: text; background-clip: text; }
.about-q { font-family: var(--font-display); font-size: 1.5rem; color: var(--ivory); margin: 30px 0 4px; }
.about-q-script { font-family: var(--font-script); font-size: 1.9rem; color: var(--soft-gold); line-height: 1.3; margin-bottom: 30px; }
.about-rule { width: 100%; height: 1px; background: linear-gradient(90deg, var(--gold-line), transparent); margin: 6px 0 28px; }
.bio-item { display: flex; gap: 18px; margin-bottom: 22px; }
.bio-item .ic { flex: none; width: 38px; height: 38px; color: var(--gold); }
.bio-item p { color: var(--ivory-dim); font-size: 1.05rem; }
.bio-item p b { color: var(--ivory); font-weight: 600; }

.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 80px; }
.about-section .feature-cards { margin-top: 0; }
.fcard {
  background: linear-gradient(160deg, rgba(17,39,67,0.45), rgba(8,19,29,0.3));
  border: 1px solid var(--glass-border); border-radius: 6px; padding: 32px 28px;
  backdrop-filter: blur(6px); transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.fcard:hover { transform: translateY(-6px); border-color: var(--gold-line); }
.fcard .ic { width: 34px; height: 34px; color: var(--gold); margin-bottom: 18px; }
.fcard h4 { font-family: var(--font-body); font-size: 0.86rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.fcard p { color: var(--ivory-dim); font-size: 1rem; }

/* ============================================================
   NEWSLETTER (Session 5)
   ============================================================ */
.news { position: relative; z-index: 2; padding: 0; overflow: hidden; background: var(--midnight); }
.news-bg { position: absolute; inset: -90px 0; z-index: 0; }
.news-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.news-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--midnight) 6%, rgba(8,19,29,0.82) 32%, rgba(8,19,29,0.32) 54%, transparent 70%),
    linear-gradient(180deg, var(--midnight), transparent 14%, transparent 84%, var(--midnight)); }
.news .wrap { position: relative; z-index: 2; }
.news-inner { display: grid; grid-template-columns: 1fr; min-height: 760px; }
.news-inner { display: grid; grid-template-columns: 1fr; min-height: 760px; }
.news-left { padding: 120px 70px 120px 0; display: flex; flex-direction: column; justify-content: center; max-width: 620px; }
.news-left .small-h { font-size: 1rem; letter-spacing: 0.5em; text-transform: uppercase; color: var(--gold); }
.news-left .big-h { font-family: var(--font-display); font-weight: 500; font-size: clamp(4rem, 10vw, 8rem); line-height: 0.9; letter-spacing: 0.06em; color: transparent; background: linear-gradient(135deg, var(--ivory), var(--soft-gold) 80%); -webkit-background-clip: text; background-clip: text; margin-bottom: 24px; }
.news-left .t1 { font-size: 1.25rem; color: var(--ivory); max-width: 42ch; margin-bottom: 14px; }
.news-left .t2 { font-size: 1.05rem; color: var(--ivory-dim); max-width: 42ch; margin-top: 12px; }

.news-features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px 14px; margin: 38px 0; max-width: 540px; }
.nf { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.nf .ic { width: 30px; height: 30px; color: var(--gold); flex: none; }
.nf span { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory-dim); line-height: 1.35; }

.news-form { display: flex; gap: 0; max-width: 520px; border: 1px solid var(--glass-border); border-radius: 4px; background: var(--glass); backdrop-filter: blur(8px); overflow: hidden; padding: 6px; }
.news-form input { flex: 1; background: transparent; border: none; outline: none; color: var(--ivory); font-family: var(--font-body); font-size: 1.05rem; padding: 14px 18px; }
.news-form input::placeholder { color: var(--ivory-faint); }
.news-form .btn { border-radius: 2px; }

.news-quote { margin-top: 40px; }
.news-quote p { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: var(--ivory); }
.news-quote cite { display: block; font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-style: normal; margin-top: 10px; }

.news-msg { color: var(--soft-gold); font-size: 0.95rem; margin-top: 14px; min-height: 22px; letter-spacing: 0.04em; }

/* ============================================================
   CONTACT (Session 6)
   ============================================================ */
.contact { position: relative; z-index: 2; overflow: hidden; background: var(--midnight); }
.contact-bg { position: absolute; inset: -90px 0; z-index: 0; }
.contact-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--midnight) 8%, rgba(8,19,29,0.7) 42%, rgba(8,19,29,0.45) 64%, rgba(8,19,29,0.55)),
  linear-gradient(180deg, var(--midnight), transparent 16%, transparent 84%, var(--midnight)); }
.contact .wrap { position: relative; z-index: 2; }

.contact-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 60px; align-items: stretch; }
.contact-cats { display: flex; flex-direction: column; gap: 4px; }
.ccat { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--gold-line); align-items: center; }
.ccat .ic { flex: none; width: 44px; height: 44px; border: 1px solid var(--gold-line); border-radius: 50%; display: grid; place-items: center; color: var(--gold); }
.ccat .ic svg { width: 20px; height: 20px; }
.ccat h4 { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; line-height: 1.4; }
.ccat a { color: var(--ivory-dim); font-size: 1.05rem; transition: color 0.3s; }
.ccat a:hover { color: var(--soft-gold); }

.readers-card {
  padding: 40px 36px; border-radius: 8px;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(160deg, rgba(17,39,67,0.55), rgba(8,19,29,0.35));
  border: 1px solid var(--glass-border); backdrop-filter: blur(8px);
}
.readers-card .ic { color: var(--gold); width: 34px; height: 34px; margin-bottom: 18px; }
.readers-card h4 { font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.readers-card p { color: var(--ivory-dim); font-size: 1.02rem; }
.readers-card .thanks { font-family: var(--font-script); font-size: 1.5rem; color: var(--soft-gold); margin-top: 12px; }

.contact-form-wrap {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 8px;
  padding: 46px; backdrop-filter: blur(12px);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9);
}
.contact-form-wrap .form-title { text-align: center; margin-bottom: 32px; }
.contact-form-wrap .form-title .ornament { margin-bottom: 14px; }
.contact-form-wrap .form-title h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ivory); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; background: rgba(8,19,29,0.6); border: 1px solid var(--gold-line); border-radius: 3px;
  color: var(--ivory); font-family: var(--font-body); font-size: 1.05rem; padding: 14px 16px; outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,168,79,0.12); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form-wrap .btn { width: 100%; padding: 17px; }
.form-msg { text-align: center; color: var(--soft-gold); min-height: 22px; margin-top: 14px; letter-spacing: 0.04em; }
.form-msg.error { color: #e7807a; }

.contact-quote { text-align: center; margin-top: 80px; }
.contact-quote .qmark { font-family: var(--font-display); font-size: 3rem; color: var(--gold-line); line-height: 0.3; }
.contact-quote p { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: var(--ivory); margin: 14px 0 8px; }
.contact-quote cite { font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-style: normal; }

/* ============================================================
   FOOTER (Session 7)
   ============================================================ */
.footer { position: relative; z-index: 2; background: linear-gradient(180deg, var(--midnight), #050d14); border-top: 1px solid var(--gold-line); overflow: hidden; }
.footer-glow { position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 80%; height: 400px; background: radial-gradient(50% 50% at 50% 50%, rgba(212,168,79,0.08), transparent 70%); pointer-events: none; }
.footer-top { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; padding: 80px 0 56px; border-bottom: 1px solid var(--gold-line); position: relative; align-items: center; }
.footer-logo { display: block; }
.footer-logo img { width: 132px; filter: drop-shadow(0 8px 24px rgba(212,168,79,0.25)); }
.footer-name { font-family: var(--font-display); font-weight: 500; font-size: 2.1rem; line-height: 1.02; letter-spacing: 0.12em; color: var(--ivory); margin-top: 18px; }
.footer-role { font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin: 8px 0 18px; }
.footer-orn { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: var(--gold); }
.footer-orn::before, .footer-orn::after { content: ""; height: 1px; width: 60px; background: linear-gradient(90deg, transparent, var(--gold-line), var(--gold)); }
.footer-orn::after { background: linear-gradient(90deg, var(--gold), var(--gold-line), transparent); }
.footer-orn .diamond { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.footer-desc { color: var(--ivory-dim); max-width: 34ch; margin-bottom: 12px; }
.footer-script { font-family: var(--font-script); font-size: 1.6rem; color: var(--soft-gold); }

.footer-center { text-align: center; }
.footer-center .connected { margin-top: 34px; font-size: 0.96rem; letter-spacing: 0.28em; }
.footer-center h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory); margin-bottom: 14px; }
.footer-center p { color: var(--ivory-dim); margin: 0 auto 22px; max-width: 38ch; }
.footer-form { display: flex; padding: 5px; border: 1px solid var(--glass-border); border-radius: 4px; background: var(--glass); max-width: 420px; margin: 0 auto; }
.footer-form input { flex: 1; background: transparent; border: none; outline: none; color: var(--ivory); font-family: var(--font-body); padding: 12px 16px; }
.footer-form input::placeholder { color: var(--ivory-faint); }
.footer-form .btn { padding: 12px 22px; font-size: 0.72rem; }
.footer-msg { color: var(--soft-gold); font-size: 0.85rem; margin-top: 10px; min-height: 18px; }

.footer-nav-col h5 { font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.socials { display: flex; gap: 14px; justify-content: center; }
.socials a { width: 42px; height: 42px; border: 1px solid var(--gold-line); border-radius: 50%; display: grid; place-items: center; color: var(--ivory-dim); transition: all 0.4s var(--ease); }
.socials a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 8px 20px -8px var(--gold-glow); }
.socials a svg { width: 18px; height: 18px; }

.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 56px 0; border-bottom: 1px solid var(--gold-line); }
.footer-nav-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-nav-col a { color: var(--ivory-dim); font-size: 0.98rem; transition: color 0.3s, padding-left 0.3s; }
.footer-nav-col a:hover { color: var(--soft-gold); padding-left: 4px; }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 0 24px; flex-wrap: wrap; }
.footer-bottom span { font-size: 0.84rem; color: var(--ivory-faint); letter-spacing: 0.04em; }
.footer-bottom .mid { color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.76rem; }
.footer-bottom .aion { color: var(--gold); transition: color 0.3s; }
.footer-bottom .aion:hover { color: var(--soft-gold); }
.footer-tagline { text-align: center; padding-bottom: 40px; }
.footer-tagline p { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--ivory-dim); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .feat-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; align-items: start; gap: 48px; }
}

@media (max-width: 760px) {
  .books-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 560px; }
}

@media (max-width: 900px) {
  .hero-bg img { object-position: 68% 32%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(8,19,29,0.45) 0%, rgba(8,19,29,0.35) 40%, rgba(8,19,29,0.75) 80%, var(--midnight) 100%); }
  .hero-content { padding-top: 130px; }
  .about-hero { padding: 100px 0 70px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .about-copy { padding-top: 300px; }
  .about-bg img { object-position: 74% 6%; }
  .about-scrim { background:
    linear-gradient(180deg, rgba(8,19,29,0.15) 0%, rgba(8,19,29,0.5) 30%, rgba(8,19,29,0.92) 52%, var(--midnight) 72%),
    linear-gradient(0deg, var(--midnight), transparent 30%); }
  .about-section > .wrap { padding-top: 64px; padding-bottom: 96px; }
  .news-inner { grid-template-columns: 1fr; }
  .news-left { padding: 90px 0; max-width: none; }
  .news-bg img { object-position: 70% 28%; }
  .news-scrim { background:
    linear-gradient(180deg, rgba(8,19,29,0.4) 0%, rgba(8,19,29,0.78) 45%, rgba(8,19,29,0.88) 100%),
    linear-gradient(0deg, var(--midnight), transparent 22%); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-bg img { object-position: 70% 22%; }
  .contact-bg::after { background:
    linear-gradient(180deg, rgba(8,19,29,0.35) 0%, rgba(8,19,29,0.82) 40%, var(--midnight) 78%),
    linear-gradient(0deg, var(--midnight), transparent 20%); }
}

@media (max-width: 760px) {
  .wrap { padding: 0 24px; }
  .section { padding: 90px 0; }
  .news-features { grid-template-columns: repeat(3, 1fr); gap: 26px 16px; max-width: 360px; }
  .book-detail { grid-template-columns: 1fr; gap: 44px; }
  .book-detail-cover { max-width: 280px; margin: 0 auto; }
  .showcase { grid-template-columns: 1fr; max-width: 420px; }
  .feature-cards { grid-template-columns: 1fr; }
  .feat-card { grid-template-columns: 0.8fr 1fr; padding: 24px; gap: 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 44px; text-align: center; align-items: stretch; }
  .footer-logo { display: inline-block; }
  .footer-orn { justify-content: center; }
  .footer-desc { margin-left: auto; margin-right: auto; }
  .socials { justify-content: center; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 32px; text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .field-row { grid-template-columns: 1fr; }
  .news-form { flex-direction: column; }
  .news-form .btn { width: 100%; }
}

@media (max-width: 480px) {
  body { font-size: 17px; }
  .nav-inner { padding: 16px 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .feat-card { grid-template-columns: 1fr; text-align: center; }
  .feat-card .book3d { max-width: 200px; margin: 0 auto; }
  .feat-actions, .show-actions { justify-content: center; }
  .contact-form-wrap { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* Tight vertical space: drop the stars so the testimonial line always fits below the buttons */
@media (max-height: 760px) {
  .hero-content { padding: 100px 0 60px; }
  .hero-foot { margin-top: 24px; }
  .hero-foot .stars { display: none; }
}
