/* Original art direction, with details available on demand. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.collections-ready .collection-title { display: none; }
.collection-title { margin-bottom: 24px; }
.ea-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.ea-photos img { aspect-ratio: 1800 / 831; object-fit: contain; background: #111612; }
.selected-project { border-top: 1px solid var(--line); }
.selected-project > summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; list-style: none; cursor: pointer; }
.selected-project summary .eyebrow { display: block; font-size: 10px; margin-bottom: 8px; color: var(--muted); }
.selected-project summary strong { font: 500 30px/1.2 'Manrope', sans-serif; letter-spacing: -.04em; }
.project-story.case-content { max-width: 900px; padding: 0 0 36px; }
.project-story.case-content p, .project-story .case-steps { color: var(--muted); }
.project-story.case-content .project-role { color: var(--lime); font-size: 13px; margin-top: 0; }
.project-story.case-content > img { max-height: 360px; }
.project-story.case-content .outcome { background: #252f23; }
.project-story.case-content .caption { margin-top: 8px; }
.project-story .case-grid img { object-fit: contain; height: auto; max-height: 300px; }
.compact .side-project-list { grid-template-columns: 1fr; }
.compact .side-description { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 8px 0 30px; font-size: 14px; }
.side-description img { width: 100%; height: auto; max-height: 360px; object-fit: contain; background: #111612; }
.side-description figcaption, .playtest-photos figcaption { color: var(--muted); font-size: 11px; margin-top: 8px; }
.side-description p + p { margin-top: 14px; }
.side-description .project-video-link { display: table; margin-top: 16px; }
@media (max-width: 760px) {
  .ea-photos, .compact .side-description { grid-template-columns: 1fr; gap: 20px; }
  .selected-project summary strong { font-size: 26px; }
  .project-story.case-content { padding-inline: 0; }
}
[hidden] { display: none !important; }
html { scroll-padding-top: 90px; }
.wrap { max-width: 1240px; width: calc(100% - 80px); }
.section { padding-block: 56px; }
h2 { font-size: clamp(36px, 4.2vw, 56px); }
.header { height: 76px; position: sticky; top: 0; z-index: 5; background: #171b18f5; border-bottom: 1px solid var(--line); }
.header .wordmark { font-size: 30px; }
.header nav a { padding-block: 12px; position: relative; }
.header nav a::after { content: ''; position: absolute; height: 1px; background: var(--lime); bottom: 7px; left: 0; right: 0; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.header nav a:hover::after, .header nav a:focus-visible::after { transform: scaleX(1); }
.hero { padding-top: 30px; column-gap: 32px; row-gap: 16px; }
.hero-copy { padding-top: 0; }
.hero .eyebrow { white-space: normal; max-width: 420px; }
.hero h1 { font-size: clamp(56px, 6.3vw, 86px); margin: 18px 0; }
.intro { font-size: 15px; line-height: 1.65; max-width: 465px; }
.button { margin-top: 22px; padding: 12px 20px; }
.hero-project-link { font-size: 12px; margin-top: 12px; }
.hero-art:has(.hero-ea) { min-height: 280px; margin-top: 0; }
.hero-world.hero-ea { width: 95%; transform: rotate(3deg); }
.art-stamp { width: 74px; height: 74px; font-size: 11px; top: 3px; right: -6px; }
.hero-art:has(.hero-ea) .art-note { margin-top: 24px; font-size: 9px; }
.hero-foot { margin: 0; padding: 14px 0 20px; }
.ea-heading { align-items: center; }
.ea-heading > p { font-size: 12px; }
.ea-lead { font-size: 21px; max-width: 680px; margin-top: 22px; }
.ea-titles { gap: 12px 25px; margin: 20px 0; padding-bottom: 18px; }
.ea-titles span { font-size: 23px; }
.ea-titles span:last-child { font-size: 12px; }
.ea-disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; padding: 10px 0; cursor: pointer; font-size: 14px; color: var(--lime); }
.ea-disclosure summary::after { content: '+'; font-size: 24px; transition: transform 180ms ease; }
.ea-disclosure[open] summary::after { transform: rotate(45deg); }
.ea-disclosure summary span { margin-left: auto; color: var(--muted); font-size: 11px; }
summary::-webkit-details-marker { display: none; }
.ea-details { gap: 28px; padding-block: 20px; }
.ea-details h3 { font-size: 20px; margin-bottom: 10px; }
.ea-details p { font-size: 13px; line-height: 1.75; }
.ea-team-photo { margin-top: 18px; }
.ea-team-photo img { height: auto; object-fit: contain; }
.ea-team-photo figcaption { font-size: 10px; margin-top: 8px; }
.ea-reflection { font-size: 13px; margin-top: 16px; }
.section-heading { margin-bottom: 24px; gap: 32px; }
.section-heading h2 { margin-top: 12px; }
.section-heading > p { font-size: 13px; max-width: 300px; }
.work-tabs { display: flex; gap: 6px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.work-tabs button { background: none; color: var(--muted); padding: 14px 18px; border-bottom: 2px solid transparent; font-size: 13px; transition: color 180ms, background 180ms; }
.work-tabs button[aria-selected="true"] { color: var(--lime); border-color: var(--lime); background: #d2eb8609; }
.work-tabs button:hover { color: var(--ink); background: #ffffff07; }
.work-tabs button span { font-size: 10px; margin-left: 12px; opacity: .65; }
.work-panel { scroll-margin-top: 90px; }
.projects { grid-template-columns: 1fr 1fr; gap: 28px; }
.project:nth-child(even) { margin-top: 0; }
.project-image { height: 260px; }
.paper-title { top: 38px; font-size: 43px; left: 22px; }
.image-label { top: 16px; left: 22px; }
.paper-cards { bottom: -12px; width: 63%; left: 25%; }
.paper-cards img { height: 160px; }
.elif-title { font-size: 80px; top: 12px; }
.project-meta { margin: 14px 0 9px; }
.project h3 { font-size: 26px; }
.project > p { margin-top: 10px; font-size: 13px; line-height: 1.7; }
.project-video-link { margin-top: 8px; }
.side-projects { border: 0; }
.work-panel .section-heading h2 { font-size: 28px; }
.work-panel .section-heading h2 br { display: none; }
.work-panel .section-heading .eyebrow { display: none; }
.side-project-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-items: start; }
.side-project-list details { border-block-start: 1px solid var(--line); }
.side-project-list summary { padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; cursor: pointer; }
.side-project-list .eyebrow { display: block; font-size: 9px; margin-bottom: 8px; }
.side-project-list strong { font: 500 24px/1.2 'Manrope',sans-serif; letter-spacing: -.04em; }
.side-description { padding-bottom: 20px; font-size: 13px; }
details[open] > summary .plus { transform: rotate(45deg); }
.archive.work-panel { padding: 24px 28px; border-radius: 3px; }
.archive summary { padding: 16px 0; gap: 20px; }
.archive-name { font-size: 22px; }
.archive-name small { margin-top: 5px; font-size: 11px; }
.archive-content { gap: 30px; padding: 12px 0 24px 32px; }
.journey { grid-template-columns: 1fr 1fr; gap: 28px 48px; border-top: 1px solid var(--line); align-items: start; }
.journey-intro { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.journey-intro .eyebrow { width: 100%; margin-bottom: -16px; }
.journey-intro h2 { margin: 0; }
.journey-intro h2 br { display: none; }
.journey-intro > p:not(.eyebrow) { font-size: 13px; max-width: 300px; }
.timeline { margin: 0; }
.timeline li { display: block; padding: 0; }
.timeline summary { display: grid; grid-template-columns: 82px 1fr 20px; gap: 12px; align-items: center; padding: 15px 0; list-style: none; cursor: pointer; font-size: 14px; }
.timeline .timeline-date { font-size: 9px; padding: 0; }
.timeline .plus { font-size: 20px; width: 20px; color: var(--muted); }
.timeline p { margin: 0; padding: 0 20px 18px 94px; line-height: 1.7; }
.journey-album.gallery-ready { display: block; grid-column: auto; margin: 0; min-width: 0; }
.album-heading { border: 0; padding: 0; margin-bottom: 16px; }
.album-heading .eyebrow { display: none; }
.album-heading h3 { font-size: 22px; margin: 0; }
.journey-album.gallery-ready img { height: 270px; width: 100%; object-fit: contain; background: #111612; }
.journey-album figcaption { margin-top: 10px; font-size: 10px; gap: 10px; min-height: 33px; }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; border-top: 1px solid var(--line); }
.gallery-controls button { background: none; font-size: 11px; padding: 12px 6px; min-height: 44px; color: var(--ink); transition: color 160ms, transform 160ms; }
.gallery-controls button:hover { color: var(--lime); transform: translateY(-2px); }
.gallery-controls span { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.about-grid { grid-template-columns: 260px 1fr; gap: 56px; margin-top: 24px; }
.portrait-frame { max-width: 260px; padding: 8px 8px 36px; }
.portrait-frame span { font-size: 16px; left: 13px; bottom: 6px; }
.about h2 { margin-bottom: 18px; }
.about h2 br { display: none; }
.about p { margin-top: 12px; font-size: 13px; }
.about .about-lead { font-size: 18px; }
.interest-tags { margin-top: 18px; gap: 6px; }
.personal-note { grid-template-columns: 1.5fr 1fr; gap: 40px; margin-top: 38px; padding-top: 30px; }
.volunteer-photos { grid-template-columns: 1fr 1fr; gap: 16px; }
.volunteer-photos figure:last-child { padding-top: 0; }
.gabon-album.gallery-ready, .sudan-album.gallery-ready { display: block; }
.gallery-ready.gabon-album img, .gallery-ready.sudan-album img { width: 100%; height: 220px; max-height: none; object-fit: contain; aspect-ratio: auto; background: #1b211b; }
.personal-note h3 { font-size: 30px; margin-top: 12px; }
.personal-note p { font-size: 13px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 14px 40px; padding-block: 40px; }
.contact > .eyebrow { grid-column: 1/-1; }
.contact h2 { font-size: clamp(32px, 4vw, 52px); margin: 0; }
.contact-bottom { margin: 0; display: block; }
.contact-bottom p { font-size: 12px; }
.contact-bottom a { display: inline-block; font-size: 18px; margin-top: 12px; }
footer { padding-block: 22px; }

@keyframes photo-arrives { from { opacity: 0; transform: translateY(16px) rotate(0); } to { opacity: 1; transform: translateY(0) rotate(3deg); } }
@keyframes stamp-arrives { from { opacity: 0; transform: scale(.8) rotate(-12deg); } to { opacity: 1; transform: scale(1) rotate(14deg); } }
@keyframes dialog-arrives { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-world.hero-ea { animation: photo-arrives 650ms cubic-bezier(.2,.7,.3,1) both; }
  .art-stamp { animation: stamp-arrives 450ms 180ms cubic-bezier(.2,.7,.3,1) both; }
  dialog[open] { animation: dialog-arrives 240ms cubic-bezier(.2,.7,.3,1) both; }
  .portrait-frame { transition: transform 280ms ease; }
  .portrait-frame:hover { transform: rotate(0); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header { height: 64px; }
  .header nav { gap: 18px; font-size: 11px; }
  .header .wordmark { font-size: 27px; }
  .section { padding-block: 36px; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: clamp(52px, 11vw, 76px); margin: 18px 0; }
  .intro { font-size: 14px; }
  .hero-art:has(.hero-ea) { max-width: 400px; min-height: 0; padding-top: 12px; margin: 20px auto 20px; }
  .hero-world.hero-ea { width: 91%; margin-inline: auto; }
  .hero-art:has(.hero-ea) .art-note { margin-top: 18px; font-size: 8px; }
  .art-stamp { width: 58px; height: 58px; font-size: 9px; top: -3px; right: 0; }
  .hero-foot { font-size: 9px; }
  .ea-heading > p { margin-top: 14px; }
  .ea-lead { font-size: 18px; margin-top: 18px; }
  .ea-disclosure summary span { display: none; }
  .ea-details { grid-template-columns: 1fr; gap: 20px; }
  .ea-titles { gap: 8px 20px; }
  .ea-titles span { font-size: 20px; }
  .section-heading > p { margin-top: 14px; max-width: 100%; }
  .work-tabs { gap: 0; }
  .work-tabs button { flex: 1; font-size: 11px; padding: 12px 8px; }
  .work-tabs button span { margin-left: 5px; font-size: 9px; }
  .projects { grid-template-columns: 1fr; gap: 28px; }
  .project-image { height: 225px; }
  .project-meta { font-size: 8px; }
  .paper-title { font-size: 38px; }
  .paper-cards img { height: 135px; }
  .side-project-list { grid-template-columns: 1fr; }
  .archive.work-panel { padding: 20px 16px; }
  .archive-name { font-size: 19px; }
  .archive-content { grid-template-columns: 1fr; padding-left: 0; gap: 18px; }
  .journey { display: grid; grid-template-columns: 1fr; gap: 24px; }
  .journey-intro { display: block; }
  .journey-intro .eyebrow { margin: 0 0 12px; }
  .journey-intro h2 { margin-bottom: 14px; }
  .journey-intro > p:not(.eyebrow) { max-width: 100%; }
  .journey-album.gallery-ready img { height: 230px; }
  .about-grid { grid-template-columns: 105px 1fr; gap: 22px; align-items: start; }
  .portrait-frame { width: 100%; padding: 5px 5px 22px; margin-top: 4px; }
  .portrait-frame span { font-size: 9px; left: 7px; bottom: 4px; }
  .about h2 { font-size: 32px; }
  .about .about-lead { font-size: 16px; }
  .interest-tags span { font-size: 9px; padding: 4px 8px; }
  .personal-note { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; padding-top: 24px; }
  .personal-note > div:last-child { grid-row: 1; }
  .personal-note h3 br { display: none; }
  .personal-note h3 { font-size: 27px; }
  .gallery-ready.gabon-album img, .gallery-ready.sudan-album img { height: 190px; }
  .gallery-controls { gap: 4px; }
  .gallery-controls button { font-size: 10px; padding-inline: 0; }
  .contact { grid-template-columns: 1fr; gap: 12px; }
  .contact h2 { font-size: 36px; }
  .contact-bottom a { margin-top: 14px; }
  footer { font-size: 9px; }
}
@media (max-width: 380px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait-frame { max-width: 150px; margin: 0; }
  .hero h1 { font-size: 50px; }
}

/* Keep project metadata and controls legible at every breakpoint. */
.compact .eyebrow, .compact .selected-project summary .eyebrow,
.compact .side-project-list .eyebrow, .compact .timeline .timeline-date,
.compact .work-tabs button span, .compact .gallery-controls span,
.compact .gallery-controls button, .compact .interest-tags span,
.compact figcaption, .compact .hero-foot, .compact footer,
.compact .hero-world figcaption span { font-size: 11px; }
.compact .side-description figure img + img { margin-top: 16px; }
