@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --red: #E63329;
  --red-hover: #C6271E;
  --red-press: #A81F17;
  --red-soft: #FCE5E3;
  --amber: #F6A31E;
  --amber-hover: #E08E0A;
  --amber-soft: #FDECCB;
  --ink: #17181C;
  --ink-2: #3A3B40;
  --paper: #FBFAF7;
  --surface: #FFFFFF;
  --surface-2: #F6F4EE;
  --border: #E1DED6;
  --border-strong: #C9C4B8;
  --muted: #8A877F;
  --muted-2: #6B6863;
  --green: #1F8A5B;
  --green-soft: #DFF3E9;
  --ring: 0 0 0 3px rgba(230, 51, 41, 0.28);

  --font-sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(23, 24, 28, 0.06);
  --shadow-md: 0 4px 16px rgba(23, 24, 28, 0.08);
  --shadow-lg: 0 12px 40px rgba(23, 24, 28, 0.12);

  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.dot { color: var(--amber); }
.accent { color: var(--red); }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}

.wordmark:hover { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}

.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--red); color: var(--paper); }
.btn-primary:hover { background: var(--red-hover); color: var(--paper); }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }

.btn-lg { height: 50px; padding: 0 26px; font-size: 17px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 14px; }

.btn:focus-visible { outline: none; box-shadow: var(--ring); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-red { background: var(--red-soft); color: var(--red-press); }
.badge-neutral { background: var(--surface-2); color: var(--muted-2); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.4;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  position: relative;
  overflow: hidden;
}
.card.interactive:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card.accent::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--amber);
}

section { scroll-margin-top: 80px; }

.section {
  padding: 88px 0;
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}
.section-dark .lbl { color: var(--amber); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 12px 0 0;
  line-height: 1.1;
}

.section-head p {
  max-width: 380px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-2);
  margin: 0;
}
.section-dark .section-head p { color: rgba(251, 250, 247, 0.62); }

.hero {
  position: relative;
  overflow: hidden;
}

.hero-watermark {
  position: absolute;
  right: -80px;
  top: -40px;
  width: 520px;
  height: 520px;
  opacity: 0.05;
  pointer-events: none;
}

.hero-inner {
  padding: 96px 0 84px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero-content { max-width: 720px; }

.hero h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 20px 0 22px;
}

.hero-lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted-2);
  max-width: 620px;
  margin: 0 0 14px;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-2);
  max-width: 620px;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: var(--shadow-md);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placeholder-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: background 0.16s ease;
}
.icon-link:hover { background: var(--surface-2); color: var(--ink); }
.icon-link svg { width: 22px; height: 22px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.now-card h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.now-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-2);
  margin: 0;
}
.now-card p a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--amber);
}
.now-card p a:hover { color: var(--red); border-color: var(--red); }
.now-card .lbl { margin-bottom: 14px; display: block; }

.timeline .fact a {
  color: var(--ink);
  border-bottom: 1px solid var(--amber);
}
.timeline .fact a:hover { color: var(--red); border-color: var(--red); }

.writing-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  overflow: hidden;
}
.writing-card.card { padding: 0; }
.writing-card-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.writing-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.writing-card.interactive:hover .writing-card-cover img { transform: scale(1.04); }
.writing-card-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.writing-card .lbl { color: var(--muted); }
.writing-card time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.writing-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.3;
}
.writing-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-2);
  margin: 0;
}
.writing-card .read-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-top: auto;
  padding-top: 4px;
}

.writing-card-archive {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.writing-card-archive .writing-card-body { padding: 32px 28px; height: 100%; }
.writing-card-archive .lbl { color: var(--amber); }
.writing-card-archive h3 { color: var(--paper); font-size: 22px; }
.writing-card-archive p { color: rgba(251, 250, 247, 0.72); font-size: 15px; }
.writing-card-archive .read-link { color: var(--amber); }
.writing-card-archive .archive-mark {
  align-self: flex-start;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}

.substack-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.substack-link:hover { color: var(--red); border-color: var(--red); }

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}
.timeline li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.timeline .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
  border-left: 2px solid var(--amber);
  padding-left: 12px;
}
.timeline .fact {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}

.teaching-block {
  max-width: 720px;
}
.teaching-block p {
  font-size: 19px;
  line-height: 1.55;
  color: inherit;
  margin: 0;
  letter-spacing: -0.01em;
}

.speaking-teaser {
  background: var(--ink);
  color: var(--paper);
  padding: 56px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.speaking-teaser .lbl { color: var(--amber); }
.speaking-teaser h3 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
  line-height: 1.15;
}
.speaking-teaser p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(251, 250, 247, 0.75);
  margin: 0;
  max-width: 540px;
}
.speaking-teaser .btn-primary { background: var(--amber); color: var(--ink); }
.speaking-teaser .btn-primary:hover { background: var(--amber-hover); color: var(--ink); }

footer {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0;
  margin-top: 0;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

footer .wordmark { color: var(--paper); }

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
  color: rgba(251, 250, 247, 0.75);
}
.footer-links a:hover { color: var(--amber); }

.footer-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(251, 250, 247, 0.5);
}

.credibility-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.credibility-strip .wrap {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: center;
  align-items: center;
}
.credibility-strip .cred {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}

.topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.topics-list li {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.formats-line {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  max-width: 720px;
  line-height: 1.7;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.gallery figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  position: relative;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { display: none; }

.gallery-tall figure:nth-child(1),
.gallery-tall figure:nth-child(2) { grid-column: span 3; aspect-ratio: 16 / 10; min-height: 260px; }
.gallery-tall figure:nth-child(3),
.gallery-tall figure:nth-child(4) { grid-column: span 3; aspect-ratio: 3 / 4; }
.gallery-tall figure:nth-child(5),
.gallery-tall figure:nth-child(6),
.gallery-tall figure:nth-child(7),
.gallery-tall figure:nth-child(8) { grid-column: span 3; aspect-ratio: 4 / 3; }
.gallery-tall figure:nth-child(9) { grid-column: span 6; aspect-ratio: 16 / 7; }

.speaking-hero {
  padding: 84px 0 40px;
}
.speaking-hero h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 16px 0 20px;
}
.speaking-hero p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted-2);
  max-width: 680px;
  margin: 0 0 30px;
}

.booking-block {
  background: var(--ink);
  color: var(--paper);
  padding: 56px;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.booking-block .lbl { color: var(--amber); display: block; margin-bottom: 12px; }
.booking-block p {
  font-size: 20px;
  line-height: 1.5;
  color: var(--paper);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.booking-block .btn-primary { background: var(--amber); color: var(--ink); }
.booking-block .btn-primary:hover { background: var(--amber-hover); color: var(--ink); }
.booking-block .btn-secondary { background: transparent; }
.booking-block .btn-secondary:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.section-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  display: block;
  margin: 0 0 4px;
  padding: 0 0 14px;
  border-bottom: 2px solid var(--amber);
  width: max-content;
  max-width: 100%;
}
.section-dark .section-kicker { color: var(--amber); border-color: var(--amber); }

@media (max-width: 1024px) {
  .hero h1 { font-size: 52px; }
  .hero-inner { grid-template-columns: 1fr 260px; gap: 40px; padding: 80px 0 64px; }
  .section { padding: 72px 0; }
  .section-head h2 { font-size: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .gallery-tall figure:nth-child(1),
  .gallery-tall figure:nth-child(2) { grid-column: span 3; aspect-ratio: 16 / 10; }
  .gallery-tall figure:nth-child(3),
  .gallery-tall figure:nth-child(4) { grid-column: span 3; aspect-ratio: 3 / 4; }
  .gallery-tall figure:nth-child(5),
  .gallery-tall figure:nth-child(6),
  .gallery-tall figure:nth-child(7),
  .gallery-tall figure:nth-child(8) { grid-column: span 3; aspect-ratio: 4 / 3; }
  .gallery-tall figure:nth-child(9) { grid-column: span 6; aspect-ratio: 16 / 7; }
}

@media (max-width: 768px) {
  .wrap { padding: 0 24px; }
  .nav-inner { height: 64px; }
  .nav-links { gap: 18px; }
  .nav-links a:not(.btn) { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 48px; }
  .hero-portrait { max-width: 320px; }
  .hero-watermark { width: 360px; height: 360px; right: -100px; }
  .hero h1 { font-size: 42px; }
  .hero-lede { font-size: 17px; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head h2 { font-size: 28px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 24px; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .speaking-teaser { grid-template-columns: 1fr; padding: 36px; text-align: left; }
  .speaking-teaser h3 { font-size: 24px; }
  .speaking-hero { padding: 56px 0 32px; }
  .speaking-hero h1 { font-size: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-tall figure:nth-child(1),
  .gallery-tall figure:nth-child(2) { grid-column: span 2; aspect-ratio: 16 / 10; min-height: 220px; }
  .gallery-tall figure:nth-child(3),
  .gallery-tall figure:nth-child(4) { grid-column: span 1; aspect-ratio: 3 / 4; }
  .gallery-tall figure:nth-child(5),
  .gallery-tall figure:nth-child(6),
  .gallery-tall figure:nth-child(7),
  .gallery-tall figure:nth-child(8) { grid-column: span 1; aspect-ratio: 4 / 3; }
  .gallery-tall figure:nth-child(9) { grid-column: span 2; aspect-ratio: 16 / 9; }
  .booking-block { padding: 36px 24px; }
  .booking-block p { font-size: 17px; }
  .credibility-strip .wrap { gap: 12px 24px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 34px; letter-spacing: -0.04em; }
  .hero-lede { font-size: 16px; }
  .section-head h2 { font-size: 24px; }
  .speaking-hero h1 { font-size: 32px; }
  .nav-links { gap: 12px; }
  .btn-lg { height: 44px; padding: 0 20px; font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-cta .icon-link { align-self: center; }
}

*:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
