/* ============================================================
   Chris LaCour — Speaker Site
   Executive dark theme · navy + gold
   ============================================================ */

:root {
  --bg: #0a111e;
  --bg-2: #0d1728;
  --panel: #111d33;
  --panel-2: #14213a;
  --line: rgba(212, 168, 83, 0.22);
  --line-soft: rgba(233, 237, 245, 0.08);
  --gold: #d4a853;
  --gold-bright: #f0c775;
  --gold-dim: rgba(212, 168, 83, 0.55);
  --text: #e9edf5;
  --muted: #adb9cd;
  --muted-2: #8b99b1;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(2, 6, 16, 0.5);
  --maxw: 1140px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(212, 168, 83, 0.07), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(38, 68, 120, 0.25), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: rgba(212, 168, 83, 0.35); color: #fff; }

a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: var(--gold); }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #10131b;
  padding: 10px 18px;
  font-weight: 600;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Type helpers ---------- */

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.accent {
  color: var(--gold-bright);
  font-style: italic;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-solid {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #171207;
  box-shadow: 0 8px 24px rgba(212, 168, 83, 0.25);
}
.btn-solid:hover {
  color: #171207;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 168, 83, 0.38);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(233, 237, 245, 0.03);
}
.btn-ghost:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 20px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 17, 30, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px rgba(2, 6, 16, 0.35);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #171207;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(212, 168, 83, 0.3);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a.active { color: var(--gold-bright); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero {
  position: relative;
  padding: 170px 24px 90px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 420px at 78% 22%, rgba(212, 168, 83, 0.12), transparent 65%),
    repeating-linear-gradient(90deg, rgba(233, 237, 245, 0.025) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(233, 237, 245, 0.025) 0 1px, transparent 1px 90px);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
}

.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.9rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 18px;
}
.lede strong { color: var(--text); font-weight: 600; }

.credentials {
  font-size: 0.88rem;
  color: var(--muted-2);
  letter-spacing: 0.02em;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.85rem;
  color: var(--muted);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* Portrait */

.hero-portrait { text-align: center; }

.portrait-frame {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
  border-radius: 22px;
  padding: 10px;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    linear-gradient(160deg, rgba(240, 199, 117, 0.7), rgba(212, 168, 83, 0.15) 45%, rgba(233, 237, 245, 0.08)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
}

.portrait-frame img {
  border-radius: 14px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.portrait-caption {
  margin-top: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--muted);
}

/* Stats band */

.stats-band {
  position: relative;
  max-width: var(--maxw);
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: rgba(17, 29, 51, 0.55);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1;
}
.stat-plus { font-size: 0.6em; vertical-align: 0.35em; }

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

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

.section { padding: 100px 24px; }
.section-alt {
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(38, 68, 120, 0.18), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* About */

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

.about-copy p { color: var(--muted); margin-bottom: 18px; font-size: 1.02rem; }
.about-copy p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.2em;
  float: left;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--gold-bright);
}

.about-facts {
  background: rgba(17, 29, 51, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
}

.about-facts h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--gold-bright);
}

.about-facts ul { list-style: none; display: grid; gap: 14px; }
.about-facts li {
  font-size: 0.93rem;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
}
.about-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
  opacity: 0.8;
}
.about-facts strong { color: var(--text); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.chip {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
}

/* Talks */

.section-note {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 40em;
  margin: -6px 0 8px;
}
.section-note strong { color: var(--gold-bright); font-weight: 600; }

.talks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.talk-card {
  background: rgba(17, 29, 51, 0.5);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.talk-card:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.talk-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid var(--line);
}

.talk-icon svg { width: 24px; height: 24px; }

.talk-card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.3;
}

.talk-card p { font-size: 0.93rem; color: var(--muted); flex: 1; }

.talk-card-cta {
  background:
    radial-gradient(400px 200px at 80% 0%, rgba(212, 168, 83, 0.12), transparent 70%),
    rgba(20, 33, 58, 0.65);
  border: 1px solid var(--line);
  justify-content: center;
}

/* Events */

.event-featured {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(212, 168, 83, 0.12), transparent 70%),
    rgba(17, 29, 51, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 34px;
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

.event-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #171207;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 0 0 0 12px;
}

.event-date {
  text-align: center;
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.event-month {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.event-day {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
}

.event-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.event-meta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.event-body p:not(.event-meta) { color: var(--muted); font-size: 0.96rem; }

.events-subhead {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin: 56px 0 22px;
}

.events-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}

.events-list li {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 14px 18px;
  background: rgba(17, 29, 51, 0.4);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}
.events-list strong { color: var(--text); font-weight: 600; }

/* With 5 items in a 2-col grid, let the last item span the full row */
@media (min-width: 721px) {
  .events-list li:last-child { grid-column: 1 / -1; }
}

/* Contact */

.contact-panel {
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(212, 168, 83, 0.13), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 80px 32px;
  box-shadow: var(--shadow);
}

.contact .eyebrow,
.contact .section-title { margin-left: auto; margin-right: auto; }

.contact-lede {
  color: var(--muted);
  max-width: 38em;
  margin: 0 auto 38px;
  font-size: 1.05rem;
}

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.contact-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.contact-linkedin:hover { color: var(--gold-bright); border-color: var(--line); }

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

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 40px 24px;
  background: rgba(8, 13, 24, 0.6);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold-bright); }

.footer-copy { font-size: 0.82rem; color: var(--muted); }
.footer-copy a { color: var(--muted); }
.footer-copy a:hover { color: var(--gold-bright); }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* Delay siblings slightly */
.talks-grid .reveal:nth-child(2), .about-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.talks-grid .reveal:nth-child(3), .stats-band.reveal { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .talk-card, .nav { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .portrait-frame { max-width: 300px; }
  .talks-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-band { grid-template-columns: 1fr; }
  .events-list { grid-template-columns: 1fr; }
}

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

  .nav-links {
    position: fixed;
    inset: 0;
    top: 71px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(10, 17, 30, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    border-top: 1px solid var(--line-soft);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .nav-links.open {
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .nav-links a:not(.btn) {
    padding: 14px 12px;
    font-size: 1.05rem;
    border-radius: 8px;
  }
  .nav-links .btn { margin-top: 14px; justify-content: center; }

  .hero { padding-top: 130px; }
  .portrait-frame { max-width: 240px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .talks-grid { grid-template-columns: 1fr; }
  .event-featured { grid-template-columns: auto 1fr; }
  .event-featured .event-date { display: none; }
  .contact-panel { padding: 56px 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
