:root {
  --ink: #10221d;
  --ink-soft: #30443d;
  --paper: #f5f1e8;
  --paper-deep: #e9e2d3;
  --white: #fffdf8;
  --acid: #d9ff58;
  --acid-soft: #edffad;
  --teal: #286c61;
  --line: rgba(16, 34, 29, .18);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  z-index: 10;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(16,34,29,.08) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 80%, rgba(16,34,29,.06) 0 1px, transparent 1px);
  background-size: 9px 11px, 13px 15px;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
[id] { scroll-margin-top: 90px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(245, 241, 232, .88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(16, 34, 29, .05); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-weight: 700; text-decoration: none; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.05rem;
}
.site-nav { display: flex; gap: 28px; }
.site-nav a { font-size: .82rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-cta {
  justify-self: end;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
}
.header-cta:hover { background: var(--teal); }

.hero { padding-top: 72px; overflow: hidden; }
.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  padding-block: 76px 64px;
}
.eyebrow, .section-number, .mini-label {
  margin: 0;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.signal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(40, 108, 97, .14);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7vw, 6.7rem);
  line-height: .92;
  letter-spacing: -.05em;
  font-weight: 600;
}
h1 em { color: var(--teal); font-weight: 500; }
.hero-lede { max-width: 685px; margin-bottom: 34px; color: var(--ink-soft); font-size: clamp(1.04rem, 1.5vw, 1.22rem); }
.hero-actions, .contact-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--teal); }
.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--white); }

.candidate-card {
  position: relative;
  padding: 20px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 20px 20px 0 var(--acid);
  transform: rotate(1.25deg);
}
.candidate-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,255,255,.16);
  pointer-events: none;
}
.candidate-card-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.candidate-initials {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  margin: 38px auto 30px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  color: var(--acid);
  font-family: var(--serif);
  font-size: 3.2rem;
}
.candidate-facts { margin: 0; }
.candidate-facts div { display: grid; grid-template-columns: 90px 1fr; gap: 15px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.16); }
.candidate-facts dt { font-family: var(--mono); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; opacity: .62; }
.candidate-facts dd { margin: 0; font-size: .82rem; font-weight: 600; }
.text-link, .project-link { display: inline-flex; gap: 8px; margin-top: 24px; font-size: .82rem; font-weight: 700; text-underline-offset: 5px; }
.candidate-card .text-link { color: var(--acid); }

.proof-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { display: flex; flex-direction: column; min-height: 120px; justify-content: center; padding: 24px 28px; border-left: 1px solid var(--line); }
.proof-grid div:last-child { border-right: 1px solid var(--line); }
.proof-grid strong { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; }
.proof-grid span { margin-top: 9px; color: var(--ink-soft); font-size: .75rem; }

.section { padding-block: clamp(88px, 11vw, 150px); }
.section-heading { max-width: 800px; margin-bottom: 50px; }
.section-number { margin-bottom: 18px; color: var(--teal); }
.section-heading h2, .contact-section h2 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.035em;
}
.section-heading > p:last-child, .section-heading.split > p { max-width: 650px; margin-bottom: 0; color: var(--ink-soft); font-size: 1.04rem; }
.section-heading.split { max-width: none; display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 80px; }

.argument-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.argument-card { min-height: 420px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); background: var(--white); }
.argument-card.featured { background: var(--acid-soft); }
.argument-index { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: auto; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--mono); font-size: .74rem; }
.argument-card h3, .fit-table-heading h3, .project-content h3, .timeline-body h3, .education-card h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; line-height: 1.1; }
.argument-card p { color: var(--ink-soft); font-size: .91rem; }
.argument-card ul { margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.argument-card li { display: flex; gap: 8px; margin: 7px 0; font-family: var(--mono); font-size: .66rem; text-transform: uppercase; }
.argument-card li::before { content: "+"; color: var(--teal); font-weight: 700; }

.fit-table-wrap { margin-top: 14px; border: 1px solid var(--line); background: var(--ink); color: var(--white); }
.fit-table-heading { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 32px; }
.fit-table-heading .mini-label { margin-bottom: 8px; color: var(--acid); }
.fit-table-heading h3 { margin-bottom: 0; }
.status-badge { display: inline-flex; width: max-content; padding: 6px 9px; border: 1px solid currentColor; border-radius: 999px; font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.fit-table { border-top: 1px solid rgba(255,255,255,.17); }
.fit-row { display: grid; grid-template-columns: .65fr 1.35fr 1fr; border-bottom: 1px solid rgba(255,255,255,.12); }
.fit-row:last-child { border-bottom: 0; }
.fit-row > * { padding: 19px 24px; border-right: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
.fit-row > *:last-child { border-right: 0; }
.fit-row strong { color: var(--acid); }
.fit-head > * { padding-block: 12px; font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }

.projects-section { background: var(--ink); color: var(--white); }
.section-heading.light .section-number { color: var(--acid); }
.section-heading.light > p:last-child { color: rgba(255,255,255,.65); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.project-card { overflow: hidden; border: 1px solid rgba(255,255,255,.2); background: #163029; }
.project-card.project-live { background: #f6f2e9; color: var(--ink); }
.project-meta { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid currentColor; font-family: var(--mono); font-size: .6rem; text-transform: uppercase; opacity: .85; }
.status-badge.live { background: var(--acid); color: var(--ink); border-color: var(--ink); }
.status-badge.concept { color: var(--acid); }
.project-visual { min-height: 310px; position: relative; overflow: hidden; border-bottom: 1px solid currentColor; }
.citation-visual { display: flex; flex-direction: column; justify-content: center; gap: 23px; padding: 48px; background: var(--paper-deep); }
.citation-line { display: block; width: 68%; height: 2px; background: var(--ink); opacity: .42; }
.citation-line.long { width: 92%; }
.citation-line.short { width: 46%; }
.citation-token { position: absolute; top: 52px; right: 58px; color: var(--teal); font-family: var(--serif); font-size: 5rem; }
.citation-score { position: absolute; right: 32px; bottom: 30px; width: 116px; height: 116px; display: grid; place-content: center; border: 1px solid var(--teal); border-radius: 50%; text-align: center; color: var(--teal); background: var(--paper); }
.citation-score strong { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.citation-score small { font-family: var(--mono); font-size: .5rem; text-transform: uppercase; }
.mirror-visual { display: grid; grid-template-columns: 1fr .7fr; align-items: center; gap: 32px; padding: 46px; background: linear-gradient(135deg, #1f463d, #0e1f1a); }
.mirror-frame { aspect-ratio: 3 / 4; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 13px solid #b88b58; box-shadow: inset 0 0 0 1px #6f4c2b, 13px 13px 30px rgba(0,0,0,.25); background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.025)); }
.mirror-frame span { font-family: var(--mono); font-size: 1.25rem; }
.mirror-frame i { width: 40%; height: 1px; margin: 12px; background: var(--acid); }
.mirror-frame small { font-family: var(--mono); font-size: .52rem; }
.component-stack { display: flex; flex-direction: column; gap: 12px; }
.component-stack span { padding: 12px; border: 1px solid rgba(255,255,255,.35); font-family: var(--mono); font-size: .58rem; text-align: center; text-transform: uppercase; }
.project-content { padding: 30px; }
.project-content .mini-label { margin-bottom: 12px; color: var(--teal); }
.project-card:not(.project-live) .mini-label { color: var(--acid); }
.project-content h3 { margin-bottom: 14px; font-size: 2.2rem; }
.project-content > p:not(.mini-label) { min-height: 76px; color: inherit; opacity: .75; font-size: .9rem; }
.tag-list { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 18px; }
.tag-list span { padding: 5px 8px; border: 1px solid currentColor; border-radius: 999px; font-family: var(--mono); font-size: .55rem; letter-spacing: .04em; text-transform: uppercase; opacity: .75; }
.project-link { color: var(--teal); }
.project-card:not(.project-live) .project-link { color: var(--acid); }
.project-note { display: block; margin-top: 26px; font-family: var(--mono); font-size: .59rem; text-transform: uppercase; opacity: .62; }

.timeline { max-width: 990px; margin: 0 auto; }
.timeline-item { display: grid; grid-template-columns: 145px 20px 1fr; gap: 22px; }
.timeline-date { padding-top: 7px; font-family: var(--mono); font-size: .64rem; text-transform: uppercase; }
.timeline-marker { position: relative; }
.timeline-marker::before { content: ""; position: absolute; top: 8px; left: 50%; width: 11px; height: 11px; border: 2px solid var(--teal); border-radius: 50%; background: var(--paper); transform: translateX(-50%); }
.timeline-marker::after { content: ""; position: absolute; top: 24px; bottom: 0; left: 50%; width: 1px; background: var(--line); }
.timeline-item:last-child .timeline-marker::after { display: none; }
.timeline-body { padding: 0 0 54px 18px; }
.timeline-body .mini-label { margin-bottom: 8px; color: var(--teal); }
.timeline-body h3 { margin-bottom: 12px; }
.timeline-body > p:not(.mini-label) { max-width: 710px; color: var(--ink-soft); font-size: .9rem; }
.education-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.education-card { min-height: 245px; padding: 30px; border: 1px solid var(--line); background: var(--white); }
.education-card.accent { background: var(--acid-soft); }
.education-card .mini-label { color: var(--teal); }
.education-card h3 { margin: 34px 0 9px; }
.education-card p { margin-bottom: 18px; }
.education-card small { display: block; max-width: 520px; color: var(--ink-soft); }

.contact-section { padding-block: 95px; background: var(--teal); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 60px; }
.contact-section .section-number { color: var(--acid); }
.contact-section h2 { margin-bottom: 15px; }
.contact-section p:not(.section-number) { max-width: 610px; margin-bottom: 0; color: rgba(255,255,255,.72); }
.button-light { border-color: var(--acid); background: var(--acid); color: var(--ink); }
.button-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.site-footer { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--mono); font-size: .62rem; text-transform: uppercase; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 80px; }
  .candidate-card { max-width: 470px; margin: 0 18px 20px 0; }
  .argument-grid { grid-template-columns: 1fr; }
  .argument-card { min-height: 330px; }
  .project-grid, .education-grid { grid-template-columns: 1fr; }
  .section-heading.split, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 30px, 1180px); }
  .site-header { min-height: 62px; padding: 10px 15px; }
  .brand > span:last-child { display: none; }
  .header-cta { padding: 9px 12px; }
  .hero { padding-top: 62px; }
  .hero-grid { min-height: auto; gap: 58px; padding-block: 66px 58px; }
  h1 { font-size: clamp(3.05rem, 16vw, 4.8rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .candidate-card { box-shadow: 10px 10px 0 var(--acid); transform: none; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div { min-height: 105px; padding: 18px; border-bottom: 1px solid var(--line); }
  .proof-grid div:nth-child(even) { border-right: 1px solid var(--line); }
  .section { padding-block: 82px; }
  .fit-table-heading { align-items: flex-start; flex-direction: column; }
  .fit-row { grid-template-columns: 1fr; padding: 16px 0; }
  .fit-row > * { padding: 6px 20px; border-right: 0; }
  .fit-head { display: none; }
  .fit-row span:last-child { color: rgba(255,255,255,.62); }
  .project-visual { min-height: 250px; }
  .citation-visual, .mirror-visual { padding: 28px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; padding-left: 24px; border-left: 1px solid var(--line); }
  .timeline-marker { display: none; }
  .timeline-body { padding: 0 0 48px; }
  .contact-actions { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  @page { margin: .55in; }
  body { background: #fff; color: #000; font-size: 9pt; }
  body::before, .site-header, .hero-actions, .contact-section, .site-footer, .project-visual { display: none !important; }
  .hero { padding-top: 0; }
  .hero-grid { min-height: 0; grid-template-columns: 1.5fr .8fr; gap: 30px; padding: 0 0 24px; }
  h1 { font-size: 36pt; }
  .candidate-card { box-shadow: none; transform: none; print-color-adjust: exact; }
  .proof-grid div { min-height: 70px; }
  .section { padding-block: 30px; }
  .section-heading { margin-bottom: 18px; }
  .section-heading h2 { font-size: 26pt; }
  .argument-card { min-height: 245px; padding: 18px; break-inside: avoid; }
  .argument-index { margin-bottom: 20px; }
  .fit-table-wrap, .projects-section { print-color-adjust: exact; }
  .project-content > p:not(.mini-label) { min-height: 0; }
  .timeline-body { padding-bottom: 22px; }
  [data-reveal] { opacity: 1; transform: none; }
}
