/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #2c2c2c;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── Tokens ── */
:root {
  --maroon: #7a1e2b;
  --maroon-dark: #5c141f;
  --maroon-light: #9a2535;
  --maroon-bg: #faf2f3;
  --text: #2c2c2c;
  --text-muted: #555;
  --text-light: #8a8a8a;
  --grey-bg: #f6f6f6;
  --grey-line: #e6e6e6;
  --border: #e8e8e8;
  --white: #ffffff;
  --radius: 10px;
  --transition: 0.3s ease;
  --shadow: 0 2px 14px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Utility */
.maroon { color: var(--maroon); }

/* ── Nav ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#nav.scrolled { box-shadow: 0 2px 18px rgba(0,0,0,0.07); }
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 66px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--text); letter-spacing: 0.01em;
}
.nav-logo .accent { color: var(--maroon); font-style: italic; font-weight: 400; }
.nav-byline { font-size: 0.72rem; color: var(--text-light); font-weight: 400; margin-left: 10px; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--text-muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--maroon); }
.btn-nav {
  background: var(--maroon) !important; color: #fff !important;
  padding: 9px 22px; border-radius: 4px;
  font-weight: 600 !important; font-size: 0.85rem !important;
  letter-spacing: 0.02em;
  transition: background var(--transition) !important;
}
.btn-nav:hover { background: var(--maroon-dark) !important; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; font-size: 1.4rem; color: var(--text); }
.nav-mobile {
  display: none; flex-direction: column; padding: 12px 24px 16px;
  border-top: 1px solid var(--border); background: #fff;
}
.nav-mobile a { padding: 12px 0; font-size: 1rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.nav-mobile.open { display: flex; }

/* ── Hero ── */
#hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: #ffffff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(122,30,43,0.07);
}
.ring1 { width: 500px; height: 500px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.ring2 { width: 800px; height: 800px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.ring3 { width: 1100px; height: 1100px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.field-lines {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(122,30,43,0.04) 0%, transparent 70%);
}

.hero-content {
  position: relative; text-align: center; z-index: 2;
  padding: 110px 24px 60px;
  max-width: 900px;
}
.hero-eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--maroon); margin-bottom: 18px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: inline-block; width: 28px; height: 1px;
  background: var(--maroon); vertical-align: middle; margin: 0 12px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.6rem, 11vw, 8rem);
  font-weight: 700; line-height: 0.98;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.hero-title .to {
  font-style: italic; font-size: 0.55em;
  color: var(--maroon); font-weight: 400;
  display: inline-block; margin: 0 4px;
  vertical-align: 0.22em;
}
.hero-author {
  font-size: 0.95rem; color: var(--text-muted); font-weight: 400;
  letter-spacing: 0.08em; margin-bottom: 28px; text-transform: uppercase;
}
.hero-author span { font-weight: 600; color: var(--maroon); letter-spacing: 0.05em; }
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--text-muted); font-weight: 300; line-height: 1.8;
  margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto;
}
.br-hide { display: none; }
@media (min-width: 600px) { .br-hide { display: inline; } }

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.btn-primary {
  background: var(--maroon); color: #fff;
  padding: 14px 30px; border-radius: 4px;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition); box-shadow: 0 4px 16px rgba(122,30,43,0.25);
}
.btn-primary:hover { background: var(--maroon-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(122,30,43,0.35); }
.btn-secondary {
  border: 1.5px solid var(--maroon); color: var(--maroon);
  padding: 12.5px 30px; border-radius: 4px;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition); background: transparent;
}
.btn-secondary:hover { background: var(--maroon); color: #fff; }

/* Countdown */
.countdown-wrap { display: inline-block; }
.countdown-label {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--text-light); margin-bottom: 14px;
}
.countdown { display: flex; align-items: center; gap: 8px; justify-content: center; }
.cd-block { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.cd-block span {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700; color: var(--maroon);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px; padding: 8px 16px; min-width: 72px; text-align: center;
  box-shadow: var(--shadow);
}
.cd-block label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-light); margin-top: 8px; font-weight: 500; }
.cd-sep { font-size: 1.8rem; color: var(--maroon); font-weight: 600; padding-bottom: 18px; opacity: 0.4; }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-light); z-index: 2;
}
.scroll-arrow {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--maroon), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.2); } }

/* ── Shared section headings ── */
.section-eyebrow {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--maroon); margin-bottom: 14px; display: block;
  position: relative;
}
.section-eyebrow.center { text-align: center; }
.section-eyebrow.center::before, .section-eyebrow.center::after {
  content: ''; display: inline-block; width: 26px; height: 1px;
  background: var(--maroon); vertical-align: middle; margin: 0 12px; opacity: 0.5;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700; line-height: 1.2;
  color: var(--text); margin-bottom: 20px;
  letter-spacing: -0.01em;
}
h2.center { text-align: center; }
h2.light { color: #fff; }
h2 em { color: var(--maroon); font-style: italic; }
.sub-text {
  color: var(--text-muted); font-size: 1rem; line-height: 1.75;
  margin-bottom: 48px; max-width: 560px; margin-left: auto; margin-right: auto;
}
.sub-text.center { text-align: center; }
.sub-text.light { color: rgba(255,255,255,0.72); }

/* ── About the Book ── */
#about {
  padding: 110px 0;
  background: var(--grey-bg);
  border-top: 1px solid var(--border);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.about-text .body-text { color: var(--text-muted); line-height: 1.9; margin-bottom: 18px; font-size: 1.02rem; }
.about-text .body-text strong { color: var(--maroon); font-weight: 600; }
.about-stats { display: flex; gap: 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--grey-line); }
.stat span {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--maroon); display: block;
}
.stat label { font-size: 0.75rem; color: var(--text-light); line-height: 1.5; margin-top: 4px; }

/* Book cover illustration */
.about-book { display: flex; justify-content: center; align-items: center; }
.book-cover {
  width: 200px; position: relative;
  filter: drop-shadow(-14px 22px 36px rgba(0,0,0,0.2));
  transform: perspective(800px) rotateY(-12deg);
  transition: transform 0.5s ease;
}
.book-cover:hover { transform: perspective(800px) rotateY(-4deg) translateY(-8px); }
.book-spine {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 32px; background: var(--maroon-dark); border-radius: 2px 0 0 2px;
}
.book-face {
  margin-left: 32px;
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 60%, var(--maroon-dark) 100%);
  border-radius: 0 4px 4px 0;
  padding: 32px 24px;
  min-height: 300px;
  display: flex; flex-direction: column;
  justify-content: space-between; overflow: hidden; position: relative;
}
.book-face::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: #d4a844;
}
.bc-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  color: #fff; line-height: 1.2; z-index: 1;
}
.bc-author {
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7); margin-top: 6px; z-index: 1;
}
.bc-deco { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; }
.bc-circle {
  width: 70px; height: 70px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  position: relative;
}
.bc-circle::before, .bc-circle::after {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%;
}
.bc-circle::before { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,0.25); }
.bc-circle::after { width: 14px; height: 14px; background: #fff; opacity: 0.7; }
.bc-lines { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.bc-lines span { display: block; height: 1px; background: rgba(255,255,255,0.2); }
.bc-lines span:nth-child(2) { margin: 0 12px; }
.bc-lines span:nth-child(3) { margin: 0 24px; }
.bc-launch { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.55); z-index: 1; }

/* ── Excerpts ── */
#excerpts {
  padding: 110px 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
}
.excerpts-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px; margin-top: 12px;
}
.excerpt-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all var(--transition);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.excerpt-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--maroon), transparent);
}
.excerpt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(122,30,43,0.3); }
.excerpt-icon {
  width: 44px; height: 44px; background: var(--maroon-bg);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--maroon);
}
.excerpt-title { font-weight: 600; font-size: 1rem; color: var(--text); }
.excerpt-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.excerpt-download {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--maroon); font-size: 0.85rem; font-weight: 600;
  margin-top: 4px; transition: gap var(--transition);
}
.excerpt-download:hover { gap: 12px; }
.excerpt-loading { color: var(--text-light); padding: 40px; text-align: center; grid-column: 1/-1; }
.excerpt-empty { text-align: center; color: var(--text-light); padding: 40px 0; font-size: 0.95rem; }

/* ── Pre-book ── (maroon dark) */
#prebook {
  padding: 110px 0;
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 50%, var(--maroon-dark) 100%);
  position: relative; overflow: hidden;
}
.prebook-bg { position: absolute; inset: 0; pointer-events: none; }
.pb-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}
.pb-ring1 { width: 700px; height: 700px; top: 50%; right: -200px; transform: translateY(-50%); }
.pb-ring2 { width: 400px; height: 400px; bottom: -100px; left: -100px; }

.prebook-form {
  max-width: 580px; margin: 0 auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; padding: 40px;
  position: relative; z-index: 1;
  backdrop-filter: blur(4px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
label { font-size: 0.76rem; font-weight: 500; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.1em; }
input[type=text], input[type=email], input[type=password] {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px; padding: 12px 16px;
  color: #fff; font-size: 0.95rem; font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}
input:focus { border-color: #fff; background: rgba(255,255,255,0.14); }
input::placeholder { color: rgba(255,255,255,0.35); }
.form-qty { margin-bottom: 28px; }
.qty-control { display: flex; align-items: center; gap: 0; width: fit-content; }
.qty-btn {
  width: 40px; height: 40px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 1.2rem; cursor: pointer;
  transition: background var(--transition); line-height: 1;
}
.qty-btn:first-child { border-radius: 6px 0 0 6px; }
.qty-btn:last-child { border-radius: 0 6px 6px 0; }
.qty-btn:hover { background: rgba(255,255,255,0.2); }
input[type=number] {
  width: 56px; text-align: center;
  border-left: none; border-right: none;
  border-radius: 0; background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2); color: #fff;
  font-family: inherit; padding: 12px 0;
}
.btn-submit {
  width: 100%; padding: 15px;
  background: #fff; color: var(--maroon);
  border: none; border-radius: 4px;
  font-size: 0.92rem; font-weight: 700; font-family: inherit;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.btn-submit:hover:not(:disabled) { background: #fef5f5; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.3); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-note { text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 14px; }
.form-message {
  margin-top: 16px; padding: 12px 16px;
  border-radius: 6px; font-size: 0.875rem;
  display: none; text-align: center;
}
.form-message.success { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: #fff; display: block; }
.form-message.error { background: rgba(255,180,180,0.2); border: 1px solid rgba(255,180,180,0.5); color: #ffdddd; display: block; }
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(122,30,43,0.3);
  border-top-color: var(--maroon);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── About the Author ── */
#author {
  padding: 110px 0;
  background: var(--grey-bg);
  border-top: 1px solid var(--border);
}
.author-grid {
  display: grid; grid-template-columns: 280px 1fr; gap: 72px;
  align-items: start;
}
.author-photo-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.author-photo {
  width: 220px; height: 220px; border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon-bg), #f0dede);
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--border), var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.author-photo img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.author-photo-placeholder {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem; font-weight: 700;
  color: var(--maroon); opacity: 0.7;
  user-select: none;
}
.author-name-plate { text-align: center; }
.author-name-plate h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700; color: var(--text);
}
.author-name-plate p {
  font-size: 0.78rem; color: var(--maroon); margin-top: 6px;
  text-transform: uppercase; letter-spacing: 0.15em; font-weight: 500;
}

.author-content h2 { margin-bottom: 10px; }
.author-bio-text {
  color: var(--text-muted); line-height: 1.9; font-size: 1.02rem;
  margin-bottom: 18px;
}
.author-bio-text strong { color: var(--maroon); font-weight: 600; }
.author-highlights {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px;
}
.author-tag {
  display: inline-flex; align-items: center;
  background: #fff; border: 1px solid var(--border);
  color: var(--maroon); border-radius: 3px;
  padding: 7px 14px; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.03em;
}
.author-tag::before { content: '—'; margin-right: 8px; color: var(--maroon); opacity: 0.5; }

/* ── Footer ── */
footer {
  padding: 40px 0 32px;
  border-top: 3px solid var(--maroon);
  background: #fff;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo {
  font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--text); font-weight: 700;
}
.footer-logo span { color: var(--maroon); font-style: italic; font-weight: 400; }
.footer-author { font-size: 0.8rem; color: var(--text-muted); }
.footer-author strong { color: var(--maroon); font-weight: 600; }
.footer-copy { font-size: 0.78rem; color: var(--text-light); }
.footer-admin { font-size: 0.75rem; color: var(--text-light); transition: color var(--transition); }
.footer-admin:hover { color: var(--maroon); }

/* ───────────── ADMIN PAGES (light theme) ───────────── */
.admin-body { background: var(--grey-bg); min-height: 100vh; }
.admin-nav {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 0 32px; height: 64px; display: flex; align-items: center;
  justify-content: space-between; box-shadow: var(--shadow);
}
.admin-nav h1 { font-size: 1rem; font-weight: 600; color: var(--maroon); font-family: 'Playfair Display', serif; }
.admin-nav-right { display: flex; gap: 18px; align-items: center; }
.admin-nav a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--transition); }
.admin-nav a:hover { color: var(--maroon); }
.admin-nav .btn-logout {
  background: none; border: 1px solid var(--border); padding: 6px 14px;
  color: var(--text-muted); border-radius: 4px; font-size: 0.8rem;
  cursor: pointer; font-family: inherit; transition: all var(--transition);
}
.admin-nav .btn-logout:hover { border-color: var(--maroon); color: var(--maroon); }
.admin-main { max-width: 960px; margin: 40px auto; padding: 0 24px; }

.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px; text-align: center; box-shadow: var(--shadow); }
.stat-card .big { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--maroon); font-weight: 700; }
.stat-card p { color: var(--text-muted); font-size: 0.82rem; margin-top: 6px; }

.admin-section {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 32px; margin-bottom: 28px; box-shadow: var(--shadow);
}
.admin-section h2 {
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  margin-bottom: 6px; font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
}
.admin-section .section-hint { color: var(--text-light); font-size: 0.83rem; margin-bottom: 24px; }

.upload-zone {
  border: 2px dashed var(--border); border-radius: 8px;
  padding: 40px; text-align: center; cursor: pointer;
  transition: all var(--transition); background: var(--grey-bg);
}
.upload-zone:hover { border-color: var(--maroon); }
.upload-zone.drag-over { border-color: var(--maroon); background: var(--maroon-bg); }
.upload-zone p { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; }
.upload-zone .upload-icon { font-size: 2rem; margin-bottom: 8px; }
.upload-zone strong { color: var(--text); }

.admin-form { display: grid; gap: 16px; margin-top: 20px; }
.admin-form .form-group { gap: 6px; }
.admin-form label {
  font-size: 0.78rem; font-weight: 500; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.admin-form input[type=text],
.admin-form input[type=password],
.admin-form input[type=email] {
  background: #fff; border: 1px solid var(--border);
  border-radius: 6px; padding: 11px 14px; color: var(--text);
  font-size: 0.92rem; font-family: inherit; outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.admin-form textarea {
  background: #fff; border: 1px solid var(--border);
  border-radius: 6px; padding: 12px 14px; color: var(--text);
  font-size: 0.92rem; font-family: inherit; resize: vertical;
  min-height: 90px; outline: none; width: 100%;
  line-height: 1.6;
  transition: border-color var(--transition);
}
.admin-form input:focus, .admin-form textarea:focus { border-color: var(--maroon); }

.btn-upload, .btn-save {
  padding: 11px 26px; background: var(--maroon); color: #fff;
  border: none; border-radius: 4px; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: background var(--transition);
  font-size: 0.88rem; letter-spacing: 0.03em; text-transform: uppercase;
}
.btn-upload:hover, .btn-save:hover { background: var(--maroon-dark); }
.btn-save:disabled { opacity: 0.6; cursor: wait; }

.admin-list { display: grid; gap: 12px; }
.admin-excerpt-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; background: var(--grey-bg); border-radius: 8px;
  border: 1px solid var(--border);
}
.aei-info { flex: 1; }
.aei-title { font-weight: 600; font-size: 0.92rem; color: var(--text); }
.aei-desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 3px; }
.aei-actions { display: flex; gap: 8px; }
.btn-delete {
  padding: 6px 14px; background: #fff;
  border: 1px solid #f5c5c5; color: #c23030;
  border-radius: 4px; font-size: 0.8rem;
  cursor: pointer; font-family: inherit; transition: all var(--transition);
}
.btn-delete:hover { background: #fdf0f0; }
.btn-view-pdf {
  padding: 6px 14px; background: #fff;
  border: 1px solid var(--border); color: var(--maroon);
  border-radius: 4px; font-size: 0.8rem;
  cursor: pointer; font-family: inherit; transition: all var(--transition);
  text-decoration: none; display: inline-block;
}
.btn-view-pdf:hover { border-color: var(--maroon); }

.bookings-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.bookings-table th { text-align: left; padding: 10px 12px; color: var(--text-muted); border-bottom: 2px solid var(--border); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.bookings-table td { padding: 14px 12px; color: var(--text); border-bottom: 1px solid var(--grey-line); }
.bookings-table tr:last-child td { border-bottom: none; }
.badge {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
  background: var(--maroon-bg); color: var(--maroon);
  border: 1px solid rgba(122,30,43,0.2);
}

.file-selected { font-size: 0.85rem; color: var(--maroon); margin-top: 8px; font-weight: 500; }
.msg { padding: 10px 16px; border-radius: 6px; font-size: 0.85rem; margin-top: 12px; }
.msg.success { background: #eefaf0; border: 1px solid #a8e5b4; color: #1f7a32; }
.msg.error { background: #fdf0f0; border: 1px solid #f5c5c5; color: #c23030; }
.empty-state { text-align: center; padding: 32px; color: var(--text-light); font-size: 0.9rem; }

.current-photo {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; background: var(--grey-bg);
  border-radius: 8px; margin-top: 12px;
}
.current-photo img {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; box-shadow: var(--shadow);
}
.current-photo .meta { flex: 1; font-size: 0.88rem; color: var(--text-muted); }

/* ── Login page ── */
.login-body {
  background: var(--grey-bg);
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
}
.login-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 48px 40px;
  max-width: 420px; width: 100%; margin: 20px;
  box-shadow: var(--shadow-lg);
}
.login-card h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--maroon);
  margin-bottom: 6px;
}
.login-card p.login-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.login-card label {
  display: block; font-size: 0.78rem; font-weight: 500; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px;
}
.login-card input {
  width: 100%; padding: 12px 14px; background: #fff;
  border: 1px solid var(--border); border-radius: 6px;
  color: var(--text); font-size: 0.95rem; font-family: inherit;
  outline: none; transition: border-color var(--transition);
  margin-bottom: 20px;
}
.login-card input:focus { border-color: var(--maroon); }
.login-card button {
  width: 100%; padding: 13px; background: var(--maroon); color: #fff;
  border: none; border-radius: 4px; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background var(--transition);
}
.login-card button:hover:not(:disabled) { background: var(--maroon-dark); }
.login-card button:disabled { opacity: 0.6; cursor: wait; }
.login-back { display: block; text-align: center; margin-top: 20px; font-size: 0.82rem; color: var(--text-light); }
.login-back:hover { color: var(--maroon); }
.login-error {
  margin-top: 14px; padding: 10px 14px;
  background: #fdf0f0; border: 1px solid #f5c5c5;
  color: #c23030; border-radius: 6px; font-size: 0.85rem;
  display: none; text-align: center;
}
.login-error.show { display: block; }

/* ── Contact section ── */
#contact {
  padding: 100px 0;
  background: #fff;
  border-top: 1px solid var(--border);
}
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 72px; align-items: center;
}
.contact-intro h2 { margin-bottom: 14px; }
.contact-intro .sub-text { margin-bottom: 0; }
.contact-cards {
  display: flex; flex-direction: column; gap: 14px;
}
.contact-card {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all var(--transition);
  color: var(--text);
}
.contact-card:hover {
  border-color: var(--maroon);
  transform: translateX(4px);
  box-shadow: var(--shadow);
}
.cc-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--maroon-bg);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon);
}
.cc-icon svg { width: 22px; height: 22px; }
.cc-text { display: flex; flex-direction: column; gap: 2px; }
.cc-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-light);
}
.cc-value { font-size: 0.98rem; color: var(--text); font-weight: 500; }
.contact-card:hover .cc-value { color: var(--maroon); }

/* ── Page hero (blog, speaking) ── */
.page-hero {
  padding: 160px 0 80px;
  background: var(--grey-bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700; color: var(--text);
  margin: 12px 0 14px; letter-spacing: -0.01em;
}
.page-hero-title em { color: var(--maroon); font-style: italic; }
.page-hero-sub {
  color: var(--text-muted); font-size: 1.05rem;
  max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* ── Blog list ── */
.blog-list-section { padding: 80px 0 120px; background: #fff; }
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
  color: var(--text);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(122,30,43,0.2);
}
.blog-card-cover {
  height: 200px;
  background: linear-gradient(135deg, var(--maroon-bg), #f6dfe1);
  background-size: cover; background-position: center;
  position: relative;
}
.blog-card-cover-default::before {
  content: '✦'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon); opacity: 0.3; font-size: 3rem;
}
.blog-card-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-date {
  font-size: 0.72rem; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 10px; font-weight: 500;
}
.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--text);
  line-height: 1.35; margin-bottom: 10px;
}
.blog-card-excerpt {
  color: var(--text-muted); font-size: 0.92rem;
  line-height: 1.65; margin-bottom: 16px; flex: 1;
}
.blog-card-read {
  color: var(--maroon); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── Single post ── */
.post-article { padding: 130px 0 100px; background: #fff; }
.post-container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.back-link {
  display: inline-block; color: var(--maroon); font-size: 0.88rem;
  font-weight: 500; margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.back-link:hover { text-decoration: underline; }
.post-meta {
  font-size: 0.82rem; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 14px; font-weight: 500;
}
.post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; line-height: 1.2;
  color: var(--text); margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.post-cover {
  height: 360px;
  background-size: cover; background-position: center;
  border-radius: 8px; margin-bottom: 36px;
}
.post-body {
  color: var(--text); font-size: 1.05rem; line-height: 1.85;
}
.post-body p { margin-bottom: 1.2em; }
.post-body h2, .post-body h3 {
  font-family: 'Playfair Display', serif;
  color: var(--text); margin: 1.8em 0 0.6em;
  line-height: 1.3;
}
.post-body h2 { font-size: 1.6rem; }
.post-body h3 { font-size: 1.3rem; }
.post-body strong { color: var(--maroon); }
.post-body a { color: var(--maroon); border-bottom: 1px solid rgba(122,30,43,0.3); }
.post-body a:hover { border-bottom-color: var(--maroon); }
.post-body blockquote {
  border-left: 3px solid var(--maroon);
  padding: 4px 0 4px 24px; margin: 1.5em 0;
  font-style: italic; color: var(--text-muted);
}
.post-body ul, .post-body ol { margin: 1em 0 1.2em 1.3em; }
.post-body li { margin-bottom: 0.4em; }
.post-body img { border-radius: 6px; margin: 1em 0; }
.post-body code {
  background: var(--grey-bg); padding: 2px 6px;
  border-radius: 4px; font-size: 0.92em;
}
.post-foot {
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* ── Speaking page ── */
.speaking-hero {
  padding: 130px 0 80px;
  background: var(--grey-bg);
  border-bottom: 1px solid var(--border);
}
.speaking-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 64px; align-items: center;
}
.speaking-image-wrap { display: flex; justify-content: center; }
.speaking-image-frame {
  width: 100%; max-width: 420px; aspect-ratio: 4/5;
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
}
.speaking-image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.speaking-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  color: var(--maroon); background: linear-gradient(135deg, var(--maroon-bg) 0%, #fef5f5 100%);
  text-align: center;
}
.speaking-placeholder svg { width: 52px; height: 52px; opacity: 0.6; }
.speaking-placeholder span {
  font-size: 0.85rem; color: var(--text-muted);
  line-height: 1.6; max-width: 220px;
}
.speaking-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--text); letter-spacing: -0.01em;
  margin: 10px 0 16px;
}
.speaking-title em { color: var(--maroon); font-style: italic; }
.speaking-intro {
  font-size: 1.08rem; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 32px;
}
.btn-large {
  padding: 16px 36px !important; font-size: 0.95rem !important;
}

.speaking-body { padding: 90px 0; background: #fff; }
.speaking-body-grid {
  display: grid; grid-template-columns: 1fr 300px; gap: 64px;
  align-items: start;
}
.speaking-body .body-text {
  color: var(--text-muted); line-height: 1.9;
  font-size: 1.05rem; margin-bottom: 18px;
}
.speaking-body .body-text strong { color: var(--maroon); font-weight: 600; }
.speaking-aside {
  background: var(--grey-bg);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 28px;
}
.speaking-aside h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 14px;
}
.speaking-aside .author-highlights { margin-top: 0; }
.speaking-cta-box {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.speaking-cta-box p {
  font-size: 0.95rem; color: var(--text); margin-bottom: 12px;
  font-weight: 500;
}
.speaking-cta-box .btn-primary {
  display: inline-block; padding: 10px 20px;
  font-size: 0.82rem !important;
}

/* ── Admin: blog management ── */
.post-admin-item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; background: var(--grey-bg);
  border: 1px solid var(--border); border-radius: 8px;
}
.post-admin-thumb {
  width: 60px; height: 60px; border-radius: 6px;
  background-size: cover; background-position: center;
  background-color: var(--maroon-bg); flex-shrink: 0;
}
.post-admin-info { flex: 1; min-width: 0; }
.post-admin-info .t { font-weight: 600; color: var(--text); font-size: 0.94rem; }
.post-admin-info .m {
  font-size: 0.78rem; color: var(--text-light); margin-top: 3px;
}
.post-admin-info .badge-draft {
  display: inline-block; background: #fef0e0; color: #8b5a00;
  padding: 1px 8px; border-radius: 3px; font-size: 0.7rem;
  font-weight: 600; margin-left: 8px; border: 1px solid #f0d9a0;
}
.btn-edit {
  padding: 6px 14px; background: #fff;
  border: 1px solid var(--border); color: var(--text-muted);
  border-radius: 4px; font-size: 0.8rem;
  cursor: pointer; font-family: inherit; transition: all var(--transition);
}
.btn-edit:hover { border-color: var(--maroon); color: var(--maroon); }

.editor-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 1000; display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.editor-overlay.show { display: flex; }
.editor-modal {
  background: #fff; border-radius: 12px;
  width: 100%; max-width: 780px;
  max-height: 92vh; overflow: auto;
  box-shadow: 0 20px 80px rgba(0,0,0,0.4);
}
.editor-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: #fff;
}
.editor-head h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--maroon);
}
.editor-close {
  background: none; border: none; font-size: 1.5rem;
  cursor: pointer; color: var(--text-light); padding: 4px 12px;
}
.editor-body { padding: 24px 28px 28px; }
.editor-body .admin-form textarea.body-editor { min-height: 300px; font-family: 'Inter', sans-serif; }
.editor-foot {
  display: flex; gap: 12px; justify-content: flex-end;
  padding: 16px 28px; border-top: 1px solid var(--border);
  background: var(--grey-bg);
  position: sticky; bottom: 0;
  border-radius: 0 0 12px 12px;
}
.cover-preview {
  display: flex; align-items: center; gap: 14px;
  padding: 12px; border: 1px solid var(--border);
  border-radius: 6px; background: #fff; margin-top: 8px;
}
.cover-preview img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-byline { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-book { order: -1; }
  .author-grid { grid-template-columns: 1fr; gap: 40px; }
  .author-photo-wrap { flex-direction: row; align-items: center; gap: 20px; justify-content: flex-start; }
  .author-photo { width: 110px; height: 110px; }
  .author-photo-placeholder { font-size: 2.2rem; }
  .author-name-plate { text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .prebook-form { padding: 28px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .stats-row { grid-template-columns: 1fr; }
  .cd-block span { font-size: 1.6rem; min-width: 54px; padding: 6px 10px; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 16px; margin: 0 6px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .speaking-grid { grid-template-columns: 1fr; gap: 36px; }
  .speaking-body-grid { grid-template-columns: 1fr; gap: 32px; }
  .post-cover { height: 220px; }
}
