/* ============================================================
   George Alexander Vela — Author Website
   Greek Mythology Literary Fiction Series
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lora:ital,wght@0,400;0,500;1,400;1,500&family=Cormorant+SC:wght@400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --bg-primary:     #080604;
  --bg-secondary:   #100d0a;
  --bg-card:        #16120e;
  --bg-nav:         rgba(8, 6, 4, 0.95);

  --text-primary:   #ede5d8;
  --text-secondary: #a09180;
  --text-muted:     #5a5048;

  --gold:           #c9a84c;
  --gold-light:     #e2c278;
  --gold-dark:      #8b7030;
  --gold-faint:     rgba(201, 168, 76, 0.08);

  --crimson:        #7a2c2c;
  --border:         #241e17;
  --border-light:   #2e2820;

  --ff-display:     'Playfair Display', Georgia, serif;
  --ff-body:        'Lora', Georgia, serif;
  --ff-small-caps:  'Cormorant SC', 'Playfair Display SC', Georgia, serif;

  --transition:     0.3s ease;
  --max-width:      1140px;
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--ff-body);
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--ff-small-caps);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
}
.nav-brand:hover { color: var(--gold-light); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--ff-small-caps);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

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

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-secondary);
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 75% 50%, rgba(90, 55, 20, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(122, 44, 44, 0.12) 0%, transparent 60%),
    var(--bg-primary);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 1px at 20% 35%, rgba(201, 168, 76, 0.25) 0%, transparent 0%),
    radial-gradient(circle 1px at 55% 15%, rgba(201, 168, 76, 0.15) 0%, transparent 0%),
    radial-gradient(circle 1px at 80% 60%, rgba(201, 168, 76, 0.20) 0%, transparent 0%),
    radial-gradient(circle 1px at 35% 75%, rgba(201, 168, 76, 0.12) 0%, transparent 0%),
    radial-gradient(circle 1px at 65% 88%, rgba(201, 168, 76, 0.18) 0%, transparent 0%);
  background-size: 2px 2px, 2px 2px, 2px 2px, 2px 2px, 2px 2px;
  background-repeat: no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 6rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-label {
  font-family: var(--ff-small-caps);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.hero-subtitle {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1.8rem;
  display: block;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 1.8rem;
}

.hero-blurb {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* --- Cover Image --- */
.hero-cover-wrap {
  position: relative;
}

.hero-cover-shadow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.12), transparent 70%);
  filter: blur(20px);
}

.hero-cover {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(201, 168, 76, 0.08);
  border: 1px solid var(--border-light);
}

.hero-cover img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--ff-small-caps);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-primary);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--bg-primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dark);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold-faint);
  color: var(--gold-light);
  transform: translateY(-1px);
}

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
.section {
  padding: 6rem 0;
}

.section-label {
  font-family: var(--ff-small-caps);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 640px;
}

.section-divider {
  width: 80px;
  height: 1px;
  background: var(--border-light);
  margin: 4rem auto;
}

/* ============================================================
   SERIES STRIP — HOMEPAGE
   ============================================================ */
.series-strip {
  background: var(--bg-secondary);
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.strip-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.strip-header .fleuron {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.8em;
  color: var(--gold-dark);
  margin-bottom: 1.2rem;
}

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

.strip-book {
  text-align: center;
  transition: transform var(--transition);
}

.strip-book:hover { transform: translateY(-4px); }

.strip-book-cover {
  display: block;
  width: 100%;
  max-width: 180px;
  margin: 0 auto 1.2rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  border: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
.strip-book:hover .strip-book-cover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 30px rgba(201,168,76,0.1);
}

.strip-book-cover img { width: 100%; height: auto; }

.strip-book-number {
  font-family: var(--ff-small-caps);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 0.3rem;
}

.strip-book-title {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

/* ============================================================
   ABOUT TEASER — HOMEPAGE
   ============================================================ */
.about-teaser {
  background: var(--bg-primary);
  padding: 6rem 0;
}

.about-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}

.about-photo-frame {
  position: relative;
  max-width: 400px;
}

.about-photo-frame::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  right: 12px; bottom: 12px;
  border: 1px solid var(--gold-dark);
  opacity: 0.5;
}

.about-photo-frame img,
.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border-light);
}

.about-photo-placeholder {
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--text-muted);
  font-family: var(--ff-small-caps);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  aspect-ratio: 3/4;
}

.about-photo-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.3;
  fill: var(--gold);
}

.about-quote {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
}

.about-bio-short {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 2rem;
}

/* ============================================================
   MAILING LIST — HOMEPAGE SECTION
   ============================================================ */
.mailing-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.mailing-inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.mailing-inner .section-title {
  margin-bottom: 1rem;
}

.mailing-inner p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.mailing-incentive {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 1rem !important;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  text-align: left;
}

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

.mailing-form input[type="email"] {
  flex: 1;
  padding: 0.9rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-right: none;
  color: var(--text-primary);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.mailing-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.mailing-form input[type="email"]:focus {
  border-color: var(--gold-dark);
}

.mailing-form .btn {
  border: 1px solid var(--gold);
  white-space: nowrap;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-style: italic;
}

/* ============================================================
   BOOKS PAGE
   ============================================================ */
.page-hero {
  padding: 10rem 0 4rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero .section-label { justify-content: center; display: flex; }
.page-hero .section-title { text-align: center; }

.books-grid {
  padding: 5rem 0;
}

.book-entry {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.book-entry:last-child { border-bottom: none; }

.book-entry.featured {
  padding: 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--gold);
  margin-bottom: 2rem;
}

.book-cover-wrap {
  position: relative;
}

.book-cover-wrap::after {
  content: '';
  position: absolute;
  bottom: -20px; left: 10%;
  right: 10%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.6), transparent);
  filter: blur(10px);
  z-index: 0;
}

.book-cover {
  position: relative;
  z-index: 1;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.book-cover:hover {
  transform: translateY(-3px);
  box-shadow: 0 35px 70px rgba(0,0,0,0.75), 0 0 40px rgba(201,168,76,0.1);
}

.book-cover img { width: 100%; height: auto; display: block; }

.book-badge {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--gold);
  color: var(--bg-primary);
  font-family: var(--ff-small-caps);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  z-index: 2;
}

.book-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.book-number {
  font-family: var(--ff-small-caps);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

.book-separator {
  width: 30px; height: 1px;
  background: var(--border-light);
}

.book-genre {
  font-family: var(--ff-small-caps);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.book-title {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.book-subtitle {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.book-divider {
  width: 45px; height: 1px;
  background: var(--gold-dark);
  margin-bottom: 1.5rem;
}

.book-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.8rem;
}

.book-description p + p { margin-top: 1rem; }

.book-epigraph {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  padding: 1rem 1.5rem;
  border-left: 2px solid var(--gold-dark);
  margin-bottom: 1.8rem;
  line-height: 1.7;
}

.book-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 6rem;
  align-items: start;
  padding: 5rem 0;
}

.author-photo-wrap {
  position: sticky;
  top: 6rem;
}

.author-photo-frame {
  position: relative;
}

.author-photo-frame::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px;
  right: 10px; bottom: 10px;
  border: 1px solid var(--gold-dark);
  opacity: 0.4;
}

.author-photo-frame img,
.author-photo-ph {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: flex;
  border: 1px solid var(--border-light);
}

.author-photo-ph {
  background: var(--bg-card);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-muted);
  font-family: var(--ff-small-caps);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.author-name-display {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.3rem;
}

.author-tagline {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gold);
}

.about-content .section-title { margin-bottom: 0.5rem; }

.about-content .lead {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.about-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.95;
  margin-bottom: 1.5rem;
}

.about-content p:last-child { margin-bottom: 0; }

.about-series-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--gold);
  padding: 2rem;
  margin: 2.5rem 0;
}

.about-series-box h3 {
  font-family: var(--ff-small-caps);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.series-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.series-list li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  align-items: baseline;
}

.series-list li .num {
  font-family: var(--ff-small-caps);
  font-size: 0.7rem;
  color: var(--gold-dark);
  font-weight: 600;
}

.series-list li em {
  font-style: italic;
  color: var(--text-primary);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding: 5rem 0;
}

.contact-info .section-title { font-size: 1.8rem; }

.contact-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-icon svg {
  width: 16px; height: 16px;
  fill: var(--gold);
}

.contact-detail-label {
  font-family: var(--ff-small-caps);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.15rem;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- Forms --- */
.form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
}

.form-panel h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-panel .form-intro {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-family: var(--ff-small-caps);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5048' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold-dark);
}

.form-group textarea { min-height: 130px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit { margin-top: 1.8rem; }
.form-submit .btn { width: 100%; justify-content: center; display: flex; }

/* Mailing list panel */
.mailing-panel {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.mailing-panel h4 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.mailing-panel p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.mailing-inline {
  display: flex;
  gap: 0;
}

.mailing-inline input {
  flex: 1;
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-right: none;
  color: var(--text-primary);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  outline: none;
}

.mailing-inline input:focus { border-color: var(--gold-dark); }

.mailing-inline .btn {
  font-size: 0.7rem;
  padding: 0.8rem 1.2rem;
  white-space: nowrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-brand {
  display: block;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-tagline {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--ff-small-caps);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-fleuron {
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  color: var(--gold-dark);
  opacity: 0.7;
}

/* ============================================================
   PAGE TRANSITIONS & UTILITIES
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-gold { color: var(--gold); }
.text-center { text-align: center; }

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-cover-wrap { max-width: 280px; margin: 0 auto; }
  .hero { padding-top: 7rem; }

  .about-teaser-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo-frame { max-width: 300px; }

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

  .book-entry { grid-template-columns: 220px 1fr; gap: 2.5rem; }
  .book-entry.featured { padding: 2.5rem; }

  .about-page-grid { grid-template-columns: 1fr; gap: 3rem; }
  .author-photo-wrap { position: static; max-width: 280px; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  html { font-size: 16px; }

  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
  }
  .nav-links.open li a {
    display: block;
    padding: 0.7rem 2rem;
    font-size: 0.85rem;
  }
  .nav-links.open a::after { display: none; }
  .nav-toggle { display: flex; }

  .books-strip { grid-template-columns: repeat(2, 1fr); }

  .book-entry,
  .book-entry.featured {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
  }
  .book-entry.featured { padding: 2rem; }
  .book-cover-wrap { max-width: 220px; margin: 0 auto; }

  .mailing-form,
  .mailing-inline { flex-direction: column; }
  .mailing-form input[type="email"],
  .mailing-inline input { border-right: 1px solid var(--border-light); }
  .mailing-form .btn,
  .mailing-inline .btn { width: 100%; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
}
