/* ---------- Reset & Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --text-muted: #b3b3b3;
  --border: #2a2a2a;
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ashlynn-accent: #a3122a;
  --delilah-accent: #7b2ff7;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

a {
  color: var(--text);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.03em;
}

section {
  padding: 5rem 6vw;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.25rem 6vw;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.nav-links a,
.dropdown-toggle {
  font-family: var(--font-heading);
  font-variant: small-caps;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.dropdown-toggle:hover {
  border-bottom: 1px solid var(--text);
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  color: var(--text);
  font-family: var(--font-heading);
  cursor: pointer;
}

.caret {
  font-size: 0.7em;
  transition: transform 0.2s ease;
}

.has-dropdown.open .caret {
  transform: rotate(180deg);
}

/* ---------- Dropdown ---------- */
.has-dropdown {
  position: relative;
}

.dropdown {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  margin-top: 1.1rem;
  min-width: 280px;
  max-width: 320px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}

.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown li a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: normal;
  border-bottom: none;
}

.dropdown li a:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: absolute;
  left: 6vw;
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2.5rem;
  padding: 4rem 6vw 5rem;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-variant: small-caps;
  font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  letter-spacing: 0.15em;
  word-spacing: 0.15em;
  margin-bottom: -1.5rem;
}

.hero-media {
  width: 100%;
  max-width: 780px;
}

.hero-image {
  width: 100%;
  height: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background-color: var(--text);
  color: var(--bg);
  padding: 0.9rem 2.2rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--text);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background-color: transparent;
  color: var(--text);
}

.btn-amazon {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-amazon img {
  display: block;
  height: 56px;
  width: auto;
}

.btn-amazon:hover {
  transform: scale(1.04);
  opacity: 0.9;
}

/* ---------- Book Detail Page ---------- */
.book-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.book-cover img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

.series-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.gallery-thumb {
  padding: 0;
  width: 64px;
  aspect-ratio: 2 / 3;
  background: none;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb:hover {
  border-color: var(--text);
}

.gallery-thumb.active {
  border-color: var(--text);
  opacity: 0.5;
}

.placeholder-box {
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-disabled {
  display: inline-block;
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.cw-trigger {
  display: block;
  width: 100%;
  margin-top: 1rem;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-variant: small-caps;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.cw-trigger:hover {
  border-color: var(--text);
  color: var(--text);
}

/* ---------- Purchase Options ---------- */
.purchase-options {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.option-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.format-value {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.option-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.option-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.option-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-pill:has(input:checked) {
  border-color: var(--text);
}

.option-pill:hover {
  border-color: var(--text);
}

.edition-selector {
  margin-bottom: 1.5rem;
}

.edition-selector .purchase-options {
  margin-bottom: 1.25rem;
}

.buy-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.buy-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
}

.paypal-btn-wrap {
  width: 100%;
  max-width: 250px;
}

/* ---------- Content Warnings Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
  background-color: var(--bg);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  transform: translateY(-16px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--text);
}

.modal h2 {
  font-variant: small-caps;
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 1.75rem;
}

.cw-note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cw-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cw-list li {
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.cw-list li:last-child {
  border-bottom: none;
}

.cw-more {
  font-style: italic;
  color: var(--text-muted);
}

.book-info h1 {
  font-variant: small-caps;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
}

.book-byline {
  color: var(--text-muted);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
}

.book-blurb p {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.book-blurb {
  margin-bottom: 2.5rem;
}

/* ---------- Series Book List ---------- */
.series-header {
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.series-header h1 {
  font-variant: small-caps;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
}

.series-header .book-byline {
  margin-bottom: 0;
}

.series-playlist {
  margin-top: 1rem;
}

.series-playlist iframe {
  display: block;
  width: 100%;
  margin-top: 0.6rem;
}

.series-books {
  max-width: 1100px;
  margin: 0 auto;
}

.series-group {
  margin-bottom: 2rem;
}

.series-group-title {
  font-variant: small-caps;
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.book-card {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  margin-top: 3rem;
}

.book-card:first-child,
.series-group > .book-card:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.book-info h2 {
  font-variant: small-caps;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.book-price {
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

/* ---------- Book Carousel ---------- */
.carousel-section {
  border-top: 1px solid var(--border);
  text-align: center;
}

.carousel-section h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
}

.carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background-color: var(--border);
}

.carousel-slide {
  flex: 0 0 220px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.carousel-cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.carousel-slide:hover .carousel-cover {
  border-color: var(--text);
  opacity: 0.85;
}

.carousel-title {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  transition: color 0.2s ease;
}

.carousel-slide:hover .carousel-title {
  color: var(--text);
}

.carousel-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.carousel-btn:hover {
  border-color: var(--text);
}

/* ---------- Newsletter ---------- */
.newsletter {
  border-top: 1px solid var(--border);
  text-align: center;
}

.newsletter h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter p {
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 auto 2rem;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  min-width: 160px;
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--text);
}

/* ---------- Simple text pages (created in the admin) ---------- */
.content-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 6vw 5rem;
}

.content-page h1 {
  font-variant: small-caps;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 1.5rem;
}

/* ---------- Release Countdown ---------- */
.countdown {
  display: flex;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 4.5rem;
  padding: 0.75rem 0.5rem;
  border: 1px solid var(--border);
}

.countdown-value {
  font-size: 2rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.countdown-done {
  margin: 1.25rem 0 1.75rem;
  font-variant: small-caps;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--ashlynn-accent);
}

@media (max-width: 480px) {
  .countdown {
    gap: 0.5rem;
  }

  .countdown-unit {
    min-width: 0;
    flex: 1;
  }

  .countdown-value {
    font-size: 1.5rem;
  }
}

/* ---------- Featured Book ---------- */
.featured-book {
  border-top: 1px solid var(--border);
  text-align: center;
}

.featured-book > h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
}

.featured-book-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.featured-book-cover {
  flex: 0 0 260px;
  transition: opacity 0.2s ease;
}

.featured-book-cover:hover {
  opacity: 0.85;
}

.featured-book-cover img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

.featured-book-info {
  flex: 1;
  min-width: 0;
}

.featured-book-info h3 {
  font-variant: small-caps;
  font-size: 2.5rem;
  line-height: 1.1;
}

.featured-book-series {
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

.featured-book-date {
  margin-top: 1rem;
}

.featured-book-teaser {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

@media (max-width: 720px) {
  .featured-book-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .featured-book-cover {
    flex: none;
    width: min(260px, 70%);
  }

  .featured-book-info .countdown {
    justify-content: center;
  }
}

/* ---------- Street Team ---------- */
.street-team-link {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  text-align: center;
}

.form-embed-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 6vw 5rem;
}

.street-team-intro {
  margin-bottom: 3rem;
  color: var(--text-muted);
}

.street-team-intro p {
  margin-bottom: 1rem;
}

.street-team-intro h2 {
  font-variant: small-caps;
  font-size: 1.6rem;
  color: var(--text);
  margin: 2rem 0 1rem;
}

.street-team-form .req {
  color: var(--ashlynn-accent);
}

.form-nda,
.form-group {
  border: none;
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-nda legend,
.form-group legend {
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.street-team-intro ol,
.street-team-intro ul {
  margin: 0 0 1rem 1.5rem;
}

.street-team-intro a {
  text-decoration: underline;
}

.form-group .form-note {
  margin-top: -0.4rem;
  font-size: 0.9rem;
}

.contact-form .form-other-text {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.8rem;
}

.contact-form .form-choice:has(.form-other-text) {
  flex-wrap: wrap;
}

.street-team-intro li {
  margin-bottom: 0.5rem;
}

.form-nda p,
.form-group p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-form .form-choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0;
  font-variant: normal;
  letter-spacing: 0;
  color: var(--text);
  cursor: pointer;
}

.contact-form .form-choice input {
  padding: 0;
  accent-color: var(--text);
}

.form-error {
  margin-top: 1rem;
  color: #e5484d;
  font-size: 0.95rem;
}

.contact-form .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.success-overlay.open {
  opacity: 1;
  visibility: visible;
}

.success-panel {
  width: 100%;
  max-width: 480px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}

.success-panel h2 {
  font-variant: small-caps;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.success-panel p {
  color: var(--text-muted);
}

/* ---------- Contact ---------- */
.contact-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 6vw 5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form label {
  font-variant: small-caps;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 1.2rem;
}

.contact-form label:first-child {
  margin-top: 0;
}

.contact-form input,
.contact-form textarea {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--text);
}

.contact-form .btn {
  margin-top: 1.75rem;
  align-self: flex-start;
  cursor: pointer;
  background-color: var(--text);
  font-family: var(--font-body);
}

.contact-note {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem 6vw;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.switch-profile {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.switch-profile:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ---------- Splash Page ---------- */
.splash-body {
  overflow: hidden;
}

.splash {
  position: relative;
  display: flex;
  min-height: 100vh;
}

.splash-question {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  font-family: var(--font-heading);
  font-variant: small-caps;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 0.1em;
  line-height: 1.5;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  padding: 0.85rem 1.75rem;
  border-radius: 2px;
}

.splash-or {
  font-size: 0.7em;
  color: var(--text-muted);
}

.splash-half {
  position: relative;
  flex: 1;
  overflow: hidden;
  transition: flex-grow 0.5s ease;
}

.splash-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7) saturate(0.9);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.splash-half:hover .splash-img,
.splash-half.grow .splash-img {
  filter: brightness(0.95) saturate(1.05);
  transform: scale(1.05);
}

.splash-half::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.splash-ashlynn::after {
  background: radial-gradient(circle at center, rgba(163, 18, 42, 0.35), transparent 70%);
}

.splash-delilah::after {
  background: radial-gradient(circle at center, rgba(123, 47, 247, 0.35), transparent 70%);
}

.splash-half:hover::after,
.splash-half.grow::after {
  opacity: 1;
}

.splash-half.grow {
  flex-grow: 1.25;
}

.splash-half.shrink {
  flex-grow: 0.75;
}

/* ---------- Delilah theme (warm cream, candy apple red accents) ---------- */
.delilah {
  --bg: #f6f0e6;
  --text: #2a1b18;
  --text-muted: #6b5a53;
  --border: #d8ccb9;
  --delilah-accent: #d10a0a;
}

html:has(body.delilah) {
  background-color: #f6f0e6;
}

.delilah .site-header {
  background-color: rgba(246, 240, 230, 0.95);
}

.delilah h1,
.delilah h2,
.delilah h3 {
  color: var(--delilah-accent);
}

.delilah .nav-links a:hover,
.delilah .nav-links a.active,
.delilah .dropdown-toggle:hover {
  border-bottom-color: var(--delilah-accent);
}

.delilah .countdown-done {
  color: var(--delilah-accent);
}

.delilah .countdown-unit {
  background-color: rgba(255, 255, 255, 0.45);
}

.delilah .dropdown {
  box-shadow: 0 8px 24px rgba(42, 27, 24, 0.12);
}

.delilah .dropdown li a:hover {
  background-color: rgba(209, 10, 10, 0.07);
}

.delilah .btn,
.delilah .contact-form .btn {
  background-color: var(--delilah-accent);
  border-color: var(--delilah-accent);
  color: #ffffff;
}

.delilah .btn:hover,
.delilah .contact-form .btn:hover {
  background-color: transparent;
  color: var(--delilah-accent);
}

.delilah .street-team-form .req {
  color: var(--delilah-accent);
}

.delilah .form-error {
  color: #b00020;
}

.delilah .contact-form input:focus,
.delilah .contact-form textarea:focus {
  border-color: var(--delilah-accent);
}

.delilah .contact-form input,
.delilah .contact-form textarea {
  background-color: rgba(255, 255, 255, 0.55);
}

.delilah .hero-media {
  max-width: 560px;
}

.delilah .hero-image,
.delilah .book-cover img,
.delilah .featured-book-cover img {
  box-shadow: 0 10px 30px rgba(42, 27, 24, 0.18);
}

.dropdown-empty {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- Coming Soon (Delilah placeholder) ---------- */
.coming-soon {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
  padding: 2rem;
}

.coming-soon-name {
  font-family: var(--font-heading);
  font-variant: small-caps;
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: 0.12em;
  color: var(--delilah-accent);
}

.coming-soon-message {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow-y: auto;
    transition: max-height 0.3s ease;
  }

  .nav-links.open {
    max-height: 80vh;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a,
  .dropdown-toggle {
    display: block;
    width: 100%;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    justify-content: center;
  }

  /* Dropdowns become inline accordions on mobile */
  .dropdown {
    position: static;
    transform: none;
    margin-top: 0;
    min-width: 0;
    max-width: none;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.04);
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease;
  }

  .has-dropdown:hover .dropdown,
  .has-dropdown.open .dropdown {
    transform: none;
    max-height: 600px;
  }

  .dropdown li a {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .carousel-slide {
    flex-basis: 150px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .splash {
    flex-direction: column;
  }

  .splash-question {
    top: 6%;
  }

  .book-detail {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .book-cover {
    max-width: 320px;
    margin: 0 auto;
  }
}
