:root {
  --ink: #14120f;
  --paper: #faf8f4;
  --accent: #a3271e;
  --muted: #5c574e;
  --border: #e4dfd4;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  margin: 0 0 16px;
}

a { color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  position: relative;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 500;
}

.header-nav a {
  text-decoration: none;
  color: var(--muted);
}

.header-nav a:hover { color: var(--ink); }

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 8px 16px;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 879px) {
  .nav-toggle { display: flex; }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px -12px rgba(20, 18, 15, 0.2);
    display: none;
  }

  .header-nav.is-open { display: flex; }

  .header-nav a {
    padding: 14px 24px;
    border-top: 1px solid var(--border);
  }

  .nav-cta {
    border-radius: 0;
    background: transparent;
    color: var(--ink) !important;
  }
}

/* Hero */
.hero {
  padding: 32px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 28px;
}

.hero-copy { text-align: center; order: 2; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 56px);
  line-height: 0.98;
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}

.hero-sub {
  display: block;
  font-size: clamp(17px, 2.6vw, 21px);
  font-weight: 600;
  margin-top: 10px;
  color: var(--muted);
}

.hero-body {
  max-width: 440px;
  margin: 18px auto 24px;
  font-size: 16px;
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

.hero-cover {
  display: flex;
  justify-content: center;
  order: 1;
}

.hero-cover img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  border-radius: 3px 7px 7px 3px;
  box-shadow:
    -8px 0 0 -5px rgba(255, 255, 255, 0.55),
    0 18px 34px -12px rgba(20, 18, 15, 0.4),
    0 8px 16px -6px rgba(20, 18, 15, 0.3);
}

@media (min-width: 880px) {
  .hero {
    padding: 40px 0;
    min-height: 76vh;
    display: flex;
    align-items: center;
    text-align: left;
  }

  .hero-inner {
    grid-template-columns: 1.6fr 1fr;
    gap: 56px;
    width: 100%;
  }

  .hero-copy { text-align: left; order: 1; }

  .hero-body { margin: 18px 0 28px; }

  .hero-ctas { justify-content: flex-start; }

  .hero-cover { order: 2; justify-content: flex-start; }

  .hero-cover img { max-width: 340px; }
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: #86201a; }

.btn-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-secondary:hover { background: var(--ink); color: var(--paper); }

/* Explores */
.explores {
  padding: 56px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.explores h2, .updates h2, .author h2, .social h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  text-align: center;
}

.section-lede {
  max-width: 560px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}

.topic h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.topic p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.explores-note {
  margin: 32px auto 0;
  max-width: 560px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

@media (min-width: 640px) {
  .topic-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (min-width: 880px) {
  .topic-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Updates / email capture */
.updates {
  padding: 56px 0;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
}

.updates h2 { color: var(--paper); margin-bottom: 8px; }

.updates .section-lede { color: #cfc9bb; margin-bottom: 28px; }

.updates-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid #33302a;
  border-radius: 16px;
  background: #1a1712;
}

.updates-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.updates-form[hidden] { display: none; }

.hidden-field { display: none; }

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #cfc9bb;
}

.optional { font-weight: 400; color: #9a947f; }

.form-row input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #3a362e;
  background: #201d18;
  color: var(--paper);
  font-size: 15px;
  font-family: var(--sans);
}

.form-row input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.updates-form .btn-primary {
  margin-top: 4px;
  width: 100%;
  text-align: center;
}

.updates-success {
  margin: 16px 0 0;
  font-weight: 600;
}

.updates-error {
  margin: 14px 0 0;
  font-weight: 600;
  color: #b3261e;
}

.cf-turnstile {
  margin: 8px 0 4px;
}

.updates-privacy {
  margin-top: 18px;
  font-size: 12px;
  color: #9a947f;
}

/* Author */
.author {
  padding: 56px 0;
  background: #fff;
}

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

.author p { color: var(--muted); font-size: 16px; }

.author-photo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 24px;
}

.author-photo img {
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

@media (min-width: 720px) {
  .author-inner:has(.author-photo) {
    max-width: 760px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
  }

  .author-photo { justify-content: flex-start; margin-bottom: 0; }
  .author-photo img { max-width: 100%; }
}

/* Speaker CTA (homepage) */
.speaker-cta {
  padding: 56px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.speaker-cta-inner { max-width: 640px; margin: 0 auto; text-align: center; }

.speaker-cta h2 { font-size: clamp(26px, 3.4vw, 34px); }

.speaker-cta-body {
  color: var(--muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 28px;
}

.speaker-cta .hero-ctas { justify-content: center; }

/* Social */
.social {
  padding: 64px 0 80px;
  text-align: center;
  background: var(--paper);
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.social-links a {
  text-decoration: none;
  font-weight: 600;
  padding: 10px 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.social-links a:hover { background: var(--ink); color: var(--paper); }

.social-note {
  font-size: 13px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 28px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* Speaker hero (book-kevin page) */
.speaker-hero {
  padding: 32px 0 48px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.speaker-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 28px;
}

.speaker-copy { text-align: center; }

.speaker-copy h1 {
  font-size: clamp(30px, 5.5vw, 42px);
  line-height: 1.05;
  margin: 8px 0 16px;
  letter-spacing: 0.01em;
}

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

.speaker-visual img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 18px 34px -14px rgba(20, 18, 15, 0.35);
}

.speaker-book-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.speaker-book-chip img {
  width: 44px;
  height: auto;
  border-radius: 2px 4px 4px 2px;
  box-shadow: 0 6px 14px -6px rgba(20, 18, 15, 0.35);
  flex-shrink: 0;
}

.speaker-book-chip span {
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 880px) {
  .speaker-hero { text-align: left; padding: 48px 0 64px; }
  .speaker-hero-inner { grid-template-columns: 1fr 1.6fr; gap: 56px; }
  .speaker-copy { text-align: left; }
  .speaker-visual { justify-content: flex-start; }
  .speaker-visual img { max-width: 320px; }
  .speaker-book-chip { justify-content: flex-start; }
}

/* Appearance types */
.appearance-types {
  padding: 48px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.appearance-types h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin-bottom: 24px;
}

.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pill-list li {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper);
}

/* Booking inquiry */
.inquiry {
  padding: 56px 0 72px;
  background: var(--paper);
}

.inquiry h2 { text-align: center; }

.inquiry-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inquiry-form[hidden] { display: none; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

.inquiry-form .form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.inquiry-form .form-row input,
.inquiry-form .form-row select,
.inquiry-form .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-family: var(--sans);
}

.inquiry-form textarea { resize: vertical; }

.inquiry-form input[type="checkbox"] {
  all: revert;
  margin-top: 3px;
  flex-shrink: 0;
}

.form-row-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.inquiry-success p { margin: 0 0 12px; }
.inquiry-success p:last-child { margin-bottom: 0; }

.inquiry-error {
  margin-top: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* 404 */
.notfound {
  padding: 96px 0 88px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.notfound h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin: 0 0 20px;
}

.notfound-body {
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 18px;
  color: var(--muted);
}

.notfound-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
