/* Numethica: dependency-free editorial design */
:root {
  --ink: #102a32;
  --ink-soft: #3d555c;
  --paper: #f5f1e8;
  --paper-2: #ebe4d6;
  --white: #fffdf8;
  --signal: #d14f32;
  --signal-dark: #a83722;
  --line: #cfc6b7;
  --focus: #075985;
  --max: 76rem;
  --reading: 47rem;
  --radius: .35rem;
  --shadow: 0 1rem 3rem rgb(16 42 50 / .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.65; text-rendering: optimizeLegibility; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: .08em; }
a:hover { color: var(--signal-dark); }
a:focus-visible, button:focus-visible { outline: .2rem solid var(--focus); outline-offset: .25rem; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .7rem 1rem; background: var(--white); border: .15rem solid var(--focus); }
.skip-link:focus { top: 1rem; }
.site-header { max-width: var(--max); margin: 0 auto; padding: 1.4rem clamp(1.2rem, 4vw, 3rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; letter-spacing: -.02em; }
.brand span { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; background: var(--signal); color: white; font: 800 .82rem/1 ui-monospace, monospace; border-radius: 50%; }
.brand strong { font-size: 1.12rem; }
.site-header nav { display: flex; gap: clamp(.75rem, 2vw, 1.6rem); align-items: center; }
.site-header nav a { text-decoration: none; font-size: .92rem; font-weight: 650; }
.site-header nav a[aria-current="page"] { color: var(--signal-dark); box-shadow: 0 .17rem 0 var(--signal); }
main { overflow: hidden; }
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 12vw, 9.5rem) clamp(1.2rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem); position: relative; }
.hero::after { content: ""; position: absolute; width: clamp(13rem, 28vw, 24rem); aspect-ratio: 1; right: clamp(-8rem, -4vw, -2rem); top: 2rem; border: clamp(2.5rem, 6vw, 5.5rem) solid var(--paper-2); border-radius: 50%; z-index: -1; }
.eyebrow, .section-label { margin: 0 0 1.2rem; color: var(--signal-dark); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h1 { max-width: 16ch; margin-bottom: 2rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.1rem, 8vw, 7.2rem); font-weight: 500; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4.2vw, 3.8rem); font-weight: 500; }
h3 { font-size: 1.25rem; }
.lead { max-width: 48rem; margin: 0; color: var(--ink-soft); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.55; }
.proof-strip, .facts { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: var(--white); }
.proof-strip div, .facts div { min-height: 11rem; padding: 2.2rem; display: flex; flex-direction: column; gap: .7rem; justify-content: center; border-right: 1px solid rgb(255 255 255 / .18); }
.proof-strip strong, .facts strong { font-family: Georgia, serif; font-size: 1.4rem; font-weight: 500; }
.proof-strip span, .facts span { color: #dce4e5; }
.section { max-width: var(--max); margin: 0 auto; padding: clamp(4.5rem, 9vw, 8rem) clamp(1.2rem, 4vw, 3rem); }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 9vw, 8rem); align-items: start; }
.split h2 { max-width: 10ch; }
.prose { max-width: var(--reading); font-size: 1.12rem; }
.prose p:first-child { margin-top: 0; }
.prose h2 { margin-top: 3rem; font-size: 2rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.section-heading > p { max-width: 34rem; color: var(--ink-soft); }
.section-heading h2 { margin-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { min-height: 17rem; padding: clamp(1.6rem, 4vw, 3rem); background: var(--white); }
.card > span, .questions > li > span, .timeline article > span { display: inline-block; margin-bottom: 2.5rem; color: var(--signal-dark); font: 700 .78rem/1 ui-monospace, monospace; }
.card h3 { max-width: 15ch; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.card p, .publication-card p { color: var(--ink-soft); }
.publication-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.publication-card { padding: clamp(1.5rem, 4vw, 2.8rem); background: var(--white); display: grid; grid-template-columns: minmax(8rem, .55fr) minmax(16rem, 1.3fr) minmax(15rem, 1fr) auto; gap: 2rem; align-items: center; }
.publication-card > div { display: flex; flex-direction: column; gap: .65rem; align-items: start; }
.publication-card h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.3rem, 2.1vw, 1.8rem); font-weight: 500; }
.publication-card h3 a { text-decoration: none; }
.publication-card p { margin: 0; }
time { color: var(--ink-soft); font-size: .86rem; }
.tag { display: inline-block; padding: .25rem .55rem; color: var(--signal-dark); background: #f7ddd5; font-size: .74rem; font-weight: 750; letter-spacing: .02em; }
.text-link { font-weight: 750; white-space: nowrap; }
.callout { margin-top: clamp(2rem, 5vw, 5rem); margin-bottom: clamp(2rem, 5vw, 5rem); background: var(--paper-2); border-left: .5rem solid var(--signal); }
.callout h2 { max-width: 19ch; }
.callout > p:not(.section-label) { max-width: 50rem; font-size: 1.1rem; }
.actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.button { display: inline-block; padding: .85rem 1.15rem; border: 2px solid var(--ink); background: var(--ink); color: white; text-decoration: none; font-weight: 750; border-radius: var(--radius); }
.button:hover { background: var(--signal-dark); border-color: var(--signal-dark); color: white; }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { color: white; background: var(--ink); }
.questions { padding: 0; margin: 3rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.questions li, .timeline article { display: grid; grid-template-columns: 5rem 1fr; gap: 2rem; padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.questions h3, .timeline h3 { margin-bottom: .5rem; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.questions p, .timeline p { margin: 0; max-width: 48rem; color: var(--ink-soft); }
.timeline { margin-top: 3rem; }
.facts { margin-top: 0; margin-bottom: 6rem; }
.facts strong { color: #ff9a80; font-size: 2rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.contact-card { padding: clamp(2rem, 5vw, 4rem); background: var(--white); }
.contact-card h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.contact-card p:not(.section-label) { min-height: 5rem; color: var(--ink-soft); }
.privacy-note { max-width: 55rem; }
.privacy-note h2 { font-size: 2rem; }
.legal { padding-top: 1rem; }
.small { color: var(--ink-soft); font-size: .88rem; }
.site-footer { max-width: var(--max); margin: 5rem auto 0; padding: 4rem clamp(1.2rem, 4vw, 3rem) 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; background: var(--ink); color: white; position: relative; }
.site-footer > div { display: flex; flex-direction: column; align-items: start; gap: .45rem; }
.site-footer p { margin: .6rem 0; color: #dce4e5; }
.site-footer a { color: white; }
.site-footer .brand { text-decoration: none; }
.site-footer .copyright { position: absolute; right: 2rem; bottom: 1rem; font-size: .8rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 58rem) {
  .site-header { align-items: flex-start; }
  .site-header nav { max-width: 24rem; justify-content: flex-end; flex-wrap: wrap; }
  .proof-strip, .facts { grid-template-columns: 1fr; }
  .proof-strip div, .facts div { min-height: 0; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / .18); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .publication-card { grid-template-columns: 1fr; gap: 1rem; }
  .publication-card > div { flex-direction: row; justify-content: space-between; }
  .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .contact-card p:not(.section-label) { min-height: 0; }
}
@media (max-width: 38rem) {
  .site-header { display: block; }
  .site-header nav { margin-top: 1.5rem; justify-content: flex-start; gap: .75rem 1.15rem; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.5rem); }
  .cards { grid-template-columns: 1fr; }
  .questions li, .timeline article { grid-template-columns: 2.6rem 1fr; gap: .8rem; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer .copyright { position: static; grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media print { .site-header nav, .actions, .site-footer { display: none; } body { background: white; color: black; } .hero, .section { max-width: none; padding: 2rem 0; } }
