/* Parxyz — site styles. No build step; edit directly. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --stage: #f2f2f0;
  --sand: #e8e2d9;
  --blue: #a3abc8;
  --sage: #b9c1ad;
  --ink: #161616;
  --ink-2: rgba(0, 0, 0, 0.72);
  --ink-3: rgba(0, 0, 0, 0.4);
  --muted: rgba(0, 0, 0, 0.56);
  --line: rgba(0, 0, 0, 0.1);
  --accent: #d9583a;
  --btn: #2b2b2b;
  --radius: 28px;
  --gutter: 24px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .14 0 0 0 -.03'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (max-width: 640px) { :root { --gutter: 16px; --radius: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; }
.skip-link:focus { top: 12px; }
.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; }

/* ---------- Type ---------- */
.display {
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--ink);
}
.dim { color: var(--ink-3); }
.label { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.6; }
.eyebrow { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.lede { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 520px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 13px; font-weight: 500; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-dark { background: var(--btn); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line { border-color: rgba(0, 0, 0, 0.18); color: var(--ink); background: transparent; }
.btn-line:hover { background: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 56px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1px 0 var(--line);
}
.logo { justify-self: start; display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -0.03em; }
.logo svg { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: 44px; }
.nav a { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; transition: color 0.2s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .nav-contact { display: none; }
.header-cta { justify-self: end; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.menu-btn { display: none; justify-self: end; background: none; border: 0; padding: 8px 0; font: inherit; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); cursor: pointer; }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 56px 0 0 0; z-index: 49; background: var(--bg);
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px var(--gutter);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 32px; letter-spacing: -0.03em; text-transform: none; color: var(--ink); padding: 6px 0; }
  .nav .nav-contact { display: block; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--bg); box-shadow: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 640px; max-height: 1100px; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 42%, #fbfbfa 0%, var(--stage) 72%);
}
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: var(--grain); opacity: 0.55; mix-blend-mode: multiply;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero-copy { position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-50%); max-width: 420px; }
.hero-copy .hero-sub { margin-top: 18px; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 330px; }
.hero-cta { margin-top: 28px; }

@media (max-width: 1080px) {
  .hero { height: auto; min-height: 0; max-height: none; padding: 112px var(--gutter) 0; display: flex; flex-direction: column; }
  .hero-copy { position: static; transform: none; max-width: 520px; }
  .hero-media { position: relative; inset: auto; order: 2; margin: 16px calc(-1 * var(--gutter)) 0; aspect-ratio: 16 / 10; }
  .hero-media img { object-position: 70% 70%; }
}
@media (max-width: 640px) {
  .hero { padding-top: 104px; }
  .hero-media { aspect-ratio: 1 / 1; }
  .hero-media img { object-position: 80% 70%; }
}

/* ---------- Statement ---------- */
.statement { padding: 168px var(--gutter) 152px; text-align: center; }
.statement .big {
  max-width: 1000px; margin: 0 auto;
  font-size: clamp(24px, 2.9vw, 40px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.16;
}
.stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px 72px; margin-top: 80px; }
.stat strong { display: block; font-size: 30px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { display: block; margin-top: 6px; color: var(--ink-3); }
@media (max-width: 640px) {
  .statement { padding: 104px var(--gutter) 96px; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 16px; margin-top: 56px; }
}

/* ---------- Section heads ---------- */
.head { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.head .lede { margin: 18px auto 0; }
.section-products { padding-top: 24px; }

/* ---------- Products ---------- */
.product { padding-top: 136px; }
.product .head h3 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.035em; line-height: 1.02; }
.media {
  --c: var(--stage);
  position: relative; overflow: hidden; isolation: isolate;
  margin: 48px var(--gutter) 0; border-radius: var(--radius);
  height: clamp(420px, 74vh, 820px);
  background: radial-gradient(70% 65% at 50% 38%, color-mix(in srgb, var(--c) 72%, #fff) 0%, var(--c) 78%);
}
.media.sand { --c: var(--sand); }
.media.blue { --c: var(--blue); }
.media.sage { --c: var(--sage); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.media img.contain { object-fit: contain; padding: 3% 4%; }
.media img.cover { object-fit: cover; object-position: 50% 30%; }
.media img.detail { object-fit: contain; object-position: 50% 100%; }
.media .pill {
  position: absolute; z-index: 2; top: 20px; left: 50%; transform: translateX(-50%);
  height: 30px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px;
  background: rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: 12px; font-weight: 500; color: var(--ink); white-space: nowrap;
}
@media (max-width: 640px) { .media { height: 380px; margin-top: 36px; } .media img.cover, .media img.detail { object-fit: cover; object-position: 38% 30%; } }

.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px;
  max-width: 1100px; margin: 64px auto 0; padding: 0 var(--gutter); text-align: center;
}
.feature svg { width: 22px; height: 22px; margin: 0 auto 14px; color: var(--ink-2); }
.feature h4 { font-size: 14px; letter-spacing: -0.01em; }
.feature p { margin: 6px auto 0; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 230px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
.note { max-width: 640px; margin: 120px auto 0; padding: 0 var(--gutter); text-align: center; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }

/* ---------- Split sections ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  max-width: 1400px; margin: 0 auto; padding: 176px var(--gutter) 0;
}
.split-left .sticky { position: sticky; top: 104px; }
.split-left .lede { margin-top: 20px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; padding-top: 120px; }
  .split-left .sticky { position: static; }
}
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 64px 1fr; padding: 28px 0 30px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding-top: 4px; }
.steps h3 { font-size: 19px; letter-spacing: -0.02em; }
.steps p { margin-top: 6px; font-size: 14px; color: var(--muted); max-width: 460px; }

.principles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  max-width: 1400px; margin: 96px auto 0; padding: 0 var(--gutter);
}
.principles div { padding-top: 20px; border-top: 1px solid var(--ink); }
.principles h3 { font-size: 14px; letter-spacing: -0.01em; }
.principles p { margin-top: 6px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .principles { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Publications (shared) ---------- */
.pub-rows { list-style: none; margin: 0; padding: 0; }
.pub-rows li { display: grid; grid-template-columns: 64px 1fr; padding: 22px 0; border-top: 1px solid var(--line); }
.pub-rows li:last-child { border-bottom: 1px solid var(--line); }
.pub-year { font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding-top: 3px; }
.pub-title { font-size: 15px; font-weight: 500; line-height: 1.38; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
a.pub-title:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 0, 0, 0.3); }
.pub-venue { margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.pub-authors { margin-top: 6px; font-size: 13px; color: var(--muted); }
.pub-authors b { color: var(--ink); font-weight: 500; }
.pub-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; }
.pub-foot a { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.pub-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tag { font-size: 11px; color: var(--ink-3); }
.tag + .tag::before { content: "·"; margin-right: 6px; margin-left: -8px; color: var(--ink-3); }

/* ---------- Team ---------- */
.team { padding-top: 176px; }
.team-body { max-width: 1400px; margin: 72px auto 0; padding: 0 var(--gutter); }

/* Initials sit on the same grainy palette tones as the product renders. */
.avatar {
  --c: var(--sand);
  position: relative; isolation: isolate; overflow: hidden; flex: none;
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(85% 85% at 32% 28%, color-mix(in srgb, var(--c) 50%, #fff) 0%, var(--c) 82%);
  font-size: 20px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink-2);
}
.avatar::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.6; mix-blend-mode: multiply; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.tone-sand { --c: var(--sand); }
.tone-blue { --c: var(--blue); }
.tone-sage { --c: var(--sage); }
.tone-clay { --c: #e3c6b4; }

.links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.links a { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Lead founder: identity on the left, bio on the right, links anchored under the identity. */
.founder {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr;
  grid-template-areas: "id bio" "links bio"; gap: 0 64px;
  padding: 40px 0 72px; border-top: 1px solid var(--ink);
}
.founder-id { grid-area: id; }
.founder-bio { grid-area: bio; }
.founder > .links { grid-area: links; align-self: end; margin-top: 32px; }
.founder-photo { width: 100%; max-width: 340px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--stage); }
.founder h3 { margin-top: 28px; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.035em; line-height: 1.08; }
.founder .role { margin-top: 10px; color: var(--accent); }
.founder-bio p { max-width: 720px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.founder-bio p + p { margin-top: 20px; }
.founder-bio .founder-lead { font-size: clamp(19px, 1.65vw, 23px); line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); }

/* Other members: ruled columns, the same rhythm as the principles row. */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.person { padding-top: 28px; border-top: 1px solid var(--ink); }
.person-top { display: flex; align-items: center; gap: 16px; }
.person h3 { font-size: 18px; letter-spacing: -0.02em; line-height: 1.25; }
.person .role { margin-top: 2px; color: var(--accent); }
.person .bio { margin-top: 20px; font-size: 13.5px; line-height: 1.6; color: var(--muted); max-width: 440px; }
.person .links { margin-top: 18px; }

/* Affiliations: an endorsement strip, monochrome until hovered. */
.affil-row { margin-top: 144px; }
.affil-title { display: flex; align-items: center; gap: 24px; color: var(--ink-3); text-align: center; }
.affil-title::before, .affil-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.affil-list { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px clamp(56px, 10vw, 168px); }
.affil-list a { display: block; border-radius: 8px; }
.affil-logo { height: 64px; width: auto; filter: grayscale(1); opacity: 0.72; transition: filter 0.4s ease, opacity 0.4s ease; }
.affil-logo.fau { height: 70px; }
.affil-list a:hover .affil-logo, .affil-list a:focus-visible .affil-logo { filter: none; opacity: 1; }
@media (hover: none) { .affil-logo { filter: none; opacity: 1; } }

@media (max-width: 900px) {
  .team { padding-top: 120px; }
  .team-body { margin-top: 56px; }
  .founder { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "id" "bio" "links"; padding: 32px 0 56px; }
  .founder-bio { margin-top: 28px; }
  .founder > .links { margin-top: 28px; }
  .people { grid-template-columns: 1fr; gap: 40px; }
  .person .bio { max-width: 640px; }
  .affil-row { margin-top: 104px; }
}
@media (max-width: 600px) {
  .founder-photo { max-width: 260px; }
  .founder h3 { margin-top: 22px; }
  .founder-bio .founder-lead { font-size: 17px; line-height: 1.5; }
  .affil-title::before, .affil-title::after { display: none; }
  .affil-title { justify-content: center; }
  .affil-list { margin-top: 32px; gap: 32px 48px; }
  .affil-logo { height: 52px; }
  .affil-logo.fau { height: 57px; }
}

/* ---------- Contact ---------- */
.contact { padding: 192px var(--gutter) 96px; text-align: center; }
.mail-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 560px; margin: 44px auto 0; padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.mail-row .addr { font-size: 18px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.mail-row .go { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.mail-row a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact .small { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }
.contact .small a { color: var(--ink-2); }
@media (max-width: 640px) { .contact { padding: 120px var(--gutter) 56px; } .mail-row .addr { font-size: 16px; } }

/* ---------- Footer ---------- */
/* A night scene fills the footer: the sky rises out of the page, the mountain sinks into the night. */
.site-footer { --night: #0a0e10; position: relative; background: var(--night); color: rgba(255, 255, 255, 0.72); overflow: hidden; isolation: isolate; }
.footer-scene { position: relative; width: 100%; aspect-ratio: 2000 / 740; min-height: 380px; max-height: 820px; overflow: hidden; }
.footer-scene img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.08); transform-origin: 50% 100%; will-change: transform;
}
.footer-scene::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 34%; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(255, 255, 255, 0.82) 16%, rgba(255, 255, 255, 0.42) 42%, rgba(255, 255, 255, 0.12) 72%, rgba(255, 255, 255, 0) 100%);
}
.footer-scene::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 48%; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 14, 16, 0) 0%, rgba(10, 14, 16, 0.55) 45%, rgba(10, 14, 16, 0.9) 78%, var(--night) 100%);
}
.stars, .stars::after {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 26%, #000 50%, transparent 68%);
  mask-image: linear-gradient(to bottom, transparent 8%, #000 26%, #000 50%, transparent 68%);
}
.stars {
  background-image:
    radial-gradient(1.3px 1.3px at 8% 22%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 23% 61%, #fff 50%, transparent 100%),
    radial-gradient(1.6px 1.6px at 41% 14%, #ffe9dc 50%, transparent 100%),
    radial-gradient(1px 1px at 57% 47%, #fff 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 72% 28%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 88% 66%, #dff4ff 50%, transparent 100%);
  background-size: 360px 300px;
  animation: twinkle 4.2s ease-in-out infinite alternate;
}
.stars::after {
  content: "";
  background-image:
    radial-gradient(1.2px 1.2px at 15% 40%, #fff 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 34% 82%, #ffe9dc 50%, transparent 100%),
    radial-gradient(1px 1px at 63% 18%, #fff 50%, transparent 100%),
    radial-gradient(1.3px 1.3px at 81% 52%, #fff 50%, transparent 100%);
  background-size: 470px 410px;
  background-position: 120px 60px;
  animation: twinkle 6.4s ease-in-out -2s infinite alternate;
}
@keyframes twinkle { from { opacity: 0.15; } to { opacity: 0.85; } }
@media (prefers-reduced-motion: reduce) {
  .stars, .stars::after { animation: none; opacity: 0.5; }
  .footer-scene img { transform: scale(1.04); }
}
@media (max-width: 640px) { .footer-scene { aspect-ratio: 16 / 9; min-height: 0; } }

.footer-inner { position: relative; z-index: 3; margin-top: -72px; padding: 0 var(--gutter) 24px; }
.footer-top { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 48px; }
.site-footer .logo { color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(130px, auto)); gap: 32px 48px; }
.footer-cols h4 { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.42); margin-bottom: 14px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-cols a { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: color 0.2s ease; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 112px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.42); }
.footer-bottom p { font-size: 11px; max-width: 620px; }
.site-footer :focus-visible { outline-color: #fff; }
@media (max-width: 860px) {
  .footer-inner { margin-top: -24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { margin-top: 64px; }
}

/* ---------- Inner pages ---------- */
.page-top { max-width: 1400px; margin: 0 auto; padding: 152px var(--gutter) 56px; }
.page-top .lede { margin-top: 20px; max-width: 600px; }
.pub-tools { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter) 40px; display: grid; gap: 22px; }
.search {
  width: 100%; max-width: 440px; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.3); border-radius: 0;
  background: transparent; color: var(--ink); font: inherit; font-size: 15px; outline: none;
}
.search:focus { border-bottom-color: var(--ink); }
.search::placeholder { color: var(--ink-3); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  font: inherit; font-size: 12px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: all 0.2s ease;
}
.filter:hover { border-color: rgba(0, 0, 0, 0.3); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--btn); border-color: var(--btn); color: #fff; }
.pub-count { color: var(--ink-3); }
.pubs { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter) 40px; }
.year-group { display: grid; grid-template-columns: 220px 1fr; gap: 24px; border-top: 1px solid var(--line); padding: 28px 0 12px; }
.year-group .year { font-size: 40px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--ink-3); position: sticky; top: 84px; align-self: start; }
.pub-list { list-style: none; margin: 0; padding: 0; }
.pub-list .pub { padding: 0 0 28px; }
.empty { max-width: 1400px; margin: 0 auto; padding: 40px var(--gutter); color: var(--ink-3); }
@media (max-width: 760px) {
  .year-group { grid-template-columns: 1fr; gap: 16px; }
  .year-group .year { position: static; font-size: 28px; }
}

.prose { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter) 120px; }
.prose h2 { font-size: 18px; letter-spacing: -0.02em; margin: 44px 0 10px; }
.prose p, .prose li { font-size: 15px; color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose ul { padding-left: 20px; }
.updated { margin-top: 16px; color: var(--ink-3); }

.notfound { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 96px var(--gutter); background: radial-gradient(60% 55% at 50% 42%, #fbfbfa 0%, var(--stage) 72%); }
.notfound img { width: 220px; margin: 0 auto 24px; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-media img { animation: rise 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(0.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
}
