:root {
  --ink: #101210;
  --paper: #f4f3ed;
  --white: #ffffff;
  --line: #c9cac2;
  --muted: #62665f;
  --cyan: #31d5df;
  --coral: #ff5b45;
  --lime: #b9df54;
  --yellow: #f5ca52;
  --max: 1320px;
  --body-size: 20px;
  --small-size: 16px;
  --caption-size: 15px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; }
body, button, input { font-size: var(--body-size); }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; left: 12px; top: -50px; z-index: 100; background: white; padding: 10px 14px; }
.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; }
.section { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; width: 100%; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 32px; color: white; border-bottom: 1px solid rgba(255,255,255,.16); transition: background .25s ease, color .25s ease, height .25s ease; }
.site-header.is-scrolled { height: 64px; color: var(--ink); background: rgba(244,243,237,.92); backdrop-filter: blur(14px); border-color: var(--line); }
.wordmark { justify-self: start; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark-mark { font: 800 21px/1 Arial, sans-serif; }
.wordmark-school { padding-left: 12px; border-left: 1px solid currentColor; font-size: 9px; line-height: 1.15; text-transform: uppercase; }
.desktop-nav { display: flex; gap: 28px; }
.desktop-nav a, .header-link { font-size: 13px; font-weight: 650; text-decoration: none; }
.desktop-nav a:hover, .header-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-link { justify-self: end; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.share-button { padding: 0; border: 0; color: inherit; background: transparent; font-size: 13px; font-weight: 650; cursor: pointer; }
.share-button:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero { position: relative; min-height: 92svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; align-items: end; gap: 48px; padding: 146px max(32px, calc((100vw - var(--max))/2)) 48px; color: white; background: #101210; }
#research-field { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; opacity: .74; }
.hero-grid { position: absolute; z-index: 1; inset: 0; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to right, black, transparent 76%); }
.hero::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(16,18,16,.96) 0%, rgba(16,18,16,.58) 52%, rgba(16,18,16,.08) 82%); pointer-events: none; }
.hero-content, .hero-sequence { position: relative; z-index: 2; }
.hero-content { min-width: 0; width: min(100%, 920px); }
.eyebrow, .section-kicker { margin: 0 0 24px; font: 700 11px/1.2 Arial, sans-serif; text-transform: uppercase; }
.eyebrow { color: var(--cyan); }
.hero h1 { max-width: 920px; margin: 0; font: 780 clamp(3.8rem, 7.4vw, 7.5rem)/.88 Arial, sans-serif; letter-spacing: 0; }
.hero-deck { max-width: 710px; margin: 34px 0 0; font-size: clamp(1.12rem, 1.7vw, 1.45rem); line-height: 1.45; color: #d6d9d3; }
.hero-deck strong:nth-child(1) { color: var(--cyan); }
.hero-deck strong:nth-child(2) { color: var(--yellow); }
.hero-deck strong:nth-child(3) { color: var(--lime); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid rgba(255,255,255,.55); text-decoration: none; font-size: 13px; font-weight: 750; }
.button-primary { border-color: var(--coral); background: var(--coral); color: #fff; }
.button-quiet:hover { background: white; color: var(--ink); }
.hero-sequence { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; font: 700 10px/1 Arial, sans-serif; text-transform: uppercase; color: #aeb3ab; }
.hero-sequence i { height: 1px; flex: 1; background: linear-gradient(90deg, var(--cyan), var(--yellow), var(--coral)); }

.manifesto { padding: 120px 0 150px; }
.section-kicker { color: #595e56; }
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 96px; align-items: start; }
.manifesto h2 { margin: 0; max-width: 900px; font: 700 clamp(2.5rem, 5vw, 5rem)/.99 Georgia, serif; }
.manifesto-copy { padding-top: 8px; }
.manifesto-copy p { margin: 0 0 20px; font-size: 17px; line-height: 1.68; color: #494d47; }
.manifesto-copy strong { color: var(--ink); }

.research-atlas { padding: 0 0 150px; }
.section-heading { display: flex; justify-content: space-between; gap: 36px; align-items: end; margin-bottom: 50px; }
.section-heading h2 { margin: 0; max-width: 760px; font: 750 clamp(2.2rem, 4.2vw, 4.4rem)/.98 Arial, sans-serif; }
.section-note { max-width: 360px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.atlas-layout { border-top: 1px solid var(--ink); }
.atlas-map { display: grid; grid-template-columns: repeat(4, 1fr); }
.atlas-tab { min-height: 170px; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; text-align: left; background: transparent; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; }
.atlas-tab:first-child { border-left: 1px solid var(--line); }
.atlas-tab span { font: 750 11px/1 Arial, sans-serif; color: var(--muted); }
.atlas-tab strong { margin-top: auto; font-size: 17px; }
.atlas-tab small { font-size: 12px; color: var(--muted); }
.atlas-tab::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 5px; transform: scaleX(0); transform-origin: left; background: var(--coral); transition: transform .25s ease; }
.atlas-tab:hover, .atlas-tab.is-active { background: white; }
.atlas-tab.is-active::after { transform: scaleX(1); }
.frontier-panel { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 600px; background: white; }
.frontier-visual { position: relative; min-width: 0; padding: 0; display: grid; place-items: center; background: #161b18; overflow: hidden; }
#frontier-canvas { width: 100%; height: 100%; min-height: 600px; }
.frontier-visual > span { position: absolute; left: 28px; bottom: 24px; color: rgba(255,255,255,.66); font: 700 10px/1.2 Arial, sans-serif; text-transform: uppercase; }
.frontier-content { padding: 64px 52px; }
.frontier-number { margin: 0 0 48px; color: var(--coral); font: 700 11px/1 Arial, sans-serif; text-transform: uppercase; }
.frontier-content h3 { margin: 0 0 22px; font: 720 clamp(2rem, 3.2vw, 3.4rem)/1 Arial, sans-serif; }
.frontier-content > p:not(.frontier-number) { color: #4f534c; line-height: 1.65; }
.frontier-papers { margin: 38px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.frontier-papers li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.35; }
.frontier-papers span { color: var(--muted); }
.text-link { font-size: 13px; font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.story-band { padding: 120px 0; color: white; background: #101210; }
.story-intro { display: grid; grid-template-columns: .45fr 1.25fr .65fr; gap: 48px; align-items: start; margin-bottom: 64px; }
.section-kicker.light { color: var(--cyan); }
.story-intro h2 { margin: 0; font: 700 clamp(2.6rem, 5vw, 5.2rem)/.96 Georgia, serif; }
.story-intro > p:last-child { margin: 8px 0 0; color: #bfc3bc; font-size: 15px; line-height: 1.65; }
.story-reel { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.story-card { min-width: 0; background: #222420; }
.story-card-wide { grid-row: span 2; }
.story-card img, .story-card video { width: 100%; height: 270px; object-fit: cover; background: #fff; }
.edit-teaser, .bias-teaser { position: relative; width: 100%; height: 270px; overflow: hidden; background: #151a17; }
.story-card-wide .edit-teaser { height: 470px; }
.edit-teaser canvas, .bias-teaser canvas { width: 100%; height: 100%; }
.edit-labels { position: absolute; inset: auto 20px 18px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; color: rgba(255,255,255,.64); font: 700 9px/1.2 Arial, sans-serif; text-transform: uppercase; }
.edit-labels span:nth-child(2) { color: var(--yellow); text-align: center; }
.edit-labels span:last-child { color: var(--cyan); text-align: right; }
.bias-caption { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.62); font: 700 9px/1 Arial, sans-serif; text-transform: uppercase; }
.bias-caption i { height: 1px; flex: 1; background: linear-gradient(90deg, var(--coral), var(--lime)); }
.bias-caption strong { color: var(--lime); }
.kairos-demo { position: relative; width: 100%; height: 270px; overflow: hidden; background: #172320; }
#kairos-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.kairos-label { position: absolute; left: 18px; top: 18px; display: flex; align-items: center; gap: 7px; font: 700 9px/1 Arial, sans-serif; text-transform: uppercase; }
.kairos-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.story-card-wide video { height: 470px; object-fit: contain; }
.story-copy { padding: 28px; }
.story-copy span { color: var(--cyan); font: 700 10px/1.2 Arial, sans-serif; text-transform: uppercase; }
.story-copy h3 { margin: 12px 0 10px; font-size: 24px; line-height: 1.12; }
.story-copy p { margin: 0 0 18px; color: #bdc1ba; line-height: 1.55; font-size: 14px; }
.story-copy a { font-size: 12px; font-weight: 750; }

.featured-work { padding: 130px 0; }
.featured-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.featured-card { grid-column: span 4; min-width: 0; background: white; border: 1px solid #d7d8d1; }
.featured-card:nth-child(1), .featured-card:nth-child(6) { grid-column: span 8; }
.featured-media { aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; background: #e7e8e1; }
.featured-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
.visual-kairos, .visual-market, .visual-miclip, .visual-continuous { position: relative; display: block; background: #14201d; }
.visual-kairos canvas, .visual-market canvas, .visual-miclip canvas, .visual-continuous canvas { width: 100%; height: 100%; }
.visual-market { background: #161816; }
.visual-miclip { background: #17181b; }
.visual-continuous { background: #f0f0e9; }
.visual-label { position: absolute; left: 18px; top: 18px; color: rgba(255,255,255,.7); font: 700 9px/1 Arial, sans-serif; text-transform: uppercase; }
.visual-continuous .visual-label { color: #575b54; }
.visual-crm { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 32px; color: white; background: #24231f; }
.crm-track { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; }
.crm-track span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.crm-track span:not(:last-child)::after { content: ""; position: absolute; left: calc(50% + 20px); top: 19px; width: calc(100% - 40px); height: 1px; background: var(--coral); transform-origin: left; animation: rewardLink 3.2s ease-in-out infinite; }
.crm-track i { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #77786f; border-radius: 50%; font-style: normal; font-size: 11px; background: #24231f; }
.crm-track b { font-size: 12px; color: #b9bdb5; }
.crm-track .crm-outcome i { border-color: var(--lime); color: var(--ink); background: var(--lime); }
.visual-crm > p { margin: 28px 0 0; color: #aeb2aa; font: 700 9px/1 Arial, sans-serif; text-transform: uppercase; }
@keyframes rewardLink { 0%, 18% { transform: scaleX(0); opacity: .2; } 50%, 82% { transform: scaleX(1); opacity: 1; } 100% { opacity: .2; } }
.featured-card:hover .featured-media img { transform: scale(1.025); }
.featured-body { padding: 22px; }
.featured-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 28px; font: 700 10px/1.2 Arial, sans-serif; color: var(--muted); text-transform: uppercase; }
.featured-body h3 { margin: 0 0 18px; font-size: 20px; line-height: 1.2; }
.featured-body a { font-size: 12px; font-weight: 750; }

.lab-section { padding: 120px 0; color: white; background: #171916; }
.lab-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: start; margin-bottom: 58px; }
.lab-intro h2 { max-width: 720px; margin: 0; font: 740 clamp(3rem, 6vw, 6.2rem)/.92 Arial, sans-serif; }
.lab-statement { max-width: 610px; padding-top: 34px; }
.lab-statement p { margin: 0 0 18px; color: #c8ccc5; font-size: 16px; line-height: 1.65; }
.lab-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lab-photo { min-width: 0; margin: 0; }
.lab-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center bottom; filter: saturate(.9) contrast(1.04); }
/* Crop the lawn from the campus photo; preserve every person in both frames. */
.lab-photo-wide img { object-position: center top; }
.lab-photo figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0 28px; border-bottom: 1px solid #3a3e38; color: #9fa49c; font: 700 10px/1.3 Arial, sans-serif; text-transform: uppercase; }
.lab-photo figcaption strong { color: white; }
.lab-profile { display: grid; grid-template-columns: 150px minmax(260px, .8fr) minmax(330px, 1.2fr) auto; gap: 34px; align-items: center; padding-top: 54px; }
.lab-profile > img { width: 150px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; }
.lab-profile h3 { margin: 0 0 10px; font-size: 29px; }
.lab-profile p { margin: 0; color: #b9beb6; font-size: 13px; line-height: 1.55; }
.lab-profile ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-left: 1px solid #444840; }
.lab-profile li { min-height: 96px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 12px 22px; border-right: 1px solid #444840; }
.lab-profile li strong { font: 740 25px/1 Arial, sans-serif; color: var(--cyan); }
.lab-profile li span { color: #aeb3aa; font-size: 10px; line-height: 1.35; text-transform: uppercase; }
.button-light { border-color: white; color: var(--ink); background: white; }

.publication-index { padding: 20px 0 150px; }
.work-count { margin: 0; font: 700 12px/1 Arial, sans-serif; text-transform: uppercase; }
.work-count span { font-size: 26px; color: var(--coral); }
.work-tools { position: sticky; top: 64px; z-index: 15; display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); background: rgba(244,243,237,.95); backdrop-filter: blur(12px); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 18px; background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.filter:hover, .filter.is-active { border-color: var(--ink); color: white; background: var(--ink); }
.search-box { width: min(280px, 100%); position: relative; flex: 0 0 auto; }
.search-box input { width: 100%; height: 36px; padding: 0 34px 0 12px; border: 1px solid var(--line); background: white; border-radius: 0; font-size: 12px; }
.search-box > span:last-child { position: absolute; right: 12px; top: 7px; }
.paper-list { border-bottom: 1px solid var(--ink); }
.paper-item { display: grid; grid-template-columns: 72px 1fr 190px 40px; gap: 24px; align-items: center; min-height: 94px; padding: 18px 10px; border-top: 1px solid var(--line); text-decoration: none; transition: background .15s ease; }
.paper-item:first-child { border-top: 0; }
.paper-item:hover { background: white; }
.paper-year { font: 750 12px/1 Arial, sans-serif; color: var(--muted); }
.paper-title { font-size: 16px; line-height: 1.3; font-weight: 650; }
.paper-venue { justify-self: start; font-size: 11px; line-height: 1.35; color: var(--muted); text-transform: uppercase; }
.paper-arrow { justify-self: end; font-size: 20px; }
.empty-state { padding: 56px 0; color: var(--muted); }
.load-more { width: 100%; min-height: 50px; margin-top: 14px; border: 1px solid var(--ink); background: transparent; font-size: 12px; font-weight: 750; cursor: pointer; }
.load-more:hover { color: white; background: var(--ink); }
.load-more[hidden] { display: none; }

.open-research { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 120px 0; border-top: 1px solid var(--ink); }
.open-research h2 { margin: 0; font: 700 clamp(2.8rem, 5.4vw, 5.8rem)/.95 Georgia, serif; }
.source-links { border-top: 1px solid var(--ink); }
.source-links a { display: grid; grid-template-columns: 1fr 1fr 24px; align-items: center; min-height: 88px; border-bottom: 1px solid var(--line); text-decoration: none; }
.source-links a:hover { background: white; }
.source-links span { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.source-links strong { font-size: 15px; }
.source-links i { justify-self: end; font-style: normal; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 64px max(32px, calc((100vw - var(--max))/2)); color: white; background: var(--ink); }
.footer-brand { display: flex; gap: 28px; align-items: flex-start; }
.footer-brand strong { font-size: 34px; }
.footer-brand span, .footer-meta { font-size: 11px; line-height: 1.6; color: #bfc3bc; text-transform: uppercase; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; }
.footer-meta a { text-decoration: none; }
.footer-note { grid-column: 1 / -1; max-width: 760px; margin: 18px 0 0; padding-top: 24px; border-top: 1px solid #383b36; color: #858a82; font-size: 10px; line-height: 1.55; }
.toast { position: fixed; z-index: 80; right: 20px; bottom: 20px; padding: 12px 16px; color: white; background: var(--ink); font-size: 12px; transform: translateY(80px); opacity: 0; transition: transform .2s ease, opacity .2s ease; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 920px) {
  .section { width: min(100% - 36px, var(--max)); }
  .site-header { grid-template-columns: 1fr auto; padding: 0 18px; }
  .desktop-nav { display: none; }
  .hero { min-height: 94svh; grid-template-columns: 1fr; gap: 38px; padding: 124px 18px 28px; }
  .hero-content { align-self: end; }
  .hero h1 { font-size: clamp(3.7rem, 16vw, 7rem); }
  .hero-sequence { display: none; }
  .manifesto { padding: 84px 0 100px; }
  .manifesto-grid, .frontier-panel, .open-research { grid-template-columns: 1fr; gap: 46px; }
  .atlas-map { grid-template-columns: 1fr 1fr; }
  .atlas-tab { min-height: 138px; }
  .frontier-visual { min-height: 340px; padding: 0; }
  #frontier-canvas { min-height: 340px; }
  .frontier-content { padding: 42px 28px; }
  .story-intro { grid-template-columns: 1fr; gap: 24px; }
  .story-reel { grid-template-columns: 1fr; }
  .story-card-wide { grid-row: auto; }
  .story-card-wide video { height: 320px; }
  .featured-card, .featured-card:nth-child(1), .featured-card:nth-child(6) { grid-column: span 6; }
  .lab-intro, .lab-gallery { grid-template-columns: 1fr; gap: 36px; }
  .lab-statement { padding-top: 0; }
  .lab-profile { grid-template-columns: 120px 1fr; }
  .lab-profile > img { width: 120px; }
  .lab-profile ul { grid-column: 1 / -1; }
  .lab-profile > a { grid-column: 1 / -1; justify-self: start; }
  .work-tools { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
}

@media (max-width: 600px) {
  .site-header { height: 64px; }
  .header-link { font-size: 11px; }
  .header-actions { gap: 12px; }
  .share-button { font-size: 11px; }
  .hero { padding-top: 104px; }
  .eyebrow { max-width: 100%; line-height: 1.45; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 5.4rem); }
  .hero-deck { margin-top: 24px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .button { min-width: 0; padding: 0 8px; font-size: 11px; text-align: center; }
  .section-heading { align-items: start; flex-direction: column; }
  .atlas-map { grid-template-columns: 1fr; }
  .atlas-tab { min-height: 108px; }
  .frontier-panel { min-height: 0; }
  .story-band { padding: 84px 0; }
  .story-card img, .story-card video, .story-card-wide video, .edit-teaser, .bias-teaser, .story-card-wide .edit-teaser { height: 250px; }
  .featured-work { padding: 90px 0; }
  .featured-card, .featured-card:nth-child(1), .featured-card:nth-child(6) { grid-column: 1 / -1; }
  .lab-section { padding: 90px 0; }
  .lab-gallery { gap: 16px; }
  .lab-profile { grid-template-columns: 86px 1fr; gap: 20px; }
  .lab-profile > img { width: 86px; }
  .lab-profile ul { grid-template-columns: 1fr; }
  .lab-profile li { min-height: 72px; border-bottom: 1px solid #444840; }
  .publication-index { padding-bottom: 100px; }
  .paper-item { grid-template-columns: 46px 1fr 24px; gap: 12px; }
  .paper-venue { grid-column: 2; }
  .paper-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .open-research { padding: 90px 0; }
  .source-links a { grid-template-columns: 1fr 24px; }
  .source-links span { grid-column: 1; }
  .source-links strong { grid-column: 1; }
  .source-links i { grid-column: 2; grid-row: 1 / span 2; }
  .site-footer { grid-template-columns: 1fr; padding: 48px 18px; }
  .footer-meta { align-items: flex-start; }
  .footer-note { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #research-field { display: none; }
}

/* Research explainers share a layout grid and keep all reading text in the DOM. */
section[id] { scroll-margin-top: 86px; }
.hero h1 { font-size: clamp(3.7rem, 6.1vw, 6.2rem); line-height: .97; }
.frontier-panel, .featured-grid, .teaser, .lab-profile { scroll-margin-top: 84px; }
.featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.featured-card, .featured-card:nth-child(1), .featured-card:nth-child(6) { grid-column: auto; }
.featured-body { padding: 26px; }
.featured-meta { margin-bottom: 18px; }
.featured-body h3 { min-height: 48px; }
.teaser { display: flex; flex-direction: column; align-items: stretch; justify-content: center; position: relative; min-width: 0; height: auto; aspect-ratio: auto; padding: 24px; background: #141c19; color: #edf5ee; overflow: hidden; }
.frontier-visual.teaser { align-self: stretch; min-height: 540px; padding: 30px; }
.story-card-wide .edit-teaser.teaser { height: auto; min-height: 580px; }
.teaser-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; min-height: 46px; margin-bottom: 12px; }
.teaser-heading > span { max-width: 85%; font-size: 12px; line-height: 1.5; color: #b8c9bf; }
.teaser-pause { flex: 0 0 auto; background: transparent; border: 1px solid #4a6154; border-radius: 4px; color: #d5e4da; padding: 5px 9px; font-size: 11px; line-height: 1.2; cursor: pointer; }
.teaser canvas { position: static; display: block; width: 100%; height: auto; aspect-ratio: 640 / 330; min-height: 0; margin: 0; }
.teaser-explanation { margin-top: 16px; }
.teaser-steps { display: flex; gap: 6px; border-top: 1px solid #304338; padding-top: 13px; }
.teaser-steps button { position: relative; flex: 1; text-align: left; padding: 3px 0; background: transparent; border: none; color: #9bafa1; font-size: 12px; line-height: 1.5; cursor: pointer; }
.teaser-steps button::before { position: absolute; content: ''; top: -14px; height: 2px; width: 100%; background: transparent; }
.teaser-steps button.active { color: #c1e46b; }
.teaser-steps button.active::before { background: #c1e46b; }
.teaser-steps span { font-size: 10px; opacity: .65; padding-right: 4px; }
.teaser-caption { margin: 12px 0 0; min-height: 48px; color: #d2ded6; font-size: 14px; line-height: 1.6; text-wrap: pretty; }
.teaser-explanation small { display: block; margin-top: 10px; color: #839c8b; font-size: 10px; }
.teaser :focus-visible { outline: 2px solid #41d9df; outline-offset: 4px; }
.teaser-heading > div { min-width: 0; }
.teaser-eyebrow { display: block; margin: 0 0 7px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #96ab9d; }
.teaser-heading h4 { margin: 0; color: #e7f0ea; font-size: 16px; line-height: 1.35; font-weight: 600; }
.teaser-heading { align-items: center; margin-bottom: 20px; }
.teaser-pause { min-width: 52px; min-height: 32px; border-color: #435d4e; }
.teaser-io { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 0 0 22px; border-top: 1px solid #344c3e; border-bottom: 1px solid #344c3e; }
.teaser-io > div { padding: 14px 16px 14px 0; min-width: 0; }
.teaser-io > div + div { padding-right: 0; padding-left: 20px; border-left: 1px solid #344c3e; }
.teaser-io dt { margin: 0 0 6px; color: #acbbb2; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.teaser-io .teaser-output dt { color: #c1e46b; }
.teaser-io dd { margin: 0; font-size: 13px; line-height: 1.5; color: #dce9e0; text-wrap: pretty; min-height: 40px; }
.teaser-drawing { min-width: 0; background: radial-gradient(ellipse at 50% 50%, #1c2e23 0%, #141c19 72%); }
.teaser-method { display: block; margin-bottom: 8px; font-size: 11px; line-height: 1.5; color: #a5b9ac; text-align: center; }
.teaser-steps button::before { background: #24392c; }
.teaser-steps button.active::before { background: linear-gradient(to right, #c1e46b calc(var(--stage-progress,0) * 100%), #496237 0); }
.teaser-caption { min-height: 66px; }
.teaser-evidence { margin-top: auto; padding-top: 17px; border-top: 1px solid #304338; }
.teaser-evidence-label { display: block; margin: 0 0 8px; color: #96ab9d; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.teaser-citations { display: grid; gap: 8px; }
.teaser-citations a { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; color: #dce9e0; font-size: 12px; line-height: 1.45; text-decoration: none; }
.teaser-citations a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.teaser-citations strong { font-weight: 600; }
.teaser-citations span { color: #b2c4b8; }
.teaser-citations i { margin-left: auto; color: #c1e46b; font-style: normal; }
.teaser-evidence small { display: block; margin-top: 12px; font-size: 10px; color: #839c8b; }
.teaser[data-teaser="foundation"] .teaser-citations { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px 20px; }
.frontier-visual.teaser { justify-content: flex-start; }
.frontier-visual .teaser-evidence { margin-top: 0; }
.frontier-papers li { line-height: 1.5; }
@media (max-width: 920px) {
  .frontier-visual.teaser { min-height: 0; }
  .story-card-wide .edit-teaser.teaser { min-height: 0; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2.3rem, 12vw, 4.8rem); }
  .lab-intro h2 { font-size: clamp(2.15rem, 10vw, 3rem); }
  .featured-grid { grid-template-columns: minmax(0, 1fr); }
  .teaser, .frontier-visual.teaser { padding: 18px 14px; }
  .teaser-heading { gap: 8px; margin-bottom: 10px; }
  .teaser-heading > span { max-width: 78%; font-size: 11px; }
  .teaser-caption { font-size: 13px; min-height: 62px; }
  .teaser-steps button { font-size: 11px; }
  .teaser-steps span { display: none; }
  .featured-body h3 { min-height: 0; }
  .teaser-heading h4 { font-size: 14px; }
  .teaser-io dd { font-size: 12px; min-height: 54px; }
  .teaser-io > div + div { padding-left: 12px; }
  .teaser-io { margin-bottom: 16px; }
  .teaser[data-teaser="foundation"] .teaser-citations { grid-template-columns: minmax(0,1fr); }
  .teaser-citations a { font-size: 11px; }
  .teaser-method { font-size: 10px; }
}

/* A visual, one idea, and its source: retain the original portfolio's lightness. */
.teaser-heading h4 { font-size: 20px; line-height: 1.3; }
.teaser-pause { font-size: 12px; }
.teaser-io { margin-bottom: 12px; }
.teaser-io dd { font-size: 15px; min-height: 0; }
.teaser-io dt { font-size: 11px; }
.teaser-caption { font-size: 17px; min-height: 56px; }
.teaser-steps button { font-size: 14px; }
.teaser-citations a { font-size: 14px; }
.teaser-citations { gap: 8px; }
.teaser[data-teaser="foundation"] .teaser-citations { grid-template-columns: 1fr; }
.featured-body { padding: 22px 24px; }
.featured-body h3 { margin: 0; min-height: 0; }
.featured-body h3 a { font-size: 20px; font-weight: 650; text-decoration: none; line-height: 1.3; }
.featured-body h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.story-reel { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.story-card-wide { grid-row: auto; }
.story-card-wide .edit-teaser.teaser { min-height: 0; }
.frontier-content { padding: 44px; }
.frontier-related { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 28px 0 22px; }
.frontier-related summary { cursor: pointer; padding: 14px 0; font-size: 14px; font-weight: 600; }
.frontier-related .frontier-papers { margin: 0 0 12px; border-top: 0; }
.frontier-content > p.frontier-background { font-size: 12px; line-height: 1.5; color: #6a7067; margin: 20px 0; }
.frontier-background[hidden] { display: none; }
@media(max-width:920px) { .story-reel { grid-template-columns: 1fr; } }
@media(max-width:600px) {
  .teaser-heading h4 { font-size: 18px; }
  .teaser-caption { font-size: 15px; min-height: 72px; }
  .teaser-io dd { font-size: 14px; }
  .teaser-steps button { font-size: 13px; }
  .teaser-citations a { font-size: 13px; }
  .frontier-content { padding: 30px 24px; }
}

/* Reading scale: comfortable at default zoom on a 13-inch laptop. */
.wordmark-school { font-size: 12px; line-height: 1.25; }
.desktop-nav a, .header-link, .share-button, .button, .text-link { font-size: var(--small-size); }
.button { min-height: 50px; line-height: 1.35; }
.eyebrow, .section-kicker { font-size: var(--caption-size); line-height: 1.45; }
.hero-deck { font-size: clamp(21px, 1.8vw, 25px); line-height: 1.55; }
.hero-sequence { font-size: var(--caption-size); line-height: 1.3; }
.manifesto-grid { gap: 64px; }
.manifesto-copy p, .lab-statement p { font-size: var(--body-size); line-height: 1.65; }
.section-note { max-width: 380px; font-size: 18px; line-height: 1.6; }
.atlas-tab { min-height: 188px; padding: 24px 22px; gap: 12px; }
.atlas-tab span, .frontier-number { font-size: var(--caption-size); line-height: 1.4; }
.atlas-tab strong { font-size: 21px; line-height: 1.25; }
.atlas-tab small { font-size: var(--small-size); line-height: 1.45; }
.frontier-panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.frontier-content { min-width: 0; padding: 38px; }
.frontier-number { margin-bottom: 30px; }
.frontier-content h3 { font-size: clamp(32px, 3vw, 46px); line-height: 1.08; }
.frontier-content > p:not(.frontier-number) { font-size: var(--body-size); line-height: 1.6; }
.frontier-papers li, .frontier-related summary { font-size: 17px; line-height: 1.55; }
.frontier-content > p.frontier-background { font-size: var(--small-size); line-height: 1.6; }
.frontier-related { margin: 24px 0; }
.frontier-related summary { padding: 16px 0; }
.story-intro { grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); gap: 26px 56px; }
.story-intro > .section-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.story-intro > p:last-child { font-size: var(--body-size); line-height: 1.65; }
.story-copy { padding: 30px; }
.story-copy span, .featured-meta { font-size: var(--caption-size); line-height: 1.45; }
.story-copy h3 { font-size: 29px; line-height: 1.2; }
.story-copy p { font-size: var(--body-size); line-height: 1.6; }
.story-copy a, .featured-body a { font-size: var(--small-size); line-height: 1.5; }
.featured-meta { flex-wrap: wrap; gap: 8px 16px; }
.featured-body { padding: 28px; }
.featured-body h3, .featured-body h3 a { font-size: 25px; line-height: 1.3; }
.featured-body p { font-size: var(--body-size); line-height: 1.6; }
.lab-photo figcaption { font-size: var(--caption-size); line-height: 1.5; }
.lab-profile { grid-template-columns: 140px minmax(220px, 1fr) minmax(330px, 1.2fr) 140px; gap: 26px; }
.lab-profile > img { width: 140px; }
.lab-profile p { font-size: 17px; line-height: 1.6; }
.lab-profile li { padding: 12px 16px; }
.lab-profile li strong { font-size: 29px; }
.lab-profile li span { font-size: var(--caption-size); line-height: 1.45; text-transform: none; }
.lab-profile .button { padding: 12px; }
.work-count { font-size: var(--small-size); line-height: 1.4; }
.work-count span { font-size: 32px; }
.work-tools { flex-wrap: wrap; align-items: center; }
.filter { min-height: 42px; padding: 6px 14px; border-radius: 24px; font-size: var(--small-size); }
.search-box input { height: 44px; font-size: var(--small-size); }
.search-box > span:last-child { top: 9px; }
.paper-item { grid-template-columns: 62px minmax(0, 1fr) 190px 30px; gap: 22px; min-height: 108px; padding: 22px 10px; }
.paper-year, .paper-venue { font-size: var(--small-size); line-height: 1.45; }
.paper-title { font-size: var(--body-size); line-height: 1.45; }
.load-more { min-height: 54px; font-size: var(--small-size); }
.source-links a { grid-template-columns: 1fr 1fr 24px; column-gap: 16px; padding: 14px 0; }
.source-links span { font-size: var(--caption-size); line-height: 1.5; }
.source-links strong { font-size: 19px; line-height: 1.4; }
.footer-brand span, .footer-meta { font-size: var(--caption-size); line-height: 1.6; }
.footer-note, .toast { font-size: var(--caption-size); line-height: 1.6; }

/* Any retained interactive diagram uses the same legible text hierarchy. */
.teaser-heading > span, .teaser-pause { font-size: var(--small-size); }
.teaser-heading h4 { font-size: 24px; line-height: 1.3; }
.teaser-pause { min-height: 42px; padding: 8px 10px; }
.teaser-eyebrow, .teaser-evidence-label, .teaser-io dt { font-size: var(--caption-size); line-height: 1.45; letter-spacing: .02em; }
.teaser-io dd { font-size: 18px; line-height: 1.5; }
.teaser-caption { min-height: 0; font-size: var(--body-size); line-height: 1.55; }
.teaser-steps { gap: 12px; }
.teaser-steps button { font-size: 18px; line-height: 1.4; padding: 8px 0; }
.teaser-steps span { font-size: var(--caption-size); }
.teaser-method, .teaser-citations a { font-size: 17px; line-height: 1.5; }
.teaser-explanation small, .teaser-evidence small { font-size: var(--caption-size); line-height: 1.5; }

/* Original paper figures sit on a quiet canvas, without decorative overlays. */
.paper-card { min-width: 0; background: white; color: var(--ink); border: 1px solid #d7d8d1; }
.paper-media { position: relative; display: grid; place-items: center; width: 100%; min-width: 0; margin: 0; padding: 26px; background: #fff; overflow: hidden; }
.paper-media > a { display: block; width: 100%; }
.paper-media img, .paper-media video { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; background: white; }
.paper-media figcaption { width: 100%; margin-top: 16px; color: var(--muted); font-size: var(--caption-size); line-height: 1.5; }
.paper-card .story-copy, .paper-card .featured-body { border-top: 1px solid #e3e5de; }
.paper-card .story-copy p, .paper-card .story-copy span { color: #535b51; }
.paper-card .story-copy a { color: var(--ink); }
.paper-card h3 { text-wrap: pretty; }
.paper-card .paper-source { display: block; margin: 0 0 14px; color: #586154; font-size: var(--small-size); line-height: 1.5; }
.paper-card .paper-summary { font-size: var(--body-size); line-height: 1.6; }
.impact-section { padding: 100px 0; background: #e9ece3; color: var(--ink); }
.impact-section .section-kicker { color: #506145; }
.impact-section .section-note { max-width: 560px; color: #515a4b; }
.impact-section p { font-size: var(--body-size); line-height: 1.6; }
.impact-section small, .impact-section .impact-source { font-size: var(--caption-size); line-height: 1.6; }
.impact-section a { text-underline-offset: 4px; }

@media (min-width: 921px) and (max-width: 1160px) {
  .lab-profile { grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.2fr); }
  .lab-profile > img { width: 120px; }
  .lab-profile > a { grid-column: 2; justify-self: start; }
  .frontier-content { padding: 30px; }
  .manifesto-grid { gap: 40px; }
}
@media (max-width: 920px) {
  .manifesto-grid, .frontier-panel { grid-template-columns: minmax(0, 1fr); }
  .story-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .story-intro > p:last-child { max-width: 660px; }
  .lab-profile { grid-template-columns: 120px minmax(0, 1fr); gap: 28px; }
  .lab-profile > img { width: 120px; }
  .lab-profile ul, .lab-profile > a { grid-column: 1 / -1; }
  .work-tools { align-items: stretch; }
  .paper-media { padding: 22px; }
}
@media (max-width: 600px) {
  :root { --body-size: 18px; --small-size: 16px; --caption-size: 15px; }
  .wordmark-school { font-size: 11px; }
  .header-link, .share-button { font-size: 15px; }
  .header-actions { gap: 14px; }
  .hero-deck { font-size: 20px; }
  .hero-actions { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .button { font-size: var(--small-size); padding: 12px 16px; }
  .atlas-tab { min-height: 130px; padding: 22px; }
  .atlas-tab strong { font-size: 23px; }
  .frontier-content { padding: 28px 22px; }
  .frontier-content h3 { font-size: 32px; }
  .frontier-papers li, .frontier-related summary { font-size: 17px; }
  .story-copy, .featured-body { padding: 24px 22px; }
  .story-copy h3, .featured-body h3, .featured-body h3 a { font-size: 24px; }
  .lab-profile { grid-template-columns: 86px minmax(0, 1fr); gap: 22px; }
  .lab-profile > img { width: 86px; }
  .lab-profile h3 { font-size: 25px; }
  .lab-profile p { font-size: 16px; }
  .lab-photo figcaption { gap: 12px; flex-wrap: wrap; }
  .paper-item { grid-template-columns: 46px minmax(0, 1fr) 22px; gap: 10px; padding: 20px 0; }
  .paper-title { font-size: 18px; }
  .paper-year, .paper-venue { font-size: 15px; }
  .source-links a { grid-template-columns: minmax(0, 1fr) 24px; row-gap: 8px; }
  .footer-brand { gap: 18px; }
  .teaser, .frontier-visual.teaser { padding: 22px 18px; }
  .teaser-heading h4 { font-size: 22px; }
  .teaser-heading > span { font-size: 16px; }
  .teaser-io dd { font-size: 17px; }
  .teaser-caption { min-height: 0; font-size: 18px; }
  .teaser-steps button, .teaser-method, .teaser-citations a { font-size: 16px; }
  .paper-media { padding: 16px; }
  .impact-section { padding: 76px 0; }
}
@media (max-width: 360px) {
  .wordmark-school { display: none; }
  .teaser-io { grid-template-columns: minmax(0, 1fr); }
  .teaser-io > div + div { padding-left: 0; border-left: 0; border-top: 1px solid #344c3e; }
}

/* Original figures and evidence lead the page; no generated research canvases. */
.atlas-tab { display: grid; grid-template-rows: 24px 1fr 48px; align-items: start; }
.atlas-tab strong { margin-top: 0; align-self: end; }
.paper-card, .recognition-grid, .recognition-card { scroll-margin-top: 88px; }
.frontier-panel { grid-template-columns: minmax(0,1fr); }
.frontier-content { grid-row: 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px 48px; padding: 38px 40px; }
.frontier-number { grid-column: 1 / -1; margin: 0; }
.frontier-content h3 { margin: 0; grid-column: 1; }
.frontier-content > p:not(.frontier-number) { margin: 0; }
.frontier-related { margin: 0; grid-column: 2; grid-row: 3 / span 2; }
.frontier-content > .frontier-background { grid-column: 1; font-size: 16px; }
.frontier-content > .text-link { grid-column: 1; }
.frontier-originals { grid-row: 2; background: white; padding: 0 14px 14px; }
.frontier-originals .paper-media img { max-height: 500px; }
.frontier-originals .paper-media figcaption { margin-top: 8px; }
.figure-open { position: relative; width: 100%; display: block; border: 0; background: white; padding: 0; cursor: zoom-in; color: #29493c; }
.figure-open span { display: inline-block; margin-top: 18px; padding: 8px 14px; border: 1px solid #b5c1b5; border-radius: 3px; font-size: 16px; line-height: 1.3; }
.figure-open:hover span { background: #edf3ea; }
.figure-open:focus-visible { outline: 3px solid #14776f; outline-offset: 4px; }
.paper-media figcaption p { margin: 0 0 10px; }
.paper-media figcaption a { font-size: 16px; text-underline-offset: 4px; }
.featured-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 28px; }
/* One paper per compact row: original media and the complete introduction
   remain alongside each other without shrinking the reading type. */
.paper-card { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); grid-template-rows: auto 1fr; gap: 16px 34px; padding: 28px; align-items: start; }
.paper-card-heading { grid-column: 2; grid-row: 1; min-width: 0; }
.paper-card-heading h3 { font-size: clamp(28px,2.2vw,34px); line-height: 1.2; margin: 10px 0 0; }
.paper-card .paper-source { color: #49664f; font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.paper-card .paper-media { grid-column: 1; grid-row: 1 / span 2; padding: 0; border: 0; align-self: center; align-content: center; }
.paper-card .paper-media img, .paper-card .paper-media video { max-height: 300px; object-fit: contain; }
.paper-card .paper-media figcaption { margin-top: 12px; }
.paper-card .figure-open span { margin-top: 12px; }
.paper-card-copy { grid-column: 2; grid-row: 2; min-width: 0; }
.paper-card-copy p { font-size: 20px; line-height: 1.55; margin: 0 0 16px; }
.paper-card-copy .paper-evidence { padding-left: 18px; border-left: 3px solid #91a973; color: #415443; font-size: 18px; }
.paper-card-copy .text-link { display: inline-block; margin-bottom: 0; font-size: 17px; }
.impact-section h2 { max-width: 950px; margin: 0 0 30px; font-size: clamp(38px,4.6vw,66px); line-height: 1.05; }
.impact-section .impact-lead { max-width: 950px; font-size: 23px; line-height: 1.55; }
.impact-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; margin: 52px 0 70px; }
.impact-metrics article { border-top: 2px solid #3c5543; padding-top: 22px; }
.impact-label { display: block; font-size: 16px; font-weight: 600; color: #425b43; }
.impact-value { display: block; margin: 20px 0 8px; font-size: clamp(50px,5vw,74px); line-height: 1; color: #174d3e; }
.impact-value span { font-size: 28px; }
.impact-metrics h3 { margin: 14px 0 22px; font-size: 24px; line-height: 1.2; }
.impact-metrics p { margin: 0 0 18px; font-size: 20px; }
.impact-metrics small { display: block; color: #52624d; font-size: 16px; margin-bottom: 18px; }
.impact-metrics a { font-size: 17px; font-weight: 600; }
.metric-details { font-size: 16px; margin-top: 20px; }
.metric-details summary { cursor: pointer; }
.metric-details li { margin-bottom: 7px; }
.recognition-intro { max-width: 990px; margin-bottom: 32px; }
.recognition-intro h3 { font-size: 34px; line-height: 1.1; margin: 0 0 18px; }
.recognition-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.recognition-card { padding: 30px; background: #fff; border: 1px solid #cdd6c6; }
.recognition-card h3 { font-size: 32px; margin: 16px 0; }
.recognition-card p { font-size: 20px; }
.recognition-card .award-line { color: #426338; font-weight: 650; font-size: 17px; margin: 0; }
.recognition-card .paper-media { padding: 10px 0 20px; }
.recognition-card a { font-size: 17px; }
.recognition-card .paper-media img { height: 280px; object-fit: contain; }
.recognition-card .award-certificate img { height: clamp(250px,24vw,370px); object-fit: contain; }
.figure-modal-open { overflow: hidden; }
#figure-dialog { width: min(96vw,1800px); max-width: 96vw; max-height: 95svh; border: 0; padding: 24px; color: #16251c; background: #fff; }
#figure-dialog::backdrop { background: #09140ecc; }
.figure-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.figure-toolbar h2 { font-size: 23px; margin: 0; line-height: 1.3; }
.figure-toolbar > div { display: flex; gap: 10px; flex-shrink: 0; }
.figure-toolbar button { border: 1px solid #a7b4a8; background: #edf2e9; padding: 10px 16px; font-size: 17px; cursor: pointer; }
.figure-scroll { overflow: auto; max-height: 72svh; }
.figure-scroll img { width: auto; max-width: 100%; max-height: 70svh; margin: auto; object-fit: contain; }
.actual-size .figure-scroll img { max-width: none; max-height: none; }
.figure-source { display: inline-block; margin-top: 18px; font-size: 17px; }
.difflens-demo-grid { display: grid; grid-template-columns: .78fr 1fr 1fr; align-items: start; gap: 10px; width: 100%; }
.difflens-demo-grid h4 { min-height: 42px; margin: 0 0 10px; font-size: 16px; line-height: 1.3; font-weight: 650; text-align: center; color: #48534b; }
.difflens-example video { aspect-ratio: 512 / 572; width: 100%; height: auto; }
.difflens-mechanism img { margin-top: 22px; }
.difflens-intervention { width: 55%; height: 28px; border-left: 3px dashed #e45847; border-bottom: 3px dashed #e45847; margin: 0 0 0 56%; position: relative; }
.difflens-intervention::after { content: ''; position: absolute; right: -5px; bottom: -7px; border-left: 9px solid #e45847; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.difflens-play-all { border: 1px solid #adbbaf; background: #f3f6ef; color: #24412f; padding: 9px 18px; margin-top: 18px; border-radius: 3px; font-size: 16px; cursor: pointer; }
.difflens-media figcaption p { font-size: 16px; line-height: 1.5; }
@media(max-width:1000px) {
  .impact-metrics { gap: 24px; }
  .impact-value { font-size: 48px; }
  .frontier-content { gap: 20px 30px; padding: 30px; }
}
@media(max-width:999px) {
  .paper-card { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; gap: 20px; padding: 24px; }
  .paper-card-heading { grid-column: 1; grid-row: 1; }
  .paper-card .paper-media { grid-column: 1; grid-row: 2; padding: 0; }
  .paper-card-copy { grid-column: 1; grid-row: 3; }
  .paper-card .paper-media img, .paper-card .paper-media video { max-height: 300px; }
}
@media(max-width:700px) {
  .frontier-content { display: block; padding: 24px; }
  .paper-card { padding: 22px; gap: 18px; }
  .frontier-content > * { margin-bottom: 22px !important; }
  .frontier-originals { padding: 0; }
  .impact-metrics, .recognition-grid { grid-template-columns: 1fr; }
  .impact-metrics { gap: 38px; }
  .impact-section .impact-lead { font-size: 20px; }
  .impact-value { font-size: 60px; }
  .paper-card-heading { margin-bottom: 0; }
  .paper-card-copy { margin-top: 0; }
  .paper-card-copy p { font-size: 18px; }
  .paper-card-copy .paper-evidence { font-size: 17px; }
  .paper-card .paper-media { padding-top: 0; }
  .paper-card .paper-media img, .paper-card .paper-media video { max-height: 260px; }
  .paper-media figcaption a { font-size: 15px; }
  .recognition-card { padding: 22px; }
  .recognition-card .paper-media img { height: auto; }
  .recognition-card .award-certificate img { height: auto; }
  .figure-toolbar { align-items: start; flex-direction: column; gap: 12px; }
  .figure-toolbar h2 { font-size: 20px; }
  .figure-toolbar button { font-size: 16px; }
  #figure-dialog { padding: 16px; }
}
