/* Kevin Brookhouser speaker site
   Dark, restrained, editorial. Mobile first. */

:root {
  --bg: #12110e;
  --bg-raise: #1b1914;
  --ink: #f3efe6;
  --muted: #b7b0a3;
  --line: #2c2922;
  --brass: #c9a36a;
  --brass-deep: #a78448;
  --paper: #ece6d6;
  --focus: #e4c48a;
  --header-h: 4.25rem;
  --max: 68rem;
  --prose: 40rem;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brass);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--brass);
  color: #1a150c;
  padding: 0.5rem 0.8rem;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.7rem 1.15rem;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover { color: var(--brass); }

.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.6rem 1.15rem 1.1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

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

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
}

.site-nav a:last-child { border-bottom: 0; }

.site-nav a.ext {
  color: var(--brass);
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
}

.hero {
  display: grid;
  gap: 1.75rem;
  padding: 1.75rem 1.15rem 2.5rem;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 9vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0.15rem 0 0.8rem;
}

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

.lede {
  margin: 0 0 1.4rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.1rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--brass);
  color: #1a150c;
}

.btn-primary:hover {
  background: var(--paper);
  color: #1a150c;
}

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

.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.hero-photo {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-raise);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 22%;
}

.section {
  padding: 3.2rem 1.15rem;
  border-top: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.6rem;
  max-width: 40rem;
}

.section-head h2,
.workshop h3,
.talk h3,
.past h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-head h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin: 0.35rem 0 0.6rem;
}

.section-intro {
  color: var(--muted);
  margin: 0;
}

.prose {
  max-width: var(--prose);
}

.prose p,
.workshop p,
.talk p {
  margin: 0 0 1rem;
}

.workshop,
.talk {
  max-width: 46rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.workshop:first-of-type,
.talk:first-of-type {
  border-top: 0;
}

.workshop h3,
.talk h3 {
  font-size: 1.55rem;
  margin: 0 0 0.25rem;
}

.workshop-kicker {
  color: var(--brass);
  font-size: 0.95rem;
  margin: 0 0 0.85rem !important;
}

.workshop ul {
  margin: 0.4rem 0 1rem;
  padding-left: 1.15rem;
}

.workshop li {
  margin: 0.45rem 0;
  color: var(--muted);
}

.workshop li strong {
  color: var(--ink);
  font-weight: 600;
}

.past {
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.past h3 {
  font-size: 1.4rem;
  margin: 0 0 1rem;
}

.venue-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.venue-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.venue-name {
  font-weight: 600;
}

.venue-place {
  color: var(--muted);
  font-size: 0.98rem;
}

.quote-grid {
  display: grid;
  gap: 1rem;
}

blockquote {
  margin: 0;
  padding: 1.25rem 1.2rem 1.15rem;
  background: var(--bg-raise);
  border-left: 3px solid var(--brass-deep);
}

blockquote p {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 480;
  line-height: 1.5;
}

blockquote footer {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-label {
  margin: 1rem 0 0.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}

.contact-label:first-child { margin-top: 0; }

.contact-card p { margin: 0 0 0.3rem; }

.contact-card a {
  color: var(--ink);
  font-size: 1.2rem;
}

.contact-note {
  color: var(--muted);
  margin-top: 1rem !important;
  max-width: 28rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
}

.contact-form span {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-raise);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.7rem 0.75rem;
  font: inherit;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brass);
  outline: none;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}


.talk-video {
  margin: 1.6rem 0 2.2rem;
  max-width: 46rem;
}

.talk-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  overflow: hidden;
}

.talk-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.talk-video figcaption {
  margin-top: 0.7rem;
  font-size: 0.95rem;
}

.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 1.1rem;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.social-links a:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.footer-social { margin-top: 0.7rem !important; }

.site-footer {
  padding: 2rem 1.15rem 2.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p { margin: 0.2rem 0; }

.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--brass); }

@media (min-width: 800px) {
  .site-header {
    padding: 0.7rem 2rem;
  }

  .nav-toggle { display: none; }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.15rem;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .site-nav a {
    padding: 0;
    font-size: 0.95rem;
    border: 0;
    color: var(--muted);
  }

  .site-nav a:hover,
  .site-nav a.ext {
    color: var(--brass);
  }

  .hero,
  .section,
  .site-footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 2.5rem;
    min-height: calc(100svh - var(--header-h));
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 6vw, 5.1rem);
  }

  .hero-photo img {
    aspect-ratio: 5 / 4;
    min-height: 28rem;
  }

  .section {
    padding-top: 4.2rem;
    padding-bottom: 4.2rem;
  }

  .quote-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }

  .contact-grid {
    grid-template-columns: minmax(14rem, 0.8fr) minmax(18rem, 1.1fr);
    gap: 3rem;
    align-items: start;
  }

  .venue-list li {
    grid-template-columns: minmax(12rem, 1.1fr) minmax(12rem, 1fr);
    gap: 1rem;
    align-items: baseline;
  }
}

@media (min-width: 1100px) {
  .hero,
  .section,
  .site-footer,
  .site-header {
    padding-left: calc((100% - var(--max)) / 2 + 0.5rem);
    padding-right: calc((100% - var(--max)) / 2 + 0.5rem);
  }
}
