/* A small editorial system: paper, ink, one accent, and real photographs. */
:root {
  --paper: #faf9f6;
  --ink: #252722;
  --muted: #60635a;
  --line: #d9dacf;
  --accent: #a33e25;
  --tint: #f0f0e9;
  --width: 1240px;
  --gutter: clamp(22px, 5.5vw, 88px);
  --space: clamp(56px, 6.5vw, 96px);
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 100px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(3rem, 7.5vw, 6.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
p + p { margin-top: 20px; }
em { font-family: var(--serif); font-weight: 400; }
a { color: inherit; text-decoration: none; }
button, input, summary { font: inherit; color: inherit; }
a, button, summary, input { touch-action: manipulation; }
button, summary { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible, audio:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { padding-left: 1.25rem; }
::selection { background: #e9d4c6; color: var(--ink); }
[hidden], .js-only { display: none !important; }
.js .js-only:not([hidden]) { display: inline-flex !important; }
.js .no-js-only { display: none !important; }
.wrap { width: min(100% - 2 * var(--gutter), var(--width)); margin-inline: auto; }
.reading { max-width: 62ch; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.55; letter-spacing: -.015em; }
.small { font-size: .875rem; line-height: 1.6; color: var(--muted); }
.eyebrow { font-size: .75rem; font-weight: 400; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; color: var(--muted); }
.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 { padding-block: var(--space); border-bottom: 1px solid var(--line); }
.compact-top { padding-top: 12px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-heading > div { display: flex; align-items: baseline; gap: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; padding: 6px 0; font-size: .875rem; border-bottom: 1px solid currentColor; }
.text-link:hover, .footer-link:hover, .email-link:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; padding: 10px 20px; font-size: .875rem; border: 1px solid var(--ink); border-radius: 2px; }
.button.primary { background: var(--ink); color: var(--paper); }
.button.primary:hover { background: var(--accent); border-color: var(--accent); }
.button.quiet:hover { background: var(--tint); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.row-arrow, .circle-arrow { display: inline-flex; align-items: center; justify-content: center; font-size: 1.7rem; line-height: 1; width: 44px; height: 44px; transition: transform .18s ease; flex: none; }
/* Navigation remains a native disclosure on smaller screens. */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); }
.header-inner { min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { min-height: 44px; display: inline-flex; align-items: center; font-size: 1.5rem; font-weight: 600; letter-spacing: -.07em; }
.wordmark span { color: var(--accent); }
.desktop-nav { display: flex; gap: 30px; }
.desktop-nav a { display: flex; align-items: center; min-height: 44px; font-size: .875rem; position: relative; }
.desktop-nav a::after { content: ''; position: absolute; height: 1px; background: var(--accent); bottom: 6px; left: 0; width: 100%; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current]::after { transform: scaleX(1); }
.mobile-menu { display: none; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-200%); padding: 12px 18px; background: var(--ink); color: var(--paper); }
.skip-link:focus { transform: none; }
/* The introduction is a portrait and a name, with no decorative card artwork. */
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 0 10%; padding-top: 56px; align-items: center; }
.hero .eyebrow { margin-bottom: 30px; }
.hero h1 { font-size: clamp(4rem, 9.7vw, 8.5rem); line-height: .92; letter-spacing: -.075em; }
.hero h1 em { letter-spacing: -.075em; }
.hero-statement { margin-top: 32px; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.4; letter-spacing: -.02em; }
.hero-description { margin-top: 12px; max-width: 46ch; font-size: 1rem; color: var(--muted); }
.hero-portrait { max-width: 350px; width: 100%; justify-self: end; margin-top: 40px; }
.hero-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 42%; }
.hero-portrait figcaption { display: flex; align-items: center; gap: 8px; font-size: .75rem; margin-top: 12px; color: var(--muted); }
.location-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }
.current-strip { grid-column: 1 / -1; display: grid; grid-template-columns: .35fr 1fr 1fr 1.2fr; align-items: center; gap: 24px; margin-top: 48px; padding-block: 24px; border-block: 1px solid var(--line); }
.current-strip .eyebrow { margin: 0; }
.current-strip a { font-size: .875rem; padding-block: 4px; }
.current-strip a span { display: block; font-size: .75rem; color: var(--muted); margin-top: 2px; }
.current-strip a:hover { color: var(--accent); }
.work-features { border-top: 1px solid var(--line); }
.work-feature { display: grid; grid-template-columns: 32px 1.1fr 1fr 44px; gap: 24px; align-items: center; padding-block: 34px; border-bottom: 1px solid var(--line); }
.work-number { font-size: .75rem; color: var(--muted); align-self: start; padding-top: 9px; }
.work-feature h3 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
.feature-role { font-size: .875rem; color: var(--muted); margin-top: 10px; }
.feature-summary { font-size: 1rem; line-height: 1.6; color: var(--muted); }
.work-feature:hover h3, .project-row:hover h3 { color: var(--accent); }
.work-feature:hover .row-arrow, .project-row:hover .circle-arrow { transform: translate(3px, -3px); }
.research-layout, .about-home { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10%; align-items: center; }
.research-layout .eyebrow, .about-home .eyebrow { margin-bottom: 24px; }
.research-layout h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.15; }
.research-layout h2 em, .about-home h2 em { color: var(--accent); }
.research-layout .small { margin-block: 24px; }
.life-intro { color: var(--muted); margin-bottom: 32px; }
.photo-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.photo-preview .gallery-item:nth-child(2) { margin-top: 36px; }
.photo-preview .gallery-item:nth-child(3) { margin-top: 72px; }
.photo-preview .gallery-item figcaption { display: none; }
.photo-link { display: block; position: relative; background: var(--tint); }
.photo-link img { width: 100%; }
.photo-enlarge { position: absolute; bottom: 12px; right: 12px; background: var(--paper); color: var(--ink); width: 36px; height: 36px; display: grid; place-items: center; }
.photo-link:hover .photo-enlarge { background: var(--ink); color: var(--paper); }
.home-music { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10%; margin-top: 40px; align-items: center; }
.home-music > div > .small { margin-top: 12px; }
.about-home .lead { margin-bottom: 20px; }
.about-home .reading { color: var(--muted); font-size: 1rem; }
.about-home .text-link { margin-top: 20px; }
.archive-access { display: flex; flex-wrap: wrap; gap: 0 24px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.archive-access a { min-height: 44px; display: inline-flex; align-items: center; font-size: .875rem; color: var(--muted); }
.archive-access a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
/* Interior pages use the same titles, rules, and reading measure. */
.page-hero { padding-block: 64px 48px; }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero .lead { margin-top: 24px; max-width: 50ch; color: var(--muted); }
.section-nav, .archive-nav { display: flex; flex-wrap: wrap; gap: 0 28px; margin-bottom: 32px; }
.section-nav a, .archive-nav-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; border-bottom: 1px solid var(--line); }
.section-nav a:hover, .archive-nav-link:hover { color: var(--accent); }
.project-index { border-top: 1px solid var(--line); }
.project-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) 44px; align-items: center; gap: 24px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.project-row h3 { font-size: clamp(1.6rem, 2.8vw, 2.5rem); margin: 8px 0 10px; }
.project-row p:not(.eyebrow) { font-size: 1rem; max-width: 62ch; color: var(--muted); }
.experience-entry { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8%; padding-block: 32px; border-top: 1px solid var(--line); }
.experience-entry h3 { margin: 10px 0; font-size: 1.875rem; }
.experience-entry .role { font-size: .875rem; color: var(--muted); }
.experience-entry > div:last-child > p { font-size: 1rem; }
.details { margin-top: 16px; }
.details summary { min-height: 44px; padding-block: 10px; font-size: .875rem; list-style-position: outside; margin-left: 18px; }
.details summary:hover { color: var(--accent); }
.editorial-list { padding-left: 20px; margin-top: 20px; overflow-wrap: anywhere; font-size: 1rem; color: var(--muted); }
.editorial-list li { padding-left: 6px; margin-block: 14px; }
.earlier-work { margin-top: 24px; }
.repository-list { list-style: none; padding: 0; margin-top: 28px; columns: 2; column-gap: 40px; }
.repository-list li { break-inside: avoid; }
.repository-link { font-size: .875rem; min-height: 48px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; overflow-wrap: anywhere; padding: 8px 0; }
.repository-link:hover { color: var(--accent); }
.case-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); padding-block: 24px; gap: 30px; }
.case-meta p:not(.eyebrow) { margin-top: 8px; font-size: .875rem; }
.case-body > *, .document-group > * { min-width: 0; }
.case-body { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8%; }
.case-body h2 { margin-top: 20px; }
.case-body .reading > h3 { margin-block: 32px 14px; font-size: 1.4rem; }
.case-body .reading > p:not(.lead):not(.small) { font-size: 1rem; color: var(--muted); }
.case-body .reading > .text-link { margin-top: 20px; }
.case-next { padding-block: 40px; }
.next-link { font-size: clamp(1.4rem, 2.5vw, 2.25rem); display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 60px; letter-spacing: -.035em; }
.next-link:hover { color: var(--accent); }
.status-tag { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--accent); }
.status-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.research-thesis { border-block: 1px solid var(--line); padding-block: 40px; }
.research-thesis h2 { max-width: 30ch; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.2; margin-block: 24px; }
.research-principle > p:last-child { font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.4; margin-top: 24px; }
/* One native player, with a quiet selectable track list. */
.music-player { min-width: 0; padding: 24px; background: var(--tint); }
.player-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-block: 18px 16px; }
.player-heading h3 { font-size: 1.5rem; overflow-wrap: anywhere; }
.player-heading .small { font-size: .75rem; }
.music-player audio { display: block; width: 100%; max-width: 100%; height: 54px; }
.player-status { min-height: 22px; margin-top: 10px; font-size: .875rem; }
.track-list { list-style: none; margin: 16px 0 0; padding: 0; }
.track-list li { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); min-height: 56px; }
.track-number { font-size: .75rem; color: var(--muted); }
.track-button { border: 0; background: none; align-items: center; justify-content: space-between; flex: 1; min-width: 0; min-height: 48px; padding: 8px 0; text-align: left; font-size: 1rem; gap: 16px; }
.track-button[aria-pressed=true], .track-button:hover { color: var(--accent); }
.play-symbol { font-size: 1.125rem; flex: none; }
.track-download { font-size: .875rem; display: flex; align-items: center; gap: 8px; min-height: 44px; margin-left: auto; }
.track-download:hover { text-decoration: underline; }
.retry-audio { border: 0; background: none; color: var(--accent); }
.music-player > .text-link { margin-top: 16px; }
.life-music-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10%; align-items: start; }
.life-music-layout h2 { margin-block: 20px 24px; }
.life-music-layout .reading { margin-top: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; align-items: start; }
.gallery-note { margin-top: -12px; margin-bottom: 32px; }
.gallery-item img { aspect-ratio: 4 / 5; object-fit: cover; }
.gallery-grid .gallery-item img { aspect-ratio: auto; }
.gallery-item figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .75rem; margin-top: 8px; color: var(--muted); }
.gallery-item figcaption a { min-height: 44px; display: flex; align-items: center; font-size: .875rem; }
.lightbox { position: fixed; inset: 0; border: 0; background: var(--paper); color: var(--ink); padding: 24px; max-width: min(92vw, 1000px); max-height: 92dvh; overflow: auto; }
.lightbox::backdrop { background: rgb(20 23 19 / .9); }
.lightbox-close { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-left: auto; min-height: 44px; background: none; border: 0; font-size: .875rem; margin-bottom: 12px; }
.lightbox-image { max-height: 65dvh; max-width: 100%; width: auto; object-fit: contain; margin-inline: auto; }
.lightbox p { font-size: .875rem; margin-top: 18px; max-width: 65ch; }
.lightbox-original { margin-top: 12px; }
body.lightbox-open { overflow: hidden; }
.about-intro { display: grid; grid-template-columns: .75fr 1.5fr; gap: 10%; align-items: center; }
.about-intro figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-intro .reading { font-size: 1rem; color: var(--muted); }
.education-entry { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 28px; padding-block: 28px; }
.education-entry h3 { font-size: 1.5rem; }
.education-entry p:not(.small) { font-size: 1rem; color: var(--muted); margin-top: 10px; }
.education-entry > .small { min-width: 150px; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; margin-bottom: 28px; }
.skills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 24px; }
.skills li { font-size: clamp(1.1rem, 2vw, 1.5rem); border-bottom: 1px solid var(--line); padding: 10px 0; }
.document-group { display: grid; grid-template-columns: 1fr 2fr; gap: 8%; padding-block: 36px; border-top: 1px solid var(--line); }
.document-group h2 { font-size: 1.75rem; }
.document-group ul { margin: 0; list-style: none; padding: 0; }
.document-group li { border-bottom: 1px solid var(--line); }
.document-group li > a, .document-group li > span { padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 1rem; }
.document-group li > a > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.document-group li > a:hover { color: var(--accent); }
.document-meta { font-size: .75rem; white-space: nowrap; color: var(--muted); }
.document-group li > span { display: block; }
.document-group small { display: block; font-size: .875rem; color: var(--muted); margin-top: 4px; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 80px; }
/* A short, consistent ending to every page. */
.site-footer { padding-top: 56px; }
.contact-main { display: flex; justify-content: space-between; align-items: start; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.contact-main h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.email-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--ink); font-size: 1rem; min-height: 48px; overflow-wrap: anywhere; }
.copy-email { border: 0; background: none; display: flex; margin-top: 4px; min-height: 44px; padding: 0; }
.copy-status { min-height: 22px; margin: 0; }
.footer-bottom { padding-block: 24px; display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.footer-bottom nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0 24px; }
.footer-link { font-size: .875rem; min-height: 44px; display: flex; align-items: center; gap: 6px; }
@media (max-width: 1000px) {
  .hero { column-gap: 6%; }
  .work-feature { grid-template-columns: 24px 1fr 1fr 36px; gap: 16px; }
  .feature-summary br { display: none; }
  .research-layout, .about-home, .home-music, .life-music-layout { gap: 6%; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-item figcaption { align-items: start; flex-direction: column; gap: 0; }
  .footer-bottom { flex-wrap: wrap; gap: 8px 24px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 86px; }
  .header-inner { min-height: 72px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; align-items: center; gap: 24px; min-height: 48px; font-size: .875rem; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { font-size: 1.4rem; transition: transform .18s ease; }
  .mobile-menu[open] summary span { transform: rotate(45deg); }
  .mobile-menu nav { position: absolute; left: 0; right: 0; top: 72px; max-height: calc(100dvh - 72px); overflow-y: auto; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px; }
  .mobile-menu nav a { display: flex; align-items: center; min-height: 52px; font-size: 1.5rem; border-bottom: 1px solid var(--line); }
  .mobile-menu nav a[aria-current] { color: var(--accent); }
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 7rem); }
  .hero .eyebrow { margin-bottom: 24px; }
  .hero-statement { margin-top: 24px; max-width: 26ch; }
  .hero-description { margin-top: 12px; }
  .hero-actions { margin-top: 24px; gap: 24px; }
  .hero-portrait { width: 42%; margin-top: 28px; justify-self: end; }
  .hero-portrait figcaption { font-size: .75rem; }
  .current-strip { grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 28px; padding-block: 20px; }
  .current-strip .eyebrow { align-self: start; padding-top: 6px; }
  .section-heading { flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
  .section-heading > div { gap: 16px; }
  .section-heading .text-link { margin-left: auto; }
  .work-feature { grid-template-columns: 20px minmax(0, 1fr) 32px; padding-block: 24px; gap: 12px; }
  .feature-summary { grid-column: 2; font-size: 1rem; }
  .work-feature .row-arrow { grid-column: 3; grid-row: 1; width: 32px; }
  .work-feature h3 { font-size: 2rem; }
  .work-number { padding-top: 5px; }
  .feature-role { margin-top: 8px; }
  .research-layout, .about-home { grid-template-columns: 1fr; gap: 28px; }
  .research-layout h2 { font-size: 2.25rem; }
  .research-layout .small { margin-block: 20px; }
  .photo-preview { gap: 12px; grid-template-columns: 1fr 1fr; }
  .photo-preview .gallery-item:nth-child(2) { margin-top: 30px; }
  .photo-preview .gallery-item:nth-child(3) { margin-top: 0; grid-column: 1 / -1; width: 70%; justify-self: end; }
  .photo-preview .gallery-item:nth-child(3) img { aspect-ratio: 4 / 3; }
  .home-music { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .page-hero { padding-block: 40px 32px; }
  .page-hero h1 { font-size: clamp(2.6rem, 11vw, 4.5rem); }
  .page-hero .eyebrow { margin-bottom: 20px; }
  .page-hero .lead { margin-top: 20px; }
  .section-nav { gap: 0 20px; margin-bottom: 24px; }
  .project-row { grid-template-columns: 24px minmax(0, 1fr) 32px; gap: 12px; padding-block: 24px; }
  .project-row .circle-arrow { width: 32px; }
  .experience-entry, .case-body, .life-music-layout, .about-intro, .document-group { grid-template-columns: 1fr; gap: 24px; }
  .repository-list { columns: 1; }
  .case-meta { grid-template-columns: 1fr 1fr; gap: 24px; }
  .case-meta > div:last-child { grid-column: 1 / -1; }
  .case-body h2 { font-size: 2rem; }
  .research-thesis { padding-block: 28px; }
  .research-thesis h2 { font-size: 2rem; }
  .music-player { padding: 20px; }
  .player-heading { flex-wrap: wrap; gap: 6px; }
  .gallery-grid { gap: 24px 16px; }
  .about-intro figure { max-width: 280px; width: 70%; }
  .education-entry { flex-direction: column; align-items: start; gap: 16px; }
  .education-entry > .small { margin: 0; }
  .two-columns { grid-template-columns: 1fr; gap: 32px; }
  .document-group { padding-block: 28px; }
  .document-group li > a { align-items: start; gap: 16px; }
  .contact-main { flex-direction: column; gap: 24px; }
  .email-link { max-width: 100%; }
  .footer-bottom { align-items: start; }
  .footer-bottom nav { flex-basis: 100%; gap: 0 20px; }
  .lightbox { padding: 16px; max-width: 94vw; }
  .lightbox-image { max-height: 60dvh; }
}
@media (max-width: 400px) {
  .hero-portrait { width: 48%; }
  .section-heading > div { gap: 12px; }
  .section-heading .text-link { margin-left: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item figcaption { flex-direction: row; align-items: center; gap: 12px; }
  .project-row { grid-template-columns: minmax(0, 1fr) 32px; }
  .project-row > span:first-child { display: none; }
  .email-link { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .work-feature:hover .row-arrow, .project-row:hover .circle-arrow { transform: none; }
}
@media print {
  .site-header, .site-footer, .js-only, .lightbox, .photo-enlarge, .hero-actions { display: none !important; }
  body { background: white; color: black; font-size: 12pt; }
  .wrap { width: 100%; }
  .section { padding-block: 24px; }
  a[href^=https]::after { content: ' (' attr(href) ')'; font-size: 9pt; overflow-wrap: anywhere; }
  .case-body, .research-layout, .about-home { display: block; }
  .page-hero { padding-block: 20px; }
  h1 { font-size: 36pt; }
  h2 { font-size: 24pt; }
  details > * { display: block !important; }
}
