/* ============================================
   DAVID R LENG — AUTHOR SITE
   Dark historical thriller aesthetic
   Cinzel (display) + Crimson Pro (body)
   ============================================ */

:root {
  --ink: #0a0806;
  --parchment: #f4ede0;
  --parchment-dark: #e8dcc8;
  --gold: #c9993a;
  --gold-light: #e8b84b;
  --gold-muted: #8a6820;
  --rust: #8b3a2a;
  --forest: #1a2e1a;
  --shadow: rgba(0,0,0,0.7);
  --text-body: #2a1f0e;
  --text-light: #6b5a40;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--ink);
  color: var(--parchment);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, .nav-logo, .footer-name {
  font-family: 'Cinzel', 'Times New Roman', serif;
  letter-spacing: 0.03em;
}

h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 600; line-height: 1.2; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }

p { font-size: 1.125rem; margin-bottom: 1.2em; color: var(--parchment); }
p:last-child { margin-bottom: 0; }

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

em { font-style: italic; }
strong { font-weight: 600; color: var(--gold-light); }

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 860px; }

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 8, 6, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 153, 58, 0.2);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment);
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--ink) !important;
  padding: 0.45rem 1.1rem;
  font-size: 0.7rem !important;
  letter-spacing: 0.1em;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gold-light) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--parchment);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  list-style: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 1rem;
  border-top: 1px solid rgba(201, 153, 58, 0.15);
}

.nav-mobile a {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--parchment);
}

.nav-mobile.open { display: flex; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 1.5rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0a0806;
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(139, 58, 42, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(201, 153, 58, 0.08) 0%, transparent 50%),
    linear-gradient(160deg, #0d0b08 0%, #1a1208 40%, #0a0806 100%);
}

/* Hero background image (index.html only). The image is a 4:1 panoramic banner
   (1200x300). Using `100% auto` so it fills the hero width as a banner strip
   without cropping out the lantern/shipwreck on each side. The gradient sits
   underneath as fallback (if image 404s) and as filler above/below the banner
   strip on tall viewports. */
.hero .hero-bg {
  background-image:
    url('/images/hero-bg.jpg'),
    radial-gradient(ellipse at 30% 50%, rgba(139, 58, 42, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(201, 153, 58, 0.08) 0%, transparent 50%),
    linear-gradient(160deg, #0d0b08 0%, #1a1208 40%, #0a0806 100%);
  background-size: 100% auto, auto, auto, auto;
  background-position: center center, center, center, center;
  background-repeat: no-repeat;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(201,153,58,0.02) 60px, rgba(201,153,58,0.02) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(201,153,58,0.02) 60px, rgba(201,153,58,0.02) 61px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(10,8,6,0.8) 100%);
}

/* Hero overlay tuned for the bg image: subtle top/bottom darkening for nav and
   scroll-cue contrast. The banner's natural dark middle handles text contrast,
   so no center vignette needed. */
.hero .hero-overlay {
  background: linear-gradient(to bottom, rgba(10,8,6,0.45) 0%, rgba(10,8,6,0) 18%, rgba(10,8,6,0) 82%, rgba(10,8,6,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--parchment);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  display: block;
}

.hero-sub {
  font-size: clamp(1.32rem, 3.6vw, 2.7rem);
  font-style: italic;
  color: var(--parchment-dark);
  max-width: 580px;
  margin: 0 auto 2rem;
  font-weight: 300;
  line-height: 1.3;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.badge {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,153,58,0.4);
  padding: 0.3rem 0.8rem;
  background: rgba(201,153,58,0.05);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  opacity: 0.5;
}

.hero-scroll span {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--parchment);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--parchment), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 1.5rem 4rem;
  overflow: hidden;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
}

.page-hero-sub {
  font-size: clamp(1.32rem, 3.6vw, 2.7rem);
  color: var(--gold-light);
  font-style: italic;
  font-weight: 400;
  max-width: 600px;
  margin: 0.75rem auto 0;
  line-height: 1.3;
}

.page-hero-body {
  font-size: 1rem;
  color: var(--parchment-dark);
  font-weight: 300;
  max-width: 560px;
  margin: 1.25rem auto 0;
  opacity: 0.85;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn-primary.btn-large { padding: 1rem 2.5rem; font-size: 0.85rem; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--parchment);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1px solid rgba(244, 237, 224, 0.4);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-book {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(201,153,58,0.4);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-book:hover {
  background: rgba(201,153,58,0.1);
  border-color: var(--gold);
}

/* ---- SECTION LABELS ---- */
.section-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  color: var(--parchment);
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 1.15rem;
  color: var(--parchment-dark);
  font-weight: 300;
  margin-bottom: 3rem;
}

/* ---- FREE OFFER SECTION ---- */
.free-offer {
  background: linear-gradient(135deg, #12100d 0%, #1e1608 100%);
  padding: 6rem 0;
  border-top: 1px solid rgba(201,153,58,0.15);
  border-bottom: 1px solid rgba(201,153,58,0.15);
}

.free-offer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.free-offer-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 1.5rem;
  color: var(--parchment);
}

.fine-print {
  font-size: 0.85rem !important;
  color: var(--text-light) !important;
  margin-top: 0.75rem;
  font-style: italic;
}

/* Book Mockup */
.book-mockup {
  position: relative;
  width: 224px;
  height: 336px;
  transform: perspective(800px) rotateY(-8deg);
  filter: drop-shadow(-12px 12px 24px rgba(0,0,0,0.6));
}

.cozumel-3d {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(-8px 14px 28px rgba(0,0,0,0.55));
}

.book-spine {
  position: absolute;
  left: 0;
  top: 6px;
  width: 28px;
  height: 330px;
  background: linear-gradient(to right, #1a1208, #2a1f0e);
  transform-origin: right center;
}

.book-cover {
  position: absolute;
  left: 25px;
  top: 0;
  width: 199px;
  height: 336px;
  background: linear-gradient(160deg, #1a2e1a 0%, #0d1a0d 50%, #1e1608 100%);
  border: 1px solid rgba(201,153,58,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  text-align: center;
  gap: 0.5rem;
}

.book-cover-series {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0;
}

.book-cover-title {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--parchment);
  line-height: 1.2;
  margin: 0;
}

.book-cover-author {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--gold-muted);
  margin: 0;
}

.book-cover-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.4rem;
}

/* ---- BOOKS SECTION ---- */
.books-section {
  padding: 6rem 0;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.book-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,153,58,0.1);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.2s;
}

.book-card:hover {
  border-color: rgba(201,153,58,0.35);
  transform: translateY(-3px);
}

.book-card.featured {
  border-color: rgba(201,153,58,0.25);
}

.book-card-cover {
  aspect-ratio: 2 / 3;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem;
}

.book-cover-1 { background: linear-gradient(160deg, #1e2d1e 0%, #2a1f0e 100%); }
.book-cover-2 { background: linear-gradient(160deg, #0d1e2a 0%, #1a2e1a 100%); }
.book-cover-3 { background: linear-gradient(160deg, #2a1f0e 0%, #1a0d0d 100%); }

.book-num {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,153,58,0.3);
  padding: 0.2rem 0.5rem;
}

.book-free-tag, .book-soon-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
}

.book-free-tag { background: var(--gold); color: var(--ink); }
.book-soon-tag { background: rgba(139,58,42,0.8); color: var(--parchment); }

.book-card-body { padding: 1.5rem; }

.book-card-eyebrow {
  font-size: 0.75rem;
  color: var(--gold);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.book-card-body h3 {
  color: var(--parchment);
  margin-bottom: 0.75rem;
}

.book-card-body p { font-size: 1rem; color: var(--parchment-dark); }

.book-card-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ---- AUTHOR STRIP ---- */
.author-strip {
  background: linear-gradient(135deg, #0d1208 0%, #12100d 100%);
  padding: 6rem 0;
  border-top: 1px solid rgba(201,153,58,0.1);
  border-bottom: 1px solid rgba(201,153,58,0.1);
}

.author-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.author-strip-text h2 { margin-bottom: 1.5rem; }

.author-strip-quote blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
}

.author-strip-quote blockquote p {
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 300;
  color: var(--parchment);
  margin-bottom: 1rem;
}

.author-strip-quote cite {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-style: normal;
}

/* ---- NEWSLETTER ---- */
.newsletter {
  padding: 6rem 0;
  text-align: center;
}

.newsletter-inner { max-width: 600px; margin: 0 auto; }
.newsletter-inner h2 { margin-bottom: 1rem; }
.newsletter-inner p { color: var(--parchment-dark); }

.newsletter-form { margin-top: 2rem; }

.form-inline {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.form-inline input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,153,58,0.3);
  border-right: none;
  color: var(--parchment);
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  outline: none;
}

.form-inline input::placeholder { color: rgba(244,237,224,0.4); }
.form-inline input:focus { border-color: var(--gold); }

/* ---- ABOUT PAGE ---- */
.about-main { padding: 4rem 0 6rem; }

.about-section {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(201,153,58,0.1);
}

.about-section:last-of-type { border-bottom: none; }
.about-section h2 { color: var(--gold-light); margin-bottom: 1.5rem; }

.lead {
  font-size: 1.3rem !important;
  font-weight: 300;
  font-style: italic;
  color: var(--parchment) !important;
  margin-bottom: 1.5rem;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.award-item {
  background: rgba(201,153,58,0.06);
  border: 1px solid rgba(201,153,58,0.2);
  padding: 1.25rem;
}

.award-title {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.award-book {
  font-size: 0.9rem !important;
  color: var(--parchment-dark) !important;
  font-style: italic;
}

.press-quotes { display: flex; flex-direction: column; gap: 2rem; }

.press-quote {
  border-left: 2px solid rgba(201,153,58,0.4);
  padding-left: 1.5rem;
}

.press-quote p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--parchment);
  margin-bottom: 0.75rem;
}

.press-quote cite {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-style: normal;
}

.about-cta {
  text-align: center;
  padding: 3rem;
  background: rgba(201,153,58,0.05);
  border: 1px solid rgba(201,153,58,0.2);
}

.about-cta h2 { margin-bottom: 1rem; }

/* ---- BOOKS FULL PAGE ---- */
.books-main { padding: 3rem 0 6rem; }

.book-full {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  margin-bottom: 0;
  align-items: start;
}

.book-full.reverse { direction: rtl; }
.book-full.reverse > * { direction: ltr; }

.book-full-cover {
  height: 420px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

.book-full-num {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,153,58,0.4);
  padding: 0.25rem 0.6rem;
  margin-bottom: 1rem;
}

.book-full-awards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.book-full-free {
  background: var(--gold);
  color: var(--ink);
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  align-self: flex-end;
}

.book-full-soon {
  background: rgba(139,58,42,0.8);
  color: var(--parchment);
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  align-self: flex-end;
}

.award-badge {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  border: 1px solid rgba(201,153,58,0.5);
  padding: 0.3rem 0.6rem;
  background: rgba(201,153,58,0.05);
  align-self: flex-start;
}

.book-full-series {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.book-full h2 { color: var(--parchment); margin-bottom: 1rem; }

.book-full-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.book-full-meta span {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--parchment-dark);
  border: 1px solid rgba(201,153,58,0.4);
  padding: 0.25rem 0.6rem;
}

.book-full-hook {
  font-size: 1.2rem !important;
  font-style: italic;
  color: var(--parchment) !important;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.book-full-comp {
  font-size: 0.95rem !important;
  color: var(--parchment-dark) !important;
  font-style: italic;
  opacity: 0.85;
}

.book-full-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.book-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,153,58,0.2), transparent);
  margin: 4rem 0;
}

.coming-soon-cover { opacity: 0.7; }

/* Short stories */
.shorts-section { padding: 3rem 0; }

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.short-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,153,58,0.1);
  padding: 1.5rem;
}

.short-card h3 { color: var(--parchment); margin-bottom: 0.75rem; font-size: 1.1rem; }
.short-card p { font-size: 0.95rem; color: var(--parchment-dark); margin-bottom: 1.25rem; }

/* Containment */
.containment-section {
  margin: 3rem 0;
  background: linear-gradient(135deg, #0a0806 0%, #120d0a 100%);
  border: 1px solid rgba(139,58,42,0.3);
  padding: 3rem;
}

.containment-inner {
  max-width: 800px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.containment-cover {
  width: 200px;
  height: 300px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(139,58,42,0.4);
}

@media (max-width: 700px) {
  .containment-inner { grid-template-columns: 1fr; }
  .containment-cover { width: 100%; max-width: 200px; margin: 0 auto; }
}

.restricted-stamp {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--rust);
  border: 3px solid var(--rust);
  padding: 0.25rem 1rem;
  transform: rotate(-2deg);
  margin-bottom: 1rem;
  opacity: 0.8;
}

/* ---- FREE PAGE ---- */
.free-main { padding: 3rem 0 6rem; }

.free-feature {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(201,153,58,0.1);
}

.free-feature-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}

.free-feature-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  margin-bottom: 1.5rem;
}

.free-feature-cover {
  width: 200px;
  height: 300px;
  flex-shrink: 0;
  position: relative;
}

.free-feature-text h2 { margin-bottom: 1rem; }

.award-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.free-restricted {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(201,153,58,0.1);
}

.restricted-header { margin-bottom: 2rem; }

.free-restricted-cover {
  width: 200px;
  height: 300px;
  background: linear-gradient(160deg, #1a0d0d 0%, #0a0806 100%);
  border: 1px solid rgba(139,58,42,0.4);
  flex-shrink: 0;
  position: relative;
}

.free-shorts { padding: 4rem 0; }

.shorts-free-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.short-free-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,153,58,0.1);
  padding: 1.5rem;
}

.short-free-card h3 { color: var(--parchment); margin-bottom: 0.75rem; font-size: 1.1rem; }
.short-free-card p { font-size: 0.95rem; color: var(--parchment-dark); margin-bottom: 1.25rem; }

/* ---- CONTACT PAGE ---- */
.contact-main { padding: 3rem 0 6rem; }

.newsletter-full { margin-bottom: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(201,153,58,0.1); }
.newsletter-full h2 { margin-bottom: 0.75rem; }

.newsletter-bullets { margin: 2rem 0; display: flex; flex-direction: column; gap: 1rem; }

.nl-bullet {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.nl-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.nl-bullet p { margin: 0; }

.newsletter-embed { margin-top: 2rem; }

.form-stacked { display: flex; flex-direction: column; gap: 0.75rem; max-width: 420px; }

.form-stacked label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-stacked input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,153,58,0.3);
  color: var(--parchment);
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  outline: none;
}

.form-stacked input:focus { border-color: var(--gold); }
.form-stacked input::placeholder { color: rgba(244,237,224,0.4); }

.contact-section { margin-bottom: 4rem; }
.contact-section h2 { margin-bottom: 1rem; }

.contact-email {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.contact-social { margin-top: 1.5rem; }
.contact-social p { margin-bottom: 0.75rem; }

.knights-waitlist {
  background: rgba(201,153,58,0.05);
  border: 1px solid rgba(201,153,58,0.2);
  padding: 3rem;
}

.waitlist-inner h2 { margin-bottom: 1rem; }

/* ---- FOOTER ---- */
.footer {
  background: #050403;
  border-top: 1px solid rgba(201,153,58,0.15);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.85rem !important;
  color: var(--text-light) !important;
  font-style: italic;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--parchment-dark);
}

.footer-nav a:hover { color: var(--gold); }

.footer-social a {
  color: var(--parchment-dark);
  transition: color 0.2s;
}

.footer-social a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.8rem !important;
  color: var(--text-light) !important;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .free-offer-inner { grid-template-columns: 1fr; }
  .free-offer-book { display: none; }
  .books-grid { grid-template-columns: 1fr; }
  .author-strip-inner { grid-template-columns: 1fr; }
  .book-full { grid-template-columns: 1fr; }
  .book-full.reverse { direction: ltr; }
  .book-full-cover { height: 220px; }
  .awards-grid { grid-template-columns: 1fr 1fr; }
  .shorts-grid { grid-template-columns: 1fr; }
  .shorts-free-grid { grid-template-columns: 1fr; }
  .free-feature-inner { grid-template-columns: 1fr; }
  .free-feature-cover { width: 100%; height: 200px; }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .form-inline { flex-direction: column; }
  .form-inline input { border-right: 1px solid rgba(201,153,58,0.3); border-bottom: none; }
  .awards-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .knights-waitlist { padding: 2rem 1.5rem; }
}

/* ---- COVER IMAGES ---- */
.book-card-cover,
.book-full-cover,
.free-feature-cover,
.free-restricted-cover,
.book-cover {
  isolation: isolate;
  overflow: hidden;
}

.cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.short-cover {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1px solid rgba(201,153,58,0.2);
}

/* ---- MAILERLITE EMBED THEME ---- */
.ml-embedded,
.ml-embedded * {
  font-family: 'Crimson Pro', serif !important;
  box-sizing: border-box;
}

.ml-embedded .ml-form-embedContainer,
.ml-embedded .ml-form-embedWrapper,
.ml-embedded .ml-form-embedBody,
.ml-embedded .ml-form-align-center,
.ml-embedded .ml-form-embedContent {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

.ml-embedded h1,
.ml-embedded h2,
.ml-embedded h3,
.ml-embedded h4 {
  font-family: 'Cinzel', serif !important;
  color: var(--parchment) !important;
}

.ml-embedded p,
.ml-embedded label,
.ml-embedded .ml-form-embedContent,
.ml-embedded .ml-form-fieldRow label {
  color: var(--parchment-dark) !important;
  font-size: 1rem !important;
}

.ml-embedded input,
.ml-embedded input[type],
.ml-embedded .form-control,
.ml-embedded input.form-control,
.ml-embedded .ml-field-group input,
.ml-embedded textarea,
.ml-embedded select {
  background: rgba(255,255,255,0.05) !important;
  background-color: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(201,153,58,0.3) !important;
  color: var(--parchment) !important;
  font-family: 'Crimson Pro', serif !important;
  font-size: 1rem !important;
  padding: 0.75rem 1rem !important;
  border-radius: 0 !important;
  outline: none !important;
  width: 100% !important;
  height: auto !important;
  box-shadow: none !important;
}

.ml-embedded input::placeholder,
.ml-embedded textarea::placeholder,
.ml-embedded .form-control::placeholder {
  color: rgba(244,237,224,0.4) !important;
}

.ml-embedded input:focus,
.ml-embedded textarea:focus,
.ml-embedded .form-control:focus {
  border-color: var(--gold) !important;
}

.ml-embedded button,
.ml-embedded button.primary,
.ml-embedded .primary,
.ml-embedded .ml-form-embedSubmit button,
.ml-embedded .ml-form-embedSubmit button.primary,
.ml-embedded button[type="submit"] {
  background: var(--gold) !important;
  background-color: var(--gold) !important;
  color: var(--ink) !important;
  font-family: 'Cinzel', serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0.85rem 1.75rem !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  width: auto !important;
  box-shadow: none !important;
}

.ml-embedded button:hover,
.ml-embedded button.primary:hover,
.ml-embedded button[type="submit"]:hover {
  background: #d4a847 !important;
  background-color: #d4a847 !important;
}

.ml-embedded a { color: var(--gold) !important; }

/* Anchor target offset so #knights-waitlist scroll lands below sticky nav */
#knights-waitlist { scroll-margin-top: 80px; }
