/* Suffer from Burnout: built from the book cover.
   Smoky black, cover-title gold, and a flame-orange glow. */
:root {
  --smoke: #0F0D0C;       /* matches the cover's background so it melts into the page */
  --smoke-2: #1C1815;
  --gold: #F2C14E;        /* the cover's title lettering */
  --gold-dark: #D9A631;
  --flame: #E8691C;
  --flame-deep: #A9440B;  /* flame dark enough for white text on light sections */
  --char: #2A2521;        /* body text on light */
  --char-soft: #5E554D;
  --paper: #FFFFFF;
  --ash: #F3F1EF;
  --sans: "Oswald", "Arial Narrow", "Liberation Sans Narrow", Impact, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--char);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, .btn:focus-visible, summary:focus-visible {
  outline: 3px solid var(--flame);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.05; margin: 0 0 1rem; }
h2 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); text-transform: uppercase; letter-spacing: .01em; }
h3 { font-size: 1.4rem; font-weight: 600; }
p { margin: 0 0 1.1rem; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 42rem; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans); font-weight: 600; font-size: 1.0625rem; letter-spacing: .02em;
  line-height: 1.2; text-decoration: none;
  color: var(--smoke); background: var(--gold); border: 2px solid var(--gold);
  padding: .8rem 1.35rem; border-radius: 4px;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-small { padding: .45rem .9rem; font-size: .95rem; }
/* on light sections */
.section:not(.section-dark) .btn { background: var(--flame-deep); border-color: var(--flame-deep); color: #fff; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(15,13,12,.94); border-bottom: 1px solid #2B2622; }
.topbar-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 3.75rem; }
.brand { font-family: var(--sans); font-weight: 600; font-size: 1.25rem; letter-spacing: .02em; color: var(--gold); text-decoration: none; margin-right: auto; }
.topbar nav { display: flex; gap: 1.5rem; }
.topbar nav a { font-family: var(--sans); font-size: 1rem; color: #CFC6BE; text-decoration: none; }
.topbar nav a:hover { color: #fff; }
@media (max-width: 680px) { .topbar nav { display: none; } }

/* Hero: the cover sits in its own glow */
.hero {
  background:
    radial-gradient(ellipse 38rem 30rem at 30% 62%, rgba(232,105,28,.30), transparent 70%),
    radial-gradient(ellipse 24rem 20rem at 30% 70%, rgba(242,193,78,.16), transparent 70%),
    var(--smoke);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-inner { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 820px) { .hero-inner { grid-template-columns: minmax(16rem, 24rem) 1fr; } }
.cover-wrap { justify-self: center; }
.cover {
  display: block; width: min(24rem, 72vw); height: auto;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 30px 60px -20px rgba(0,0,0,.9), 0 0 90px -10px rgba(232,105,28,.45);
}
.hero-q { font-family: var(--sans); font-weight: 500; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); color: #E7DED6; margin-bottom: .5rem; letter-spacing: .02em; }
.hero-title {
  font-size: clamp(2.75rem, 1.4rem + 5.5vw, 5.25rem);
  text-transform: uppercase; color: var(--gold);
  line-height: .98; letter-spacing: .005em; margin-bottom: 1.5rem;
  text-shadow: 0 2px 0 #6B4A0E;
}
.hero-sub { max-width: 32rem; font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: #E7DED6; margin-bottom: 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-dark { background: var(--smoke-2); color: #EDE6DF; }
.section-dark h2 { color: var(--gold); }
.lede { font-size: 1.3rem; line-height: 1.5; }
cite { font-style: italic; }
.textlink { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; color: var(--flame-deep); text-underline-offset: 4px; }

/* Speaking */
.speaking-head { max-width: 42rem; margin-bottom: 3rem; }
.speaking-head h2 { margin-bottom: .25rem; }
.aside { font-style: italic; color: #A99D92; margin-bottom: 1.5rem; }
.list-title { color: #fff; padding-bottom: .6rem; border-bottom: 2px solid var(--gold); margin-bottom: 0; }
.events { list-style: none; margin: 0; padding: 0; }
.event { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.25rem; padding: 1.4rem 0; border-bottom: 1px solid #3A332D; }
.event-date { font-family: var(--sans); line-height: 1; text-align: center; background: var(--smoke); border-top: 3px solid var(--flame); padding: .55rem 0 .6rem; border-radius: 2px; align-self: start; }
.event-date .m { display: block; font-weight: 600; font-size: .95rem; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.event-date .d { display: block; font-weight: 700; font-size: 2rem; color: #fff; margin-top: .2rem; }
.event-date .d.yr { font-size: 1.15rem; margin-top: .35rem; }
.event-body p { margin: 0; }
.event-when { font-family: var(--sans); font-size: .95rem; color: #B5A99E; letter-spacing: .02em; }
.event-name { font-family: var(--sans); font-weight: 600; font-size: 1.35rem; line-height: 1.25; color: #fff; margin: .15rem 0 !important; }
.event-name a { color: #fff; text-decoration-color: var(--flame); text-underline-offset: 4px; }
.event-where { font-size: 1.0625rem; }
.event-notes { font-size: 1rem; color: #B5A99E; margin-top: .35rem !important; }
.empty { padding: 1.5rem 0; border-bottom: 1px solid #3A332D; }
.empty a { color: var(--gold); }

.past { margin-top: 2rem; font-size: 1rem; }
.past summary { cursor: pointer; font-family: var(--sans); font-weight: 500; color: #CFC6BE; }
.past ul { margin: .75rem 0 0; padding-left: 1.1rem; }
.past li { margin-bottom: .35rem; }
.past li span { color: #A99D92; }

/* Footer */
.footer { background: var(--smoke); color: #CFC6BE; padding: 2.75rem 0; }
.footer a { color: var(--gold); }
.footer-title { font-family: var(--sans); font-weight: 600; font-size: 1.25rem; color: #fff; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .5rem; }
.footer-email { font-size: 1.0625rem; }
.copy { font-size: .875rem; opacity: .7; margin: 0; }

@media (max-width: 480px) {
  body { font-size: 1.0625rem; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
  .event { grid-template-columns: 3.75rem 1fr; gap: 1rem; }
}
