:root {
  --bg: #151514;
  --bg-2: #1c1c1a;
  --bg-3: #242421;
  --line: #2f2e2a;
  --ink: #efede6;
  --ink-2: #aeaa9e;
  --ink-3: #8f8c83;
  --gold: #d8b46a;
  --gold-hi: #f2e1b6;
  --l-esports: #d8b46a;
  --l-gestion: #9cc3b2;
  --l-vr: #aea6dc;
  --l-salud: #d9a089;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
main { overflow-x: clip; }
::selection { background: var(--gold); color: #161512; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #3a3934; border-radius: 10px; border: 2px solid var(--bg); }
html { scrollbar-color: #3a3934 var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in oklab, var(--gold) 60%, transparent); text-underline-offset: .22em; text-decoration-thickness: 1px; }
button, input, select { font: inherit; color: inherit; }
b { font-weight: 600; }

/* language */
html[data-lang="es"] [lang="en"], html[data-lang="en"] [lang="es"] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold); color: #161512; padding: 8px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--gutter);
  transition: background-color .4s var(--ease), backdrop-filter .4s var(--ease), padding .4s var(--ease);
}
.top.scrolled { background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); padding-block: 12px; }
.mark { display: inline-flex; color: var(--ink); }
.mark svg { width: 44px; height: 28px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: square; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { font-size: 14px; text-decoration: none; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: color .25s, background-color .25s; }
.nav a:hover, .nav a.active { color: var(--ink); background: var(--bg-3); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; cursor: pointer; color: var(--ink-3); transition: color .2s, background-color .2s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.lang button:not([aria-pressed="true"]):hover { color: var(--ink); }

/* hero */
.hero {
  min-height: 100svh; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: 120px var(--gutter) 72px;
}
.portrait { position: relative; width: 88px; height: 88px; margin: 0 0 28px; border-radius: 50%; overflow: hidden; background: var(--bg-3); }
.portrait img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.portrait-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; color: var(--ink-2); }
.name { margin: 0; font-weight: 500; font-size: clamp(3rem, 7.4vw, 6rem); line-height: .96; letter-spacing: -0.035em; text-wrap: balance; }
.name-first { display: block; }
.lede { margin: 28px 0 0; max-width: 34ch; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; color: var(--ink); letter-spacing: -0.01em; text-wrap: pretty; }
.roles { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.roles { gap: 12px; }
.roles li { color: var(--ink); line-height: 1.35; }
.roles em { display: block; font-style: normal; color: var(--ink-3); font-size: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .35s var(--ease), background-color .25s; }
.btn:hover { background: var(--gold-hi); transform: translateY(-2px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 4px 0; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.link-arrow::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .35s var(--ease); }
.link-arrow:hover::after { width: 30px; }
.link-arrow:hover { color: var(--gold-hi); }

/* deck */
.deck-wrap { position: relative; height: min(76vh, 640px); display: grid; place-items: center; }
.deck { position: relative; width: 100%; height: 100%; perspective: 1400px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.deck.dragging { cursor: grabbing; }
.deck-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(6deg); }
.card {
  position: absolute; left: calc(var(--w) / -2); top: calc(var(--h) / -2);
  --w: clamp(190px, 18vw, 250px); --h: calc(var(--w) * 1.36);
  width: var(--w); height: var(--h); padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 10px;
  border-radius: 14px; text-decoration: none; color: #1a1915;
  background: linear-gradient(160deg, #f6f3ea 0%, #e7e2d4 100%);
  box-shadow: 0 24px 48px -18px rgba(0,0,0,.7), 0 2px 6px rgba(0,0,0,.25);
  will-change: transform;
}
.card[data-line="esports"] { --lc: #a8822f; }
.card[data-line="gestion"] { --lc: #3e7a62; }
.card[data-line="vr"] { --lc: #5d52a3; }
.card[data-line="salud"] { --lc: #a45a3c; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--lc); }
.card-year { font-family: var(--mono); color: #6b675c; font-weight: 500; }
.card-title { font-size: 15.5px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.card-venue { margin-top: auto; font-size: 11.5px; line-height: 1.35; color: #5f5b51; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-cites { display: flex; align-items: baseline; gap: 6px; padding-top: 10px; border-top: 1px solid rgba(26,25,21,.14); }
.card-cites b { font-family: var(--mono); font-size: 26px; font-weight: 500; letter-spacing: -0.03em; color: #1a1915; }
.card-cites span { font-size: 11px; color: #6b675c; }
.deck-hint { position: absolute; bottom: -6px; left: 0; right: 0; text-align: center; margin: 0; font-size: 12.5px; color: var(--ink-3); }

/* impact */
.impact { max-width: var(--max); margin: 0 auto; padding: clamp(44px, 5.5vw, 76px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: end; border-top: 1px solid var(--line); }
.impact-sentence { margin: 0; font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; color: var(--ink-2); }
.impact-sentence b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.source { margin: 24px 0 0; font-size: 13.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.source a { color: var(--ink-2); }
.cites-chart { margin: 0; }
.cites-chart svg { width: 100%; height: auto; overflow: visible; }
.cites-chart figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.bar { fill: var(--bg-3); transition: fill .3s; }
.bar.hi { fill: var(--gold); }
.bar-val { font: 500 15px var(--mono); fill: var(--ink); }
.bar-yr { font: 400 13px var(--mono); fill: var(--ink-3); }
.axis { stroke: var(--line); }

/* stage */
.stage { padding: 0 0 clamp(44px, 5.5vw, 76px); overflow: hidden; }
.stage-track { display: flex; gap: clamp(12px, 1.6vw, 22px); width: max-content; padding-inline: var(--gutter); will-change: transform; }
.shot { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--bg-2); height: clamp(300px, 46vw, 620px); flex: none; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-tall { aspect-ratio: 2 / 3; }
.shot-wide { aspect-ratio: 3 / 2; }
.shot-square { aspect-ratio: 1; }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; font-size: 14px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.72)); }

/* section shared */
.section-title { margin: 0; font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; max-width: 18ch; }

/* research */
.research { max-width: var(--max); margin: 0 auto; padding: clamp(44px, 5.5vw, 76px) var(--gutter); }
.line { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(48px, 7vw, 96px); }
.line-gestion { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.line-gestion .line-media { order: 2; }
.line-media { position: relative; border-radius: 16px; overflow: hidden; background: #0d0d0c; aspect-ratio: 16 / 10; }
#gaze { width: 100%; height: 100%; display: block; }
.synthetic { position: absolute; left: 14px; bottom: 12px; margin: 0; font-size: 12px; color: rgba(255,255,255,.62); background: rgba(0,0,0,.45); padding: 4px 10px; border-radius: 999px; }
.line-body h3 { margin: 0; font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.line-esports h3 { color: var(--l-esports); }
.line-gestion h3 { color: var(--l-gestion); }
.line-body p { margin: 20px 0 0; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.facts { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.facts li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: var(--ink-3); }
.facts b { font-family: var(--mono); font-weight: 500; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); aspect-ratio: auto; }
.plan { background: var(--bg-2); padding: clamp(20px, 2.4vw, 32px); min-height: clamp(150px, 15vw, 210px); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.plan-years { font-family: var(--mono); font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: -0.04em; color: var(--l-gestion); line-height: 1; }
.plan-who { font-size: 14px; line-height: 1.4; color: var(--ink-2); }

.also { margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.also-h { margin: 0; padding: 24px 0 8px; font-size: 15px; font-weight: 500; color: var(--ink-3); }
.also-item { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; gap: 8px 40px; align-items: baseline; text-align: left; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; transition: padding .35s var(--ease); }
.also-item:hover { padding-left: 10px; }
.also-name { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; }
.also-item[data-filter-line="vr"] .also-name { color: var(--l-vr); }
.also-item[data-filter-line="salud"] .also-name { color: var(--l-salud); }
.also-note { font-size: 15px; color: var(--ink-2); }
.also-count { font-family: var(--mono); font-size: 14px; color: var(--ink-2); white-space: nowrap; }

/* publications */
.pubs { max-width: var(--max); margin: 0 auto; padding: clamp(44px, 5.5vw, 76px) var(--gutter); border-top: 1px solid var(--line); }
.pubs-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; }
.pubs-count { margin: 0; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.filters { position: sticky; top: 64px; z-index: 5; margin: 36px 0 8px; padding: 14px 0; background: var(--bg); display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 14px 24px; align-items: center; border-bottom: 1px solid var(--line); }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 17px; height: 17px; fill: none; stroke: var(--ink-3); stroke-width: 1.6; }
.search input { width: 100%; padding: 12px 14px 12px 42px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; font-size: 15px; transition: border-color .2s; caret-color: var(--gold); }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; border-color: var(--gold); }
.selects { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
select { appearance: none; -webkit-appearance: none; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2385827a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center / 11px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 34px 11px 14px; font-size: 14px; cursor: pointer; }
select:focus-visible { border-color: var(--gold); }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; padding: 0 4px; }
.toggle input { accent-color: var(--gold); width: 16px; height: 16px; }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: none; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; cursor: pointer; color: var(--ink-2); transition: color .2s, border-color .2s, background-color .2s; }
.chip:hover { color: var(--ink); border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip[data-line]:not([data-line="all"])::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--dot); }
.chip[data-line="esports"] { --dot: var(--l-esports); }
.chip[data-line="gestion"] { --dot: var(--l-gestion); }
.chip[data-line="vr"] { --dot: var(--l-vr); }
.chip[data-line="salud"] { --dot: var(--l-salud); }

.pub-list { list-style: none; margin: 0; padding: 0; }
.pub { display: grid; grid-template-columns: 64px minmax(0, 1fr) 84px; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pub-year { font-family: var(--mono); font-size: 14px; color: var(--ink-3); padding-top: 3px; }
.pub-main { min-width: 0; }
.pub-title { font-size: 17px; line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; text-wrap: pretty; }
a.pub-title:hover { color: var(--gold-hi); text-decoration: underline; }
.pub-meta { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.pub-meta .me { color: var(--ink-2); font-weight: 600; }
.pub-venue { color: var(--ink-2); font-style: italic; }
.pub-line { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; font-style: normal; }
.pub-line::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
.pub-line[data-l="esports"] { --dot: var(--l-esports); }
.pub-line[data-l="gestion"] { --dot: var(--l-gestion); }
.pub-line[data-l="vr"] { --dot: var(--l-vr); }
.pub-line[data-l="salud"] { --dot: var(--l-salud); }
.pub-cites { text-align: right; font-family: var(--mono); font-size: 20px; color: var(--ink); line-height: 1.1; }
.pub-cites small { display: block; font-family: var(--sans); font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }
.pub-cites.zero { color: var(--ink-3); font-size: 16px; }
mark { background: color-mix(in oklab, var(--gold) 35%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.pub-empty { padding: 48px 0; color: var(--ink-2); }
.more { display: block; margin: 32px auto 0; border: 1px solid var(--line); background: none; padding: 12px 26px; border-radius: 999px; cursor: pointer; font-size: 15px; transition: border-color .2s, background-color .2s; }
.more:hover { border-color: var(--ink-2); background: var(--bg-2); }

/* career */
.career { max-width: var(--max); margin: 0 auto; padding: clamp(44px, 5.5vw, 76px) var(--gutter); border-top: 1px solid var(--line); }
.career-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.col-h { margin: 0 0 8px; font-size: 15px; font-weight: 500; color: var(--gold); }
.col-h:not(:first-child) { margin-top: 48px; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tl time { font-family: var(--mono); font-size: 13px; color: var(--ink-3); padding-top: 2px; white-space: nowrap; }
.tl b { display: block; font-weight: 500; font-size: 16px; line-height: 1.35; }
.tl div > span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.early { margin-top: 20px; }
.early summary { cursor: pointer; font-size: 15px; color: var(--ink-2); list-style: none; display: inline-flex; align-items: center; gap: 10px; }
.early summary::-webkit-details-marker { display: none; }
.early summary::after { content: "+"; font-family: var(--mono); color: var(--gold); }
.early[open] summary::after { content: "−"; }
.early p { color: var(--ink-2); font-size: 15px; max-width: 62ch; }

/* talks */
.talks { max-width: var(--max); margin: 0 auto; padding: clamp(44px, 5.5vw, 76px) var(--gutter); border-top: 1px solid var(--line); }
.talks-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; }
.talks-note { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 40ch; }
/* contact */
.contact { max-width: var(--max); margin: 0 auto; padding: clamp(52px, 6.5vw, 96px) var(--gutter); border-top: 1px solid var(--line); }
.contact-h { margin: 0; font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.03em; color: var(--ink-2); max-width: 24ch; text-wrap: balance; }
.contact-mail { display: inline-block; margin-top: 28px; font-size: clamp(1.9rem, 6.2vw, 5.6rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px; padding-bottom: 8px; transition: background-size .6s var(--ease), color .3s; }
.contact-mail:hover { color: var(--gold-hi); background-size: 100% 2px; }
.contact-links { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 16px; }
.contact-links a { color: var(--ink-2); text-decoration: none; }
.contact-links a:hover { color: var(--ink); }

.foot { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 40px; display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 13.5px; color: var(--ink-3); border-top: 1px solid var(--line); }
.foot a { margin-left: auto; color: var(--ink-2); text-decoration: none; }

/* reveal */
.reveal { opacity: 1; }
.js .reveal-pending { opacity: 0; transform: translateY(24px); filter: blur(6px); }
.js .reveal-in { opacity: 1; transform: none; filter: none; transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }

/* responsive */
.menu-btn { display: none; margin-left: auto; border: 1px solid var(--line); background: none; border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 500; cursor: pointer; color: var(--ink); }
.menu-btn:hover { border-color: var(--ink-3); }
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; position: relative; z-index: 2; }
  .lang { position: relative; z-index: 2; }
  .nav { position: fixed; inset: 0; z-index: 1; margin: 0; flex-direction: column; justify-content: center; gap: 2px; padding: 96px var(--gutter) 48px; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
  .nav a { font-size: clamp(2rem, 9vw, 3rem); font-weight: 500; letter-spacing: -0.03em; color: var(--ink); padding: 6px 0; border-radius: 0; background: none !important; transform: translateY(12px); transition: transform .5s var(--ease), color .2s; }
  .nav a:hover { color: var(--gold-hi); }
  .menu-open .nav { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
  .menu-open .nav a { transform: none; }
  .menu-open body { overflow: hidden; }
  .mark { position: relative; z-index: 2; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 104px; min-height: auto; }
  .deck-wrap { height: 460px; }
  .impact, .line, .line-gestion, .career-grid, .talks-head { grid-template-columns: 1fr; }
  .line-gestion .line-media { order: 0; }
  .also-item { grid-template-columns: 1fr auto; }
  .also-note { grid-column: 1 / -1; grid-row: 2; }
  .filters { grid-template-columns: 1fr; top: 56px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .pub { grid-template-columns: minmax(0, 1fr) auto; }
  .pub-year { grid-column: 1 / -1; padding: 0; }
  .pub-cites { grid-row: 2; grid-column: 2; }
  .tl li { grid-template-columns: 1fr; gap: 2px; }
  .plans { grid-template-columns: 1fr; }
  .foot a { margin-left: 0; }
  .deck-wrap { height: 400px; }
  .card { --w: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal-pending { opacity: 1; transform: none; filter: none; }
}

/* hero role link */
.role-link { color: var(--ink); text-decoration: none; transition: color .25s; }
.role-link:hover { color: var(--gold-hi); }
.roles i, .facts i { font-style: italic; }

/* book */
.book { max-width: var(--max); margin: 0 auto; padding: clamp(44px, 5.5vw, 80px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; border-top: 1px solid var(--line); }
.book-stage { perspective: 1600px; display: grid; place-items: center; padding: 24px 0; }
.book-obj { position: relative; width: min(100%, 360px); aspect-ratio: 640 / 1014; transform-style: preserve-3d; transform: rotateY(var(--ry, -24deg)) rotateX(var(--rx, 4deg)); transition: transform .9s var(--ease); }
.book-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 2px 6px 6px 2px; transform: translateZ(14px); box-shadow: 0 40px 70px -30px rgba(0,0,0,.85), 0 12px 24px -12px rgba(0,0,0,.6); }
.book-cover::after { content: ""; }
.book-pages { position: absolute; top: 1.2%; bottom: 1.2%; right: 0; width: 28px; transform-origin: right; transform: translateX(-1px) rotateY(90deg) translateX(14px); background: repeating-linear-gradient(90deg, #ece8dc 0 1px, #d9d4c5 1px 2px); border-radius: 0 2px 2px 0; }
.book-spine { position: absolute; top: 0; bottom: 0; left: 0; width: 28px; transform-origin: left; transform: rotateY(-90deg) translateX(-14px); background: linear-gradient(90deg, #0d0d0c, #262624 60%, #111110); }
.book-role { margin: 0; font-size: 15px; font-weight: 500; color: var(--gold); }
.book-title { margin: 10px 0 0; font-weight: 500; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.book-lede { margin: 28px 0 0; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.book-facts { margin: 36px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.book-facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.book-facts dt { font-size: 14px; color: var(--ink-3); }
.book-facts dd { margin: 0; font-size: 16px; }
.book-facts .mono { font-family: var(--mono); font-size: 15px; }
.muted { color: var(--ink-3); }

/* plans gantt */
.plans-sec { max-width: var(--max); margin: 0 auto; padding: clamp(44px, 5.5vw, 76px) var(--gutter); border-top: 1px solid var(--line); }
.plans-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; }
.plans-note { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 42ch; }
.gantt { margin-top: clamp(40px, 5vw, 64px); --label: minmax(0, 1fr); }
.g-axis, .g-row { display: grid; grid-template-columns: 132px minmax(200px, 0.8fr) minmax(0, 1.5fr); gap: 32px; align-items: center; }
.g-years { display: grid; grid-template-columns: repeat(9, 1fr); font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.g-years span { border-left: 1px solid var(--line); padding: 0 0 10px 8px; }
.g-row { padding: 26px 0; border-top: 1px solid var(--line); }
.g-row:last-child { border-bottom: 1px solid var(--line); }
.g-who b { display: block; font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 1.75rem); letter-spacing: -0.025em; line-height: 1.15; }
.g-who > span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.g-track { position: relative; height: 44px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 9)); }
.g-bar { position: absolute; top: 8px; bottom: 8px; left: calc(var(--from) / 9 * 100%); width: calc((var(--to) - var(--from)) / 9 * 100%); border-radius: 6px; background: var(--l-gestion); display: flex; align-items: center; padding: 0 12px; font-style: normal; transform-origin: left; transform: scaleX(var(--p, 1)); transition: transform 1.2s var(--ease); }
.g-bar span { font-family: var(--mono); font-size: 13px; font-weight: 500; color: #10201a; white-space: nowrap; }
.plans-also { margin: 28px 0 0; color: var(--ink-2); font-size: 15px; }

.line-photo { margin: 0; aspect-ratio: 1; }
.line-photo img { width: 100%; height: 100%; object-fit: cover; }
.facts a { color: inherit; }

@media (max-width: 900px) {
  .book, .plans-head { grid-template-columns: 1fr; }
  .book-obj { width: min(70%, 300px); }
  .g-axis, .g-row { grid-template-columns: 1fr; gap: 14px; }
  .g-axis > span { display: none; }
  .g-row { grid-template-columns: 96px minmax(0, 1fr); }
  .g-track { grid-column: 1 / -1; }
  .g-cover { width: 96px; }
}
@media (prefers-reduced-motion: reduce) { .book-obj, .g-bar { transition: none; } }

.g-cover { margin: 0; width: 132px; justify-self: start; transition: transform .6s var(--ease); transform: rotate(-2deg); }
.g-cover img { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 18px 34px -14px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06); }
.g-row:nth-child(odd) .g-cover { transform: rotate(2deg); }
.g-row:hover .g-cover { transform: rotate(0) scale(1.06); }
@media (max-width: 900px) { .g-cover { width: 96px; } }

/* ---- art direction: athletics track ---- */
.hero { position: relative; isolation: isolate; }
.lanes { position: absolute; z-index: -1; right: -14vw; top: 50%; width: min(92vw, 1250px); height: auto; transform: translateY(-46%) rotate(-8deg); pointer-events: none; overflow: visible; }
.lanes rect, .lanes line { fill: none; stroke: var(--gold); stroke-width: 1; opacity: .16; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lanes rect:first-child { opacity: .26; }
.lanes line { opacity: .5; stroke-width: 2; }
.lanes.drawn rect, .lanes.drawn line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s var(--ease); transition-delay: calc(var(--i, 8) * 90ms); }
@media (max-width: 900px) { .lanes { right: -40vw; top: auto; bottom: 4%; width: 160vw; transform: rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) { .lanes rect, .lanes line { stroke-dashoffset: 0; } }

/* duotone photography: graphite + gold, colour on hover */
.shot, .line-photo { isolation: isolate; }
.shot img, .line-photo img { filter: grayscale(1) contrast(1.08) brightness(.92); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.shot::after, .line-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, #e9c98a 0%, #8a6a2e 100%); mix-blend-mode: soft-light; opacity: .55; transition: opacity .8s var(--ease); pointer-events: none; }
.line-photo { position: relative; }
.shot figcaption { z-index: 2; }
.shot:hover img, .line-photo:hover img { filter: none; transform: scale(1.03); }
.shot:hover::after, .line-photo:hover::after { opacity: 0; }
@media (hover: none) { .shot img, .line-photo img { filter: grayscale(.35) contrast(1.04); } .shot::after, .line-photo::after { opacity: .25; } }

/* contact: the finish straight */
.contact { position: relative; isolation: isolate; overflow: hidden; }
.finish { position: absolute; z-index: -1; inset: 0; display: grid; grid-template-rows: repeat(8, 1fr); pointer-events: none; }
.finish span { border-top: 1px solid color-mix(in oklab, var(--gold) 14%, transparent); font-family: var(--mono); font-size: 11px; color: color-mix(in oklab, var(--gold) 60%, transparent); display: flex; align-items: center; justify-content: flex-end; padding-right: var(--gutter); }
.finish::after { content: ""; position: absolute; top: 0; bottom: 0; right: calc(var(--gutter) + 28px); width: 10px; background: repeating-conic-gradient(color-mix(in oklab, var(--gold) 40%, transparent) 0 25%, transparent 0 50%) 0 0 / 10px 10px; opacity: .55; }
.menu-open .top { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; }
.talks-more { display: block; margin: 28px auto 0; border: 1px solid var(--line); background: none; padding: 12px 26px; border-radius: 999px; cursor: pointer; font-size: 15px; transition: border-color .2s, background-color .2s; }
.talks-more:hover { border-color: var(--ink-2); background: var(--bg-2); }
.talk-list.collapsed .talk:nth-child(n+9) { display: none; }
@media (max-width: 900px) { .hero { padding-bottom: 24px; } .deck-wrap { margin-top: -8px; } }

/* ---- talks atlas ---- */
.atlas { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.atlas-map { margin: 0; position: relative; }
#worldMap { width: 100%; height: auto; display: block; overflow: visible; }
.m-grat { fill: none; stroke: color-mix(in oklab, var(--ink) 6%, transparent); stroke-width: .5; }
.m-c { fill: #22221f; stroke: var(--bg); stroke-width: .5; }
.m-c.visited { fill: color-mix(in oklab, var(--gold) 26%, #22221f); }
.m-arc { fill: none; stroke: var(--gold); stroke-width: 1; opacity: .35; stroke-dasharray: 1; stroke-dashoffset: 1; transition: opacity .3s, stroke-width .3s; }
.drawn .m-arc { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) calc(var(--i) * 70ms), opacity .3s, stroke-width .3s; }
.m-arc.on { opacity: 1; stroke-width: 1.8; stroke: var(--gold-hi); }
.m-city { cursor: pointer; outline: none; }
.m-hit { fill: transparent; }
.m-ring { fill: color-mix(in oklab, var(--gold) 18%, transparent); stroke: color-mix(in oklab, var(--gold) 55%, transparent); stroke-width: .8; transition: transform .4s var(--ease); }
.m-dot { fill: var(--gold-hi); }
.m-label { font: 500 11px var(--sans); fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; opacity: 0; transition: opacity .25s; pointer-events: none; }
.m-city:hover .m-label, .m-city:focus-visible .m-label, .m-city.on .m-label, .m-label-home { opacity: 1; }
.m-city.on .m-ring { transform: scale(1.6); fill: color-mix(in oklab, var(--gold) 35%, transparent); stroke: var(--gold-hi); }
.m-city:focus-visible .m-ring { stroke: var(--ink); stroke-width: 1.5; }
.m-home-dot { fill: var(--ink); }
.m-home-pulse { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .5; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.5); opacity: .7; } to { transform: scale(2.2); opacity: 0; } }
.atlas-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.atlas-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.lg-home, .lg-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.lg-home { background: var(--ink); }
.lg-dot { background: var(--gold-hi); box-shadow: 0 0 0 3px color-mix(in oklab, var(--gold) 30%, transparent); }
.atlas-play { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: none; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; cursor: pointer; color: var(--ink); transition: border-color .2s, background-color .2s; }
.atlas-play svg { width: 11px; height: 11px; fill: var(--gold); }
.atlas-play:hover { border-color: var(--ink-3); }
.atlas-play.playing { background: var(--ink); color: var(--bg); }
.atlas-play.playing svg { fill: var(--bg); }
.atlas-card { position: sticky; top: 96px; padding: 24px; border-radius: 16px; background: var(--bg-2); min-height: 320px; display: flex; flex-direction: column; }
.ac-km { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--gold); }
.ac-km span { color: var(--ink-3); font-family: var(--sans); }
.ac-city { margin: 10px 0 0; font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.ac-country { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.ac-talks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.ac-talks li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.ac-talks time { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.ac-talks b { display: block; font-weight: 500; font-size: 15px; line-height: 1.35; }
.ac-talks span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.ac-nav { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.ac-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; color: var(--ink); font-size: 15px; transition: border-color .2s; }
.ac-nav button:hover { border-color: var(--ink-3); }
@media (max-width: 900px) { .atlas { grid-template-columns: minmax(0, 1fr); } .atlas-map { min-width: 0; } .atlas-card { position: static; min-height: 0; } .m-label { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .m-home-pulse { animation: none; } }
.m-ring, .m-home-pulse { transform-box: fill-box; transform-origin: center; }

/* ---- career timeline ---- */
.tline { margin-top: clamp(36px, 5vw, 56px); }
@media (max-width: 560px) { .tl-detail { grid-template-columns: 1fr; } .tl-lane-tag { justify-self: start; } }

/* ---- statement band ---- */

/* ---- event archive ---- */
.archive { margin-top: clamp(64px, 8vw, 110px); }
.archive-h { margin: 0 0 24px; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.03em; }
.archive-grid { columns: 3 260px; column-gap: 14px; }
.ev { position: relative; display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--bg-2); break-inside: avoid; aspect-ratio: var(--ar); isolation: isolate; }
.ev img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(.9); transition: filter .7s var(--ease), transform 1s var(--ease); }
.ev::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, #e9c98a, #8a6a2e); mix-blend-mode: soft-light; opacity: .5; transition: opacity .7s var(--ease); pointer-events: none; }
.ev:hover img, .ev:focus-visible img { filter: none; transform: scale(1.03); }
.ev:hover::after, .ev:focus-visible::after { opacity: 0; }
.ev-cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.78)); color: #fff; font-size: 12.5px; line-height: 1.35; }
.ev-cap b { display: block; font-size: 13.5px; font-weight: 600; }
.ev-cap span { display: block; color: rgba(255,255,255,.78); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; color: var(--ink); }
.lightbox::backdrop { background: rgba(10,10,9,.88); backdrop-filter: blur(6px); }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 10px; display: block; margin: 0 auto; }
.lb-cap { margin: 14px 0 0; text-align: center; font-size: 15px; color: var(--ink-2); }
.lb-cap b { color: var(--ink); font-weight: 500; margin-right: 6px; }
.lb-close { position: sticky; top: 0; float: right; margin: 0 0 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: 13.5px; }

/* ---- beyond ---- */
.beyond { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--gutter); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; align-items: start; }
.beyond-h { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.03em; }
.beyond-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.beyond-list li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 14px; background: var(--bg-2); }
.beyond-list svg { flex: none; width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.beyond-list b { display: block; font-weight: 500; font-size: 17px; }
.beyond-list div > span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 900px) { .beyond { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .beyond-list { grid-template-columns: 1fr; } }

/* menu label swap */
.mb-close { display: none; }
.menu-open .mb-open { display: none; }
.menu-open .mb-close { display: inline; }

/* citations chart hover */
.cites-chart rect.bar { cursor: default; }
.cites-chart rect.bar:hover { fill: var(--gold-hi); }

@media (max-width: 700px) {
  .atlas-map { margin-inline: calc(var(--gutter) * -1); }
  .atlas-scroll { overflow-x: auto; scrollbar-width: none; padding-inline: var(--gutter); }
  .atlas-scroll::-webkit-scrollbar { display: none; }
  #worldMap { width: 760px; max-width: none; }
  .atlas-legend { padding-inline: var(--gutter); }
  .archive-grid { columns: 2; column-gap: 10px; }
  .ev { margin-bottom: 10px; }
  .ev-cap { padding: 28px 10px 9px; font-size: 11px; }
  .ev-cap b { font-size: 12px; }
  .ev-cap span { display: none; }
}

/* ---- hero portrait ---- */
.hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
@media (max-width: 900px) {
  .hero { padding-top: 96px; }
  .hero-photo { order: -1; justify-self: start; width: min(64vw, 300px); }
}

/* ---- featured deck inside publications ---- */
.pubs-featured { margin-top: 40px; }
.pubs-featured-h { margin: 0; font-size: 15px; font-weight: 500; color: var(--gold); }
.pubs-featured .deck-wrap { height: clamp(380px, 46vw, 520px); }
.scholar-cta { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; border-radius: 16px; background: var(--bg-2); text-decoration: none; color: var(--ink); transition: background-color .3s, transform .4s var(--ease); }
.scholar-cta:hover { background: var(--bg-3); transform: translateY(-2px); }
.scholar-cta b { display: block; font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: -0.02em; }
.sc-sub { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.sc-arrow { font-size: 26px; color: var(--gold); }

/* ---- affiliations ---- */
@media (max-width: 1080px) { .affil-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .affil-groups { grid-template-columns: 1fr; } .affil-group li { width: calc(33.33% - 6px); } }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); } }

/* ---- hero visual: cutout over the publication deck ---- */
.hero-visual { position: relative; height: min(84vh, 740px); min-height: 520px; isolation: isolate; }
.hero-visual .deck-wrap { position: absolute; inset: 0; height: auto; z-index: 1; }
.hero-visual .deck-ring { top: 36%; }
.hero-cutout { position: absolute; z-index: 2; left: 50%; bottom: 0; height: 94%; width: auto; max-width: none; transform: translateX(-50%); pointer-events: none;
  -webkit-mask-image: url("photos/hero-mask.png?v=3"), linear-gradient(#000 72%, transparent 98%);
  -webkit-mask-size: 100% 100%, 100% 100%; -webkit-mask-composite: source-in;
  mask-image: url("photos/hero-mask.png?v=3"), linear-gradient(#000 72%, transparent 98%);
  mask-size: 100% 100%, 100% 100%; mask-composite: intersect;
  filter: saturate(.85) contrast(1.04) drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.hero-visual .deck-hint { z-index: 3; bottom: 6px; }
.hero-visual::after { content: ""; position: absolute; z-index: 0; left: 50%; top: 30%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--gold) 16%, transparent), transparent); pointer-events: none; }
@media (max-width: 900px) {
  .hero-visual { order: -1; height: 460px; min-height: 0; margin: 0 calc(var(--gutter) * -1); }
  .hero-cutout { height: 96%; }
}
@media (max-width: 560px) { .hero-visual { height: 420px; } }
.name { font-size: clamp(2.5rem, 5.4vw, 4.5rem); }
.hero-visual::after { display: none; }
.hero-visual .deck-ring { top: 46%; }
@media (max-width: 900px) { .hero-visual { order: 0; height: 440px; } }
.portrait { width: clamp(96px, 9vw, 132px); height: clamp(96px, 9vw, 132px); margin-bottom: 26px; box-shadow: 0 0 0 1px color-mix(in oklab, var(--gold) 45%, transparent), 0 0 0 6px var(--bg), 0 0 0 7px color-mix(in oklab, var(--gold) 18%, transparent); }
.portrait img { filter: grayscale(.2) contrast(1.04); }

/* ---- density pass ---- */
.hero { min-height: 0; padding-top: 104px; padding-bottom: 32px; }
.hero-visual { height: min(64vh, 560px); min-height: 400px; }
.lede { margin-top: 20px; }
.roles { margin-top: 20px; }
.hero-actions { margin-top: 26px; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
.book { gap: clamp(28px, 5vw, 72px); }
.book-obj { width: min(100%, 270px); }
.book-title { font-size: clamp(2rem, 4vw, 3.4rem); }
.book-lede { margin-top: 18px; }
.book-facts { margin-top: 24px; }
.book-facts div { padding: 10px 0; }
.plans-head + .gantt, .gantt { margin-top: 28px; }
.g-row { padding: 16px 0; }
.g-cover { width: 104px; }
.line { margin-top: clamp(32px, 4vw, 56px); gap: clamp(24px, 4vw, 56px); }
.line-media { aspect-ratio: 16 / 9; max-height: 340px; }
.line-photo { aspect-ratio: 4 / 3; max-height: 340px; }
.line-body p { margin-top: 14px; }
.facts { margin: 18px 0 20px; gap: 8px; }
.also { margin-top: clamp(36px, 4vw, 56px); }
.also-item { padding: 16px 0; }
.impact { gap: clamp(24px, 4vw, 64px); }
.impact-sentence { font-size: clamp(1.6rem, 2.8vw, 2.5rem); }
.cites-chart svg { max-height: 220px; }
.filters { margin-top: 24px; }
.pub { padding: 16px 0; }
.career-grid { margin-top: 28px; gap: clamp(24px, 4vw, 64px); }
.col-h:not(:first-child) { margin-top: 32px; }
.tl li { padding: 10px 0; }
.atlas { margin-top: 24px; }
.archive { margin-top: clamp(40px, 5vw, 64px); }
.archive-h { margin-bottom: 16px; }
.archive-grid { columns: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ev { aspect-ratio: 4 / 3; margin: 0; }
.ev-count { position: absolute; z-index: 2; top: 8px; right: 8px; min-width: 26px; padding: 3px 8px; border-radius: 999px; background: rgba(10,10,9,.72); color: #fff; font: 500 12px var(--mono); text-align: center; }
.ev-count::after { content: " fotos"; font-family: var(--sans); opacity: .75; } html[data-lang="en"] .ev-count::after { content: " photos"; }
.ev-cap { padding: 26px 10px 9px; font-size: 11.5px; }
.ev-cap b { font-size: 12.5px; }
.ev-cap span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ev-cap span { display: none; } }
.beyond { gap: 16px 40px; }
.contact-mail { font-size: clamp(1.7rem, 4.6vw, 4rem); margin-top: 20px; }
.contact-links { margin-top: 28px; }

/* lightbox carousel */
.lightbox { width: min(94vw, 1100px); max-width: none; max-height: 94vh; overflow: hidden; }
.lb-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.lb-top .lb-cap { margin: 0; text-align: left; }
.lb-count { margin-left: 10px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.lb-close { position: static; float: none; margin: 0; flex: none; }
.lb-stage { position: relative; display: grid; place-items: center; }
.lightbox img#lbImg { max-height: 70vh; max-width: 100%; border-radius: 10px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(21,21,20,.75); color: var(--ink); font-size: 18px; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .2s; }
.lb-nav:hover { background: var(--ink); color: var(--bg); }
#lbPrev { left: 10px; } #lbNext { right: 10px; }
.lightbox.single .lb-nav, .lightbox.single .lb-thumbs, .lightbox.single .lb-count { display: none; }
.lb-thumbs { margin-top: 12px; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; justify-content: center; }
.lb-thumbs button { flex: none; width: 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: var(--bg-2); cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.lb-thumbs button.on { border-color: var(--gold); opacity: 1; }
.lb-thumbs button:hover { opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .lb-thumbs { justify-content: flex-start; } .lb-nav { width: 38px; height: 38px; } }

/* ---- socials ---- */
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-2); transition: color .25s, border-color .25s, transform .35s var(--ease), background-color .25s; }
.socials a:hover { color: var(--bg); background: var(--gold-hi); border-color: var(--gold-hi); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.contact-links a { display: inline-flex; align-items: center; gap: 10px; }
.contact-links svg { width: 18px; height: 18px; fill: var(--gold); }

/* ---- career header with quote ---- */
.car-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px 48px; align-items: end; }
.car-quote { margin: 0; padding-left: 20px; border-left: 1px solid var(--gold); }
.car-quote p { margin: 0; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.45; color: var(--ink-2); font-style: italic; max-width: 52ch; }
@media (max-width: 900px) { .car-head { grid-template-columns: 1fr; } }

/* ===== motion ===== */
.progress { position: fixed; z-index: 30; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* hero intro */
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes wipe { from { clip-path: inset(0 0 100% 0); transform: translateY(40%); } to { clip-path: inset(0 0 -10% 0); transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.7) rotate(-8deg); } to { opacity: 1; transform: none; } }
.js .hero .portrait { animation: pop 1s var(--ease) both .05s; }
.js .hero .name-first { animation: wipe 1.1s var(--ease) both .15s; }
.js .hero .name-last { display: inline-block; animation: wipe 1.1s var(--ease) both .32s; }
.js .hero .lede { animation: rise 1s var(--ease) both .5s; }
.js .hero .roles li { animation: rise .9s var(--ease) both; }
.js .hero .roles li:nth-child(1) { animation-delay: .62s; } .js .hero .roles li:nth-child(2) { animation-delay: .7s; }
.js .hero .roles li:nth-child(3) { animation-delay: .78s; } .js .hero .roles li:nth-child(4) { animation-delay: .86s; }
.js .hero .hero-actions { animation: rise 1s var(--ease) both .95s; }
.js .hero .hero-visual { animation: rise 1.4s var(--ease) both .4s; }

/* portrait ring */
.portrait { position: relative; overflow: visible; box-shadow: none; }
.portrait img { border-radius: 50%; position: relative; z-index: 1; }
.portrait::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; background: conic-gradient(from 0deg, var(--gold), transparent 30%, var(--gold-hi) 55%, transparent 80%, var(--gold)); animation: spin 9s linear infinite; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); }
.portrait-fallback { border-radius: 50%; }
@keyframes spin { to { transform: rotate(1turn); } }

/* marquee */

/* section titles underline draw */
.section-title { position: relative; }
.section-title::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 14px; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease) .25s; }
.section-title.reveal-in::after, .no-reveal .section-title::after { transform: none; }

/* staggered children */
.js .stg > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js .stg.in > * { opacity: 1; transform: none; }

/* chart bars grow */
.bar { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1.2s var(--ease), fill .3s; }
.cites-chart.on .bar { transform: none; }
.cites-chart .bar-val { opacity: 0; transition: opacity .6s .9s; }
.cites-chart.on .bar-val { opacity: 1; }

/* book idle float */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.book-stage { animation: float 6s ease-in-out infinite; }

/* gentle hover lift on cards */
.plan, .beyond-list li, .scholar-cta, .atlas-card { transition: transform .5s var(--ease), background-color .3s; }
.beyond-list li:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  .js .hero *, .portrait::before, .mq-track, .book-stage { animation: none !important; }
  .js .stg > * { opacity: 1; transform: none; transition: none; }
  .bar { transform: none; } .cites-chart .bar-val { opacity: 1; }
  .section-title::after { transform: none; }
}
@media (max-width: 700px) { .finish::after { display: none; } .finish span { color: transparent; } }

/* ---- press ---- */
.press { max-width: var(--max); margin: 0 auto; padding: clamp(44px, 5.5vw, 76px) var(--gutter); border-top: 1px solid var(--line); }
.press-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px 48px; align-items: end; }
.press-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ps { margin: 0; padding: 18px 20px; border-radius: 14px; background: var(--bg-2); display: flex; flex-direction: column; gap: 6px; }
.ps b { font-family: var(--mono); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; color: var(--gold); letter-spacing: -0.04em; }
.ps span { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.press-outlets { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: clamp(1rem, 1.5vw, 1.25rem); color: var(--ink-3); letter-spacing: -0.01em; }
.press-outlets span { white-space: nowrap; transition: color .25s; }
.press-outlets span:hover { color: var(--ink); }
.press-chips { margin-top: 22px; }
.press-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.press-card { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-radius: 14px; background: var(--bg-2); text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: transform .45s var(--ease), border-color .3s, background-color .3s; }
.press-card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--gold) 40%, transparent); background: var(--bg-3); }
.pc-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.pc-src { font-weight: 600; color: var(--gold); }
.pc-top time { font-family: var(--mono); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.pc-title { font-size: 16.5px; line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty; }
.pc-kind { margin-top: auto; display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); }
.press-card:hover .pc-kind span { color: var(--gold-hi); }
@media (max-width: 1000px) { .press-head { grid-template-columns: 1fr; } .press-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .press-grid, .press-stats { grid-template-columns: 1fr; } }

/* ---- research lines (compact) ---- */
.rlines { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rl { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 14px; background: var(--bg-2); border-top: 2px solid var(--lc); transition: transform .45s var(--ease), background-color .3s; }
.rl:hover { transform: translateY(-4px); background: var(--bg-3); }
.rl[data-l="gestion"] { --lc: var(--l-gestion); } .rl[data-l="esports"] { --lc: var(--l-esports); }
.rl[data-l="vr"] { --lc: var(--l-vr); } .rl[data-l="salud"] { --lc: var(--l-salud); }
.rl h3 { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -0.015em; color: var(--lc); }
.rl p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.rl-link { margin-top: auto; align-self: flex-start; border: 0; background: none; padding: 4px 0; cursor: pointer; font: 500 13px var(--mono); color: var(--ink); }
.rl-link:hover { color: var(--gold-hi); }
@media (max-width: 1000px) { .rlines { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rlines { grid-template-columns: 1fr; } }

/* ---- tighter section rhythm ---- */
.impact, .book, .plans-sec, .research, .pubs, .career, .talks, .press, .beyond, .contact { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.hero { padding-bottom: 16px; }
.section-title::after { margin-top: 10px; }
.archive { margin-top: clamp(28px, 3.5vw, 44px); }
.press-head { align-items: center; }
.press-stats { grid-template-columns: 1fr; max-width: 420px; justify-self: end; }
@media (max-width: 1000px) { .press-stats { justify-self: start; } }

.rlines { grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 1000px) { .rlines { grid-template-columns: 1fr; } }
.book-badge { margin: 0 0 12px; }

/* ===== life ===== */
body { background: var(--bg); }
main, .foot { position: relative; }

/* spotlight */
.press-card, .rl, .ps, .scholar-cta, .atlas-card, .beyond-list li, .pub { background-image: radial-gradient(260px circle at var(--mx, -400px) var(--my, -400px), color-mix(in oklab, var(--gold) 11%, transparent), transparent 70%); }
.pub { border-radius: 10px; }

/* tilt */
.press-card, .rl, .ev { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(var(--lift, 0)); transition: transform .5s var(--ease), background-color .3s, border-color .3s; will-change: transform; }
.press-card:hover, .rl:hover { --lift: -4px; }
.ev:hover { --lift: -3px; }
.g-cover { transform: perspective(700px) translateY(var(--py, 0)) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) rotate(-2deg); }
.g-row:nth-child(odd) .g-cover { transform: perspective(700px) translateY(var(--py, 0)) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) rotate(2deg); }
.g-row:hover .g-cover { transform: perspective(700px) translateY(var(--py, 0)) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) scale(1.08); }

/* magnetic */
.magnetic { translate: var(--tx, 0) var(--ty, 0); transition: translate .35s var(--ease), transform .35s var(--ease), background-color .25s, color .25s, border-color .25s; }

/* parallax hooks */
.book-stage { translate: 0 var(--py, 0); }
.hero-visual { translate: 0 var(--py, 0); }
.portrait { translate: 0 var(--py, 0); }

/* word-by-word titles */
.section-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.section-title .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--w) * 70ms + .05s); }
.section-title.reveal-in .w > span { transform: none; }
.js .section-title.reveal-pending { filter: none; transform: none; opacity: 1; }

/* publications entering */
@keyframes rowIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.js .pub { animation: rowIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }

/* map runners */
.m-runner { fill: var(--gold-hi); opacity: .85; filter: drop-shadow(0 0 3px var(--gold)); }

/* ===== density pass 2 ===== */
.hero-visual { height: min(58vh, 500px); min-height: 380px; }
.pub { padding: 12px 8px; }
.pub-title { font-size: 16px; }
.pub-meta { margin-top: 4px; font-size: 13.5px; }
.g-axis, .g-row { grid-template-columns: 76px minmax(200px, .8fr) minmax(0, 1.5fr); gap: 24px; }
.g-cover { width: 72px; }
.g-row { padding: 10px 0; }
.g-who b { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.g-who > span { margin-top: 2px; font-size: 13.5px; }
.g-track { height: 36px; }
.g-bar { top: 7px; bottom: 7px; }
.tl li { padding: 8px 0; gap: 14px; }
.tl b { font-size: 15px; }
.tl div > span { font-size: 13.5px; }
.tl time { font-size: 12.5px; }
.atlas-card { min-height: 0; padding: 20px; }
.book-obj { width: min(100%, 240px); }
.cites-chart svg { max-height: 200px; }
.ev { aspect-ratio: 3 / 2; }

/* ===== motion pass 2 ===== */
/* stagger uses `translate` so it never fights the tilt `transform` */
.js .stg > * { transform: none; translate: 0 18px; transition: opacity .7s var(--ease), translate .8s var(--ease), transform .5s var(--ease), background-color .3s; transition-delay: calc(var(--i, 0) * 55ms), calc(var(--i, 0) * 55ms), 0s, 0s; }
.js .stg.in > * { translate: 0 0; }
.js .stg.in > .rl, .js .stg.in > .ev { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(var(--lift, 0)); }

/* header hides on scroll down */
.top { transition: transform .5s var(--ease), background-color .4s var(--ease), backdrop-filter .4s var(--ease), padding .4s var(--ease); }
.top.hide { transform: translateY(-110%); }

/* sliding nav indicator */
@media (min-width: 1081px) { .nav { position: relative; } }
.nav-pill { position: absolute; left: 0; top: 0; height: 100%; border-radius: 999px; background: var(--bg-3); opacity: 0; transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s; z-index: 0; }
.nav a { z-index: 1; }
.nav a.active { background: none; color: var(--ink); }

/* cursor follower */

/* lede highlight sweep */
.hl { background: linear-gradient(transparent 60%, color-mix(in oklab, var(--gold) 34%, transparent) 60%) no-repeat 0 0 / 0% 100%; animation: hl 1.1s var(--ease) forwards; animation-delay: 1.25s; }
.lede [lang] .hl:nth-of-type(2) { animation-delay: 1.55s; }
@keyframes hl { to { background-size: 100% 100%; } }

/* name shimmer */

/* career row hover */
.tl li { transition: background-color .3s, padding .4s var(--ease); border-radius: 8px; }
.tl li:hover { background: color-mix(in oklab, var(--bg-2) 80%, transparent); padding-left: 8px; }
.tl li:hover time { color: var(--gold); }

/* press cards enter */
.js .press-grid li { animation: rowIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }

/* clip reveals */
.js .clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease); }
.js .clip.shown { clip-path: inset(0 0 0 0); }

/* email wave */
.contact-mail span { display: inline-block; transition: transform .45s var(--ease), color .3s; }
.contact-mail:hover span { animation: wave .7s var(--ease) both; animation-delay: calc(var(--c) * 18ms); }
@keyframes wave { 40% { transform: translateY(-.14em); color: var(--gold-hi); } 100% { transform: none; } }

/* academic profiles */
.profiles { grid-column: 1 / -1; list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.profiles a { position: relative; height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 14px; background: var(--bg-2); text-decoration: none; color: var(--ink); background-image: radial-gradient(240px circle at var(--mx, -400px) var(--my, -400px), color-mix(in oklab, var(--gold) 11%, transparent), transparent 70%); transition: transform .45s var(--ease), background-color .3s; }
.profiles a:hover { transform: translateY(-3px); background-color: var(--bg-3); }
.pf-name { font-size: 15px; font-weight: 600; color: var(--gold); }
.pf-data { font-size: 13.5px; color: var(--ink-2); }
.pf-data b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.pf-mono { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.pf-arrow { position: absolute; top: 14px; right: 16px; color: var(--ink-3); transition: color .25s, transform .35s var(--ease); }
.profiles a:hover .pf-arrow { color: var(--gold-hi); transform: translate(2px, -2px); }
.pf-note { grid-column: 1 / -1; margin: 0; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 900px) { .profiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .profiles { grid-template-columns: 1fr; } }

@media (max-width: 1080px) { .nav-pill { display: none; } }
@media (max-width: 900px) { .g-axis { grid-template-columns: 1fr; } .g-row { grid-template-columns: 64px minmax(0, 1fr); } .g-cover { width: 64px; } }
@media (max-width: 560px) { .tl li { gap: 2px; } }
@media (prefers-reduced-motion: reduce) {
  .hl { animation: none; background-size: 100% 100%; }
  .js .hero .name-last { animation: none; }
  .js .clip { clip-path: none; }
  .js .press-grid li { animation: none; }
  .js .stg > * { translate: none; }
  .top.hide { transform: none; }
}

/* nav hover */
@media (min-width: 1081px) { .nav a { position: relative; } }

@media (prefers-reduced-motion: reduce) {
  .ambient i { animation: none; }
  .section-title .w > span { transform: none; transition: none; }
  .js .pub { animation: none; }
}

/* ===================== de-template pass ===================== */
:root { --sans: "Archivo", ui-sans-serif, system-ui, sans-serif; --mono: "Archivo Narrow", "Archivo", ui-sans-serif, sans-serif; }
:where(time, .ac-km, .pf-data b, .ps b, .card-year, .card-cites b, .bar-val, .bar-yr, .g-bar span, .g-years, .pub-year, .pub-cites, .talk-km) { font-variant-numeric: tabular-nums; }

/* type with a voice: semi-expanded display, solid colour (no gradient text) */
.name { font-weight: 600; font-stretch: 108%; letter-spacing: -0.03em; }
.name-last { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--gold); }
.js .hero .name-last { animation: wipe 1.1s var(--ease) both .32s; }
.section-title, .book-title, .ac-city, .contact-mail, .impact-sentence { font-stretch: 104%; }
.section-title { font-weight: 600; letter-spacing: -0.025em; }
.section-title::after { display: none; }
.ps b, .card-cites b, .bar-val { font-weight: 600; }

/* no ambient glows, spotlights or 3D tilt */
.press-card, .rl, .ps, .scholar-cta, .atlas-card, .beyond-list li, .pub, .profiles a { background-image: none; }
.rl, .ev, .js .stg.in > .rl, .js .stg.in > .ev { transform: none; }
.ev:hover { transform: none; }

/* sharper, printed-programme shapes */
.btn, .chip, .lang, .lang button, .menu-btn, .more, .atlas-play, .lb-close, .scholar-cta, .atlas-card, .search input, select,
.ev, .socials a, .nav a, .nav-pill, .tl li, .pub, .lightbox img#lbImg, .lb-thumbs button, .lb-nav, .g-bar, .plan, .ac-nav button { border-radius: 4px; }
.card { border-radius: 8px; }

/* research lines: ruled columns, no card chrome */
.rlines { gap: 32px; }
.rl { background: none; padding: 16px 0 0; border-radius: 0; border-top: 2px solid var(--lc); }
.rl:hover { background: none; }

/* academic profiles: ruled row */
.profiles { gap: 24px; }
.profiles a { background: none; padding: 14px 0 0; border-radius: 0; border-top: 1px solid var(--line); }
.profiles a:hover { background: none; transform: none; }
.profiles a:hover .pf-name { text-decoration: underline; text-underline-offset: .22em; }
.pf-arrow { right: 0; }

/* stats and side notes without boxes */
.ps { background: none; padding: 0; border-radius: 0; }
.beyond-list li { background: none; padding: 16px 0 0; border-radius: 0; border-top: 1px solid var(--line); }
.beyond-list li:hover { transform: none; }

/* book: plain line instead of a pulsing pill */
.book-badge { color: var(--gold); font-weight: 600; font-size: 14.5px; }

/* press: an index of clippings, not a card grid */
.press-grid { display: block; margin-top: 12px; border-top: 1px solid var(--line); }
.press-row { display: grid; grid-template-columns: 104px 170px minmax(0, 1fr) 150px; gap: 4px 20px; align-items: baseline; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background-color .25s, padding .35s var(--ease); }
.press-row:hover { background: var(--bg-2); padding-left: 12px; }
.press-row time { font-family: var(--mono); font-size: 13.5px; color: var(--ink-3); }
.pr-src { font-size: 14px; font-weight: 600; color: var(--gold); }
.pr-title { font-size: 16px; line-height: 1.38; font-weight: 500; text-wrap: pretty; }
.press-row:hover .pr-title { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: color-mix(in oklab, var(--gold) 60%, transparent); }
.pr-kind { font-size: 12.5px; color: var(--ink-3); text-align: right; }
@media (max-width: 800px) {
  .press-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "src time" "title title"; padding: 12px 0; }
  .pr-src { grid-area: src; } .press-row time { grid-area: time; } .pr-title { grid-area: title; } .pr-kind { display: none; }
}
@media (max-width: 1080px) {
  .nav { justify-content: flex-start; padding-top: 92px; overflow-y: auto; }
  .nav a { font-size: clamp(1.6rem, 6.5vw, 2.4rem); padding: 4px 0; font-stretch: 104%; }
}
