@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/playfair-display-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face { font-family: "Switzer"; src: url("/fonts/switzer-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/fonts/switzer-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/fonts/switzer-600.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/fonts/switzer-700.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  --ink: #040c19;
  --navy: #07152b;
  --navy-2: #0b1d39;
  --paper: #f4f0e8;
  --paper-soft: #d7d4cd;
  --muted: #939dac;
  --gold: #d8ad5c;
  --gold-soft: #efdba9;
  --green: #68d391;
  --line: rgba(244, 240, 232, .12);
  --line-strong: rgba(244, 240, 232, .22);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.display, h1 { font-family: var(--font-display); font-weight: 500; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 13px; border: 1px solid var(--gold); background: var(--ink); color: var(--paper); font-size: .76rem; font-weight: 700; text-decoration: none; transform: translateY(-180%); transition: transform .15s ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 12, 25, .86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 30px; }
.page-nav { order: 1; min-width: 0; flex: 0 1 auto; display: flex; align-items: center; justify-content: flex-start; gap: clamp(18px, 2.4vw, 31px); }
.page-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: #9fa9b7; font-size: .78rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.page-nav a:hover, .page-nav a:focus-visible, .page-nav a[aria-current="page"] { color: var(--paper); }
.page-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 1px; background: var(--gold); }
.nav-short { display: none; }
.nav-toggle { order: 3; display: none; }

/* Home hero */
.hero-shell {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 31% 46% at 84% 58%, rgba(222, 177, 88, .2), rgba(216, 173, 92, .055) 47%, transparent 75%),
    radial-gradient(ellipse 48% 68% at 84% 35%, rgba(41, 80, 139, .38), transparent 70%),
    linear-gradient(133deg, #07162e 0%, #061126 60%, #030916 100%);
}
.hero-shell::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 42%;
  right: -10%;
  top: 28%;
  bottom: -34%;
  transform: rotate(-7deg);
  background: linear-gradient(120deg, transparent 4%, rgba(33, 75, 133, .31) 45%, rgba(216, 173, 92, .09) 100%);
  clip-path: polygon(12% 20%, 100% 0, 100% 100%, 0 100%);
}
.hero-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: .24;
  background: url("/pattern-plus.svg") 72% 42% / 136px 136px repeat;
  -webkit-mask-image: linear-gradient(110deg, transparent 33%, #000 60%, rgba(0,0,0,.8) 82%, transparent 100%);
  mask-image: linear-gradient(110deg, transparent 33%, #000 60%, rgba(0,0,0,.8) 82%, transparent 100%);
}
.hero { position: relative; z-index: 1; min-height: clamp(590px, calc(80svh - 78px), 730px); display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(350px, .94fr); grid-template-areas: "copy portrait"; grid-template-rows: minmax(0, 1fr); align-items: end; column-gap: 18px; }
.hero-copy { position: relative; z-index: 2; grid-area: copy; align-self: end; padding: 74px 0 8px; }
.hero h1 { margin: 0; font-size: clamp(3rem, 4.25vw, 4.15rem); line-height: 1.01; letter-spacing: -.034em; white-space: nowrap; }
.hero-intro { max-width: 670px; margin: 25px 0 0; color: var(--paper-soft); font: 500 clamp(1.18rem, 1.7vw, 1.43rem)/1.46 var(--font-display); letter-spacing: -.012em; }
.hero-intro strong { display: block; margin-bottom: 0; color: var(--paper); font-family: var(--font-sans); font-size: .83em; font-weight: 650; letter-spacing: 0; }
.hero-intro span { display: block; }
.profile-links { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 22px; }
.profile-link { width: 38px; height: 38px; flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(244,240,232,.08); border-radius: 50%; background: rgba(244,240,232,.025); color: #b9c0ca; text-decoration: none; transition: color .2s ease, transform .2s ease, border-color .2s ease, background .2s ease; }
.profile-link img { width: 16px; height: 16px; object-fit: contain; opacity: .83; transition: opacity .16s ease; }
.profile-link img[src$="/logos/x.svg"] { width: 14px; height: 14px; }
.profile-link:hover, .profile-link:focus-visible { border-color: rgba(216,173,92,.38); background: rgba(216,173,92,.08); color: var(--paper); transform: translateY(-3px); }
.profile-link:hover img, .profile-link:focus-visible img { opacity: 1; }
.hero-profile-links { margin-top: 19px; }
.hero-profile-links .profile-link { width: 34px; height: 34px; flex-basis: 34px; }
.hero-profile-links .profile-link img { width: 14px; height: 14px; }
.hero-profile-links .profile-link img[src$="/logos/x.svg"] { width: 12px; height: 12px; }
.portrait-stage { position: relative; grid-area: portrait; align-self: stretch; min-height: 540px; display: flex; align-items: flex-end; justify-content: center; }
.portrait { position: relative; z-index: 1; width: min(100%, 485px); height: auto; max-height: 675px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 26px 38px rgba(0,0,0,.34)); }
.hero-follow-link { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; margin-top: 76px; color: var(--paper); font-size: 1.05rem; font-weight: 650; text-decoration: none; }
.hero-follow-link span { color: var(--gold); transition: transform .2s ease; }
.hero-follow-link:hover, .hero-follow-link:focus-visible { color: var(--gold-soft); }
.hero-follow-link:hover span, .hero-follow-link:focus-visible span { transform: translateX(4px); }
/* Desktop: drop the footer lower while keeping the portrait anchored; lift the copy up a little */
@media (min-width: 761px) {
  .hero-shell { padding-bottom: 56px; }
  .hero-copy { padding-bottom: 44px; }
}

/* Shared editorial language */
.section-label, .page-kicker { margin: 0; color: var(--gold); font: 600 .68rem/1.25 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.text-link { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; color: var(--paper); font-size: .78rem; font-weight: 650; text-decoration: none; }
.text-link span { color: var(--gold); }
.text-link:hover { color: var(--gold-soft); }
.section-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 23px; }
.reveal-target { opacity: 0; transform: translateY(17px); transition: opacity .62s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1); }
.reveal-target.portrait-stage { transform: translateY(12px) scale(.987); transition-delay: .08s; }
.reveal-target.is-visible { opacity: 1; transform: none; }

/* Interior pages */
.page-hero { padding: 70px 0 62px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 82% 28%, rgba(41,80,139,.14), transparent 34%), linear-gradient(145deg, #08172e, #050d1c 68%); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); gap: 70px; align-items: end; }
.page-kicker { margin-bottom: 17px; }
.page-hero h1 { margin: 0; font-size: clamp(2.7rem, 4.2vw, 4.15rem); line-height: 1.03; letter-spacing: -.032em; }
.page-hero .work-hero-heading { font-size: clamp(2.55rem, 3.6vw, 3.55rem); }
.page-hero-copy { max-width: 540px; margin: 0; color: #b1b8c1; font: 500 1.05rem/1.58 var(--font-display); letter-spacing: -.008em; }
.content-section { padding: 74px 0; border-bottom: 1px solid var(--line); }
.content-section.compact-section { padding-block: 48px; }
.section-grid { display: grid; grid-template-columns: 185px minmax(0, 1fr); gap: 58px; }
.section-grid > .section-label { margin-top: 3px; }
.section-heading { margin: 0; font: 500 clamp(2.05rem, 3vw, 3.05rem)/1.05 var(--font-display); letter-spacing: -.027em; }
.section-intro { max-width: 700px; margin: 17px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.72; }

/* Ventures */
.ventures-section { padding-block: 0 78px; }
.venture-showcase { min-width: 0; max-width: 1160px; margin-inline: auto; }
.venture-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.venture-entry { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 46px clamp(28px, 3.2vw, 48px) 50px; text-align: left; }
.venture-entry + .venture-entry { border-left: 1px solid var(--line); }
.venture-company-brand { min-width: 0; width: min(100%, 220px); display: flex; flex-direction: column; align-items: flex-start; }
.venture-company-copy > p { max-width: 44ch; min-height: 6.8em; margin: 22px 0 0; color: #aab3bf; font-size: .9rem; line-height: 1.68; }
.venture-company-copy > .text-link { margin-top: 18px; }
.venture-logo-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.venture-logo { min-width: 0; height: 74px; display: flex; align-items: center; justify-content: center; }
.venture-logo img { width: auto; height: auto; object-fit: contain; transition: transform .28s cubic-bezier(.16,1,.3,1), opacity .2s ease; }
.venture-logo-link:hover img, .venture-logo-link:focus-visible img { opacity: .9; transform: translateY(-3px); }
.venture-logo--pimlico img { width: min(100%, 220px); }
.venture-logo--atlas img { width: min(100%, 220px); }
.venture-logo--shakr img { width: min(100%, 160px); }
.venture-logo--slice img { width: min(100%, 175px); }
.venture-product .venture-logo-link { width: 100%; justify-content: flex-start; }
.venture-product .venture-logo { justify-content: flex-start; }
.venture-status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: #9ba6b5; font: 650 .58rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.venture-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.venture-status--live { color: var(--green); }
.venture-status--development { color: var(--gold-soft); }
.venture-product > p { max-width: 44ch; min-height: 6.8em; margin: 22px 0 0; color: #9da7b5; font-size: .9rem; line-height: 1.68; }
.venture-product > .text-link { margin-top: 19px; }
.venture-paths-section { background: radial-gradient(circle at 74% 26%, rgba(41,80,139,.11), transparent 38%), #050d1c; }
.venture-paths { max-width: 1160px; margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.venture-path { min-width: 0; padding-right: clamp(40px, 6vw, 88px); }
.venture-path + .venture-path { padding-right: 0; padding-left: clamp(40px, 6vw, 88px); border-left: 1px solid var(--line); }
.venture-path h2 { max-width: 520px; margin: 16px 0 0; color: var(--paper); font: 500 clamp(2rem, 3vw, 2.7rem)/1.08 var(--font-display); letter-spacing: -.027em; }
.venture-path-copy { max-width: 570px; margin: 20px 0 0; color: #a3adba; font-size: .94rem; line-height: 1.72; }
.venture-path-links { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 27px; }

/* Stack */
.stack-page-section { padding-top: 0; }
.stack-directory { border-bottom: 1px solid var(--line); }
.stack-category { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding: 50px 0; border-top: 1px solid var(--line); }
.stack-category:first-child { border-top: 0; }
.stack-category-heading h2 { margin: 13px 0 0; font: 500 1.7rem/1.12 var(--font-display); letter-spacing: -.02em; }
.stack-category-heading > p:last-child { max-width: 200px; margin: 13px 0 0; color: #8591a1; font-size: .81rem; line-height: 1.58; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; }
.tool { position: relative; min-width: 0; min-height: 132px; padding: 24px 10px 22px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color .22s ease, background .22s ease, transform .22s ease; }
a.tool::before { content: ""; position: absolute; left: -10px; top: 20px; bottom: 20px; width: 1px; background: var(--gold); opacity: 0; transform: scaleY(.4); transition: opacity .22s ease, transform .22s ease; }
a.tool:hover, a.tool:focus-visible { border-bottom-color: rgba(222,177,88,.4); background: linear-gradient(100deg, rgba(222,177,88,.045), transparent 72%); outline: none; transform: translateY(-2px); }
a.tool:hover::before, a.tool:focus-visible::before { opacity: .75; transform: scaleY(1); }
.tool-lockup { height: 50px; display: flex; align-items: center; gap: 13px; }
.tool-lockup.mark img { width: 29px; height: 29px; flex: 0 0 29px; object-fit: contain; }
.tool-lockup.mark strong { color: #d6d8da; font-size: .91rem; font-weight: 600; }
.tool-lockup.wordmark { height: 74px; }
.tool-lockup.wordmark img { width: min(var(--wordmark-width, 148px), 100%); height: auto; max-height: 74px; flex: 0 1 auto; object-fit: contain; object-position: left center; }
.tool-lockup.openai { --wordmark-width: 92px; }
.tool-lockup.anthropic { --wordmark-width: 116px; }
.tool-lockup.grok { --wordmark-width: 70px; }
.tool-lockup.openrouter { --wordmark-width: 130px; }
.tool-lockup.firecrawl { --wordmark-width: 90px; }
.tool-lockup.deepl { --wordmark-width: 89px; }
.tool-lockup.elevenlabs { --wordmark-width: 110px; }
.tool-lockup.kimi { --wordmark-width: 48px; }
.tool-lockup.openai img, .tool-lockup.anthropic img { filter: invert(1); }
#models-research .tool-lockup { height: 64px; }
#models-research .tool-lockup.wordmark img { max-height: 48px; }
#models-research .tool-lockup.mark img { width: 27px; height: 27px; flex-basis: 27px; }
#models-research .tool-lockup.llama img { width: 29px; height: 29px; flex-basis: 29px; }
.tool-lockup.text-only strong { color: #f4f1ea; font-size: 1.16rem; font-weight: 650; letter-spacing: -.02em; }
#models-research .tool-lockup.text-only strong { font-size: 1.2rem; }
.tool-lockup.creative-align { height: 74px; }
.tool-lockup.rust img { filter: invert(1); opacity: .9; }
.tool-lockup.midjourney img { filter: invert(1); mix-blend-mode: screen; opacity: .88; }
.tool-lockup.figma img { width: 14px; height: 21px; flex-basis: 14px; }
.tool p { margin: 12px 0 0; color: #8995a6; font-size: .84rem; line-height: 1.54; }

/* Bio */
.bio-section { min-height: calc(100vh - 150px); padding: clamp(62px, 7vw, 96px) 0 clamp(76px, 9vw, 118px); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 24% 34%, rgba(216,173,92,.075), transparent 25%), radial-gradient(circle at 82% 24%, rgba(41,80,139,.13), transparent 32%), #050d1c; }
.bio-profile-grid { display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 760px); gap: clamp(54px, 8vw, 112px); align-items: start; }
.bio-portrait-block .page-kicker { margin-bottom: 20px; }
.bio-portrait-block figure { margin: 0; }
.bio-portrait-field { position: relative; min-height: 405px; display: flex; align-items: end; justify-content: center; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(ellipse 66% 44% at 58% 76%, rgba(216,173,92,.3), rgba(216,173,92,.08) 48%, transparent 78%), linear-gradient(145deg,#0a1d39,#061126 66%,#040a14); }
.bio-portrait-field::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(244,240,232,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(244,240,232,.055) 1px, transparent 1px); background-size: 42px 42px; opacity: .16; -webkit-mask-image: linear-gradient(to bottom right, transparent 12%, #000 48%, transparent 92%); mask-image: linear-gradient(to bottom right, transparent 12%, #000 48%, transparent 92%); pointer-events: none; }
.bio-portrait-field img { position: relative; z-index: 1; width: 108%; max-width: none; height: auto; display: block; transform: translateY(1%); }
.bio-identity { padding-top: 21px; }
.bio-identity h1 { margin: 0; font: 500 clamp(1.85rem, 2.8vw, 2.45rem)/1.08 var(--font-display); letter-spacing: -.026em; }
.bio-identity p { margin: 8px 0 0; color: #8f9baa; font-size: .82rem; font-weight: 600; }
.bio-profile-links { gap: 5px; margin-top: 15px; }
.bio-profile-links .profile-link { width: 32px; height: 32px; flex-basis: 32px; }
.bio-profile-links .profile-link img { width: 14px; height: 14px; }
.bio-profile-links .profile-link img[src$="/logos/x.svg"] { width: 12px; height: 12px; }
.bio-story { padding-top: 42px; border-top: 1px solid var(--line-strong); }
.bio-story p { max-width: 720px; margin: 0; color: #b7bec7; font: 500 1.04rem/1.76 var(--font-display); letter-spacing: -.004em; }
.bio-story p + p { margin-top: 23px; }
.bio-story .bio-opening { max-width: 650px; color: var(--paper); font-size: clamp(1.28rem, 2vw, 1.55rem); line-height: 1.55; }
.bio-actions { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px; }

/* CV and chronology */
.cv-hero-side { display: grid; gap: 22px; justify-items: start; }
.download-cv { min-height: 42px; display: inline-flex; align-items: center; gap: 16px; color: var(--paper); font-size: .71rem; font-weight: 650; text-decoration: none; }
.download-cv span { color: var(--gold); }
.timeline { border-top: 1px solid var(--line-strong); }
.timeline-item { display: grid; grid-template-columns: 135px 130px minmax(0, 1fr); gap: 28px; align-items: start; padding: 31px 0; border-bottom: 1px solid var(--line); }
.timeline-item time { padding-top: 5px; color: var(--gold); font: 600 .61rem/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.timeline-logo { width: 112px; min-height: 42px; display: flex; align-items: center; justify-content: flex-start; padding: 3px 0; overflow: hidden; }
.timeline-logo.light img { filter: grayscale(1) brightness(0) invert(1); opacity: .88; }
.timeline-logo img { width: auto; max-width: 108px; max-height: 29px; object-fit: contain; object-position: left center; }
.timeline-logo .pimlico { max-width: 104px; }
.timeline-body h2 { margin: 0; font-size: .98rem; font-weight: 600; line-height: 1.4; }
.timeline-body h3 { margin: 4px 0 0; color: #b0b8c3; font-size: .76rem; font-weight: 500; }
.timeline-body p, .timeline-body .timeline-summary { max-width: 690px; margin: 9px 0 0; color: #8e9aaa; font-size: .81rem; line-height: 1.62; }
.timeline-points, .timeline-body ul { display: grid; gap: 7px; max-width: 700px; margin: 12px 0 0; padding: 0; list-style: none; }
.timeline-points li, .timeline-body li { position: relative; padding-left: 16px; color: #8e9aaa; font-size: .81rem; line-height: 1.58; }
.timeline-points li::before, .timeline-body li::before { content: ""; position: absolute; top: .7em; left: 0; width: 6px; height: 1px; background: var(--gold); }
.role-step { margin-top: 19px; padding-top: 17px; border-top: 1px solid var(--line); }
.role-step h2 { margin: 0; }
.role-step h3 { margin-top: 4px; }
.client-mark { width: fit-content; display: flex; align-items: center; gap: 10px; margin-top: 15px; color: #949fad; font-size: .61rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.client-mark img { width: 23px; height: 23px; object-fit: contain; }
.education-list { border-top: 1px solid var(--line-strong); }
.education-row { display: grid; grid-template-columns: 115px minmax(285px, .82fr) 1fr; gap: 25px; align-items: start; padding: 25px 0; border-bottom: 1px solid var(--line); }
.education-row time { color: var(--gold); font: 600 .61rem/1.45 var(--font-mono); }
.education-row-main { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; }
.education-inline-logo { width: 48px; height: 40px; display: flex; align-items: center; justify-content: flex-start; overflow: hidden; }
.education-inline-logo img { width: auto; max-width: 46px; max-height: 37px; object-fit: contain; }
.education-inline-logo.kcl img { background: #e2231a; }
.education-row h2 { margin: 0; font-size: .92rem; line-height: 1.42; }
.education-row h3 { margin: 4px 0 0; color: #a1abb8; font-size: .74rem; font-weight: 500; }
.education-row p { margin: 0; color: #8e99a8; font-size: .78rem; line-height: 1.58; }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 52px; border-top: 1px solid var(--line-strong); }
.capability-group { padding: 24px 0; border-bottom: 1px solid var(--line); }
.capability-group h2 { margin: 0 0 16px; font: 500 1.28rem/1.15 var(--font-display); }
.capability-group ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.capability-group li { color: #919cac; font-size: .79rem; line-height: 1.45; }
.capability-group li::before { content: "—"; margin-right: 9px; color: var(--gold); }
.language-row { display: flex; gap: 42px; padding-top: 3px; }
.language-row div { min-width: 190px; }
.language-row strong { display: block; margin-bottom: 5px; font: 500 1rem/1.2 var(--font-display); }
.language-row span { color: #919cab; font-size: .75rem; }

/* Publications */
.compact-heading { margin-bottom: 27px; }
.publication-list { border-top: 1px solid var(--line-strong); }
.publication { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 26px; align-items: start; padding: 23px 0; border-bottom: 1px solid var(--line); }
.publication time { padding-top: 4px; color: var(--gold); font: 600 .61rem/1.4 var(--font-mono); }
.publication h2 { margin: 0; font-size: .91rem; font-weight: 600; line-height: 1.52; }
.publication p { margin: 5px 0 0; color: #8995a5; font-size: .73rem; }
.publication a { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; color: #aab3bf; font-size: .7rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.newsletter-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding-top: 3px; }
.newsletter-card > img { width: 37px; height: 37px; }
.newsletter-card h2 { margin: 0 0 6px; font: 500 1.35rem/1.15 var(--font-display); }
.newsletter-card p { margin: 0; color: #8994a4; font-size: .74rem; line-height: 1.55; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(34px, 6vw, 78px); align-items: start; }
.contact-form { padding: clamp(25px, 4vw, 42px); border: 1px solid var(--line); background: rgba(11,29,57,.5); }
.form-heading { margin-bottom: 32px; }
.form-heading h2 { margin: 0; font: 500 clamp(1.9rem, 3vw, 2.75rem)/1.06 var(--font-display); letter-spacing: -.024em; }
.form-heading > p:not(.section-label) { max-width: 560px; margin: 12px 0 0; color: #929dac; font-size: .88rem; line-height: 1.62; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 18px; }
.form-grid label { min-width: 0; display: grid; gap: 8px; }
.form-grid label > span { color: #b5bdc7; font: 600 .61rem/1.25 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }
.form-grid small { color: #7c8898; font-size: .65rem; font-weight: 500; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid rgba(244,240,232,.16); border-radius: 0; background: rgba(3,9,22,.62); color: var(--paper); font: 400 .81rem var(--font-sans); outline: none; }
.form-grid input, .form-grid select { min-height: 48px; padding: 0 13px; }
.form-grid textarea { min-height: 164px; padding: 13px; resize: vertical; line-height: 1.55; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: rgba(216,173,92,.72); box-shadow: 0 0 0 3px rgba(216,173,92,.08); }
.form-grid select { color-scheme: dark; }
.form-message { grid-column: 1 / -1; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-submit-row { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.form-submit-row button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 21px; padding: 0 17px; border: 1px solid rgba(216,173,92,.55); background: rgba(216,173,92,.08); color: var(--paper); font: 650 .68rem var(--font-sans); cursor: pointer; }
.form-submit-row button:hover, .form-submit-row button:focus-visible { border-color: var(--gold); background: rgba(216,173,92,.14); }
.form-submit-row button span { color: var(--gold); }
.form-status { margin: 0; color: #8793a3; font-size: .68rem; line-height: 1.45; }
.contact-aside { padding-top: 4px; }
.contact-aside h2 { margin: 16px 0 10px; font: 500 1.55rem/1.1 var(--font-display); }
.contact-profile-links { gap: 5px; margin-top: 16px; }
.contact-profile-links .profile-link { width: 32px; height: 32px; flex-basis: 32px; }
.contact-profile-links .profile-link img { width: 14px; height: 14px; }
.contact-profile-links .profile-link img[src$="/logos/x.svg"] { width: 12px; height: 12px; }
.contact-aside > p:not(.section-label) { margin: 27px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: #8994a4; font-size: .82rem; line-height: 1.7; }
.contact-aside-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 23px; }
.contact-aside-links a { color: #aeb6c1; font-size: .68rem; font-weight: 650; text-decoration: none; }

/* Footer */
.site-footer { padding: 29px 0 36px; background: #030916; color: #748095; font-size: .7rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .footer-profile-links { margin-top: 0; gap: 4px; }
.footer-profile-links .profile-link { width: 32px; height: 32px; flex-basis: 32px; }
.footer-profile-links .profile-link img { width: 14px; height: 14px; }
.footer-profile-links .profile-link img[src$="/logos/x.svg"] { width: 12px; height: 12px; }

@media (max-width: 980px) {
  .page-nav { gap: 14px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(310px, .82fr); }
  .page-hero-grid { grid-template-columns: 1fr; gap: 27px; }
  .page-hero-copy { max-width: 700px; }
  .stack-category { grid-template-columns: 205px minmax(0, 1fr); gap: 38px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-item { grid-template-columns: 110px 115px minmax(0, 1fr); gap: 21px; }
  .bio-profile-grid { grid-template-columns: minmax(230px, 290px) minmax(0, 1fr); gap: 54px; }
  .bio-portrait-field { min-height: 355px; }
}

@media (max-width: 900px) {
  .section-grid { grid-template-columns: 1fr; gap: 27px; }
  .section-grid > .section-label { margin-top: 0; }
  .venture-entry { padding-inline: 26px; }
}

@media (max-width: 760px) {
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .site-header { min-height: 68px; }
  .header-inner { justify-content: flex-start; gap: 10px; }
  .page-nav { gap: clamp(7px, 2.4vw, 13px); }
  .page-nav a { min-height: 42px; font-size: .72rem; }
  .page-nav a[aria-current="page"]::after { bottom: -8px; }
  .nav-full { display: none; }
  .nav-short { display: inline; }
  .js .nav-toggle { position: relative; z-index: 2; width: 42px; height: 42px; flex: 0 0 42px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-left: 0; border: 1px solid rgba(244,240,232,.12); border-radius: 50%; background: rgba(244,240,232,.035); color: var(--paper); cursor: pointer; }
  .js .nav-toggle i { width: 16px; height: 1px; display: block; background: currentColor; transition: transform .2s ease; }
  .js .nav-toggle.is-open i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .js .nav-toggle.is-open i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
  .js .page-nav { position: absolute; z-index: 1; top: calc(100% + 13px); left: 0; width: min(310px, calc(100vw - 32px)); display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 0; padding: 8px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(5,13,28,.985); box-shadow: 0 22px 50px rgba(0,0,0,.42); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
  .js .page-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .js .page-nav a { width: 100%; min-height: 46px; justify-content: space-between; padding: 0 13px; border-radius: 8px; font-size: .78rem; }
  .js .page-nav a:hover, .js .page-nav a:focus-visible, .js .page-nav a[aria-current="page"] { background: rgba(244,240,232,.055); }
  .js .page-nav a[aria-current="page"]::after { display: none; }
  .js .page-nav .nav-full { display: inline; }
  .js .page-nav .nav-short { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; grid-template-areas: "copy" "portrait"; grid-template-rows: auto; }
  .hero-copy { padding: 48px 0 0; }
  .hero h1 { font-size: clamp(2.55rem, 11vw, 3.2rem); }
  .hero-intro { margin-top: 20px; font-size: 1.14rem; }
  .profile-links { margin-top: 18px; }
  .hero-follow-link { margin-top: 24px; font-size: 1rem; }
  .portrait-stage { min-height: 340px; margin-inline: -16px; }
  .portrait { width: min(100%, 400px); max-height: none; }
  .hero-shell { background: radial-gradient(ellipse 50% 36% at 70% 77%, rgba(222,177,88,.18), rgba(216,173,92,.045) 47%, transparent 76%), radial-gradient(ellipse 76% 48% at 70% 63%, rgba(41,80,139,.36), transparent 70%), linear-gradient(150deg,#07162e,#041022 66%,#030916); }
  .hero-shell::before { left: -4%; top: 58%; right: -25%; bottom: -12%; }
  .hero-shell::after { inset: 45% -4% 0 5%; opacity: .18; -webkit-mask-image: linear-gradient(150deg, transparent, #000 30%, #000 78%, transparent); mask-image: linear-gradient(150deg, transparent, #000 30%, #000 78%, transparent); }
  .page-hero { padding: 42px 0 38px; }
  .page-hero-grid { gap: 20px; }
  .page-hero h1 { font-size: clamp(2.45rem, 11vw, 3.25rem); }
  .page-hero .work-hero-heading { font-size: clamp(2.3rem, 8vw, 2.55rem); }
  .content-section { padding: 58px 0; }
  .section-grid { grid-template-columns: 1fr; gap: 27px; }
  .ventures-section { padding-block: 0 48px; }
  .venture-grid { grid-template-columns: 1fr; }
  .venture-entry { padding: 34px 0 38px; }
  .venture-entry + .venture-entry { border-left: 0; border-top: 1px solid var(--line); }
  .venture-company-brand { width: min(100%, 195px); margin-top: 0; }
  .venture-company-copy > p { min-height: 0; margin-top: 20px; font-size: .91rem; line-height: 1.68; }
  .venture-company-copy > .text-link { margin-top: 15px; }
  .venture-logo { height: 62px; }
  .venture-logo--pimlico img { width: min(100%, 195px); }
  .venture-logo--atlas img { width: min(100%, 195px); }
  .venture-logo--shakr img { width: min(100%, 140px); }
  .venture-logo--slice img { width: min(100%, 155px); }
  .venture-product { align-items: flex-start; padding: 34px 0 36px; text-align: left; }
  .venture-product > p { min-height: 0; margin-top: 16px; font-size: .875rem; }
  .venture-product > .text-link { margin-top: 13px; }
  .venture-paths { grid-template-columns: 1fr; }
  .venture-path { padding: 0 0 42px; }
  .venture-path + .venture-path { padding: 42px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .venture-path h2 { margin-top: 13px; }
  .venture-path-links { align-items: flex-start; flex-direction: column; gap: 6px; }
  .bio-section { padding: 54px 0 72px; }
  .bio-profile-grid { grid-template-columns: 1fr; gap: 44px; }
  .bio-portrait-block { width: min(100%, 340px); }
  .bio-portrait-field { min-height: 405px; }
  .bio-story { padding-top: 30px; }
  .stack-category { grid-template-columns: 1fr; gap: 25px; padding: 38px 0; }
  .stack-category-heading > p:last-child { max-width: 430px; }
  .tool { min-height: 82px; padding: 13px 6px 14px 0; }
  .tool-lockup { height: 46px; gap: 9px; }
  .tool-lockup.wordmark, .tool-lockup.creative-align, #models-research .tool-lockup { height: 46px; }
  .tool-lockup.wordmark img { max-height: 40px; }
  #models-research .tool-lockup.wordmark img { max-height: 38px; }
  .tool p { display: none; }
  .timeline-item { grid-template-columns: 93px minmax(0, 1fr); gap: 17px; padding: 25px 0; }
  .timeline-logo { grid-column: 2; grid-row: 1; }
  .timeline-item time { grid-row: 1 / span 2; }
  .timeline-body { grid-column: 2; }
  .education-row { grid-template-columns: 1fr; gap: 9px; }
  .capability-grid { grid-template-columns: 1fr; }
  .language-row { flex-direction: column; gap: 18px; }
  .publication { grid-template-columns: 62px minmax(0, 1fr); }
  .publication a { grid-column: 2; justify-self: start; }
  .newsletter-card { grid-template-columns: 38px minmax(0, 1fr); }
  .newsletter-card .text-link { grid-column: 2; justify-self: start; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid input, .form-grid select, .form-grid textarea { font-size: 1rem; }
  .form-message { grid-column: auto; }
}

@media (max-width: 520px) {
  .page-nav { gap: clamp(6px, 2vw, 9px); }
  .page-nav a { font-size: .68rem; }
  .js .page-nav a { font-size: .78rem; }
  .profile-links { gap: 4px; }
  .portrait-stage { min-height: 312px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .timeline-item { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; }
  .timeline-item time { grid-column: 1; grid-row: 1; }
  .timeline-logo { grid-column: 2; grid-row: 1; width: 100px; }
  .timeline-body { grid-column: 1 / -1; grid-row: 2; }
  .publication { grid-template-columns: 1fr; gap: 8px; }
  .publication { padding-block: 18px; }
  .publication a { grid-column: 1; }
  .form-submit-row { align-items: stretch; flex-direction: column; gap: 12px; }
  .form-submit-row button { width: 100%; min-height: 48px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .contact-page .site-footer .footer-profile-links { display: none; }
}

@media (max-width: 385px) {
  .wrap { width: min(calc(100% - 24px), var(--max)); }
  .page-nav { gap: 6px; }
  .page-nav a { font-size: .66rem; }
  .hero h1 { font-size: 2.42rem; }
  .portrait-stage { margin-inline: -12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
  .reveal-target { opacity: 1 !important; transform: none !important; }
}
