/* ==========================================================================
   Falkor Midwest — speaker site
   Palette sampled directly from the logo:
     navy  #002245   teal #0094A1   gold #E5B057   steel #CED5DB
   ========================================================================== */

:root {
  --navy-900: #04101f;
  --navy-800: #071a2e;
  --navy-700: #002245;
  --navy-600: #0a2e52;
  --navy-500: #114069;

  --teal:      #35c6d4;
  --teal-deep: #0094a1;
  --gold:      #e5b057;
  --gold-soft: #f0cd91;
  --steel:     #ced5db;

  --text:       #e9f1f7;
  --text-muted: #9db1c4;
  --text-dim:   #7690a8;

  --line: rgba(53, 198, 212, 0.16);
  --line-soft: rgba(206, 213, 219, 0.10);

  --font-display: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1120px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .6em; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout helpers ---------- */
.wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); }
.section-alt::before,
.section-band::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 .9rem; display: flex; align-items: center; gap: .7rem;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-title { font-size: clamp(1.75rem, 4.2vw, 2.6rem); margin-bottom: .45em; }
.lede { font-size: 1.1rem; color: var(--text-muted); max-width: 62ch; }

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--navy-900); padding: .75rem 1.2rem;
  font-weight: 700; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(4, 16, 31, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 1.5rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: .95rem; letter-spacing: .02em; }
.brand-handle { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.nav-links { display: flex; gap: 1.6rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: .87rem; font-weight: 600; color: var(--text-muted);
  letter-spacing: .01em; padding: .35rem 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--text); border-bottom-color: var(--teal); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  color: var(--text); border-radius: 8px; padding: .5rem .7rem; cursor: pointer;
  font-family: var(--font-mono); font-size: .8rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-soft); color: var(--navy-900); }
.btn-ghost { border-color: var(--teal-deep); color: var(--teal); background: rgba(53,198,212,.06); }
.btn-ghost:hover { border-color: var(--teal); color: var(--text); background: rgba(53,198,212,.14); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(closest-side at 72% 34%, rgba(0,148,161,.20), transparent 70%),
    radial-gradient(closest-side at 18% 78%, rgba(229,176,87,.10), transparent 70%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-emblem { justify-self: center; max-width: 380px; filter: drop-shadow(0 20px 45px rgba(0,148,161,.28)); }
.name-block { margin-bottom: 1.2rem; }
.name-primary {
  font-size: clamp(2.4rem, 6.4vw, 4rem); margin: 0 0 .1em;
  background: linear-gradient(100deg, #ffffff 20%, var(--steel) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.name-divider { display: flex; align-items: center; gap: .9rem; margin: .5rem 0 .6rem; }
.name-divider span { flex: 1; height: 1px; background: var(--line); }
.name-divider em {
  font-style: normal; font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-dim);
}
.name-handle {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 4.4vw, 2.5rem); color: var(--teal); letter-spacing: .01em; margin: 0;
}
.hero-role {
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin: 1.1rem 0 1rem;
}
.hero-pitch { font-size: 1.14rem; color: var(--text-muted); max-width: 54ch; }

/* ---------- marquee / credibility strip ---------- */
.creds { border-block: 1px solid var(--line-soft); background: rgba(0,34,69,.35); padding: 1.5rem 0; }
.creds-label {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-dim); text-align: center; margin-bottom: 1rem;
}
.creds-list {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: .7rem 2.2rem;
}
.creds-list li {
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--steel); opacity: .8; margin: 0;
}

/* ---------- cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
/* pairs — keeps a set of four as a tidy 2x2 instead of 3 + 1 orphan */
.grid-pairs { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
@media (max-width: 520px) { .grid-pairs { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(160deg, rgba(10,46,82,.75), rgba(0,34,69,.45));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  position: relative;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-3px); }
.card h3 { font-size: 1.16rem; margin-bottom: .5rem; }
.card p { color: var(--text-muted); font-size: .96rem; margin-bottom: 0; }
.card-num {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em;
  color: var(--teal-deep); display: block; margin-bottom: .8rem;
}
.card-meta {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-top: 1rem;
}

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.headshot {
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--navy-700); aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
  box-shadow: var(--shadow);
}
.headshot-placeholder {
  display: grid; place-content: center; text-align: center; gap: .5rem;
  color: var(--text-dim); font-family: var(--font-mono); font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; padding: 2rem;
}
.facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .75rem; }
.facts li { display: flex; gap: .8rem; align-items: baseline; margin: 0; }
.facts b {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal); min-width: 108px; flex-shrink: 0;
}

/* ---------- talks list ---------- */
.talks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-soft); }
.talks li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.talk {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 1.4rem; align-items: baseline;
  padding: 1.35rem .4rem; transition: background .2s ease;
}
.talks li:hover .talk { background: rgba(53,198,212,.05); }
.talk-date { font-family: var(--font-mono); font-size: .78rem; color: var(--gold); letter-spacing: .06em; }
.talk-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 0 0 .2rem; }
.talk-venue { font-size: .9rem; color: var(--text-muted); margin: 0; }
.talk-tag {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); border: 1px solid var(--line); border-radius: 999px; padding: .28rem .7rem; white-space: nowrap;
}

/* ---------- media / press ---------- */
.media-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.media-thumb {
  aspect-ratio: 16 / 9; background: var(--navy-700);
  display: grid; place-content: center; gap: .4rem; text-align: center;
  border-bottom: 1px solid var(--line-soft); color: var(--text-dim);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 1rem;
}
.media-thumb svg { width: 44px; height: 44px; margin-inline: auto; opacity: .55; }
.media-body { padding: 1.3rem 1.4rem 1.5rem; }
.media-body h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.media-body p { font-size: .92rem; color: var(--text-muted); margin-bottom: .8rem; }
.media-src { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

.quote {
  border-left: 3px solid var(--gold); padding: .4rem 0 .4rem 1.4rem;
  font-size: 1.08rem; color: var(--text); font-style: italic; margin: 0 0 1.2rem;
}
.quote cite {
  display: block; margin-top: .7rem; font-style: normal;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-dim);
}

/* ---------- speaker kit ---------- */
.kit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 1.8rem 2rem; }
@media (max-width: 520px) { .kit-grid { grid-template-columns: 1fr; } }
.kit-item { display: flex; flex-direction: column; gap: .5rem; }
.kit-item h3 { font-size: 1rem; margin-bottom: .2rem; }
.bio-box {
  background: rgba(0,34,69,.55); border: 1px solid var(--line-soft);
  border-radius: 10px; padding: 2.9rem 1.3rem 1.3rem; position: relative;
}
.bio-box p { font-size: .95rem; color: var(--text-muted); margin: 0; }
.copy-btn {
  position: absolute; top: .8rem; right: .8rem;
  background: rgba(53,198,212,.1); border: 1px solid var(--line); color: var(--teal);
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 6px; padding: .3rem .6rem; cursor: pointer;
}
.copy-btn:hover { background: rgba(53,198,212,.22); color: var(--text); }
.kit-downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.kit-downloads a { display: flex; gap: .6rem; align-items: center; font-size: .94rem; }
.rider { font-size: .95rem; color: var(--text-muted); }
.rider li { margin-bottom: .35rem; }

/* ---------- blog teaser ---------- */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.post-list li { margin: 0; }
.post-link {
  display: block; padding: 1.3rem 1.5rem; border: 1px solid var(--line-soft);
  border-radius: var(--radius); background: rgba(0,34,69,.32); color: var(--text);
  transition: border-color .2s ease, transform .2s ease;
}
.post-link:hover { border-color: var(--line); transform: translateY(-2px); color: var(--text); }
.post-date { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.post-link h3 { font-size: 1.12rem; margin: .4rem 0 .3rem; }
.post-link p { color: var(--text-muted); font-size: .94rem; margin: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.form-field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.form-field label {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal);
}
.form-field input, .form-field select, .form-field textarea {
  background: rgba(4,16,31,.7); border: 1px solid var(--line-soft); border-radius: 9px;
  color: var(--text); font-family: inherit; font-size: .97rem; padding: .8rem .9rem; width: 100%;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--teal); outline: none; }
.contact-direct { display: grid; gap: 1.2rem; }
.contact-direct a { font-family: var(--font-mono); font-size: .95rem; word-break: break-all; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 3rem 0 2.5rem; background: var(--navy-800); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; }
.footer .brand img { width: 52px; }
.social { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.social a {
  display: grid; place-content: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-soft); color: var(--text-muted); transition: all .2s ease;
}
.social a:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; fill: currentColor; }
.colophon {
  margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
  font-size: .82rem; color: var(--text-dim); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
}

/* ---------- article (blog post) ---------- */
.article { max-width: 72ch; margin-inline: auto; }
.article h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.article h2 { font-size: 1.45rem; margin-top: 2.2em; }
.article h3 { font-size: 1.15rem; margin-top: 1.8em; }
.article blockquote {
  margin: 1.6em 0; padding-left: 1.3rem; border-left: 3px solid var(--teal-deep);
  color: var(--text-muted); font-style: italic;
}
.article code {
  font-family: var(--font-mono); font-size: .88em;
  background: rgba(0,34,69,.75); border: 1px solid var(--line-soft);
  padding: .12em .42em; border-radius: 5px; color: var(--teal);
}
.article pre {
  background: rgba(0,22,45,.9); border: 1px solid var(--line-soft); border-radius: 10px;
  padding: 1.1rem 1.2rem; overflow-x: auto; font-size: .88rem;
}
.article pre code { background: none; border: none; padding: 0; color: var(--steel); }
.article hr { border: none; border-top: 1px solid var(--line-soft); margin: 2.5em 0; }
.post-header { margin-bottom: 2.5rem; }
.back-link { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-emblem { order: -1; max-width: 200px; }
  .hero { padding-top: 2.25rem; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .headshot { max-width: 320px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #04101f; border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 24px 40px rgba(0,0,0,.55);
    padding: .5rem 1.25rem 1.25rem;
  }
  .nav-links[hidden] { display: none; }
  .nav-links a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); }
  .talk { grid-template-columns: 1fr; gap: .45rem; }
  .talk-tag { justify-self: start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .btn:hover, .card:hover, .post-link:hover, .social a:hover { transform: none; }
}

@media print {
  .nav, .footer, .btn-row, .hero::before { display: none; }
  body { background: #fff; color: #000; }
}
