/* ============================================================
   RESET & CUSTOM PROPERTIES
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0d0d0d;
  --bg-soft:   #141414;
  --bg-card:   #1a1a1a;
  --bg-card2:  #1f1f1f;
  --text:      #f0ede8;
  --text-muted:#9a9590;
  --gold:      #c9a96e;
  --gold-light:#dfc090;
  --gold-dim:  rgba(201,169,110,0.15);
  --border:    rgba(255,255,255,0.08);
  --nav-h:     72px;
  --max-w:     1140px;
  --radius:    6px;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }

/* ============================================================
   UTILITY
============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gold);
  color: #0d0d0d;
}
.btn-primary:hover {
  background: var(--gold-light);
  color: #0d0d0d;
  box-shadow: 0 4px 24px rgba(201,169,110,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-ghost:hover {
  background: var(--gold-dim);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-sm { padding: 10px 22px; font-size: 0.8rem; }
.btn-full { width: 100%; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

h1 { font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }

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

p { color: var(--text-muted); }
p + p { margin-top: 1rem; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-subhead { font-size: 1.05rem; }

/* ============================================================
   NAV
============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
#nav.scrolled {
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-logo:hover { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--gold) !important;
  color: #0d0d0d !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: #0d0d0d !important;
}

.nav-toggle { display: none; }

/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.03);
}
/* Fallback gradient when no image */
.hero-bg:not([style*="url"]),
.hero-bg[style*="img/hero-bg.jpg"] {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 70% 40%, rgba(201,169,110,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(201,169,110,0.04) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13,13,13,0.92) 0%,
    rgba(13,13,13,0.7) 50%,
    rgba(13,13,13,0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

#hero h1 {
  margin-bottom: 1.5rem;
  color: #fff;
}
#hero h1 em {
  display: block;
  color: var(--gold);
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(240,237,232,0.8);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-tagline a { color: var(--gold-light); }
.hero-tagline strong { color: var(--text); font-weight: 600; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ============================================================
   PROOF BAR
============================================================ */
#proof-bar {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.proof-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 3rem;
  text-align: center;
}
.proof-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.proof-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}
.proof-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   ABOUT
============================================================ */
#about {
  padding: 8rem 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.about-image-wrap {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.about-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.about-image-placeholder,
.speaking-image-placeholder,
.book-cover-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  /* Hide placeholder once a real image loads */
  background: var(--bg-card);
}
.about-image-placeholder small,
.speaking-image-placeholder small,
.book-cover-placeholder small {
  font-size: 0.7rem;
  color: rgba(154,149,144,0.6);
  font-family: monospace;
}

/* Hide placeholder if background-image is set (image found) */
.about-image[style*="url('img/headshot.jpg')"] .about-image-placeholder,
.speaking-image[style*="url('img/speaking.jpg')"] .speaking-image-placeholder {
  display: none;
}

.about-badge {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
}
.about-badge span { color: var(--text-muted); }
.about-badge strong { color: var(--text); font-weight: 600; }

.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy p { margin-bottom: 1rem; line-height: 1.8; }
.about-copy a { color: var(--gold); }
.about-copy a:hover { color: var(--gold-light); }
.about-copy em { font-style: italic; color: var(--gold); }
.about-copy strong { color: var(--text); font-weight: 600; }
.about-copy .btn { margin-top: 1.5rem; }

/* ============================================================
   SPEAKING
============================================================ */
#speaking {
  padding: 8rem 0;
  background: var(--bg-soft);
}

.award-callout {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--gold-dim);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  max-width: 380px;
  margin: 0 auto 3.5rem;
}
.award-text strong {
  display: block;
  color: var(--gold);
  font-size: 1.05rem;
  font-family: var(--font-serif);
  font-weight: 700;
}
.award-text span { font-size: 0.8rem; color: var(--text-muted); }

.speaking-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color .2s, transform .2s;
}
.topic-card:hover {
  border-color: rgba(201,169,110,0.3);
  transform: translateY(-2px);
}
.topic-card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.topic-card p { font-size: 0.9rem; }
.topic-card strong { color: var(--text); font-weight: 600; }

.speaking-conferences {
  text-align: center;
  margin-bottom: 3rem;
}
.conferences-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.conferences-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.speaking-image-wrap {
  margin-bottom: 4rem;
}
.speaking-image {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-color: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.speaking-cta-block {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}
.speaking-cta-block h3 { margin-bottom: 1rem; }
.speaking-cta-block p { margin-bottom: 2rem; font-size: 0.95rem; }

/* ============================================================
   BOOKS
============================================================ */
#books {
  padding: 8rem 0;
  background: var(--bg);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.book-card {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  transition: transform .2s;
}
.book-card:hover { transform: translateY(-4px); }

.book-cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-card2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.book-cover-placeholder {
  background: var(--bg-card2);
  border: 1px solid var(--border);
}

.book-info { padding: 0 0.25rem; }
.book-year {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.book-info h3 { margin-bottom: 0.75rem; }
.book-info p { font-size: 0.9rem; margin-bottom: 1.25rem; }

/* ============================================================
   WORK WITH ME
============================================================ */
#work-with-me {
  padding: 8rem 0;
  background: var(--bg-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color .25s, transform .2s, box-shadow .2s;
}
.service-card:hover {
  border-color: rgba(201,169,110,0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.service-card--featured {
  border-color: rgba(201,169,110,0.4);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201,169,110,0.05) 100%);
}
.service-card h3 { font-size: 1.2rem; }
.service-card p { font-size: 0.9rem; flex: 1; }
.service-icon { margin-bottom: 0.25rem; }

/* ============================================================
   CONTACT
============================================================ */
#contact {
  padding: 8rem 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-copy h2 { margin-bottom: 1rem; }
.contact-copy > p { margin-bottom: 2rem; font-size: 1.05rem; }

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.contact-details a { color: var(--text-muted); }
.contact-details a:hover { color: var(--gold); }
.contact-icon { font-size: 1rem; }

.contact-socials {
  display: flex;
  gap: 1rem;
}
.contact-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: border-color .2s, color .2s, background .2s;
}
.contact-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* ============================================================
   CONTACT FORM
============================================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(154,149,144,0.5); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(201,169,110,0.5);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.08);
}
.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.85rem;
  min-height: 1.4em;
  text-align: center;
}
.form-note.success { color: #6fcf97; }
.form-note.error { color: #eb5757; }

/* ============================================================
   FOOTER
============================================================ */
#footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.4rem; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}
.footer-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(154,149,144,0.5);
}

/* ============================================================
   MOBILE NAV TOGGLE
============================================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  /* Nav */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: rgba(13,13,13,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }

  /* Hero */
  .hero-overlay {
    background: linear-gradient(to bottom,
      rgba(13,13,13,0.7) 0%,
      rgba(13,13,13,0.85) 100%);
  }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { position: static; }
  .about-image { aspect-ratio: 4 / 3; max-height: 360px; }

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

  /* Proof bar */
  .proof-item { padding: 0.75rem 1.5rem; }
  .proof-divider { display: none; }
}

@media (max-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .proof-grid { flex-direction: column; }
  .books-grid { grid-template-columns: 1fr; max-width: 320px; }
  .services-grid { grid-template-columns: 1fr; }
  .speaking-topics { grid-template-columns: 1fr; }
  #about, #speaking, #books, #work-with-me, #contact { padding: 5rem 0; }
}
