:root {
  --bg: #0e1a2b;
  --surface: #16273d;
  --surface-alt: #1c3149;
  --fog: #e7ded2;
  --steel: #8ea0b3;
  --ink: #edeff2;
  --gold: #c89b58;
  --rule: rgba(237, 239, 242, 0.12);

  --display: "Fraunces", serif;
  --body: "Inter", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--fog);
  text-decoration-color: rgba(231, 222, 210, 0.4);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
a:hover { color: var(--gold); text-decoration-color: var(--gold); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

.hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,26,43,0.35) 0%, rgba(14,26,43,0.55) 55%, rgba(14,26,43,0.96) 100%);
}

.hero__nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding: 1.75rem clamp(1.5rem, 5vw, 4rem) 0;
}

.hero__nav a {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fog);
  text-decoration: none;
  border: 1px solid var(--rule);
  padding: 0.5rem 1rem;
  border-radius: 2px;
}
.hero__nav a:hover { border-color: var(--gold); }

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 5vw, 4rem) 3rem;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.6rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.01em;
}

.hero__role {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--steel);
  margin: 0.6rem 0 0;
}

/* ---------- Layout ---------- */

.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem) 6rem;
}

.rail {
  position: sticky;
  top: 2rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rail__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--rule);
}

.rail__download {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--steel);
  text-decoration: none;
  line-height: 1.5;
}
.rail__download span { display: block; color: rgba(142, 160, 179, 0.7); }
.rail__download:hover { color: var(--gold); }

.rail__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
}
.rail__nav a {
  font-family: var(--mono);
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--steel);
  padding: 0.4rem 0;
}
.rail__nav a:hover { color: var(--gold); }

.rail__contact {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
}
.rail__contact:hover { color: var(--gold); }

main { min-width: 0; }

/* ---------- Bio ---------- */

.bio { margin-bottom: 4.5rem; }

.bio p {
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 62ch;
  margin: 0 0 1.4rem;
}

.log-quote {
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border-left: 2px solid var(--gold);
  border-radius: 0 3px 3px 0;
}
.log-quote p {
  font-family: var(--mono);
  font-size: 0.92rem;
  color: var(--fog);
  margin: 0 0 0.75rem;
  max-width: 60ch;
}
.log-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--steel);
  margin-bottom: 1rem;
}
.log-quote__note {
  font-family: var(--body) !important;
  font-size: 0.92rem !important;
  color: var(--steel) !important;
  margin: 0 !important;
}

/* ---------- Log sections (presentations / podcasts / etc) ---------- */

.log {
  margin-bottom: 4rem;
  padding-top: 1.5rem;
  scroll-margin-top: 1.5rem;
}

.log h2 {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 1.75rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule);
}

.log__index {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gold);
}

.log__year {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule);
}
.log__year:first-of-type { border-top: none; }

.log__year-label {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--gold);
  padding-top: 0.15rem;
}

.log__year ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.log__year li {
  font-size: 0.96rem;
  color: var(--steel);
  line-height: 1.5;
}

.log__venue {
  color: var(--ink);
  font-weight: 600;
}

.log__flat {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.log__flat li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.96rem;
  color: var(--steel);
  line-height: 1.5;
}
.log__flat li:first-child { border-top: none; }

.log__flat--nodate li {
  grid-template-columns: 1fr;
}

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

.footer {
  margin-top: 4rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--steel);
}
.footer a { color: var(--steel); text-decoration: none; }
.footer a:hover { color: var(--gold); }

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

@media (max-width: 800px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .rail {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
  }
  .rail__photo { width: 96px; height: 96px; flex-shrink: 0; }
  .rail__download { max-width: 160px; }
  .rail__nav {
    flex-direction: row;
    flex-wrap: wrap;
    border-top: none;
    padding-top: 0;
    gap: 0.5rem 1rem;
    width: 100%;
    border-top: 1px solid var(--rule);
    padding-top: 1.25rem;
  }
  .rail__contact { border-top: none; padding-top: 0; }

  .log__year, .log__flat li {
    grid-template-columns: 70px 1fr;
  }
}

@media (max-width: 480px) {
  .hero__nav { justify-content: flex-start; }
  .log__year, .log__flat li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .log__year-label { padding-top: 0; }
}
