/* -------------------------------------------------- */
/* Base Styles */
/* -------------------------------------------------- */

:root {
  --bg-dark: #0f172a;
  --bg-dark-2: #162033;
  --bg-dark-3: #0b1220;
  --bg-cream: #f6f0e7;
  --bg-cream-2: #efe4d2;
  --text-dark: #201b16;
  --text-medium: #5f564d;
  --text-light: #f8f4ee;
  --accent: #c96a2b;
  --accent-2: #d8a54b;
  --border-light: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 18px 42px rgba(0, 0, 0, 0.14);
  --shadow-strong: 0 28px 65px rgba(0, 0, 0, 0.3);
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  line-height: 1.65;
  background: var(--bg-cream);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

/* -------------------------------------------------- */
/* Header */
/* -------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 16, 28, 0.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
}

.brand-link {
  text-decoration: none;
  color: white;
}

.brand h1 {
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.brand p {
  font-size: 0.75rem;
  opacity: 0.78;
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.site-nav a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  color: var(--accent-2);
}

/* -------------------------------------------------- */
/* Hero */
/* -------------------------------------------------- */

.hero {
  padding: 6.5rem 0 5rem;
  background:
    radial-gradient(circle at 82% 20%, rgba(216, 165, 75, 0.18), transparent 22%),
    radial-gradient(circle at 14% 18%, rgba(201, 106, 43, 0.16), transparent 26%),
    linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 58%, var(--bg-dark-3) 100%);
  color: var(--text-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px);
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--accent-2);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero h2 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
  max-width: 11ch;
  color: #fffaf2;
}

.hero-text {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  max-width: 42rem;
  color: #ddd5ca;
}

.hero-note {
  font-size: 0.98rem;
  color: #cfc3b4;
  margin-top: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.book-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  padding: 1.2rem;
  border-radius: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-strong);
  width: min(100%, 390px);
}

.book-card img {
  border-radius: 12px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
  background: #f4eadb;
}

/* -------------------------------------------------- */
/* Buttons */
/* -------------------------------------------------- */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #b9591f;
  border-color: #b9591f;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.24);
  color: white;
  background: rgba(255,255,255,0.04);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255,255,255,0.12);
  color: white;
}

.btn-dark {
  border: 1px solid rgba(32, 27, 22, 0.2);
  color: var(--text-dark);
  background: transparent;
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: var(--text-dark);
  color: white;
}

/* -------------------------------------------------- */
/* Quote / Featured Book Band */
/* -------------------------------------------------- */

.quote-band {
  padding: 6rem 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(180deg, #1b1714 0%, #2a241f 100%);
  background-size: 120px 120px, 160px 160px, cover;
}

.quote-band .section-kicker,
.quote-band .quote-copy h3 {
  color: #ffffff;
}

.quote-card {
  max-width: 820px;
  margin: 0 auto;
  background: #f3e7d7;
  border: 1px solid rgba(32, 27, 22, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: 0 22px 50px rgba(0,0,0,0.28);
}

.quote-copy h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.quote-card .quote-copy h3 {
  color: #2d251f;
}

.quote-card .section-kicker {
  color: #5a5046;
}

.book-summary {
  font-size: 1.06rem;
  color: var(--text-medium);
  margin-bottom: 1.35rem;
  max-width: 42rem;
}

.quote-card blockquote {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  margin: 1rem 0;
  font-style: italic;
  line-height: 1.7;
  color: #332b24;
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
}

.quote-attrib {
  font-size: 0.95rem;
  color: #6d6358;
  margin-top: 0.4rem;
}
/* -------------------------------------------------- */
/* Sections */
/* -------------------------------------------------- */

.section {
  padding: 5.5rem 0;
}

.section-light {
  background: var(--bg-cream);
}

.section-dark {
  background: linear-gradient(180deg, #121b2d 0%, #0e1524 100%);
  color: var(--text-light);
}

.section-head {
  max-width: 700px;
  margin-bottom: 2.2rem;
}

.section-kicker {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  opacity: 0.85;
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-weight: 700;
}

.section-dark .section-kicker {
  color: var(--accent-2);
}

.section-head h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
  line-height: 1.18;
}

.section-head p {
  font-size: 1.08rem;
  color: var(--text-medium);
}

.section-dark .section-head p {
  color: #d6cec3;
}

/* -------------------------------------------------- */
/* Cards */
/* -------------------------------------------------- */

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.info-card {
  background: rgba(255,255,255,0.82);
  padding: 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(32, 27, 22, 0.07);
}

.info-card h4 {
  font-size: 1.28rem;
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.info-card p {
  color: #51483e;
}

.dark-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
}

.dark-card p,
.dark-card h4 {
  color: var(--text-light);
}

.card-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

/* -------------------------------------------------- */
/* About */
/* -------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: stretch;
}

.portrait-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.portrait-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

/* -------------------------------------------------- */
/* Writing / Essays */
/* -------------------------------------------------- */

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.essay-list {
  display: grid;
  gap: 1rem;
}

.essay-card {
  padding: 1.3rem 1.4rem;
  background: rgba(255,255,255,0.82);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(32, 27, 22, 0.07);
}

.essay-card h4 {
  font-size: 1.18rem;
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.essay-card p {
  color: #51483e;
}

.film-panel {
  background: linear-gradient(180deg, #fff7ee 0%, #f6ead8 100%);
}

.film-panel h4,
.film-panel p {
  color: var(--text-dark);
}

/* -------------------------------------------------- */
/* Contact Card */
/* -------------------------------------------------- */

.newsletter-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #f6e8d5 0%, #ead6bb 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  color: var(--text-dark);
}

.newsletter-card h3 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 0.7rem;
}

.newsletter-card p {
  color: #4f463c;
}

.contact-email {
  font-size: 1.2rem;
  margin-top: 1rem;
  font-weight: 600;
}

.contact-email a {
  color: #2d251f;
  text-decoration: none;
  border-bottom: 2px solid rgba(45, 37, 31, 0.4);
  padding-bottom: 2px;
}

.contact-email a:hover {
  color: #000000;
  border-bottom-color: #000000;
}

/* -------------------------------------------------- */
/* Footer */
/* -------------------------------------------------- */

.site-footer {
  background: #0a0f1b;
  color: white;
  padding: 3rem 0;
}

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

.site-footer h5 {
  margin-bottom: 0.9rem;
  font-size: 1rem;
}

.site-footer a,
.site-footer p {
  display: block;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  margin-top: 0.45rem;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: white;
}

/* -------------------------------------------------- */
/* Responsive */
/* -------------------------------------------------- */

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .split-grid,
  .card-grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

  .hero h2 {
    max-width: none;
  }

  .book-card {
    width: min(100%, 340px);
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.2rem, var(--max-width));
  }

  .site-nav ul {
    gap: 0.9rem;
  }

  .quote-card,
  .newsletter-card,
  .info-card,
  .essay-card {
    padding: 1.25rem;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-text,
  .section-head p,
  .book-summary {
    font-size: 1rem;
  }
}

/* -------------------------------------------------- */
/* Buy the Book Page */
/* -------------------------------------------------- */

.buy-hero {
  padding: 6rem 0 4.5rem;
}

.buy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 380px);
  gap: 3rem;
  align-items: center;
}

.buy-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.buy-option-card {
  background: rgba(255,255,255,0.82);
  padding: 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(32, 27, 22, 0.07);
}

.buy-option-card h4 {
  font-size: 1.3rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.buy-option-card p {
  color: #51483e;
  margin-bottom: 1.1rem;
}

.featured-option {
  background: linear-gradient(180deg, #fff8ee 0%, #f6ead8 100%);
  border: 1px solid rgba(201, 106, 43, 0.18);
  box-shadow: var(--shadow-medium);
}

.purchase-note-card {
  max-width: 860px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.purchase-note-card h3 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 0.9rem;
}

.purchase-note-card p {
  color: #d8d0c5;
  margin-bottom: 1rem;
}

@media (max-width: 960px) {
  .buy-grid,
  .buy-options-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------- */
/* Explore the Book Page */
/* -------------------------------------------------- */

.explore-hero {
  padding: 6rem 0 4.5rem;
}

.explore-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 380px);
  gap: 3rem;
  align-items: center;
}

.longform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.longform-copy p {
  margin-bottom: 1.1rem;
  color: #4f463c;
  font-size: 1.06rem;
}

.explore-side-card {
  position: sticky;
  top: 110px;
}

.explore-quote {
  font-size: 1.25rem;
  line-height: 1.7;
  font-style: italic;
  color: #2d251f;
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  margin: 0 0 1rem;
}

.image-feature-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.reverse-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
}

.feature-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.feature-image-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.feature-copy-card p {
  margin-bottom: 1rem;
}

@media (max-width: 960px) {
  .explore-hero-grid,
  .longform-grid,
  .image-feature-grid,
  .reverse-grid {
    grid-template-columns: 1fr;
  }

  .explore-side-card {
    position: static;
  }
}
/* -------------------------------------------------- */
/* Contact Section */
/* -------------------------------------------------- */

.contact-email {
  font-size: 1.2rem;
  margin-top: 1rem;
  font-weight: 600;
}

.contact-email a {
  color: #2d251f;   /* dark warm brown */
  text-decoration: none;
  border-bottom: 2px solid rgba(45,37,31,0.4);
  padding-bottom: 2px;
}

.contact-email a:hover {
  color: #000000;
  border-bottom-color: #000000;
}

/* -------------------------------------------------- */
/* Essays & Writings Section */
/* -------------------------------------------------- */

.centered-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.writing-intro {
  margin-top: 1rem;
  margin-bottom: 1.6rem;
  font-size: 1.05rem;
  color: #4f463c;
}

.center-cta {
  justify-content: center;
}

/* -------------------------------------------------- */
/* About Section Paragraph Spacing */
/* -------------------------------------------------- */

.about-copy p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

/* -------------------------------------------------- */
/* Film Projects */
/* -------------------------------------------------- */

.film-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.film-poster img {
  width: 220px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.film-info h4 {
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
  color: #2d251f;
}

.film-info p {
  color: var(--text-medium);
  margin-bottom: 1rem;
}

.quote-attrib {
  margin-top: 0.5rem;
  margin-bottom: 1.4rem;
}
