/* =========================================================
   Before the Crisis — site styles
   Palette:
     --navy       #101f36  hero + dark sections
     --navy-2     #1c3557  deeper navy for H2 on light sections
     --warm       #f7f4ee  warm off-white for light sections
     --sand       #efe9dd  warmer card bg
     --sage       #6b8f72  sage accent
     --sage-dark  #567058
     --ink        #1e2832  body text
     --muted      #6a7684
   ========================================================= */

:root {
  --navy: #101f36;
  --navy-2: #1c3557;
  --warm: #f7f4ee;
  --sand: #efe9dd;
  --sage: #6b8f72;
  --sage-dark: #567058;
  --ink: #1e2832;
  --muted: #6a7684;
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --maxw: 1160px;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--warm);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--sage-dark); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--navy-2); text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy-2);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 0.4em;
}
h1 em { font-style: italic; color: #d9c896; }

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 0.6em;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-top: 1.8em;
}

h4 { font-size: 1.1rem; letter-spacing: 0.02em; }

.eyebrow, .section-eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sage-dark);
  margin: 0 0 1.2em;
}
.section-eyebrow.light, .eyebrow.light { color: #d9c896; }

.light, .light-heading { color: #fff; }
.light-heading { color: #fff; }
p.light { color: rgba(255,255,255,0.85); }

.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

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

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none;
  line-height: 1.2;
}
.btn-sm { padding: 0.55em 1em; font-size: 0.9rem; }

.btn-primary {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}
.btn-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: #fff;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

/* ---------- Navbar ---------- */

#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 31, 54, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.wordmark:hover { color: #d9c896; text-decoration: none; }
.wordmark-italic { font-style: italic; font-weight: 400; color: #d9c896; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links a.active { color: #d9c896; }
.nav-links a.btn { color: #fff; }
.nav-links a.btn:hover { color: #fff; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 8px 24px 20px;
}
.mobile-menu a {
  color: rgba(255,255,255,0.9);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 1.05rem;
  font-weight: 500;
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu.open { display: flex; }

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

.hero {
  background: linear-gradient(170deg, #0b1628 0%, var(--navy) 55%, #142a49 100%);
  color: #fff;
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(107,143,114,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-copy { max-width: 620px; }
.hero-lede {
  font-size: 1.14rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin: 1.2em 0 1em;
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 2em;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
}
.hero-photo img { width: 100%; display: block; }
.hero-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(16,31,54,0.92);
  color: #fff;
  padding: 14px 18px;
  border-radius: 6px;
  border-left: 3px solid var(--sage);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  backdrop-filter: blur(4px);
}
.hero-badge-num {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: #d9c896;
  line-height: 1;
}
.hero-badge-label {
  font-size: 0.72rem;
  line-height: 1.25;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
}

.scroll-hint {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 48px;
}

/* ---------- Rail / stats ---------- */

.rail {
  background: var(--sand);
  padding: 72px 0;
  border-top: 1px solid rgba(0,0,0,0.04);
}
.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.45;
  color: var(--navy-2);
  max-width: 860px;
  margin: 0 auto 2.2em;
  text-align: center;
  padding: 0 12px;
}
.pullquote cite {
  display: block;
  margin-top: 1em;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 40px 0 0;
}
.stat { padding: 0 8px; border-left: 2px solid var(--sage); padding-left: 18px; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy-2);
  line-height: 1;
  margin-bottom: 0.45em;
}
.stat-label {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink);
}

.rail-footnote {
  margin: 32px auto 0;
  max-width: 860px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}
.rail-footnote sup { margin-right: 2px; }

/* ---------- Sections ---------- */

.light-section { background: var(--warm); padding: 88px 0; }
.dark-section {
  background: linear-gradient(180deg, var(--navy) 0%, #0e1b2e 100%);
  color: rgba(255,255,255,0.88);
  padding: 88px 0;
}
.warm-section { background: var(--sand); padding: 88px 0; }

.dark-section h2, .dark-section h3, .dark-section h4 { color: #fff; }
.dark-section a { color: #d9c896; }
.dark-section a:hover { color: #fff; }

.section-lede {
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 0 2.4em;
  color: var(--ink);
}
.section-lede.light { color: rgba(255,255,255,0.82); }

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

.about-grid { max-width: 780px; margin: 0 auto; }
.about-copy h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-top: 2.4em;
  margin-bottom: 0.8em;
}
.about-copy p { margin: 0 0 1.1em; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 0.5em 0 1.5em;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 0.65em;
  line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
}
.disclosure {
  margin-top: 2em;
  padding: 14px 18px;
  background: rgba(107,143,114,0.08);
  border-left: 3px solid var(--sage);
  font-size: 0.92rem;
  color: var(--ink);
  border-radius: 3px;
}

/* ---------- Talks ---------- */

.talks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 32px 0 48px;
}
.talk-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 28px 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.talk-card:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
}
.talk-icon {
  color: var(--sage);
  font-size: 1rem;
  margin-bottom: 12px;
}
.talk-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 0 0 4px;
}
.talk-kind {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d9c896;
  margin: 0 0 14px;
}
.talk-card p {
  color: rgba(255,255,255,0.82);
  font-size: 0.97rem;
  line-height: 1.6;
  margin: 0 0 12px;
}
.talk-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  margin-top: 14px !important;
}

.speaking-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 32px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.speaking-meta-grid h4 {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d9c896;
  margin-bottom: 0.8em;
}
.speaking-meta-grid p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.cta-center { text-align: center; margin-top: 48px; }

/* ---------- Media ---------- */

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 24px;
}
.media-block h3 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.9em;
}
.clean-list { list-style: none; padding: 0; margin: 0; }
.clean-list li { margin-bottom: 0.7em; line-height: 1.55; }

/* ---------- Voices ---------- */

.voices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 720px;
  margin: 36px auto 48px;
}
.voice-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-left: 3px solid var(--sage);
  padding: 22px 24px;
  border-radius: 4px;
}
.voice-empty { background: rgba(255,255,255,0.5); border-style: dashed; border-left-style: solid; }
.voice-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 0.6em;
}
.voice-attr {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 600;
  margin: 0;
}

.share-story {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 36px 32px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.08);
}
.share-story h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-top: 0;
  color: var(--navy-2);
}
.share-intro { color: var(--muted); margin-bottom: 0.9em; }
.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6em;
}
.privacy-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 0.55em;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--muted);
}
.privacy-list li::before {
  content: "·";
  position: absolute;
  left: 8px;
  top: 0;
  color: var(--sage);
  font-weight: 700;
  font-size: 1.3em;
}

/* ---------- Forms ---------- */

.bt-form { margin-top: 12px; }
.bt-form .field { margin-bottom: 18px; }
.bt-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.bt-form .field-row .field { margin-bottom: 0; }
.bt-form label, .bt-form legend {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.bt-form .req { font-weight: 400; color: var(--sage-dark); font-size: 0.78rem; }
.bt-form input[type="text"],
.bt-form input[type="email"],
.bt-form textarea,
.bt-form select {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d4d0c6;
  border-radius: 4px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.bt-form input:focus,
.bt-form textarea:focus,
.bt-form select:focus {
  outline: 0;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(107,143,114,0.15);
}
.bt-form textarea { resize: vertical; min-height: 120px; }
.bt-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.bt-form .radio {
  display: block;
  font-weight: 400;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: var(--ink);
}
.bt-form .radio input { margin-right: 8px; }
.bt-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--warm);
  padding: 14px 16px;
  border-radius: 4px;
  border: 1px solid #e3ddd0;
  margin: 8px 0 20px;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}
.bt-form .consent input {
  margin-top: 3px;
  flex-shrink: 0;
}
.bt-form button[type="submit"] { margin-top: 6px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-note { margin-top: 12px; font-size: 0.88rem; color: var(--muted); }
.form-thanks {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(107,143,114,0.12);
  border-left: 3px solid var(--sage);
  border-radius: 3px;
  font-size: 0.95rem;
  color: var(--ink);
}

/* Dark form */
.bt-form-dark label, .bt-form-dark legend { color: rgba(255,255,255,0.9); }
.bt-form-dark input[type="text"],
.bt-form-dark input[type="email"],
.bt-form-dark textarea,
.bt-form-dark select {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.bt-form-dark input::placeholder, .bt-form-dark textarea::placeholder { color: rgba(255,255,255,0.4); }
.bt-form-dark input:focus,
.bt-form-dark textarea:focus,
.bt-form-dark select:focus {
  border-color: var(--sage);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(107,143,114,0.25);
}
.bt-form-dark .muted { color: rgba(255,255,255,0.5); }
.bt-form-dark .form-thanks { background: rgba(107,143,114,0.22); color: #fff; }

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

.site-footer {
  background: #0a1422;
  color: rgba(255,255,255,0.7);
  padding: 52px 0 28px;
}
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: #d9c896; text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  color: #d9c896;
  font-size: 0.95rem;
  margin: 0;
}
.footer-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: #d9c896;
  margin: 0 0 12px;
}
.footer-legal { padding-top: 20px; }
.footer-legal p { margin: 6px 0; color: rgba(255,255,255,0.5); }

/* ---------- Mobile ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo-wrap { order: -1; }
  .hero-photo { max-width: 320px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .talks-grid { grid-template-columns: 1fr; }
  .speaking-meta-grid { grid-template-columns: 1fr; gap: 28px; }
  .media-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }

  .nav-links { display: none; }
  .menu-toggle { display: block; }

  .hero { padding: 56px 0 52px; }
  .hero-copy { text-align: left; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }
  .hero-lede { font-size: 1.05rem; }
  .hero-badge { bottom: 12px; left: 12px; padding: 10px 14px; }
  .hero-badge-num { font-size: 1.7rem; }
  .hero-badge-label { font-size: 0.68rem; }

  .rail { padding: 56px 0; }
  .pullquote { font-size: 1.25rem; }

  .light-section, .dark-section, .warm-section { padding: 64px 0; }

  .bt-form .field-row { grid-template-columns: 1fr; gap: 0; }
  .bt-form .field-row .field { margin-bottom: 18px; }
  .share-story { padding: 26px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }
  .wordmark { font-size: 1.1rem; }
  .stats { grid-template-columns: 1fr; }
  .hero-photo { max-width: 280px; }
  .scroll-hint { display: none; }
  .share-story { padding: 22px 16px; }
  .disclosure { font-size: 0.88rem; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
