:root {
  --paper: #faf7f0;
  --white: #fffdf7;
  --red: #a93830;
  --purple: #bd93bb;
  --mint: #29ffd9;
  --ink: #24211e;
  --sans: "Helvetica Neue", Inter, Helvetica, Arial, "PingFang SC", sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 var(--sans); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; color: inherit; }
a { color: inherit; text-underline-offset: 5px; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
[hidden] { display: none !important; }
.masthead, main, footer { width: min(1440px, calc(100% - 80px)); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--ink); padding-block: 22px; }
.identity { font-size: 18px; line-height: 1.2; letter-spacing: -.04em; }
.identity em { font-family: var(--serif); font-weight: normal; }
.masthead-right { display: flex; gap: 32px; align-items: center; }
.meta { font: 13px/1.6 var(--mono); letter-spacing: .04em; }
.language { display: flex; border: 1px solid var(--ink); border-radius: 30px; padding: 3px 10px; gap: 9px; align-items: center; font: 14px/1.8 var(--mono); }
.language button { border: 0; padding: 2px; background: none; }
.language button[aria-pressed="true"] { color: var(--red); font-weight: 700; }
.language button:hover { background: var(--mint); }
.project-intro { padding-block: 40px 26px; }
.project-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
h1 { font-size: clamp(42px, 6.6vw, 94px); font-weight: 400; letter-spacing: -.065em; line-height: 1.02; margin: 0; }
h1 em { font-family: var(--serif); color: var(--red); font-weight: 400; }
.cover { margin: 32px 0 0; border: 1px solid #aaa69e; min-height: 240px; aspect-ratio: 16/6; display: grid; place-content: center; text-align: center; position: relative; }
.cover-label { font: italic clamp(30px, 4vw, 54px)/1.2 var(--serif); color: var(--red); }
.cover p { margin: 10px 0 0; font-size: 14px; }
.cover-corner { position: absolute; left: 20px; bottom: 14px; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover:has(img) { display: block; overflow: hidden; }
.process { margin-top: 24px; scroll-margin-top: 20px; }
.tabs { display: flex; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.tab { flex: 1; display: flex; gap: 18px; align-items: baseline; text-align: left; padding: 23px 20px; border: 0; border-right: 1px solid var(--ink); background: transparent; font-size: 16px; line-height: 1.5; }
.tab:last-child { border-right: 0; }
.tab[aria-selected="true"] { background: var(--red); color: var(--white); }
.tab:hover:not([aria-selected="true"]) { background: var(--mint); }
.tab-num { font: 14px var(--mono); }
.panel { padding-block: 62px 40px; }
.section-intro { display: block; }
.eyebrow { color: var(--red); margin: 0 0 18px; }
h2 { font-size: clamp(36px, 4.2vw, 60px); font-weight: 400; line-height: 1.12; letter-spacing: -.04em; margin: 0 0 28px; }
h2 em { font-family: var(--serif); font-weight: 400; }
.research-intro { max-width: 730px; }
.research-intro p { margin: 0 0 18px; }
.section-intro h2 { max-width: 1000px; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.2; letter-spacing: -.035em; margin-bottom: 22px; }
.section-intro .research-intro { max-width: none; }
.section-intro .research-intro > p { max-width: 860px; }
.section-intro .research-intro > .meta { margin-bottom: 18px; }
.section-intro + .observation { margin-top: 36px; }
.observation { border-top: 1px solid var(--ink); margin-top: 68px; padding-top: 24px; scroll-margin-top: 30px; }
.section-heading { display: flex; gap: 18px; align-items: baseline; margin-bottom: 30px; }
.section-number { font: italic 36px/1 var(--serif); color: var(--red); flex-shrink: 0; }
h3 { font-size: clamp(27px, 3vw, 40px); font-weight: 400; line-height: 1.25; letter-spacing: -.03em; margin: 0 0 14px; }
.section-heading p { margin: 0; max-width: 700px; }
.subheading { font-size: 18px; font-weight: 500; margin: 28px 0 20px; }
.gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px 22px; }
figure { margin: 0; min-width: 0; }
.photo-button { width: 100%; display: block; border: 0; padding: 0; background: transparent; }
.photo-button img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.photo-button:hover img { outline: 2px solid var(--red); outline-offset: -2px; }
.activity-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.activity-layout .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
.activity-list { margin: 0; padding-left: 22px; }
.activity-list li { padding-bottom: 10px; }
.wide-photo { max-width: 920px; margin-left: auto; }
.findings { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 36px 0; border-top: 1px solid var(--ink); margin-top: 64px; }
.finding { padding-bottom: 28px; }
.finding:last-child { padding-bottom: 0; }
.finding h4 { font-size: 21px; font-weight: 500; margin: 0 0 10px; }
.finding p { margin: 0; max-width: 760px; }
.early-ideas { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 36px 0; margin-top: 28px; border-top: 1px solid var(--ink); }
.archive { border-top: 1px solid var(--ink); margin-top: 35px; padding-top: 28px; }
.archive-intro { margin-bottom: 28px; max-width: 750px; }
.archive-intro h3 { font-size: 28px; }
details { border-top: 1px solid #aaa69e; }
details:last-child { border-bottom: 1px solid #aaa69e; }
summary { display: flex; justify-content: space-between; gap: 24px; cursor: pointer; padding: 22px 0; list-style: none; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 26px/1 var(--sans); color: var(--red); }
details[open] > summary::after { content: "−"; }
.source-body { padding-bottom: 28px; }
.source-body > p { max-width: 780px; }
.source-pages { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 24px; align-items: start; }
.source-pages img { aspect-ratio: auto; object-fit: contain; border: 1px solid #aaa69e; }
.presentation-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; margin: 32px 0 44px; }
.presentation-pages .photo-button img { object-fit: contain; }
.feedback { margin-top: 70px; padding-top: 32px; border-top: 1px solid var(--ink); }
.feedback > .section-intro { margin-bottom: 32px; }
.feedback-row { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; border-top: 1px solid #aaa69e; padding: 26px 0; }
.feedback-row h3 { color: var(--red); font-size: 25px; }
.feedback-row ul { padding-left: 20px; margin: 0; }
.feedback-row li { padding: 0 0 14px 4px; }
.feedback-row li:last-child { padding-bottom: 0; }
.empty { min-height: 400px; }
footer { padding-block: 30px; border-top: 1px solid var(--ink); display: flex; justify-content: space-between; gap: 24px; }
dialog { width: min(1400px,96vw); max-height: 95dvh; padding: 52px 20px 20px; border: 1px solid var(--ink); background: var(--paper); }
dialog::backdrop { background: rgb(0 0 0 / .8); }
dialog img { display: block; max-width: 100%; max-height: 78dvh; object-fit: contain; margin: auto; }
.viewer-close { position: absolute; right: 12px; top: 6px; width: 44px; height: 44px; font-size: 30px; border: 0; background: transparent; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 5; padding: 10px; background: var(--mint); }
.skip-link:focus { top: 10px; }
@media (max-width: 760px) {
  .section-intro h2 { font-size: 32px; }
  .presentation-pages, .feedback-row { grid-template-columns: 1fr; gap: 22px; }
  .feedback-row { gap: 10px; }
  .feedback-row h3 { margin-bottom: 0; }
  .masthead, main, footer { width: calc(100% - 32px); }
  .masthead-right > .meta { display: none; }
  .project-intro { padding-top: 28px; }
  .project-meta { font-size: 12px; flex-wrap: wrap; gap: 6px; }
  h1 { font-size: clamp(38px, 9vw, 64px); }
  .cover { min-height: 230px; aspect-ratio: 4/3; margin-top: 24px; }
  .tabs { flex-direction: column; }
  .tab { border-right: 0; border-bottom: 1px solid var(--ink); padding: 16px; gap: 16px; }
  .tab:last-child { border-bottom: 0; }
  .panel { padding-top: 36px; }
  .section-heading, .activity-layout, .findings, .early-ideas { grid-template-columns: 1fr; gap: 18px; }
  .observation { margin-top: 44px; }
  .section-number { font-size: 30px; }
  .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 14px; }
  .source-pages { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .findings { margin-top: 42px; }
  footer { flex-direction: column; gap: 6px; }
}
@media (max-width: 420px) {
  .gallery, .activity-layout .gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .photo-button img { transition: outline-color .2s; }
}
