html { font-size: 16px; }

/* ─── HEADSHOT ──────────────────────────────────────── */
.headshot {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-bottom: var(--space-sm);
  filter: grayscale(20%);
}

/* ─── BOOK COVER ────────────────────────────────────── */
.book-inner {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.book-cover-link { display: block; flex-shrink: 0; }

.book-cover {
  width: 120px;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s;
}

.book-cover-link:hover .book-cover { opacity: 0.85; }

.book-body { flex: 1; }

@media (max-width: 640px) {
  .book-inner { flex-direction: column; gap: var(--space-sm); }
  .book-cover { width: 100px; }
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  transition: background 0.2s, color 0.2s;
}

a { color: inherit; text-decoration: none; }

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  padding: 6rem 3rem 4rem;
  max-width: 860px;
}

.hero-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

/* ─── PAGE HEADER ───────────────────────────────────── */
.page-header {
  padding: 6rem 3rem 0;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

/* ─── SECTIONS ──────────────────────────────────────── */
.section {
  padding: 4rem 3rem;
  border-top: 1px solid var(--border);
}

.section-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--mid);
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.page-intro {
  padding: 2rem 3rem 0;
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 560px;
  line-height: 1.8;
}

/* ─── NAV CARDS ─────────────────────────────────────── */
.nav-cards {
  padding: 4rem 3rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.nav-card {
  display: block;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
}

.nav-card:first-child,
.nav-card:nth-child(2) { border-top: none; }

.nav-card-label {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: 0.35rem;
  transition: color 0.15s;
}

.nav-card-label::after {
  content: '↗';
  font-size: 0.7rem;
  color: var(--accent);
}

.nav-card:hover .nav-card-label { color: var(--white); }

.nav-card-desc {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.5;
}

/* ─── BIO ───────────────────────────────────────────── */
.bio-section {
  padding: 4rem 3rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.bio-section .section-label { margin-bottom: 0; padding-top: 0.25rem; }

.bio-text p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.bio-text p:last-child { margin-bottom: 0; }

/* ─── LINKS / CONTACT ───────────────────────────────── */
.links-section {
  padding: 4rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-link {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.15s;
}

.contact-link:hover { color: var(--white); }

.contact-link::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── BOOKS ─────────────────────────────────────────── */
.book {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
}

.book-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 0.5rem;
}

.book-title {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.book-title a:hover { color: var(--accent); }

.book-status {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 0.3rem;
}

.book-status.forthcoming { color: var(--mid); }

.book-subtitle {
  font-size: 0.875rem;
  color: var(--mid);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.book-description {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 1rem;
}

.book-audience {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 1rem;
  border-left: 2px solid var(--accent);
  padding-left: var(--space-xs);
}

.book-audience strong { color: var(--white); font-weight: 500; }

.book-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.book-links a {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s, border-color 0.15s;
}

.book-links a:hover { color: var(--white); border-color: var(--mid); }

/* ─── PAPERS ────────────────────────────────────────── */
.paper {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
}

.paper-inner {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.paper-cover-link { display: block; flex-shrink: 0; }

.paper-cover {
  width: 60px;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  opacity: 0.9;
  transition: opacity 0.15s;
}

.paper-cover-link:hover .paper-cover { opacity: 1; }

.paper-body { flex: 1; }

.paper-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  margin-bottom: 0.75rem;
}

.paper-title {
  font-size: 1.125rem;
  font-weight: 400;
}

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

.paper-date {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mid);
  flex-shrink: 0;
}

.paper-description {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.8;
  max-width: 520px;
}

/* ─── PROJECTS ──────────────────────────────────────── */
.project {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 0.35rem;
}

.project-title {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
}

.project-status {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  padding-top: 0.2rem;
}

.project-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mid);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1.5rem;
}

.project-type { color: var(--accent); }

.project-description {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 1rem;
}

.project-links {
  display: flex;
  gap: 2rem;
}

.project-links a {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s, border-color 0.15s;
}

.project-links a:hover { color: var(--white); border-color: var(--mid); }

/* ─── TALKS ─────────────────────────────────────────── */
.talks-section {
  padding: 4rem 3rem;
  border-top: 1px solid var(--border);
}

.talk {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.talk:first-of-type { border-top: none; }

.talk-meta { padding-top: 0.25rem; }

.talk-track {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.talk-content h2 {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.talk-content p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.8;
  max-width: 520px;
}

.talk-proof {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--border);
  letter-spacing: 0.04em;
}

.talk-proof a {
  color: var(--mid);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s, border-color 0.15s;
}

.talk-proof a:hover { color: var(--white); border-color: var(--mid); }

.availability-section {
  padding: 4rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.availability-section p {
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 480px;
  line-height: 1.6;
  color: var(--mid);
}

.availability-section a { color: var(--white); }
.availability-section a:hover { color: var(--accent); }

/* ─── WRITING ───────────────────────────────────────── */
.writing-series {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
}

.series-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  margin-bottom: 0.5rem;
}

.series-name {
  font-size: 1.125rem;
  font-weight: 400;
}

.series-name a:hover { color: var(--accent); }

.series-followers {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mid);
  flex-shrink: 0;
}

.series-cadence {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.series-topics {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.6;
}

.profile-link {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.profile-link a {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s, border-color 0.15s;
}

.profile-link a:hover { color: var(--white); border-color: var(--mid); }

.profile-followers {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mid);
}

/* ─── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 768px) {
  .bio-section { grid-template-columns: 1fr; gap: 1rem; }
  .nav-cards { grid-template-columns: 1fr; }
  .nav-card:nth-child(2) { border-top: 1px solid var(--border); }
  .talk { grid-template-columns: 1fr; gap: 1rem; }
  .availability-section { flex-direction: column; }
}

@media (max-width: 640px) {
  .hero,
  .page-header,
  .page-intro,
  .section,
  .book,
  .paper,
  .project,
  .talks-section,
  .bio-section,
  .links-section,
  .writing-series,
  .profile-link,
  .availability-section,
  .nav-cards { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* ─── CONTACT CTA ───────────────────────────────────── */
.contact-section {
  padding: 4rem 3rem;
  border-top: 1px solid var(--border);
}

.contact-cta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.contact-cta-text {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 400px;
  line-height: 1.6;
}

.contact-cta-link {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: opacity 0.15s;
  flex-shrink: 0;
}

.contact-cta-link:hover { opacity: 0.75; }

@media (max-width: 640px) {
  .contact-section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .contact-cta { flex-direction: column; gap: var(--space-sm); }
}

/* ─── CONCEPT PAGES ─────────────────────────────────── */
.concept-list {
  margin-top: 2rem;
}

.concept-item {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  max-width: 640px;
}

.concept-item h2 {
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--mono);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.concept-item p {
  font-size: 0.9375rem;
  color: var(--mid);
  line-height: 1.8;
}

.resource-links {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}

.resource-link {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  transition: opacity 0.15s;
}

.resource-link:hover { opacity: 0.75; }

.resource-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
  width: 80px;
}

.resource-title {
  font-size: 0.9375rem;
  color: var(--mid);
}
