@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #151515;
  --muted: #777;
  --soft: #f4f4f4;
  --rule: #e7e7e7;
  --sans: Inter, Arial, Helvetica, sans-serif;
  --mono: 'DM Mono', 'Courier New', monospace;
  --gutter: clamp(16px, 3vw, 72px);
  --reading-size: clamp(15px, 1vw, 18px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { outline-offset: 4px; }
::selection { background: #d8d8d8; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: absolute; left: 20px; top: -80px; z-index: 20; padding: 10px 14px; background: #111; color: #fff; }
.skip-link:focus { top: 16px; }

.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 68px; padding: 0 var(--gutter); font-size: clamp(14px, .9vw, 17px); font-weight: 500; }
.site-header nav { display: flex; gap: 27px; margin-left: auto; }
.site-header a:hover, .intro a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.brand { position: fixed; z-index: 30; top: 12px; left: var(--gutter); display: grid; place-items: center; width: 44px; height: 44px; margin-left: -8px; border: 1px solid var(--rule); border-radius: 50%; background: #fff; letter-spacing: -.04em; white-space: nowrap; }

.intro { display: flex; justify-content: space-between; align-items: center; gap: clamp(48px, 5vw, 110px); padding: clamp(88px, 7vw, 145px) var(--gutter) clamp(70px, 6vw, 115px); }
.intro-copy { flex: 1 1 0; max-width: 1080px; }
.intro h1 { max-width: 1080px; margin: 0; font-size: clamp(32px, 2.65vw, 54px); line-height: 1.17; font-weight: 600; letter-spacing: -.052em; }
.intro p { max-width: 75ch; margin: 32px 0 0; font-size: var(--reading-size); line-height: 1.65; }
.intro p a { text-decoration: underline; text-underline-offset: 3px; }
.portrait-photo { --portrait-size: clamp(210px, 22vw, 300px); flex: 0 0 auto; display: block; width: var(--portrait-size); height: var(--portrait-size); border: 1px solid var(--rule); border-radius: 50%; object-fit: cover; object-position: center 41%; }

.portfolio { padding: 0 var(--gutter) clamp(100px, 8vw, 155px); }
.portfolio-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.filters, .view-controls { display: flex; align-items: center; gap: 14px; }
.filter { background: transparent; border: 0; padding: 0; cursor: pointer; color: #aaa; font: 500 clamp(12px, .85vw, 16px) var(--mono); letter-spacing: -.04em; }
.filter:hover, .filter.is-active { color: var(--ink); }
.view-controls { gap: 11px; }
.view-button { display: inline-flex; justify-content: center; align-items: center; width: 20px; height: 20px; border: 0; background: transparent; cursor: pointer; opacity: .35; padding: 0; }
.view-button:hover, .view-button.is-active { opacity: 1; }
.icon-single { width: 14px; height: 14px; background: #929292; }
.icon-split { width: 14px; height: 14px; background: linear-gradient(to right, #929292 0 43%, transparent 43% 57%, #929292 57%); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 64px; }
.work-grid.single-view { grid-template-columns: minmax(0, 1fr); max-width: 1200px; margin-inline: auto; }
.project { min-width: 0; }
.project-art { display: grid; place-items: center; width: 100%; aspect-ratio: 1.34; overflow: hidden; position: relative; border-radius: 14px; background: var(--soft); isolation: isolate; }
.project-art::after { content: ''; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(0,0,0,.025); border-radius: inherit; }
.project-art:not(.art-paper):hover > :first-child { transform: translateY(-5px) scale(1.015); }
.project-art > :first-child { transition: transform .35s ease; }
.hover-title { position: absolute; z-index: 2; top: 16px; left: 16px; max-width: calc(100% - 76px); padding: 8px 11px; border-radius: 5px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.06); font-size: clamp(12px, .85vw, 16px); font-weight: 600; letter-spacing: -.02em; opacity: 0; transform: translateY(5px); pointer-events: none; transition: opacity .2s, transform .2s; }
.project-art:hover .hover-title, .project-art:focus-visible .hover-title { opacity: 1; transform: translateY(0); }
.art-arrow { position: absolute; top: 18px; right: 18px; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #111; background: rgba(255,255,255,.92); font-size: 17px; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.project-art:hover .art-arrow, .project-art:focus-visible .art-arrow { opacity: 1; transform: translateY(0); }

.art-economia { background: #efefec; }
.game-screen { width: 77%; border-radius: 8px; overflow: hidden; box-shadow: 0 18px 32px rgba(18,24,27,.18), 0 2px 5px rgba(18,24,27,.1); }
.game-screen img { width: 100%; display: block; }
.art-quant { background: #efefed; }
.quant-preview { width: 74%; height: 67%; background: #faf9f5; box-shadow: 0 13px 22px rgba(0,0,0,.09), 0 2px 3px rgba(0,0,0,.08); border: 1px solid #e7e5de; padding: 18px 22px; display: flex; flex-direction: column; }
.preview-top { display: flex; justify-content: space-between; font-size: 8px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.preview-top span { font-family: var(--mono); font-size: 7px; color: #777; }
.quant-preview strong { display: block; margin: auto 0 8px; font-size: clamp(37px, 5.1vw, 95px); line-height: .82; letter-spacing: -.095em; font-weight: 700; }
.quant-sub { font-size: 10px; font-weight: 600; }
.quant-symbols { display: flex; gap: 5px; margin-top: 14px; }
.quant-symbols i { display: grid; place-items: center; flex: 1; height: 32px; border: 1px solid #bbb; font-size: 16px; font-weight: 700; font-style: normal; }
.art-alma { background: #efefef; }
.alma-preview { width: 75%; height: 66%; padding: 25px; background: radial-gradient(circle at 75% 0, #30333b, #141519 57%, #090a0d); box-shadow: 0 18px 32px rgba(0,0,0,.23), 0 2px 4px rgba(0,0,0,.12); color: #f8f8f6; display: flex; flex-direction: column; align-items: center; text-align: center; }
.alma-rule { width: 28px; height: 1px; margin-top: auto; background: #888; }
.alma-preview strong { margin-top: 16px; font: 400 clamp(30px, 4.5vw, 82px)/.94 Georgia, serif; letter-spacing: .09em; }
.alma-small { margin-top: 18px; font: 8px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #bcbec4; }
.alma-footer { width: 100%; margin-top: auto; padding-top: 10px; border-top: 1px solid #4d4f54; color: #aaa; font: 7px var(--mono); letter-spacing: .05em; }
.art-sortino { background: #e9edf0; }
.art-credit { background: #f0ede6; }
.paper-preview { width: 67%; height: 77%; background: #fff; box-shadow: 0 17px 25px rgba(0,0,0,.11), 0 2px 4px rgba(0,0,0,.06); padding: 24px 27px; display: flex; flex-direction: column; }
.paper-kicker, .paper-topic, .paper-foot { font: 9px/1.5 var(--mono); letter-spacing: .02em; }
.paper-kicker { color: #7d7d7d; }
.paper-preview strong { margin-top: auto; font-size: clamp(22px, 3.2vw, 60px); letter-spacing: -.07em; line-height: 1.04; font-weight: 600; }
.paper-line { display: block; width: 100%; height: 1px; margin: 18px 0 12px; background: #b5b5b5; }
.paper-topic { color: #555; }
.paper-foot { margin-top: auto; color: #888; }
.project-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-top: 17px; }
.project-type { margin: 0 0 8px; color: #747474; font: clamp(11px, .75vw, 14px)/1.4 var(--mono); text-transform: uppercase; letter-spacing: .015em; }
.project h3 { margin: 0; font-size: clamp(22px, 1.65vw, 32px); font-weight: 600; letter-spacing: -.045em; line-height: 1.25; }
.project-link { font-size: clamp(22px, 1.65vw, 32px); line-height: 1; }
.project-link:hover { transform: translate(2px,-2px); }
.project-summary { max-width: 75ch; margin: 11px 0 0; color: #555; font-size: var(--reading-size); line-height: 1.65; }
.details-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 20px; padding: 11px 15px; border: 1px solid var(--ink); border-radius: 999px; font-size: clamp(13px, .85vw, 16px); font-weight: 600; transition: background .2s ease, color .2s ease, transform .2s ease; }
.details-button:hover, .details-button:focus-visible { background: var(--ink); color: #fff; transform: translateY(-2px); }
.experience-section { margin: 0 var(--gutter); padding-bottom: clamp(105px, 8vw, 155px); }
.experience-intro { border-top: 1px solid var(--rule); padding: 78px 0 48px; }
.experience-intro .section-label { margin: 0 0 15px; }
.experience-section h2 { margin: 0; font-size: clamp(30px, 2.55vw, 50px); font-weight: 600; line-height: 1.15; letter-spacing: -.055em; }
.experience-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.experience-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; padding: 25px 0 30px; border-bottom: 1px solid var(--rule); }
.experience-number { color: #888; font: clamp(11px, .75vw, 14px)/1.6 var(--mono); }
.experience-content h3 { margin: 0 0 7px; font-size: clamp(21px, 1.5vw, 29px); font-weight: 600; letter-spacing: -.04em; }
.experience-content .experience-role { margin: 0 0 14px; color: #777; font: clamp(12px, .85vw, 16px)/1.5 var(--mono); }
.experience-content > p:not(.experience-role) { max-width: 85ch; margin: 0; color: #555; font-size: var(--reading-size); line-height: 1.7; }
.experience-links { display: flex; flex-wrap: wrap; gap: 9px 24px; margin-top: 17px; font-size: clamp(13px, .9vw, 16px); font-weight: 500; }
.experience-links a { text-decoration: underline; text-underline-offset: 3px; }
.experience-links a:hover { color: #666; }
.honors { margin: 0 var(--gutter); padding-bottom: 120px; }
.honors-intro { border-top: 1px solid var(--rule); padding: 78px 0 48px; }
.honors-intro .section-label { margin: 0 0 15px; }
.honors h2 { margin: 0; font-size: clamp(30px, 2.55vw, 50px); font-weight: 600; line-height: 1.15; letter-spacing: -.055em; }
.honors-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.honors-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 130px; gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.honor-number, .honor-field { color: #888; font: clamp(11px, .75vw, 14px)/1.6 var(--mono); }
.honor-field { text-align: right; }
.honors-list h3 { margin: 0 0 7px; font-size: clamp(19px, 1.35vw, 27px); font-weight: 600; letter-spacing: -.035em; }
.honors-list p { max-width: 85ch; margin: 0; color: #555; font-size: var(--reading-size); line-height: 1.65; }
.about { border-top: 1px solid var(--rule); margin: 0 var(--gutter); padding: 40px 0 115px; }
.section-label { margin: 4px 0 0; color: #777; font: clamp(11px, .75vw, 14px) var(--mono); }
.about .section-label { margin: 0 0 14px; }
.about-content { max-width: 1000px; }
.about h2 { margin: 0 0 15px; font-size: clamp(28px, 2.2vw, 43px); letter-spacing: -.055em; line-height: 1.15; font-weight: 600; }
.about-content p { max-width: 85ch; margin: 0; color: #555; font-size: var(--reading-size); line-height: 1.75; }
.site-footer { min-height: 90px; padding: 26px var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; font-size: clamp(11px, .8vw, 15px); }
.site-footer div { display: flex; flex-wrap: wrap; gap: 23px; }

/* Standalone work pages */
.detail-main { width: 100%; max-width: 2000px; margin: 0 auto; padding: 28px var(--gutter) 120px; }
.detail-back { display: inline-block; padding-bottom: 4px; border-bottom: 1px solid #aaa; color: #555; font-size: clamp(13px, .85vw, 16px); }
.detail-back:hover { color: var(--ink); border-color: var(--ink); }
.detail-lead { padding: clamp(65px, 7vw, 140px) 0 clamp(55px, 5vw, 90px); }
.detail-index { margin: 0 0 20px; color: #777; font: clamp(11px, .8vw, 15px)/1.5 var(--mono); letter-spacing: .02em; }
.detail-lead h1 { max-width: 1500px; margin: 0; font-size: clamp(48px, 7vw, 130px); line-height: 1.02; font-weight: 600; letter-spacing: -.075em; text-wrap: balance; }
.detail-deck { max-width: 940px; margin: 30px 0 0; color: #555; font-size: clamp(19px, 1.8vw, 30px); line-height: 1.4; letter-spacing: -.025em; }
.detail-primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 34px; padding: 15px 20px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-size: clamp(14px, .9vw, 17px); font-weight: 600; transition: background .2s ease, color .2s ease, transform .2s ease; }
.detail-primary-link:hover, .detail-primary-link:focus-visible { background: #fff; color: var(--ink); transform: translateY(-2px); }
.detail-visual { min-height: 330px; height: clamp(330px, 48vw, 720px); display: grid; place-items: center; overflow: hidden; border-radius: 18px; }
.detail-visual-economia { background: #efefec; }
.detail-visual-economia img { display: block; max-width: min(78%, 1150px); max-height: 78%; border-radius: 10px; box-shadow: 0 24px 50px rgba(18,24,27,.2); object-fit: contain; }
.detail-visual-quant { background: #eeede9; }
.detail-visual-quant > div { display: flex; flex-direction: column; justify-content: space-between; width: 76%; height: 78%; padding: clamp(22px, 3vw, 50px); background: #faf9f5; box-shadow: 0 25px 55px rgba(0,0,0,.1); }
.detail-visual-quant span { font: clamp(10px, .9vw, 16px) var(--mono); }
.detail-visual-quant strong { font-size: clamp(48px, 7vw, 125px); line-height: .88; letter-spacing: -.09em; }
.detail-visual-alma { background: #e9e9e9; }
.detail-visual-alma > div { display: flex; flex-direction: column; align-items: center; justify-content: space-between; width: 76%; height: 78%; padding: clamp(25px, 3vw, 55px); background: radial-gradient(circle at 75% 0, #30333b, #141519 57%, #090a0d); box-shadow: 0 30px 60px rgba(0,0,0,.22); color: #f8f8f6; text-align: center; }
.detail-visual-alma span { color: #bcbec4; font: clamp(10px, .9vw, 16px) var(--mono); letter-spacing: .08em; }
.detail-visual-alma strong { font: 400 clamp(56px, 7vw, 130px)/.88 Georgia, serif; letter-spacing: .09em; }
.detail-content-grid { margin-top: clamp(75px, 7vw, 130px); padding-top: clamp(32px, 4vw, 64px); border-top: 1px solid var(--ink); }
.detail-story { max-width: 1100px; }
.detail-story h2 { margin: clamp(40px, 4vw, 64px) 0 20px; font-size: clamp(28px, 2.6vw, 46px); font-weight: 600; letter-spacing: -.055em; line-height: 1.15; }
.detail-story .section-label + h2 { margin-top: 30px; }
.detail-placeholder { margin: 0; padding: 19px 22px; border-left: 2px solid #bdbdbd; border-radius: 0 8px 8px 0; background: #f7f7f7; color: #777; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.75; }
.detail-prose { margin: 0; color: #444; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.75; }
.detail-prose + .detail-prose { margin-top: 1.3em; }
.text-link { text-decoration: underline; text-underline-offset: 4px; }
.detail-next { display: flex; justify-content: space-between; align-items: baseline; gap: 25px; margin-top: clamp(95px, 9vw, 165px); padding: 28px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.detail-next span { color: #888; font: clamp(12px, .85vw, 16px) var(--mono); }
.detail-next strong { font-size: clamp(20px, 2vw, 35px); font-weight: 600; letter-spacing: -.045em; text-align: right; }
.detail-next:hover strong { text-decoration: underline; text-underline-offset: 5px; }

/* Research detail pages */
.research-metrics, .project-metrics { margin-top: clamp(80px, 8vw, 145px); padding-top: 38px; border-top: 1px solid var(--ink); }
.metrics-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.metrics-heading h2 { margin: 13px 0 0; font-size: clamp(29px, 2.7vw, 50px); line-height: 1.1; letter-spacing: -.055em; }
.metrics-heading > span { color: #888; font: clamp(11px, .8vw, 14px) var(--mono); text-align: right; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.metric-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric-grid--single { grid-template-columns: minmax(0, 1fr); max-width: 800px; }
.metric-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: clamp(185px, 17vw, 260px); padding: clamp(22px, 2.5vw, 38px); overflow: hidden; border: 1px solid #e0e4e7; border-radius: 16px; background: #eef1f3; transition: transform .25s ease, border-color .25s ease; }
.metric-card:nth-child(2) { background: #f3f1ed; border-color: #e9e5df; }
.metric-card:hover { transform: translateY(-5px); border-color: #aaa; }
.metric-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--ink); transform: scaleX(0); transform-origin: left; animation: metric-line .9s ease .15s forwards; }
.metric-card:nth-child(2)::after { animation-delay: .3s; }
@keyframes metric-line { to { transform: scaleX(1); } }
.metric-mark { align-self: flex-end; font-size: clamp(20px, 2vw, 34px); line-height: 1; }
.metric-value { margin: auto 0 0; font-size: clamp(52px, 5.5vw, 100px); line-height: .9; font-weight: 600; letter-spacing: -.095em; font-variant-numeric: tabular-nums; }
.project-metrics .metric-value { font-size: clamp(46px, 4.5vw, 76px); }
.metric-label { margin-top: 12px; font-size: clamp(14px, 1vw, 19px); font-weight: 500; }
.metric-card-pending .metric-value { color: #999; }
.metric-card-pending::after { background: #aaa; }
.metric-note { margin: 17px 0 0; color: #777; font-size: clamp(12px, .85vw, 15px); line-height: 1.6; }
.metric-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.research-abstract { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1.6fr); gap: clamp(50px, 8vw, 160px); padding-top: 45px; border-top: 1px solid var(--ink); }
.research-abstract h2 { margin: 17px 0 0; font-size: clamp(33px, 3vw, 55px); letter-spacing: -.06em; }
.abstract-copy p { max-width: 80ch; margin: 0; color: #444; font-size: clamp(18px, 1.3vw, 24px); line-height: 1.7; }
.abstract-copy .text-link { display: inline-block; margin-top: 28px; font-size: clamp(14px, .9vw, 17px); font-weight: 600; }
.research-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(70px, 7vw, 125px); padding: 26px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.research-meta > div { display: flex; flex-direction: column; gap: 10px; }
.research-meta span { color: #888; font: clamp(11px, .8vw, 15px) var(--mono); }
.research-meta strong, .research-meta a { font-size: clamp(13px, .95vw, 17px); font-weight: 600; }
.research-meta a { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 1400px) {
  .experience-list, .honors-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 4vw, 90px); }
}
@media (max-width: 900px) {
  .intro { padding-top: 88px; padding-bottom: 55px; }
  .portrait-photo { --portrait-size: 215px; }
  .quant-preview { padding: 14px; }
  .preview-top span { display: none; }
  .quant-symbols i { height: 25px; font-size: 12px; }
  .alma-preview { padding: 17px; }
  .paper-preview { padding: 18px; }
  .research-abstract { gap: 45px; }
}
@media (max-width: 780px) {
  .intro { align-items: flex-start; flex-direction: column; gap: 35px; }
  .intro-copy { flex: none; max-width: 100%; }
  .metric-grid--three { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .site-header { min-height: 62px; padding: 0 16px; }
  .brand { top: 9px; }
  .intro { align-items: flex-start; flex-direction: column; gap: 35px; padding: 78px 16px 55px; }
  .intro h1 { max-width: 620px; font-size: clamp(27px, 6vw, 34px); }
  .portrait-photo { --portrait-size: 195px; }
  .portfolio { padding: 0 16px 75px; }
  .work-grid, .work-grid.single-view { grid-template-columns: 1fr; row-gap: 45px; max-width: none; }
  .project-art, .single-view .project-art { aspect-ratio: 1.36; }
  .view-controls { display: none; }
  .experience-section { margin: 0 16px; padding-bottom: 82px; }
  .experience-intro { padding: 65px 0 35px; }
  .experience-list li { grid-template-columns: 35px minmax(0, 1fr); gap: 14px; padding: 20px 0 25px; }
  .honors { margin: 0 16px; padding-bottom: 82px; }
  .honors-intro { padding: 65px 0 35px; }
  .honors-list li { grid-template-columns: 35px minmax(0, 1fr); gap: 10px 14px; padding: 18px 0; }
  .honor-field { grid-column: 2; text-align: left; }
  .about { margin: 0 16px; padding: 28px 0 75px; }
  .site-footer { padding: 24px 16px; align-items: flex-start; flex-direction: column; }
  .detail-main { padding: 25px 16px 90px; }
  .detail-lead { padding: 75px 0 55px; }
  .detail-lead h1 { font-size: clamp(45px, 11vw, 75px); }
  .detail-deck { margin-top: 22px; }
  .detail-visual { height: 370px; min-height: 0; border-radius: 12px; }
  .detail-visual-quant > div, .detail-visual-alma > div { width: 84%; height: 77%; }
  .detail-visual-quant strong { font-size: clamp(45px, 10vw, 70px); }
  .detail-visual-alma strong { font-size: clamp(50px, 10vw, 75px); }
  .research-abstract { grid-template-columns: 1fr; gap: 45px; }
  .detail-next { align-items: flex-start; flex-direction: column; gap: 10px; }
  .detail-next strong { text-align: left; }
  .metrics-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .metrics-heading > span { text-align: left; }
  .metric-card { min-height: 170px; padding: 22px; }
  .metric-value { font-size: clamp(44px, 8vw, 64px); }
  .research-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
}
@media (max-width: 420px) {
  .site-header { font-size: 12px; }
  .site-header nav { gap: 13px; }
  .intro { padding-bottom: 48px; }
  .filter { font-size: 11px; }
  .filters { gap: 10px; }
  .project-art { border-radius: 10px; }
  .quant-preview { width: 78%; height: 71%; }
  .quant-preview strong { font-size: 44px; }
  .alma-preview strong { font-size: 39px; }
  .paper-preview strong { font-size: 24px; }
  .metric-grid { gap: 10px; }
  .metric-card { min-height: 145px; padding: 16px; }
  .metric-mark { font-size: 19px; }
  .metric-value { font-size: clamp(38px, 10vw, 48px); }
  .metric-label { font-size: 13px; }
  .detail-visual-quant strong { font-size: clamp(34px, 9vw, 42px); }
}
@media (hover: none) {
  .hover-title { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .metric-card::after { transform: scaleX(1); }
}
@media print {
  .site-header nav, .portfolio-toolbar, .art-arrow, .hover-title, .site-footer { display: none; }
  .brand { position: static; display: inline; width: auto; height: auto; margin: 0; border: 0; background: transparent; }
  .intro { padding: 30px 0 45px; }
  .portfolio { padding: 0; }
  .project { break-inside: avoid; }
  .project-art { aspect-ratio: 1.6; }
}
