/* ============ Tokens ============ */
:root {
  --navy: #0a1a36;
  --navy-2: #0f2347;
  --ink: #0d1b33;
  --muted: #324a7b;
  --line: #e6e9ef;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --lime: #abea17;
  --lime-d: #8fc60f;
  --on-dark: #e9eef7;
  --on-dark-muted: #9aa7bd;
  --radius: 16px;
  --display: 'Lato', Arial, system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ============ Nav ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(10, 26, 54, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-in { max-width: 1140px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--display); font-weight: 800; font-size: 22px; color: #fff; text-decoration: none; letter-spacing: -.03em; }
.logo span { color: var(--lime); }
.links { display: flex; align-items: center; gap: 28px; }
.links a { color: var(--on-dark-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.links a:hover { color: #fff; }
.links .btn-sm { color: var(--navy); background: var(--lime); padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.links .btn-sm:hover { color: var(--navy); background: #c2f53e; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--lime); color: var(--navy);
  font-weight: 600; text-decoration: none;
  padding: 14px 24px; border-radius: 999px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { background: #c2f53e; transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(171, 234, 23, .6); }
.btn span { transition: transform .2s; }
.btn:hover span { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex; align-items: center;
  color: #fff; text-decoration: none; font-weight: 500;
  padding: 14px 22px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .05); }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, #1b3a73 0%, transparent 60%), var(--navy);
  color: var(--on-dark);
  padding: 160px 0 110px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
.glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: var(--lime); filter: blur(160px); opacity: .16;
  left: -160px; bottom: -260px; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(171, 234, 23, .2); }
.hero h1 { font-size: clamp(52px, 8vw, 104px); line-height: .95; font-weight: 800; color: #fff; margin: 22px 0 28px; letter-spacing: -.045em; }
.hero-lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; color: var(--on-dark); max-width: 34em; opacity: .9; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.ticket {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px; padding: 32px;
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
}
.ticket-k { font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); font-weight: 600; text-align: center; margin: 0px 0 24px; }
.ticket-v { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4.4vw, 54px); color: var(--lime); letter-spacing: -.035em; line-height: 1.05; margin: 8px 0 24px; }
.ticket-v span { color: var(--on-dark-muted); font-weight: 500; margin: 0 4px; }
.ticket dl { margin: 0; }
.ticket dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 15px; }
.ticket dt { color: var(--on-dark-muted); }
.ticket dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }

/* ============ Stats ============ */
.stats { background: var(--navy-2); color: var(--on-dark); border-top: 1px solid rgba(255,255,255,.06); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { padding: 36px 24px; border-left: 1px solid rgba(255,255,255,.08); }
.stats-grid div:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font-family: var(--display); font-size: 44px; font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: 1; }
.stats span { display: block; margin-top: 8px; color: var(--on-dark-muted); font-size: 14px; }

/* ============ Sections ============ */
.block { padding: 120px 0; scroll-margin-top: 40px; }
.block.alt { background: var(--bg-alt); }
.kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--lime-d); margin-bottom: 16px; }
.kicker.light { color: var(--lime); }
h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; font-weight: 700; max-width: 20ch; }
.section-lead { font-size: 19px; color: var(--muted); max-width: 44em; margin-top: 22px; }
.h3 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 64px 0 20px; font-family: var(--body); }

/* Cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.grid-2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(13, 27, 51, .35); border-color: #d6dbe4; }
.card h3 { font-size: 20px; font-weight: 700; margin: 14px 0 10px; line-height: 1.25; }
.card p { color: var(--muted); font-size: 15px; }
.card a { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--lime); }
.num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--navy); color: var(--lime); font-family: var(--display); font-weight: 800; font-size: 15px;
}
.card.feature { grid-column: span 2; grid-row: span 2; background: var(--navy); color: var(--on-dark); border-color: var(--navy); display: flex; flex-direction: column; }
.card.feature h3 { font-size: 30px; color: #fff; }
.card.feature p { color: var(--on-dark-muted); font-size: 17px; }
.card.feature a { color: #fff; margin-top: auto; padding-top: 24px; align-self: flex-start; border: 0; }
.src { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.card.feature .src { color: var(--lime); }

/* Split: process + value */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.terms { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.terms li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.terms span { color: var(--muted); }
.terms strong { font-weight: 600; text-align: right; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 0 0 18px 34px; color: var(--muted); }
.checks li strong { color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230a1a36' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

.portfolio { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.portfolio div { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.portfolio strong { display: block; font-family: var(--display); font-size: 18px; letter-spacing: -.01em; }
.portfolio span { font-size: 13px; color: var(--muted); }
.nofit { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* Education */
.edu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.edu .card { padding: 22px; }
.edu strong { display: block; font-family: var(--display); font-size: 18px; margin: 8px 0 6px; line-height: 1.25; }

/* Speaking */
.year { border-top: 1px solid var(--line); }
.year:last-of-type { border-bottom: 1px solid var(--line); }
.year:first-of-type { margin-top: 48px; }
.year summary {
  list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 20px;
  padding: 22px 0; transition: color .2s;
}
.year summary::-webkit-details-marker { display: none; }
.year summary::after { content: "+"; margin-left: auto; font-size: 26px; font-weight: 300; color: var(--muted); transition: transform .25s; line-height: 1; }
.year[open] summary::after { transform: rotate(45deg); }
.year summary:hover .y { color: var(--lime-d); }
.y { font-family: var(--display); font-size: 32px; font-weight: 800; letter-spacing: -.03em; transition: color .2s; }
.c { color: var(--muted); font-size: 14px; }
.talks { list-style: none; margin: 0 0 24px; padding: 0; }
.talks li { background: var(--bg-alt); border-radius: 12px; padding: 18px 20px; margin: 12px; }
.talks strong { display: block; font-weight: 600; line-height: 1.4; }
.talks .meta { display: block; color: var(--ink); font-size: 14px; margin-top: 8px; opacity: .8; }
.talks .where { display: block; color: var(--muted); font-size: 13px; }

/* Writing */
.grid-2.cols { grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 0; }
.pubs { list-style: none; margin: 0; padding: 0; }
.pubs li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.pubs li:first-child { border-top: 1px solid var(--line); }
.pubs strong { display: block; font-family: var(--display); font-size: 18px; font-weight: 600; line-height: 1.35; margin-top: 4px; letter-spacing: -.01em; }
.pubs a { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--lime); }

/* Pitch */
.pitch { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark); padding: 130px 0; scroll-margin-top: 40px; }
.pitch .glow { left: auto; right: -120px; top: -200px; bottom: auto; opacity: .22; }
.pitch-in { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pitch h2 { color: #fff; max-width: 18ch; }
.pitch p { color: var(--on-dark-muted); font-size: 19px; max-width: 38em; margin: 24px 0 40px; }
.btn.big { font-size: clamp(17px, 2.2vw, 22px); padding: 20px 34px; }

.footer { background: #06122a; color: var(--on-dark-muted); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 28px; padding-bottom: 28px; }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .portfolio { grid-template-columns: repeat(3, 1fr); }
  .edu { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats-grid div { border-top: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 720px) {
  .links a:not(.btn-sm) { display: none; }
  .hero { padding: 120px 0 72px; }
  .block { padding: 80px 0; }
  .grid-4, .grid-2, .split, .grid-2.cols, .talks, .edu { grid-template-columns: 1fr; }
  .split, .grid-2.cols { gap: 0; }
  .card.feature { grid-column: auto; grid-row: auto; }
  .portfolio { grid-template-columns: 1fr 1fr; }
  .stats strong { font-size: 34px; }
  .stats-grid div { padding: 24px 12px 24px 0; }
  .stats-grid div:nth-child(even) { padding-left: 16px; }
  .ticket { padding: 24px; }
  .pitch { padding: 90px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
