/* Aiden Weatherbee — research and engineering portfolio */
@font-face {
  font-family: "Pixelify Sans";
  src: url("fonts/pixelify-sans/PixelifySans.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #090c16; --surface: #111724; --ink: #f0f1f6; --muted: #acb6c7;
  --accent: #bba8e8; --line: #293144; --soft: #131b2b; --navy: #111c2e;
  --gold: #d6b476; --max: 1120px; --radius: 4px;
  --font-name: "Pixelify Sans", "Courier New", monospace;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Shared aliases for the image archive. */
  --text: var(--ink); --text-muted: var(--muted); --panel: var(--surface);
  --border: var(--line); --bg: var(--paper); --quiet: var(--muted);
  --shadow-card: none; --shadow: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.7 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--accent); text-underline-offset: .24em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #e0bc82; outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); letter-spacing: -.045em; }
h2 { font: 400 clamp(1.7rem, 3vw, 2.4rem)/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
h3 { font-size: 1.15rem; letter-spacing: -.015em; }
p, li, td, dd, figcaption, h1, h2, h3 { overflow-wrap: break-word; }
p:last-child { margin-bottom: 0; }
p, li { color: var(--muted); }
strong { color: var(--ink); }
ul, ol { padding-left: 1.25rem; }
.section-shell, .nav-shell, .footer-shell { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; padding: 8px 14px; color: var(--paper); background: var(--ink); z-index: 200; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: var(--paper); }
.nav-shell { min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.wordmark { color: var(--ink); text-decoration: none; font-family: var(--font-name); font-size: 1.1rem; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.wordmark small { margin-left: 10px; font-family: var(--font-body); font-size: .7rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 27px; }
.nav-links a { padding: 5px 0; color: var(--muted); font-size: .82rem; text-decoration: none; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.nav-toggle { display: none; border: 1px solid var(--line); padding: 8px 12px; background: transparent; color: var(--ink); border-radius: 2px; cursor: pointer; }
.eyebrow, .project-type { margin: 0 0 17px; color: var(--accent); font: 500 .69rem/1.5 "SFMono-Regular", Consolas, monospace; letter-spacing: .11em; text-transform: uppercase; }
.home-intro { padding-block: 72px 55px; display: grid; grid-template-columns: 1fr 275px; gap: 95px; align-items: center; }
.home-intro h1 { margin: 0 0 14px; font: 500 clamp(3rem, 6vw, 5.2rem)/1.02 var(--font-name); letter-spacing: 0; }
.home-role { margin-bottom: 17px; color: var(--ink); font-size: 1.28rem; line-height: 1.4; }
.home-intro .hero-lede { max-width: 640px; font-size: 1rem; line-height: 1.8; }
.portrait-card img { display: block; width: 100%; height: 315px; object-fit: cover; object-position: center 24%; border-radius: 2px; }
.portrait-card figcaption { margin-top: 12px; color: var(--muted); font-size: .72rem; line-height: 1.6; }
.portrait-card figcaption span { display: block; }
.formation-scroll-visual {
  position: fixed; top: 50%; right: 10px; z-index: 5;
  width: clamp(60px, calc((100vw - var(--max)) / 2 - 20px), 200px);
  height: 330px; transform: translateY(-50%); pointer-events: none;
}
.formation-craft {
  position: absolute; top: 50%; left: 50%; width: 48px; height: auto;
  transform: translate(calc(-50% + var(--formation-x, 0px)), calc(-50% + var(--formation-y, 0px)));
  will-change: transform;
}
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 10px 17px; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: var(--ink); font-size: .8rem; font-weight: 600; line-height: 1.4; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--soft); text-decoration: none; }
.button-primary { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.button-primary:hover { background: #d1c1f4; border-color: #d1c1f4; }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--accent); font-size: .82rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.identity-line { padding-block: 21px; display: flex; flex-wrap: wrap; gap: 10px 40px; border-block: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.identity-line strong { font-weight: 600; }
.section { width: min(var(--max), calc(100% - 80px)); margin: 0 auto; padding-block: 65px; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 32px; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 430px; font-size: .9rem; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading .text-link { flex-shrink: 0; }
.featured-work { display: grid; grid-template-columns: 1.04fr 1fr; gap: 52px; align-items: center; }
.featured-figure { display: block; background: #fff; text-decoration: none; border-radius: 3px; overflow: hidden; }
.featured-figure img { width: 100%; display: block; }
.work-number { font: 500 .69rem/1.6 Consolas, monospace; color: var(--muted); letter-spacing: .07em; }
.featured-work h3 { font-size: 1.55rem; margin-block: 12px 17px; }
.featured-work h3 a, .work-row h3 a, .note-row h3 a { color: var(--ink); text-decoration: none; }
.featured-work p { font-size: .9rem; }
.work-result { border-left: 2px solid var(--accent); padding-left: 17px; margin-block: 23px; font-size: .85rem; }
.work-result strong { display: block; margin-bottom: 4px; }
.work-row { display: grid; grid-template-columns: 230px 1fr auto; gap: 34px; padding-block: 32px; align-items: center; border-top: 1px solid var(--line); margin-top: 34px; }
.work-row + .work-row { margin-top: 0; }
.work-row > a:first-child { background: #fff; }
.work-row img { width: 100%; height: 148px; object-fit: contain; display: block; }
.work-row h3 { margin: 8px 0 10px; font-size: 1.25rem; }
.work-row p { margin-bottom: 0; font-size: .86rem; max-width: 630px; }
.work-row .row-arrow { font-size: 1.4rem; text-decoration: none; padding: 10px; }
.more-work { display: flex; flex-wrap: wrap; gap: 10px 25px; padding-top: 20px; font-size: .8rem; }
.about-grid, .intro-grid, .methods-grid, .contact-grid, .identifiers-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 65px; align-items: start; }
.about-grid h2, .intro-grid h2, .methods-grid h2 { max-width: 340px; }
.about-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.about-copy p { font-size: .87rem; }
.about-copy h3 { font-size: .9rem; }
.note-row { display: grid; grid-template-columns: 95px 1fr auto; gap: 24px; border-top: 1px solid var(--line); padding-block: 22px; align-items: baseline; }
.note-row time { color: var(--muted); font: .75rem/1.5 Consolas, monospace; }
.note-row h3 { font-size: 1rem; margin-bottom: 8px; }
.note-row p { font-size: .82rem; }
.contact-section { background: var(--navy); color: #fff; border: 0 !important; padding: 45px; margin-block: 0 64px; }
.contact-section h2, .contact-section strong { color: #fff; }
.contact-section p { color: #c4d2d6; }
.contact-section .eyebrow { color: var(--gold); }
.contact-section a { color: #fff; }
.contact-section .button-primary { background: #fff; border-color: #fff; color: var(--navy); }
.contact-section .button-secondary { border-color: #8ca0aa; }
.contact-section .button:hover { background: #dce7e7; color: var(--navy); }
.site-footer { border-top: 1px solid var(--line); }
.footer-shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 30px; padding-block: 30px; color: var(--muted); font-size: .72rem; }
.footer-shell > div:first-child { display: grid; gap: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 19px; align-items: start; }
.footer-shell a { color: var(--muted); text-decoration: none; }
.footer-shell small { width: 100%; font-size: .67rem; }
.page-hero { padding-block: 60px 45px; }
.page-hero h1 { margin: 0 0 22px; }
.page-hero-simple { max-width: var(--max); }
.page-hero-simple > div { max-width: 800px; }
.page-deck { max-width: 720px; font-size: 1.02rem; line-height: 1.8; }
.case-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.case-hero-image { background: var(--surface); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.case-hero-image img { display: block; width: 100%; height: 300px; object-fit: contain; }
.case-hero-image.diagram-hero { background: var(--navy); }
.case-hero-image.diagram-hero img { height: auto; }
.case-hero-image figcaption, .archive-figure figcaption, .image-pair figcaption, .figure-caption { padding: 13px 17px; color: var(--muted); font-size: .72rem; line-height: 1.6; }
.case-hero-image.diagram-hero figcaption { color: #c4d2d6; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px 13px; margin-top: 20px; }
.tag { display: inline-block; color: var(--accent); font: 500 .66rem/1.6 Consolas, monospace; }
.tag + .tag::before { content: "/"; margin-right: 13px; color: #9ba7a9; }
.project-facts { margin: 22px 0 0; display: grid; gap: 7px; font-size: .76rem; }
.project-facts > div { display: grid; grid-template-columns: 60px 1fr; gap: 14px; }
.project-facts dt { color: var(--muted); }
.project-facts dd { margin: 0; color: var(--ink); }
.proof-strip { width: min(var(--max), calc(100% - 80px)); margin: 0 auto; border-block: 1px solid var(--line); }
.proof-shell { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-shell > div { display: grid; gap: 6px; padding: 20px; }
.proof-shell > div:first-child { padding-left: 0; }
.proof-shell strong { font-size: 1.25rem; font-weight: 550; }
.proof-shell span { font-size: .72rem; color: var(--muted); }
.prose-large { font-size: .99rem; }
.results-section { background: var(--soft); padding-inline: 35px; }
.results-section > .section-shell { width: 100%; }
.contribution-grid, .results-grid, .capability-grid, .agenda-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.contribution-grid article > span, .method-list article > span { color: var(--accent); font: .69rem/1.6 Consolas, monospace; }
.contribution-grid h3, .results-grid h3 { font-size: .98rem; margin-top: 12px; }
.contribution-grid p, .results-grid p { font-size: .84rem; }
.results-grid article > strong { font-size: 1.6rem; font-weight: 500; }
.method-list { display: grid; }
.method-list article { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding-block: 19px; border-top: 1px solid var(--line); }
.method-list h3 { font-size: 1rem; margin-bottom: 7px; }
.method-list p { font-size: .85rem; }
.archive-section { display: grid; gap: 35px; }
.detail-section, .evidence-section, .bridge-grid, .talk-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: start; }
.detail-section + .detail-section { border-top: 1px solid var(--line); padding-top: 35px; }
.detail-section p, .detail-section li { font-size: .87rem; }
.detail-section h3 { font-size: 1.25rem; }
.archive-figure { background: var(--surface); }
.archive-figure img { display: block; width: 100%; }
.media-grid, .image-pair, .video-archive-grid, .talk-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.image-pair { align-items: start; }
.image-pair img { width: 100%; display: block; }
.component-list { padding: 0; list-style: none; display: grid; gap: 16px; }
.component-list li { display: grid; gap: 4px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.component-list a { font-size: .78rem; }
.milestone-list { display: grid; gap: 13px; }
.detail-list { display: grid; gap: 13px; }
.drive-frame, .video-frame, .talk-video { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: var(--navy); }
.video-frame iframe, .talk-video iframe { width: 100%; height: 100%; border: 0; }
.pdf-frame { width: 100%; height: 720px; border: 1px solid var(--line); background: white; }
.notebook-frame { width: 100%; height: 720px; border: 1px solid var(--line); background: white; }
.embed-fallback { font-size: .8rem; }
.video-archive-grid article { border-top: 1px solid var(--line); padding-top: 22px; }
.video-archive-grid article h3 { font-size: 1rem; }
.video-archive-grid article p { font-size: .82rem; }
.limitation-callout, .publication-callout { border-left: 2px solid var(--accent); padding: 30px; background: var(--soft); margin-block: 35px; }
.limitation-callout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.publication-callout h2 { max-width: 850px; }
.limitation-callout p, .publication-callout p { font-size: .88rem; }
.bridge-grid img { width: 100%; display: block; }
.next-project { border-top: 1px solid var(--line); padding-block: 45px; }
.document-card { padding: 30px; border: 1px solid var(--line); }
.document-card > span { font: .7rem/1.6 Consolas, monospace; color: var(--accent); }
.document-card strong { display: block; margin-block: 12px; }
.document-card p { font-size: .86rem; }
.data-figure { background: var(--surface); border: 1px solid var(--line); padding: 20px; }
.data-figure img { width: 100%; display: block; }
.data-figure figcaption { margin-top: 15px; color: var(--muted); font-size: .75rem; }
.trade-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.trade-table caption { text-align: left; color: var(--muted); font-size: .75rem; padding-bottom: 15px; }
.trade-table th, .trade-table td { text-align: left; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.trade-table th { color: var(--ink); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.publication-section { display: grid; grid-template-columns: 175px 1fr; gap: 35px; }
.publication-label { position: sticky; top: 110px; }
.publication-label > span { color: var(--accent); font: .7rem/1.6 Consolas, monospace; }
.publication-label h2 { margin-top: 8px; font-size: 1.45rem; }
.publication-list { display: grid; gap: 30px; }
.publication-item { border-bottom: 1px solid var(--line); padding-bottom: 30px; }
.publication-item h3 { margin-top: 13px; font-size: 1.25rem; }
.publication-item p { font-size: .87rem; }
.publication-meta { display: flex; flex-wrap: wrap; gap: 15px; color: var(--muted); font-size: .72rem; }
.publication-note { border-left: 2px solid var(--accent); padding-left: 16px; }
.link-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.link-card { display: flex; flex-direction: column; gap: 12px; padding-block: 20px; border-top: 1px solid var(--line); text-decoration: none; }
.link-card span { color: var(--accent); font: .67rem/1.6 Consolas, monospace; }
.link-card strong { font-size: 1rem; line-height: 1.4; }
.link-card small { color: var(--muted); line-height: 1.6; }
.identifier-note { grid-column: 2; font-size: .8rem; }
.cv-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 60px; }
.cv-sidebar { display: grid; gap: 23px; position: sticky; top: 110px; }
.cv-sidebar > div { display: grid; gap: 5px; border-top: 1px solid var(--line); padding-top: 14px; }
.cv-sidebar span { font: .67rem/1.6 Consolas, monospace; color: var(--accent); }
.cv-sidebar strong { font-size: .85rem; }
.cv-sidebar small, .cv-sidebar a { font-size: .74rem; overflow-wrap: anywhere; }
.cv-content { display: grid; gap: 30px; }
.cv-block { border-top: 1px solid var(--line); padding-top: 25px; }
.cv-block h2 { font-size: 1.65rem; margin-bottom: 25px; }
.cv-entry + .cv-entry { margin-top: 26px; }
.cv-entry > div { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; line-height: 1.5; }
.cv-entry > div strong { font-size: .86rem; }
.cv-entry > div span { color: var(--muted); font-size: .72rem; flex-shrink: 0; }
.cv-entry p, .cv-entry li, .cv-block > p { font-size: .85rem; }
.cv-entry p { margin-top: 8px; }
.art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 23px; }
.art-grid a { text-decoration: none; }
.art-grid img { display: block; width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.art-grid span { display: block; margin-top: 12px; font-size: .8rem; color: var(--ink); }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(230px, .6fr); gap: 35px; align-items: start; padding-bottom: 65px; }
.tool-stage { background: #0b1218; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 3px; }
.tool-stage img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; opacity: 0; }
.tool-panel { border-top: 1px solid var(--line); padding-top: 20px; }
.tool-panel h2 { font-size: 1.5rem; }
.tool-panel p { font-size: .85rem; }
.tool-panel label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 12px; }
.tool-panel input[type="range"] { width: 100%; accent-color: var(--accent); margin-block: 12px; cursor: pointer; }
.filter-output { display: block; font-size: 1.2rem; color: var(--ink); margin-bottom: 8px; }
.spectrum-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .68rem; }
.filter-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-block: 20px; }
.filter-choice { padding: 9px 4px; min-height: 42px; font-size: .7rem; color: var(--ink); border: 1px solid var(--line); border-radius: 2px; background: transparent; cursor: pointer; }
.filter-choice[aria-pressed="true"] { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.filter-choice:disabled { opacity: .45; cursor: not-allowed; }
.tool-note, .tool-status { font-size: .75rem !important; }
.tool-status { min-height: 3.4em; }
.not-found { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 40px; }
.not-found h1 { font-size: 2.8rem; }
.not-found .button-row { justify-content: center; }
.sr-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.content, .image-view { width: min(850px, calc(100% - 80px)); margin-inline: auto; padding-block: 50px; }
.content h1, .image-view h1 { font-size: 2.2rem; color: var(--ink) !important; text-align: left !important; }
.content h2 { margin-top: 35px; font-size: 1.6rem; }
.content h3 { margin-top: 25px; }
.content p, .content li { font-size: .9rem; }
.content iframe { max-width: 100%; border: 1px solid var(--line); }
.content img { max-width: 100%; }
.content .image-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.image-view #image-container { display: block; margin-block: 30px; }
.image-view #image-container > img { display: block; margin-inline: auto; max-height: 75vh; width: auto; max-width: 100%; }
.image-view .writeup { border: 0; border-top: 1px solid var(--line); padding: 25px 0; background: transparent; border-radius: 0; margin-top: 30px; }
.image-view #download { display: inline-block; margin-top: 15px; }
.image-view .comparison-slider { max-width: 100%; }
@media (max-width: 1260px) {
  .formation-scroll-visual {
    position: relative; grid-column: 1 / -1; top: auto; right: auto;
    width: 100%; height: 100px; transform: none;
    border-block: 1px solid var(--line);
  }
}
@media (min-width: 1500px) { .home-intro { padding-block: 86px 65px; } }
@media (max-width: 960px) {
  .section-shell, .nav-shell, .footer-shell, .section, .proof-strip { width: calc(100% - 48px); }
  .home-intro { gap: 45px; grid-template-columns: 1fr 235px; padding-top: 55px; }
  .portrait-card img { height: 285px; }
  .nav-links { gap: 18px; }
  .wordmark small { display: none; }
  .case-hero { gap: 30px; }
  .about-grid, .intro-grid, .methods-grid, .contact-grid, .identifiers-grid { gap: 35px; }
  .featured-work { gap: 30px; }
  .cv-layout { gap: 30px; grid-template-columns: 195px 1fr; }
  .work-row { grid-template-columns: 185px 1fr auto; gap: 25px; }
  .tool-layout { grid-template-columns: 1.1fr .9fr; gap: 25px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 80px; }
  .section-shell, .nav-shell, .footer-shell, .section, .proof-strip { width: calc(100% - 36px); }
  .nav-shell { min-height: 67px; gap: 16px; }
  .nav-toggle { display: inline-flex; font-size: .75rem; }
  .nav-links { display: none; position: absolute; top: 67px; left: 0; right: 0; padding: 18px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 6px; }
  .nav-links[data-open="true"] { display: flex; }
  .nav-links a { padding: 12px; font-size: .9rem; }
  .home-intro { grid-template-columns: minmax(0, 1fr) 100px; gap: 25px 18px; padding-block: 40px 35px; align-items: start; }
  .home-intro .hero-copy { display: contents; }
  .home-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -5px; }
  .home-intro h1 { grid-column: 1; grid-row: 2; font-size: clamp(1.4rem, calc(13vw - 18px), 4rem); margin: 0; align-self: center; }
  .home-intro .portrait-card { grid-column: 2; grid-row: 2; }
  .portrait-card img { height: 125px; object-position: center 25%; }
  .portrait-card figcaption { display: none; }
  .home-role, .home-intro .hero-lede, .home-intro .button-row { grid-column: 1 / -1; margin: 0; }
  .home-role { font-size: 1.1rem; }
  .home-intro .hero-lede { font-size: .9rem; }
  .home-intro .button-row { gap: 10px; }
  .identity-line { gap: 7px 20px; font-size: .7rem; padding-block: 16px; }
  .section { padding-block: 40px; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 25px; }
  .featured-work, .about-grid, .intro-grid, .methods-grid, .contact-grid, .identifiers-grid, .case-hero, .detail-section, .evidence-section, .bridge-grid, .talk-layout, .limitation-callout, .cv-layout, .publication-section, .tool-layout { grid-template-columns: 1fr; gap: 25px; }
  .featured-work h3 { font-size: 1.3rem; }
  .work-row { grid-template-columns: 110px 1fr; gap: 18px; padding-block: 23px; }
  .work-row img { height: 105px; }
  .work-row h3 { font-size: 1rem; }
  .work-row .row-arrow { display: none; }
  .work-row p { font-size: .78rem; }
  .work-number { font-size: .6rem; }
  .about-copy { grid-template-columns: 1fr; gap: 22px; }
  .note-row { grid-template-columns: 55px 1fr; gap: 15px; }
  .note-row > .text-link { grid-column: 2; }
  .contact-section { padding: 28px 22px; margin-bottom: 35px; }
  .page-hero { padding-block: 35px; }
  .page-hero h1 { font-size: 2.1rem; }
  .page-deck { font-size: .94rem; }
  .case-hero-image img { height: 240px; }
  .project-facts { font-size: .74rem; }
  .proof-shell { grid-template-columns: 1fr 1fr; }
  .proof-shell > div { padding: 15px 0; }
  .proof-shell > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .proof-shell strong { font-size: 1.1rem; }
  .contribution-grid, .results-grid, .agenda-grid, .capability-grid, .link-card-grid, .video-archive-grid { grid-template-columns: 1fr; gap: 22px; }
  .contribution-grid article + article { border-top: 1px solid var(--line); padding-top: 15px; }
  .results-section { padding-inline: 22px; }
  .media-grid, .image-pair, .talk-card-grid { grid-template-columns: 1fr; }
  .publication-label, .cv-sidebar { position: static; }
  .cv-entry > div { flex-direction: column; gap: 5px; }
  .cv-sidebar { grid-template-columns: 1fr; }
  .pdf-frame { display: none; }
  .identifier-note { grid-column: 1; }
  .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 15px; }
  .art-grid span { font-size: .74rem; }
  .footer-shell { padding-block: 25px; }
  .content, .image-view { width: calc(100% - 36px); padding-block: 35px; }
  .content .image-comparison { grid-template-columns: 1fr; }
  .data-figure { padding: 10px; }
  .trade-table { font-size: .75rem; }
  .trade-table th, .trade-table td { padding: 10px 12px; }
  .tool-stage { max-height: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print {
  :root { color-scheme: light; --paper: #fff; --surface: #fff; --ink: #192d36; --muted: #42535c; --accent: #275f63; --line: #ccd3d7; --soft: #f1f3f4; }
  body { background: #fff; font-size: 10pt; color: #000; }
  .site-header, .site-footer, .no-print, .button-row, .pdf-section, .cv-sidebar { display: none !important; }
  .section, .section-shell { width: 100%; padding-block: 12px; }
  .page-hero { padding-top: 0; }
  .cv-layout { display: block; }
  .cv-block, .cv-entry { break-inside: avoid; }
  a { color: #000; }
}
