/* INYF media kit styles.
   Colors and fonts match the sales page and the book cover. */

:root {
  --ground: #E8F4F9;   /* pale sky background */
  --sky: #A2DBED;      /* cover blue */
  --navy: #283677;     /* cover navy */
  --deep: #1B2559;     /* darker navy for the booking band */
  --blue: #0051E1;     /* link blue */
  --ink: #2B2D33;      /* body text */
  --muted: #5A6378;
  --line: #C9E9F1;
  --white: #FFFFFF;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

h1, h2, h3 {
  font-family: "Bree Serif", Georgia, serif;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 0.2em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; margin: 1.6em 0 0.4em; }

a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

section { padding: 72px 0; }
.tinted { background: var(--ground); }
.section-intro { color: var(--muted); margin-top: -0.4em; }

.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--deep); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--white); }
.btn-light { background: var(--sky); color: var(--deep); }
.btn-light:hover { background: var(--white); }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 1. Header ---------- */
.hero {
  background: linear-gradient(160deg, var(--ground) 0%, var(--sky) 100%);
  padding: 64px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: center;
}
.role { font-size: 1.3rem; color: var(--navy); margin: 0 0 18px; }
.lede { font-size: 1.15rem; margin: 0 0 28px; }
/* The photo on file is small, so it is shown at its real size and no larger */
.hero-photo img {
  width: 250px;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(27, 37, 89, 0.3);
  margin-left: auto;
}

/* ---------- 3. The book ---------- */
.book-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.book-cover img { border-radius: 4px; box-shadow: 0 18px 36px rgba(27, 37, 89, 0.25); }
.book-title { font-family: "Bree Serif", Georgia, serif; font-size: 1.5rem; color: var(--navy); margin: 0 0 4px; }
.book-sub { color: var(--muted); margin: 0 0 18px; }

table { border-collapse: collapse; width: 100%; margin: 24px 0; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.details th { width: 190px; color: var(--navy); font-weight: 600; }
.appearances thead th { color: var(--navy); border-bottom: 2px solid var(--sky); }

blockquote {
  margin: 28px 0 0;
  background: var(--white);
  border-left: 4px solid var(--sky);
  border-radius: var(--radius);
  padding: 22px 26px;
}
blockquote p { margin: 0 0 10px; }
cite { font-style: normal; font-weight: 600; color: var(--navy); font-size: 0.95rem; }

.contents-head { margin-top: 48px; }
.contents { columns: 2; column-gap: 48px; padding-left: 1.4em; margin: 0; }
.contents li { margin-bottom: 6px; break-inside: avoid; }
.contents .unnumbered { list-style: none; margin-left: -1.4em; }

/* ---------- 5. Topics ---------- */
.topics {
  list-style: none;
  counter-reset: topic;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.topics li {
  counter-increment: topic;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sky);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.topics strong { display: block; color: var(--navy); margin-bottom: 4px; }
.topics strong::before { content: counter(topic) ". "; }

/* ---------- 6 & 7. Questions and talking points ---------- */
.questions li, .points li { margin-bottom: 10px; }
.points { padding-left: 1.2em; }
.source { display: block; color: var(--muted); font-size: 0.95rem; }

/* ---------- 9. Booking ---------- */
.booking { background: var(--deep); color: #E6ECF7; }
.booking h2 { color: var(--white); }
.booking .btn { margin: 8px 0 20px; font-size: 1.1rem; }
.availability { color: var(--sky); }

/* ---------- 10. Downloads ---------- */
.downloads { list-style: none; padding: 0; }
.downloads li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.downloads a { font-weight: 600; }

footer { background: var(--navy); color: #DDE5F5; padding: 28px 0; text-align: center; font-size: 0.95rem; }
footer p { margin: 0; }
footer a { color: var(--white); }

/* ---------- Draft notes ----------
   Yellow boxes that flag things to confirm. Delete them from index.html before launch. */
.draft-note {
  background: #FFF6C9;
  color: #5C4A00;
  border: 1px dashed #C9A800;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.9rem;
  margin-top: 16px;
  text-align: left;
}

/* ---------- Phones and small tablets ---------- */
@media (max-width: 800px) {
  section { padding: 52px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { order: -1; }
  .hero-photo img { width: 180px; margin: 0; }
  .book-grid { grid-template-columns: 1fr; gap: 28px; }
  .book-cover img { max-width: 220px; }
  .contents { columns: 1; }
  .details th { width: 130px; }
}
