/* ==========================================================================
   Joy Rankin - Website Styles  ("Evening Garden" design)

   CSS Variables are at the top for easy global changes.
   To change colors or fonts site-wide, edit the :root section below.
   ========================================================================== */

:root {
  /* COLORS - Edit these to change the site's color scheme */
  --color-band: #2A2130;            /* Dark aubergine banner + footer */
  --color-band-text: #F3EDE4;       /* Text on the dark banner */
  --color-band-muted: #C9BFCF;      /* Softer text on the dark banner */
  --color-lilac: #C3AED3;           /* Purple accent on the dark banner */
  --color-background: #F8F4ED;      /* Cream page background */
  --color-surface: #FFFFFF;         /* Cards */
  --color-text: #231D26;            /* Main text */
  --color-text-light: #625A66;      /* Secondary text */
  --color-accent: #5E4470;          /* Purple accent (links, labels) */
  --color-accent-hover: #3E2B4C;
  --color-gold: #B8975A;            /* Thin decorative rules */
  --color-border: #E3DBD2;

  /* FONTS - Edit these to change typography */
  --font-display: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --font-primary: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-ui: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font-display);

  /* SPACING - Edit these to adjust whitespace */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --gutter: clamp(1.25rem, 5vw, 5rem);

  /* LAYOUT */
  --max-width: 1040px;
  --text-width: 760px;

  /* FLORAL PATTERN - tone-on-tone pattern used on the banner and footer */
  --pattern-floral: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='1'%3E%3Cpath d='M0 0 C -7 -5.6 -7 -12.8 0 -16 C 7 -12.8 7 -5.6 0 0 Z' transform='translate(70 70) rotate(0)'/%3E%3Cpath d='M0 0 C -7 -5.6 -7 -12.8 0 -16 C 7 -12.8 7 -5.6 0 0 Z' transform='translate(70 70) rotate(60)'/%3E%3Cpath d='M0 0 C -7 -5.6 -7 -12.8 0 -16 C 7 -12.8 7 -5.6 0 0 Z' transform='translate(70 70) rotate(120)'/%3E%3Cpath d='M0 0 C -7 -5.6 -7 -12.8 0 -16 C 7 -12.8 7 -5.6 0 0 Z' transform='translate(70 70) rotate(180)'/%3E%3Cpath d='M0 0 C -7 -5.6 -7 -12.8 0 -16 C 7 -12.8 7 -5.6 0 0 Z' transform='translate(70 70) rotate(240)'/%3E%3Cpath d='M0 0 C -7 -5.6 -7 -12.8 0 -16 C 7 -12.8 7 -5.6 0 0 Z' transform='translate(70 70) rotate(300)'/%3E%3Ccircle cx='70' cy='70' r='3'/%3E%3Cpath d='M0 -18 C 8 -30 8 -42 0 -52 C -8 -42 -8 -30 0 -18 Z' transform='translate(70 70) rotate(45)'/%3E%3Cpath d='M0 -18 C 8 -30 8 -42 0 -52 C -8 -42 -8 -30 0 -18 Z' transform='translate(70 70) rotate(135)'/%3E%3Cpath d='M0 -18 C 8 -30 8 -42 0 -52 C -8 -42 -8 -30 0 -18 Z' transform='translate(70 70) rotate(225)'/%3E%3Cpath d='M0 -18 C 8 -30 8 -42 0 -52 C -8 -42 -8 -30 0 -18 Z' transform='translate(70 70) rotate(315)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(0 0) rotate(0)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(0 0) rotate(90)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(0 0) rotate(180)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(0 0) rotate(270)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(0 140) rotate(0)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(0 140) rotate(90)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(0 140) rotate(180)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(0 140) rotate(270)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(140 0) rotate(0)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(140 0) rotate(90)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(140 0) rotate(180)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(140 0) rotate(270)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(140 140) rotate(0)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(140 140) rotate(90)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(140 140) rotate(180)'/%3E%3Cpath d='M0 0 C -4 -3.15 -4 -7.2 0 -9 C 4 -7.2 4 -3.15 0 0 Z' transform='translate(140 140) rotate(270)'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.09'%3E%3Ccircle cx='70' cy='0' r='2'/%3E%3Ccircle cx='0' cy='70' r='2'/%3E%3Ccircle cx='140' cy='70' r='2'/%3E%3Ccircle cx='70' cy='140' r='2'/%3E%3C/g%3E%3C/svg%3E");
  --icon-floret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cg fill='none' stroke='%235E4470' stroke-width='1.1'%3E%3Cpath d='M0 0 C -5 -3.5 -5 -8.0 0 -10 C 5 -8.0 5 -3.5 0 0 Z' transform='translate(0 0) rotate(0)'/%3E%3Cpath d='M0 0 C -5 -3.5 -5 -8.0 0 -10 C 5 -8.0 5 -3.5 0 0 Z' transform='translate(0 0) rotate(60)'/%3E%3Cpath d='M0 0 C -5 -3.5 -5 -8.0 0 -10 C 5 -8.0 5 -3.5 0 0 Z' transform='translate(0 0) rotate(120)'/%3E%3Cpath d='M0 0 C -5 -3.5 -5 -8.0 0 -10 C 5 -8.0 5 -3.5 0 0 Z' transform='translate(0 0) rotate(180)'/%3E%3Cpath d='M0 0 C -5 -3.5 -5 -8.0 0 -10 C 5 -8.0 5 -3.5 0 0 Z' transform='translate(0 0) rotate(240)'/%3E%3Cpath d='M0 0 C -5 -3.5 -5 -8.0 0 -10 C 5 -8.0 5 -3.5 0 0 Z' transform='translate(0 0) rotate(300)'/%3E%3C/g%3E%3Ccircle r='1.6' fill='%235E4470'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

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

body {
  font-family: var(--font-primary);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-top: var(--spacing-lg); }
h3 { font-size: 1.5rem; margin-top: var(--spacing-md); }

p { margin-bottom: var(--spacing-sm); }

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: rgba(94, 68, 112, 0.35);
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}

a:hover {
  color: var(--color-accent-hover);
  text-decoration-color: currentColor;
}

ul, ol {
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-md);
}

li { margin-bottom: var(--spacing-xs); }

blockquote {
  margin: var(--spacing-md) 0;
  font-style: italic;
}

/* Small uppercase label with a thin gold rule, e.g. "THE BOOK" */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--color-gold);
  flex-shrink: 0;
}

/* Buttons */
.button {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.8rem;
  background: var(--color-lilac);
  color: var(--color-band);
  border: 1px solid var(--color-lilac);
}

.button:hover { background: var(--color-band-text); border-color: var(--color-band-text); color: var(--color-band); }

.button-outline {
  background: transparent;
  color: var(--color-band-text);
  border-color: rgba(243, 237, 228, 0.5);
}

.button-outline:hover { background: rgba(243, 237, 228, 0.1); color: var(--color-band-text); border-color: var(--color-band-text); }

/* ==========================================================================
   Top band (dark patterned banner) + Header & Navigation
   ========================================================================== */

.band {
  background-color: var(--color-band);
  background-image: var(--pattern-floral);
  color: var(--color-band-text);
}

header {
  padding: 2.25rem var(--gutter);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-sm) var(--spacing-lg);
}

.site-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-band-text);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.site-title:hover { color: var(--color-band-text); }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 2rem;
}

header nav a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-band-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}

header nav a:hover { color: var(--color-band-text); }

header nav a[aria-current="page"] {
  color: var(--color-lilac);
  border-bottom-color: var(--color-lilac);
}

/* Page title inside the band (interior pages) */
.page-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-lg) var(--gutter) 5rem;
  text-align: center;
}

.page-hero .eyebrow { justify-content: center; color: var(--color-lilac); }
.page-hero .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--color-gold); }

.page-hero h1 {
  color: var(--color-band-text);
  margin: 0 auto;
  max-width: 900px;
}

.page-hero h1 a { color: inherit; text-decoration: none; }

/* ==========================================================================
   Main Content
   ========================================================================== */

main {
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--gutter);
}

/* ==========================================================================
   Home Page
   ========================================================================== */

.home-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--spacing-lg) var(--gutter) 6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: var(--spacing-xl);
  align-items: center;
}

.home-hero .eyebrow { color: var(--color-lilac); }

.home-hero h1 {
  color: var(--color-band-text);
  line-height: 1.05;
  margin-bottom: var(--spacing-md);
}

.home-hero h1 em { color: var(--color-lilac); }

.home-hero .lead {
  font-size: 1.15rem;
  color: var(--color-band-muted);
  max-width: 520px;
  margin-bottom: var(--spacing-lg);
}

.button-row { display: flex; flex-wrap: wrap; gap: var(--spacing-sm); }

.portrait {
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  padding: 14px;
  aspect-ratio: 1;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.book-feature {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--spacing-xl);
  align-items: center;
  margin-bottom: 5rem;
}

.book-feature img { box-shadow: 0 24px 50px rgba(42, 33, 48, 0.25); }

.book-feature h2 { margin-top: 0; }
.book-feature h2 a { color: var(--color-text); text-decoration: none; }
.book-feature h2 a:hover { color: var(--color-accent); }
.book-feature p { color: var(--color-text-light); }

.link-row { display: flex; flex-wrap: wrap; gap: var(--spacing-md); margin-top: var(--spacing-md); }

.link-row a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--color-gold);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-md);
  margin-bottom: 5rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2.25rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.card:hover { color: var(--color-text); border-color: var(--color-accent); transform: translateY(-2px); }
.card h3 { margin: 0; font-size: 1.9rem; }
.card p { margin: 0; color: var(--color-text-light); font-size: 1rem; }

.card-link {
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.floret {
  width: 28px;
  height: 28px;
  background: var(--icon-floret) no-repeat center / contain;
}

.featured-in { text-align: center; }
.featured-in .eyebrow { justify-content: center; }

.featured-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.75rem;
}

.featured-list a {
  font-style: italic;
  font-size: 1.35rem;
  color: var(--color-text);
  text-decoration: none;
}

.featured-list a:hover { color: var(--color-accent); }

/* ==========================================================================
   Bio/About Page
   Intro card overlaps the banner; then sections with a gold-ruled heading.
   ========================================================================== */

.bio-intro {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  margin-top: -7rem;
  margin-bottom: 5rem;
  box-shadow: 0 20px 50px rgba(42, 33, 48, 0.12);
}

.bio-intro-main {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: var(--spacing-lg);
  align-items: center;
  padding: 2.75rem 3rem;
}

.bio-portrait {
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  padding: 10px;
}

.bio-portrait img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }

.bio-lead {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.4;
  margin-bottom: var(--spacing-sm);
}

.bio-sub { color: var(--color-text-light); margin: 0; }

.bio-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--color-border);
  background: var(--color-background);
}

.bio-facts div {
  padding: 1.5rem 1.5rem 1.4rem;
  border-left: 1px solid var(--color-border);
}

.bio-facts div:first-child { border-left: none; }

.bio-facts dt {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.bio-facts dd {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.bio-section { margin-bottom: 5rem; }

.bio-section h2 {
  margin-top: 0;
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.bio-section h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.6;
}

.bio-book {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: var(--spacing-lg);
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.bio-book img { box-shadow: 0 20px 40px rgba(42, 33, 48, 0.22); }
.bio-book h3 { margin-top: 0; font-size: 1.9rem; }
.bio-book h3 a { color: var(--color-text); text-decoration: none; }
.bio-book h3 a:hover { color: var(--color-accent); }
.bio-book p { color: var(--color-text-light); }
.bio-book .eyebrow { color: var(--color-accent); margin-bottom: var(--spacing-xs); }

.bio-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-md);
}

.bio-cards .card:hover { transform: none; }

.bio-press {
  text-align: center;
  margin-top: var(--spacing-xl);
}

.bio-press .eyebrow { justify-content: center; }
.bio-press .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--color-gold); }
.bio-press .featured-list { gap: 0.5rem 2.25rem; }
.bio-press .featured-list a { font-size: 1.2rem; }

.bio-note {
  margin: var(--spacing-md) 0 0;
  font-style: italic;
  color: var(--color-text-light);
}

/* Timeline-style list: institution on the left, role + detail on the right */
.bio-timeline {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.bio-timeline li {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: var(--spacing-lg);
  margin: 0;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--color-border);
}

.bio-place {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.3;
}

.bio-place a { color: var(--color-text); text-decoration: none; }
.bio-place a:hover { color: var(--color-accent); }

.bio-role {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
  padding-top: 0.3rem;
}

.bio-role em { text-transform: none; letter-spacing: 0.04em; }

.bio-timeline p:not(.bio-role) { color: var(--color-text-light); margin: 0; }
.bio-timeline li div > p:only-child { margin: 0; }

.bio-closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  text-align: center;
  padding-top: var(--spacing-lg);
}

.bio-closing p:not(.link-row) {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0;
}

.bio-closing .link-row { margin-top: var(--spacing-xs); }

/* ==========================================================================
   Book Page
   ========================================================================== */

/* Hero inside the dark band: cover + title + buy buttons */
.book-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--spacing-md) var(--gutter) 5.5rem;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: var(--spacing-xl);
  align-items: center;
}

.book-hero-cover img {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  outline: 1px solid rgba(184, 151, 90, 0.5);
  outline-offset: 12px;
}

.book-hero .eyebrow { color: var(--color-lilac); }

.book-hero h1 {
  color: var(--color-band-text);
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: var(--spacing-sm);
}

.book-hero-meta {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-lilac);
  margin-bottom: var(--spacing-md);
}

.book-hero .lead {
  font-size: 1.1rem;
  color: var(--color-band-muted);
  max-width: 560px;
  margin-bottom: var(--spacing-lg);
}

.book-hero-more { margin: var(--spacing-md) 0 0; }

.book-hero-more a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-band-muted);
  text-decoration-color: var(--color-gold);
}

.book-hero-more a:hover { color: var(--color-band-text); }

/* Thin strip under the band with a single accolade */
.accolade {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 1.25rem var(--gutter);
  text-align: center;
}

.accolade p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
}

.accolade span {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--color-text-light);
  white-space: nowrap;
}

/* Press quotes: one large featured quote, then a grid of short ones */
.press { margin-bottom: 5rem; }
.press > .eyebrow { justify-content: center; }
.press > .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--color-gold); }

.press-feature {
  text-align: center;
  max-width: 820px;
  margin: 0 auto var(--spacing-xl);
}

.press-feature blockquote {
  margin: 0 0 var(--spacing-md);
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.3;
}

.press-feature figcaption,
.press-quote figcaption {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.press-feature figcaption a,
.press-quote figcaption a { text-decoration: none; }

.press-feature figcaption em,
.press-quote figcaption em { font-style: normal; }

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}

.press-quote {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  padding: 2rem 1.9rem 1.75rem;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.press-quote::before {
  content: "";
  width: 22px;
  height: 22px;
  background: var(--icon-floret) no-repeat center / contain;
}

.press-quote blockquote {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.55;
}

.press-quote figcaption { margin-top: auto; }

/* About the book */
.book-about {
  max-width: var(--text-width);
  margin: 0 auto 5rem;
}

.book-about-lead {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.4;
  margin-bottom: var(--spacing-md);
}

.book-about p:not(.book-about-lead):not(.eyebrow) { color: var(--color-text-light); }

/* Endorsements (longer quotes from notable readers) */
.praise {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-md);
  margin-bottom: 5rem;
}

.praise .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }

.review-quote {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2.25rem 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.review-quote:first-of-type { grid-column: 1 / -1; }

.review-quote blockquote {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.review-quote:first-of-type blockquote { font-size: 1.2rem; }

.review-quote figcaption {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.review-quote figcaption span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

/* Where to buy: one card per format */
.buy {
  scroll-margin-top: var(--spacing-md);
  margin-bottom: 5rem;
}

.buy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-md);
}

.buy-card {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
}

.buy-card h3 { margin: 0 0 0.25rem; font-size: 1.9rem; }

.buy-note {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
}

.buy-primary {
  display: block;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1rem;
  background: var(--color-accent);
  color: #fff;
  margin-top: auto;
}

.buy-primary:hover { background: var(--color-band); color: #fff; }

.buy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.25rem;
  margin: var(--spacing-sm) 0 0;
  font-family: var(--font-ui);
  font-size: 0.85rem;
}

/* Read the reviews + Listen */
.book-more {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-border);
}

.book-more h2 { margin-top: 0; font-size: 1.9rem; }

.plain-list { list-style: none; padding: 0; }
.book-more .plain-list { columns: 2; column-gap: var(--spacing-lg); }
.book-more div:last-child .plain-list { columns: 1; }

.plain-list li { break-inside: avoid; margin-bottom: 0.4rem; }

.book-more-note {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ==========================================================================
   Essays Page
   The newest essay (first in the list) is shown as a wide featured card.
   ========================================================================== */

.essay-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-md);
}

.essay-list li {
  margin: 0;
  padding: 2rem 2rem 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.essay-list li:first-child {
  grid-column: 1 / -1;
  padding: 2.75rem 3rem;
  margin-top: -7rem;
  box-shadow: 0 20px 50px rgba(42, 33, 48, 0.12);
}

.essay-list li:first-child::before {
  content: "Latest";
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.essay-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--color-text);
  text-decoration: none;
}

.essay-list li:first-child .essay-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }

a.essay-title:hover { color: var(--color-accent); }

.essay-meta {
  margin-top: auto;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* ==========================================================================
   Media Page
   All three sections (Speaking, Podcasts, Film + TV) share one entry format:
   .media-title, .media-meta, optional .media-desc and .media-links
   ========================================================================== */

/* Jump nav under the banner */
.section-nav {
  justify-content: center;
  gap: 0.25rem 2.5rem;
  padding: var(--spacing-sm) 0;
  margin-bottom: var(--spacing-xl);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-nav a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.media-section {
  margin-bottom: var(--spacing-xl);
  scroll-margin-top: var(--spacing-md);
}

.media-section h2 {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.media-section h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.6;
}

.media-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-sm);
}

.media-list li {
  margin: 0;
  padding: 1.5rem 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.media-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  text-decoration: none;
}

span.media-title { color: var(--color-text); }

.media-meta {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.media-desc,
.media-links {
  margin: var(--spacing-xs) 0 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--spacing-lg);
  margin-top: -7rem;
  box-shadow: 0 20px 50px rgba(42, 33, 48, 0.12);
}

.form-group { margin-bottom: var(--spacing-md); }

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  background: var(--color-background);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
}

.form-group textarea { min-height: 160px; resize: vertical; }

/* Honeypot field - hidden from real users */
.hidden { display: none; }

button[type="submit"] {
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 1rem 1.8rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
}

button[type="submit"]:hover { background: var(--color-band); }

.publicity-info {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-border);
}

.publicity-info h2 { margin-top: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background-color: var(--color-band);
  background-image: var(--pattern-floral);
  color: var(--color-band-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 3.5rem var(--gutter) 3rem;
  text-align: center;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-band-text);
  text-decoration: none;
}

.footer-name:hover { color: var(--color-band-text); }

.footer-rule { width: 48px; height: 1px; background: var(--color-gold); }

footer nav { justify-content: center; }

footer nav a,
.footer-meta a {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-band-muted);
  text-decoration: none;
}

footer a:hover { color: var(--color-band-text); }

.footer-meta {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 860px) {
  .header-inner { justify-content: center; text-align: center; }
  nav { justify-content: center; gap: 0.25rem 1.25rem; }

  .home-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 4rem;
  }
  .home-hero .eyebrow { justify-content: center; }
  .home-hero .lead { margin-left: auto; margin-right: auto; }
  .button-row { justify-content: center; }
  .portrait { max-width: 280px; margin: 0 auto; grid-row: 1; }

  .book-feature { grid-template-columns: 1fr; gap: var(--spacing-lg); }
  .book-feature img { max-width: 220px; margin: 0 auto; }

  .book-hero { grid-template-columns: 1fr; gap: var(--spacing-lg); text-align: center; padding-bottom: 4rem; }
  .book-hero-cover img { max-width: 200px; margin: 0 auto; }
  .book-hero .eyebrow { justify-content: center; }
  .book-hero .lead { margin-left: auto; margin-right: auto; }

  .press-grid,
  .buy-grid,
  .book-more { grid-template-columns: 1fr; }
  .book-more { gap: var(--spacing-md); }
  .book-more .plain-list { columns: 1; }

  .highlights,
  .praise,
  .essay-list,
  .media-list { grid-template-columns: 1fr; }

  .essay-list li:first-child { padding: 2rem; }

  .bio-intro-main { grid-template-columns: 1fr; text-align: center; padding: 2rem 1.5rem; }
  .bio-intro-main .eyebrow { justify-content: center; }
  .bio-intro-main .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--color-gold); flex-shrink: 0; }
  .bio-facts div { padding: 1.25rem 1.1rem; }
  .bio-portrait { width: 180px; margin: 0 auto; }
  .bio-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bio-facts div:nth-child(3) { border-left: none; }
  .bio-facts div:nth-child(n+3) { border-top: 1px solid var(--color-border); }
  .bio-book { grid-template-columns: 1fr; }
  .bio-book img { max-width: 180px; margin: 0 auto; }
  .bio-cards { grid-template-columns: 1fr; }
  .bio-timeline li { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* Print styles */
@media print {
  .band, footer, nav { background: none; color: #000; }
  header, footer { display: none; }
  .page-hero h1 { color: #000; }
  main { max-width: none; padding: 0; }
  a { color: var(--color-text); }
  .essay-list li:first-child, .contact-form, .bio-intro { margin-top: 0; box-shadow: none; }
}
