@font-face { font-family: Archive; src: local('Arial'); font-display: swap; }
:root {
    --ink: #242320; --muted: #77746c; --paper: #f7f5f0; --line: #dedbd3;
    --accent: #9d4935; --violet: #c7836c; --white: #fff;
    --action: #25665e; --action-hover: #194b45; --action-soft: #e4eeea;
    --serif: Georgia, 'Times New Roman', serif; --sans: Archive, Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select, summary { touch-action: manipulation; }
button, summary { cursor: pointer; }
img { display: block; max-width: min(100%,var(--image-max-width,100%)); margin-inline: auto; }
/* Native size without JavaScript; a modest quality limit with enhancement. */
html:not(.js) img[data-image-max-width] { width: auto; height: auto; }
.js img[data-image-max-width] { width: 100%; }
:is(button,a,input,select,summary):focus-visible { outline: 2px solid var(--action); outline-offset: 5px; }
::selection { background: #e9c9b9; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -80px; padding: 12px 18px; background: white; z-index: 100; }
.skip-link:focus { top: 12px; }
.site-header { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 4%; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; letter-spacing: -.6px; line-height: 1.05; flex-shrink: 0; }
.brand-second { display: block; }
.brand-symbol { position: relative; width: 35px; height: 40px; }
.brand-symbol i { position: absolute; top: 2px; width: 23px; height: 36px; border: 1.5px solid var(--accent); border-radius: 50%; }
.brand-symbol i:first-child { left: 0; }
.brand-symbol i:last-child { right: 0; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 14px; min-width: 0; overflow: visible; }
.site-header nav a { color: var(--muted); padding: 8px 0; white-space: nowrap; flex-shrink: 0; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }
.site-header nav a[aria-current] { text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--accent); }
.header-note { display: none; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .09em; line-height: 1.6; text-transform: uppercase; color: var(--muted); }
.archive-main { max-width: 1840px; margin: auto; padding: 30px 4% 80px; position: relative; }
.exhibition-heading { display: flex; align-items: baseline; gap: 22px; margin-bottom: 15px; }
.exhibition-heading h1 { font: 400 clamp(28px,3vw,42px)/1.2 var(--serif); letter-spacing: -1px; margin: 0; }
.archive-tools { display: flex; align-items: center; gap: 25px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 24px; min-height: 65px; }
.search-wrap { display: flex; align-items: center; flex: 1; min-width: 0; gap: 14px; }
.search-wrap svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; flex-shrink: 0; }
.search-wrap input { width: 100%; min-width: 0; padding: 15px 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-wrap input::placeholder { color: var(--muted); font-size: 14px; }
.search-wrap input:focus-visible { box-shadow: 0 1px var(--accent); outline: 0; }
kbd { font: 12px var(--sans); padding: 2px 7px; border: 1px solid var(--line); color: var(--muted); }
.sort-wrap { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.sort-wrap label { color: var(--muted); }
select { max-width: 175px; padding: 10px 20px 10px 5px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.search-submit { border: 0; background: var(--ink); color: white; padding: 7px 15px; }
.js .search-submit { display: none; }
.collection-more { margin: -12px 0 22px; font-size: 13px; color: var(--muted); }
.collection-more summary { width: max-content; }
.collection-more .technique-links { margin: 16px 0 0; }
.category-guide { font-size: 13px; color: var(--muted); margin: -12px 0 22px; }
.category-guide a:hover { color: var(--accent); }
.illusion-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px 28px; }
.card-slot { min-width: 0; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 28px 0; font-size: 14px; }
.pagination a { padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; white-space: nowrap; }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination a[aria-disabled="true"] { color: var(--muted); opacity: .5; pointer-events: none; }
.pagination > span { color: var(--muted); white-space: nowrap; }
.illusion-grid { scroll-margin-top: 100px; }
.illusion-card { min-width: 0; }
.card-image { display: block; position: relative; background: #eeece6; }
.card-image img { width: 100%; height: auto; object-fit: contain; }
.image-open-hint { position: absolute; bottom: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fffdf6e6; color: var(--ink); font-size: 20px; opacity: 0; transition: opacity .2s; }
.card-image:hover .image-open-hint, .card-image:focus-visible .image-open-hint { opacity: 1; }
.motion-badge { position: absolute; left: 14px; bottom: 14px; background: #fffdf6e6; padding: 4px 10px; font-size: 12px; color: #56534c; }
.card-body { padding: 14px 1px 0; }
.card-body h3 { font: 400 22px/1.25 var(--serif); letter-spacing: -.4px; margin: 0 0 5px; }
.card-body h3 a:hover { color: var(--accent); }
.card-credit { font-size: 13px; line-height: 1.5; color: var(--muted); }
.card-summary { color: #625e55; font-size: 14px; line-height: 1.65; margin: 8px 0 0; max-width: 65ch; }
.ranking-note { color: #625e55; font-size: 13px; margin: -8px 0 20px; }
.vote-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13px; }
.vote-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 56px; min-height: 44px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--ink); }
.vote-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vote-button .thumb-down { transform: rotate(180deg); }
.vote-button:hover { border-color: var(--accent); color: var(--accent); }
.vote-button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); background: #f0e2da; }
.vote-button[aria-pressed="true"] svg { fill: #9d49351f; }
.vote-button:disabled { cursor: wait; opacity: .55; }
.vote-score { color: #625e55; margin-left: 3px; }
.vote-status { flex-basis: 100%; color: var(--accent); font-size: 12px; }
.vote-status:empty { display: none; }
.detail-header .vote-controls { margin: 16px 0; }
.gallery-caption .vote-score { color: inherit; }
.gallery-caption .vote-button { color: inherit; }
.collection-intro { color: #625e55; max-width: 95ch; margin: 0 0 20px; font-size: 15px; }
.faq-section { max-width: 1000px; margin: 64px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.faq-section h2 { font: 400 clamp(25px,3vw,32px)/1.25 var(--serif); margin: 0 0 20px; }
.faq-section details { padding: 17px 0; border-bottom: 1px solid var(--line); }
.faq-section summary { font-weight: 500; font-size: 16px; }
.faq-section details p { margin: 14px 0 0; max-width: 80ch; color: #625e55; font-size: 15px; line-height: 1.8; }
.empty-state { padding: 70px 20px; text-align: center; }
.empty-state h2 { font: 36px var(--serif); margin: 0 0 12px; }
.empty-state p { color: var(--muted); }
.empty-state a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.no-js-note { color: var(--muted); font-size: 14px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 28px 4%; font-size: 12px; color: var(--muted); }
.footer-brand { color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -.5px; }
.site-footer > a:last-child { text-decoration: underline; text-underline-offset: 4px; }
.results-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.results-heading h2 { font: 30px var(--serif); margin: 0; }
.results-heading > a, .results-heading > span { font-size: 13px; color: var(--muted); }
.detail-main { max-width: 1700px; margin: auto; padding: 20px 4% 80px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.breadcrumbs a:hover { color: var(--accent); }
.detail-layout { display: block; }
.detail-image { background: #eeece6; display: flex; justify-content: center; align-items: center; }
.detail-image img { height: auto; width: 100%; object-fit: contain; }
.image-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; font-size: 13px; color: var(--muted); }
.image-toolbar > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.small-button { display: inline-block; padding: 10px 16px; border: 1px solid var(--action); border-radius: 4px; background: var(--action); color: var(--white); font-size: 13px; font-weight: 600; text-align: center; }
.small-button:hover { color: var(--white); background: var(--action-hover); border-color: var(--action-hover); }
.detail-header { margin: 22px 0; }
.detail-header .eyebrow { font-size: 12px; }
.separator { margin: 0 10px; color: var(--muted); }
.detail-header h1 { font: 400 clamp(30px,3vw,45px)/1.18 var(--serif); letter-spacing: -1px; margin: 12px 0; }
.detail-header > p { font-size: 18px; color: var(--muted); max-width: 850px; margin: 0; }
.try-it { padding: 18px 0 26px; border-bottom: 1px solid var(--line); max-width: 900px; }
.try-it p { margin: 8px 0 0; font-size: 16px; }
.illusion-story { max-width: 1120px; margin: 45px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 55px; }
.creator-block { grid-column: 1 / -1; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.creator-block h2 { font: 28px/1.2 var(--serif); margin: 8px 0; }
.creator-block p { font-size: 14px; color: var(--muted); margin: 3px 0; }
.illusion-story section h2 { font: 26px var(--serif); font-weight: 400; margin: 0 0 14px; }
.illusion-story section p { font-size: 16px; color: #625e55; line-height: 1.85; margin: 0; }
.attribution-note { grid-column: 1 / -1; padding-left: 18px; border-left: 1px solid var(--accent); }
.attribution-note p { font-size: 14px; color: var(--muted); margin: 7px 0; }
.tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 15px; color: var(--muted); font-size: 12px; }
.source-section { max-width: 1120px; margin: 48px auto 0; border-top: 1px solid var(--line); padding-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
.source-section h2 { font: 28px var(--serif); margin: 12px 0 20px; }
.source-list { padding: 0; margin: 0; list-style: none; }
.source-list li { border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 14px; }
.source-list a { display: flex; justify-content: space-between; gap: 15px; }
.source-list a:hover { color: var(--accent); }
.image-credit p { font-size: 14px; color: var(--muted); }
.image-credit a:not(.small-button) { text-decoration: underline; text-underline-offset: 3px; }
.image-credit .credit-note { font-size: 12px; }
.download-link { margin-top: 8px; }
.related { margin-top: 70px; }
.related .results-heading { margin-bottom: 25px; }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.rotated { transform: rotate(180deg); }
button:disabled { opacity: .3; cursor: default; }
dialog { padding: 20px; max-width: 95vw; width: min(1250px,95vw); max-height: 96svh; border: 0; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #1c1b18e8; }
dialog:not(.gallery-dialog) img { width: 100%; height: 77svh; object-fit: contain; }
dialog:not(.gallery-dialog) form { display: flex; justify-content: flex-end; }
dialog:not(.gallery-dialog) p { font: 22px var(--serif); text-align: center; margin: 15px 0 0; }
.dialog-close, .gallery-close { background: transparent; border: 0; color: var(--ink); padding: 8px 10px; font-size: 14px; }
.gallery-dialog { width: min(1650px,96vw); height: 94svh; max-height: 94svh; padding: 18px 24px; overflow: hidden; }
.gallery-dialog[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 12px; }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 38px; }
.gallery-toolbar > span { color: var(--muted); font-size: 13px; }
.gallery-toolbar > div { display: flex; align-items: center; gap: 10px; }
.gallery-stage { position: relative; min-height: 0; background: #eeece6; }
.gallery-stage img { width: 100%; height: 100%; object-fit: contain; }
.gallery-arrow { position: absolute; top: calc(50% - 23px); width: 46px; height: 46px; border: 1px solid #d6d2c8; border-radius: 50%; background: #fffdf5e8; color: var(--ink); font-size: 22px; z-index: 1; }
.gallery-arrow:hover { border-color: var(--accent); }
.gallery-previous { left: 12px; }
.gallery-next { right: 12px; }
.gallery-caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 4px; }
.gallery-caption h2 { font: 400 25px/1.2 var(--serif); margin: 0 0 4px; }
.gallery-caption p { font-size: 13px; color: var(--muted); margin: 0; }
.gallery-caption > a { white-space: nowrap; }
#zoom-open, #motion-toggle, #rotate-toggle { display: none; }
.js #zoom-open, .js #motion-toggle, .js #rotate-toggle { display: inline-block; }
.about-main { max-width: 1190px; padding: 50px 4% 80px; margin: auto; }
.about-main h1 { font: 400 clamp(45px,5vw,70px)/1.1 var(--serif); letter-spacing: -2px; margin: 15px 0 25px; }
.about-main h1 em, .games-intro h1 em { color: var(--accent); }
.about-lead { font-size: 21px; color: var(--muted); max-width: 800px; }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin: 40px 0; }
.about-columns h2 { font: 29px var(--serif); margin: 28px 0 15px; }
.about-columns p { font-size: 16px; color: #625e55; line-height: 1.9; }
.credits-table { border-top: 1px solid var(--line); padding-top: 30px; margin-top: 55px; }
.table-scroll { overflow-x: auto; margin-top: 20px; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 13px; }
th, td { padding: 15px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 110px; }
thead th { color: var(--muted); font-weight: 500; }
tbody th { font-weight: 500; min-width: 170px; }
td a, tbody th a { color: var(--accent); }
.research-date { font-size: 13px; color: var(--muted); margin-top: 30px; }
.button { display: inline-block; background: var(--action); color: white; border-radius: 4px; padding: 12px 20px; margin-top: 15px; }
.button:hover { background: var(--action-hover); }
.games-main, .artists-main { max-width: 1500px; margin: auto; padding: 45px 4% 80px; }
.games-intro h1 { font: 400 clamp(45px,5vw,72px)/1.06 var(--serif); letter-spacing: -2px; margin: 15px 0 20px; }
.games-intro > p { font-size: 19px; color: var(--muted); max-width: 650px; margin-bottom: 20px; }
.technique-links, .game-group-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.technique-links a, .game-group-nav a { font-size: 14px; color: var(--action); border: 1px solid var(--action); border-radius: 4px; background: var(--action-soft); padding: 10px 14px; }
.technique-links a:hover, .game-group-nav a:hover { color: var(--white); background: var(--action); }
.artists-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 45px 30px; }
.artist-card { min-width: 0; }
.artist-image { background: #eeece6; display: block; }
.artist-image img { height: auto; width: 100%; object-fit: contain; }
.artist-body { padding: 20px 0 0; }
.artist-body h2 { font: 32px/1.2 var(--serif); margin: 10px 0; }
.artist-body > p { font-size: 16px; color: #625e55; }
.artist-body ul { padding: 0; list-style: none; margin: 20px 0; }
.artist-body li { border-top: 1px solid var(--line); padding: 8px 0; font-size: 14px; }
.artist-body li a { display: flex; justify-content: space-between; gap: 20px; }
.artist-body li span { color: var(--muted); white-space: nowrap; font-size: 12px; }
.artist-browse { display: inline-block; width: fit-content; max-width: 100%; padding: 10px 16px; border: 1px solid var(--action); border-radius: 4px; background: var(--action); color: var(--white); font-size: 14px; font-weight: 600; }
.artist-browse:hover { background: var(--action-hover); border-color: var(--action-hover); }
.escher-hero { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: center; gap: clamp(24px,4vw,60px); }
.escher-portrait { margin: 0; }
.escher-portrait img { width: 100%; height: auto; object-fit: contain; background: #eeece6; }
.escher-portrait figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); }
.escher-portrait figcaption a { text-decoration: underline; }
.escher-hero .games-intro h1 { font-size: clamp(60px,8vw,120px); }
.escher-section-heading { margin: 65px 0 28px; }
.escher-section-heading h2 { margin: 0 0 12px; font: 400 clamp(30px,4vw,45px)/1.2 var(--serif); }
.escher-section-heading p { max-width: 780px; color: var(--muted); }
.escher-group { scroll-margin-top: 30px; margin-top: 45px; }
.escher-group > h3 { font: 28px var(--serif); margin: 0 0 24px; }
.escher-work-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px; }
.escher-work { border-top: 1px solid var(--line); padding: 20px 0 0; scroll-margin-top: 25px; }
.escher-work h4 { font: 32px/1.2 var(--serif); margin: 12px 0 18px; }
.escher-work h4 span { color: var(--accent); font: 20px var(--sans); }
.escher-work-image { margin: 0 0 22px; }
.escher-work-image > a { position: relative; display: block; background: #eeece6; }
.escher-work-image img { width: 100%; height: auto; object-fit: contain; }
.escher-work-image > a:hover .image-open-hint, .escher-work-image > a:focus-visible .image-open-hint { opacity: 1; }
.escher-work-image figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); }
.escher-work-image figcaption a { text-decoration: underline; }
.escher-work-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.escher-work > p { color: #625e55; max-width: 650px; }
.escher-work .escher-look { color: var(--ink); font: italic 20px/1.5 var(--serif); }
.escher-credits { border-top: 1px solid var(--line); margin-top: 55px; padding-top: 20px; font-size: 13px; color: var(--muted); }
.escher-credits a { color: var(--accent); }
@media (max-width: 760px) {
    .escher-hero, .escher-work-grid { grid-template-columns: 1fr; }
    .escher-hero { gap: 26px; }
    .escher-hero .games-intro h1 { font-size: 65px; }
    .escher-section-heading { margin-top: 40px; }
}
.dimension-note { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; margin: 30px 0; display: grid; grid-template-columns: 220px 1fr; gap: 35px; }
.dimension-note p { margin: 0; max-width: 800px; color: #625e55; }
.game-section { scroll-margin-top: 30px; margin: 50px 0; }
.game-section > header h2 { font: 35px var(--serif); margin: 12px 0; }
.game-section > header > p { color: var(--muted); max-width: 780px; margin-bottom: 28px; }
.game-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px; }
.game-card { padding: 25px 0; border-top: 1px solid var(--line); position: relative; }
.game-card > .eyebrow { padding-right: 45px; }
.game-number { position: absolute; right: 0; top: 25px; font: 25px var(--serif); color: #b3aea2; }
.game-card h3 { font: 35px/1.2 var(--serif); margin: 14px 0; }
.game-summary { font-size: 19px !important; color: var(--ink) !important; }
.game-card > p { font-size: 16px; line-height: 1.8; color: #625e55; }
.game-observation { padding: 18px; background: #eeece6; margin: 23px 0; }
.game-observation p { font-size: 14px; margin: 8px 0 0; }
.game-card .game-note { font-size: 14px; }
.game-sources { padding: 0; list-style: none; margin: 20px 0; }
.game-sources li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.game-sources a { color: var(--accent); }
.game-back { padding: 25px 0; border-top: 1px solid var(--line); }
.game-back h2 { font: 32px var(--serif); }
.game-back .small-button { margin-left: 15px; }
@media (min-width: 1650px) { .illusion-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 760px) {
    .site-header { height: auto; padding: 15px 5% 0; display: block; }
    .brand { font-size: 18px; gap: 10px; }
    .brand-symbol { width: 30px; height: 35px; }
    .brand-symbol i { width: 20px; height: 31px; }
    .site-header nav { justify-content: space-between; gap: 12px; height: 45px; font-size: 13px; }
    .site-header nav a { white-space: nowrap; }
    .archive-main { padding: 24px 5% 55px; }
    .exhibition-heading { gap: 15px; justify-content: space-between; margin-bottom: 10px; }
    .exhibition-heading h1 { font-size: 29px; }
    .exhibition-heading > span { font-size: 12px; }
    .archive-tools { gap: 12px; margin-bottom: 20px; min-height: 60px; flex-wrap: wrap; }
    .search-wrap { min-width: 150px; gap: 8px; }
    .search-wrap input { font-size: 16px; }
    .search-wrap input::placeholder { font-size: 12px; }
    kbd, .sort-wrap label { display: none; }
    .sort-wrap { font-size: 12px; }
    .sort-wrap select { max-width: 126px; padding-right: 10px; }
    .collection-more, .category-guide { margin-top: -10px; margin-bottom: 18px; }
    .illusion-grid { grid-template-columns: 1fr; gap: 30px; }
    .image-open-hint { opacity: 1; }
    .card-body { padding-top: 12px; }
    .card-body h3 { font-size: 22px; }
    .detail-main { padding: 18px 5% 55px; }
    .breadcrumbs { font-size: 12px; margin-bottom: 15px; gap: 9px; }
    .image-toolbar { flex-wrap: wrap; gap: 10px; font-size: 12px; }
    .image-toolbar > div { justify-content: flex-start; }
    .detail-header h1 { font-size: 32px; }
    .detail-header > p { font-size: 16px; }
    .illusion-story, .source-section { grid-template-columns: 1fr; gap: 25px; margin-top: 32px; }
    .creator-block, .attribution-note, .tags { grid-column: auto; }
    .related-grid { grid-template-columns: 1fr; gap: 30px; }
    .related .results-heading h2 { font-size: 27px; }
    .gallery-dialog { width: 96vw; height: 94svh; padding: 12px; }
    .gallery-toolbar { gap: 8px; }
    .gallery-toolbar > div { gap: 5px; }
    .gallery-toolbar .small-button { font-size: 12px; padding: 6px 8px; }
    .gallery-close { font-size: 13px; padding-right: 0; }
    .gallery-stage { padding-bottom: 56px; }
    .gallery-arrow { top: auto; bottom: 10px; width: 40px; height: 40px; font-size: 20px; }
    .gallery-previous { left: calc(50% - 48px); }
    .gallery-next { right: calc(50% - 48px); }
    .gallery-caption { display: block; }
    .gallery-caption h2 { font-size: 23px; }
    .gallery-caption p { font-size: 12px; }
    .gallery-caption > a { margin-top: 9px; font-size: 12px; padding: 6px 10px; }
    .site-footer { padding: 25px 5%; flex-wrap: wrap; gap: 15px; }
    .site-footer > span { width: 100%; order: 3; }
    .artists-main, .games-main, .about-main { padding: 35px 5% 55px; }
    .games-intro h1 { font-size: 49px; letter-spacing: -1.5px; }
    .games-intro > p, .about-lead { font-size: 18px; }
    .artists-grid, .game-grid, .about-columns { grid-template-columns: 1fr; gap: 35px; }
    .artist-body h2 { font-size: 29px; }
    .dimension-note { display: block; }
    .dimension-note p { margin-top: 12px; }
    .game-back .small-button { margin: 15px 0 0; }
    .credits-table .results-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.card-reference { aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: clamp(24px,4vw,60px); background: #eeece6; }
.reference-effect { font: 400 clamp(18px,2vw,28px)/1.45 var(--serif); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.reference-link { font-size: 13px; color: var(--accent); }
.source-demonstration { padding: 40px; background: #eeece6; }
.source-demonstration p { font: 24px/1.5 var(--serif); }
.imported-source { margin: 48px auto 0; border-top: 1px solid var(--line); padding-top: 30px; }
.imported-source h2 { font: 30px/1.3 var(--serif); }
.imported-source p { line-height: 1.7; }
.imported-source a { text-decoration: underline; text-underline-offset: 3px; }
.source-citation { color: var(--muted); font-size: 14px; }
.source-reading summary { cursor: pointer; padding: 18px 0; font-size: 16px; }
.source-article-body > p { max-width: 80ch; }
.source-article-body h3 { font: 24px/1.4 var(--serif); margin-top: 30px; }
.source-media-list { display: grid; grid-template-columns: 1fr; gap: 32px; }
.source-media { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.source-media img { display: block; width: 100%; height: auto; object-fit: contain; }
.source-media figcaption { font-size: 13px; }

.game-card-heading { position: relative; padding-top: 20px; }
.game-card-heading > .eyebrow { padding-right: 45px; }
.game-card-heading .game-number { top: 20px; }
.game-media-stage { aspect-ratio: 16 / 9; background: #16151b; position: relative; overflow: hidden; }
.game-media-stage > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.game-trailer-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: flex; align-items: center; gap: 10px; white-space: nowrap; padding: 14px 20px; border: 1px solid #ffffff66; border-radius: 4px; background: #16151be8; color: #fff; font: 15px var(--sans); cursor: pointer; }
.game-trailer-play:hover { background: var(--accent); }
.game-trailer-player { position: absolute; inset: 0; }
.game-trailer-player iframe, .game-trailer-player video { display: block; width: 100%; height: 100%; border: 0; }
.game-media-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; }
.game-screenshot-thumbnails { display: flex; gap: 8px; margin-right: auto; }
.game-screenshot-button { background: transparent; border: 2px solid transparent; padding: 2px; cursor: pointer; border-radius: 3px; }
.game-screenshot-button[aria-pressed="true"] { border-color: var(--accent); }
.game-screenshot-button img { width: 72px; height: 41px; display: block; object-fit: contain; background: #16151b; }
.game-trailer-external { font-size: 13px; color: var(--accent); }
.game-media .game-media-credit { margin: 8px 0 0; font-size: 11px; color: var(--muted); }
.game-media-credit a:hover { text-decoration: underline; }
.game-media-fallback img { width: 100%; height: auto; margin-top: 10px; }
@media (max-width: 760px) { .game-trailer-play { padding: 12px 16px; font-size: 14px; } .game-media-toolbar { gap: 8px; } }

.objects-main { max-width: 1500px; margin: auto; padding: 45px 4% 80px; }
.objects-intro { max-width: 1050px; }
.objects-intro > p { max-width: 780px; }
.objects-intro .objects-intro-note { font-size: 15px; max-width: 740px; }
.object-nav { margin: 35px 0 45px; }
.object-feature { display: grid; grid-template-columns: minmax(0,1fr); gap: 28px; padding: 40px 0 50px; border-top: 1px solid var(--line); scroll-margin-top: 25px; }
.object-body { width: 100%; max-width: 1120px; margin-inline: auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 48px; }
.object-body > :not(p), .object-body > p[class] { grid-column: 1 / -1; }
.object-figure { margin: 0; }
.object-figure img { width: 100%; height: auto; background: #eeece6; }
.object-figure figcaption { font-size: 12px; color: var(--muted); margin-top: 12px; }
.object-body h2 { font: 400 clamp(32px,4vw,46px)/1.15 var(--serif); margin: 12px 0 20px; letter-spacing: -.8px; }
.object-body > p { font-size: 16px; line-height: 1.8; color: #625e55; }
.object-body .object-surprise { font: 23px/1.45 var(--serif); color: var(--ink); }
.object-reality strong { color: var(--ink); font-weight: 500; }
.object-experiment { border-left: 2px solid var(--accent); padding: 2px 0 2px 20px; margin: 25px 0; }
.object-experiment p { margin: 8px 0 0; color: #625e55; font-size: 15px; line-height: 1.8; }
.object-body .object-origin { font-size: 13px; color: var(--muted); }
.object-sources { list-style: none; padding: 0; margin: 20px 0 0; }
.object-sources li { border-top: 1px solid var(--line); padding: 9px 0; font-size: 13px; color: var(--accent); }
.object-sources a:hover { text-decoration: underline; text-underline-offset: 4px; }
.object-outro { border-top: 1px solid var(--line); padding-top: 30px; }
.object-outro h2 { font: 32px var(--serif); }
.object-outro > p { max-width: 800px; color: #625e55; }
.object-outro .small-button { margin: 10px 15px 10px 0; }
.object-outro .object-diagram-credit { margin-top: 30px; font-size: 12px; color: var(--muted); }
.category-guide { display: flex; flex-wrap: wrap; gap: 12px 28px; }
@media (max-width: 760px) {
    .site-header nav { justify-content: flex-start; gap: 22px; }
    .objects-main { padding: 35px 5% 55px; }
    .objects-intro h1 { font-size: clamp(36px,9vw,49px); }
    .object-nav { margin: 25px 0; }
    .object-feature { grid-template-columns: 1fr; gap: 25px; padding: 28px 0 35px; }
    .object-body { grid-template-columns: minmax(0,1fr); }
    .object-body h2 { font-size: 34px; }
    .object-body .object-surprise { font-size: 22px; }
}

.architecture-main { max-width: 1500px; margin: auto; padding: 45px 4% 80px; }
.animals-main { max-width: 1500px; margin: auto; padding: 45px 4% 80px; }
.animals-intro { max-width: 980px; }
.animals-intro h1 { font-size: clamp(54px,7.4vw,104px); }
.animals-intro > p { max-width: 740px; }
.animals-intro .animals-intro-note { font-size: 15px; max-width: 720px; }
.architecture-intro { max-width: 980px; }
.architecture-intro h1 { font-size: clamp(54px,7.4vw,104px); }
.architecture-intro > p { max-width: 740px; }
.architecture-intro .architecture-intro-note { font-size: 15px; max-width: 720px; }
.architecture-chapters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; margin: 45px 0 65px; }
.architecture-chapters > a { border: 1px solid var(--action); border-radius: 4px; background: var(--action-soft); color: var(--action); padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 10px 15px; }
.architecture-chapters .eyebrow { grid-column: 1 / -1; }
.architecture-chapters > a > span:nth-child(2) { font: 24px/1.3 var(--serif); }
.architecture-chapters a:hover { background: var(--action); color: var(--white); }
.architecture-chapters .eyebrow { color: inherit; }
.architecture-chapter { scroll-margin-top: 25px; }
.architecture-chapter-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 5%; border-top: 2px solid var(--accent); padding: 30px 0 15px; }
.architecture-chapter-heading h2 { font: 36px/1.2 var(--serif); margin: 0; max-width: 470px; }
.architecture-chapter-heading p { margin: 0; max-width: 620px; color: #625e55; }
.architecture-feature { display: grid; grid-template-columns: minmax(0,1fr); gap: 28px; padding: 40px 0 60px; border-bottom: 1px solid var(--line); scroll-margin-top: 25px; }
.architecture-body { width: 100%; max-width: 1120px; margin-inline: auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 48px; }
.architecture-body > :not(p), .architecture-body > p[class] { grid-column: 1 / -1; }
.architecture-media { min-width: 0; }
.architecture-feature:last-child { border-bottom: 0; }
.architecture-media figure { margin: 0; }
.architecture-media figure > a { display: block; background: #eeece6; }
.architecture-media img { width: 100%; height: auto; object-fit: contain; }
.architecture-media figcaption { margin-top: 12px; font-size: 12px; color: var(--muted); }
.architecture-image-credit { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); }
.architecture-image-credit a { text-decoration: underline; text-underline-offset: 3px; }
.architecture-body h3 { font: 400 clamp(32px,3.5vw,46px)/1.15 var(--serif); margin: 12px 0 12px; letter-spacing: -.8px; }
.architecture-body > p { color: #625e55; line-height: 1.8; }
.architecture-body .architecture-location { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.architecture-body .architecture-surprise { font: 23px/1.45 var(--serif); color: var(--ink); }
.architecture-body .architecture-note, .architecture-body .architecture-maker { font-size: 13px; color: var(--muted); }
.architecture-story { display: inline-block; justify-self: start; margin-top: 22px; padding: 10px 16px; border: 1px solid var(--action); border-radius: 4px; background: var(--action); color: var(--white); font-size: 14px; font-weight: 600; }
.architecture-story:hover { background: var(--action-hover); border-color: var(--action-hover); }
.architecture-reference { background: #e9e1d5; padding: clamp(25px,4vw,55px); min-height: 340px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.architecture-reference > p { font: 32px/1.25 var(--serif); margin: 20px 0 30px; }
.architecture-reference-note { font-size: 12px; color: #625e55; margin-top: 18px; }
.viewpoint-comparison { margin-top: 25px; border-top: 1px solid var(--line); padding-top: 12px; }
.viewpoint-comparison summary { font-size: 14px; color: var(--accent); }
.viewpoint-comparison figure { margin: 18px 0 0; }
.viewpoint-comparison img { width: 100%; height: auto; object-fit: contain; background: #eeece6; }
.viewpoint-comparison figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; }
.architecture-research-date { font-size: 12px; margin-top: 30px; color: var(--muted); }
.projections-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.projections-context { background: #e9e1d5; padding: clamp(24px, 4vw, 48px); margin: 0 0 30px; }
.projections-context h3 { font: 400 clamp(28px, 3vw, 38px)/1.25 var(--serif); max-width: 800px; margin: 14px 0 20px; }
.projections-context p { max-width: 900px; color: #625e55; }
.projections-context a { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.projections-chapter + .projections-chapter { margin-top: 55px; }
.projections-chapter .architecture-chapter-heading { margin-bottom: 25px; }
.projections-example-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 10px; }
.projections-example-links a { padding: 10px 14px; border: 1px solid var(--action); border-radius: 4px; background: var(--action-soft); font-size: 14px; color: var(--action); }
.projections-example-links a:hover { background: var(--action); color: var(--white); }
.holography-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding: 0; margin: 30px 0; list-style: none; counter-reset: holography-step; }
.holography-process li { border-top: 1px solid #b9afa0; padding-top: 17px; counter-increment: holography-step; }
.holography-process h4 { font: 24px/1.3 var(--serif); margin: 0 0 12px; }
.holography-process h4::before { content: counter(holography-step, decimal-leading-zero) ' / '; font: 12px var(--sans); color: var(--accent); }
.holography-process p { font-size: 15px; line-height: 1.75; margin: 0; }
.holography-viewing-note { border-top: 1px solid #b9afa0; padding-top: 20px; font-size: 14px; }
.projections-demo { display: inline-block; margin-top: 22px; }
.projections-video-credit { font-size: 12px; color: var(--muted); }

@media (max-width: 760px) {
    .architecture-main { padding: 35px 5% 55px; }
    .animals-main { padding: 35px 5% 55px; }
    .animals-intro h1 { font-size: clamp(48px,12vw,76px); }
    .architecture-intro h1 { font-size: clamp(48px,12vw,76px); }
    .architecture-chapters { grid-template-columns: 1fr; gap: 8px; margin: 30px 0 35px; }
    .architecture-chapters > a > span:nth-child(2) { font-size: 23px; }
    .architecture-chapter-heading { grid-template-columns: 1fr; gap: 20px; }
    .architecture-chapter-heading h2 { font-size: 32px; }
    .architecture-feature { grid-template-columns: 1fr; gap: 25px; padding: 28px 0 40px; }
    .architecture-body { grid-template-columns: minmax(0,1fr); }
    .architecture-body h3 { font-size: 34px; }
    .architecture-reference { min-height: 280px; }
    .holography-process { grid-template-columns: 1fr; gap: 22px; }
}

/* Locally hosted demonstrations and embedded recordings. */
.embedded-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 1.5rem 0; background: #171918; }
.embedded-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.source-audio { margin: 1.5rem 0; }
.source-audio audio { width: 100%; }
.source-audio figcaption { font-size: .8rem; line-height: 1.6; color: var(--muted); margin-top: .7rem; }
.camouflage-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 3rem 0; }
.camouflage-principles article { padding: 1.5rem; border-top: 1px solid var(--line); }
.camouflage-principles h2 { font-size: 1.2rem; margin: 0 0 .7rem; }
.camouflage-principles p { font-size: .92rem; line-height: 1.7; color: var(--muted); }
.camouflage-ai-intro { background: #eeece6; padding: clamp(22px, 4vw, 48px); margin: 0 0 55px; }
.camouflage-ai-intro h3 { font: clamp(28px, 3vw, 38px)/1.2 var(--serif); margin: 12px 0 20px; }
.camouflage-ai-intro > p { max-width: 900px; color: #625e55; }
.camouflage-ai-tasks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 28px 0; }
.camouflage-ai-tasks > div { border-top: 1px solid var(--line); padding-top: 16px; }
.camouflage-ai-tasks dt { font-weight: 600; margin-bottom: 8px; }
.camouflage-ai-tasks dd { margin: 0; color: #625e55; }
@media (max-width: 720px) { .camouflage-ai-tasks { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 720px) { .camouflage-principles { grid-template-columns: 1fr; gap: .5rem; } }

/* Reverse perspective guide and artists with source reproductions. */
.perspective-comparison { margin: 28px 0 0; }
.perspective-comparison img { width: 100%; height: auto; }
.perspective-comparison figcaption { margin-top: 12px; font-size: 12px; color: var(--muted); }
.artist-reference { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; padding: clamp(28px,4vw,55px); background: #e9e1d5; }
.artist-reference strong { font: 400 clamp(30px,4vw,52px)/1.15 var(--serif); }
.artist-reference > span:not(.eyebrow) { max-width: 42ch; }
.artist-body .artist-browse + .artist-browse { display: block; margin-top: 12px; }

/* Three main destinations, with the collection sections under Mirrors. */
.site-header { position: relative; z-index: 20; }
.mirrors-menu { position: relative; flex-shrink: 0; }
.mirrors-menu:not([open]) > .mirrors-dropdown { display: none; }
.mirrors-menu > summary { list-style: none; color: var(--muted); padding: 8px 0; white-space: nowrap; }
.mirrors-menu > summary::-webkit-details-marker { display: none; }
.mirrors-menu > summary span { margin-left: 5px; }
.mirrors-menu[open] > summary, .mirrors-menu > summary:hover, .mirrors-menu > .nav-current { color: var(--ink); }
.mirrors-menu > .nav-current { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 8px; }
.mirrors-dropdown { position: absolute; top: calc(100% + 14px); right: -82px; width: min(680px, 90vw); padding: 24px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 14px 30px #24232018; max-height: 75svh; overflow-y: auto; }
.site-header .mirrors-dropdown a { display: block; white-space: normal; padding: 6px 0; }
.site-header .mirrors-dropdown .mirrors-overview { grid-column: 1 / -1; color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid var(--line); font: 22px var(--serif); }
.mirrors-overview span { float: right; }
.mirrors-category-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 26px; margin: 16px 0; }
.mirrors-categories { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.site-header .mirrors-menu-section > a { color: var(--ink); font-weight: 600; }
.mirrors-subpages { list-style: none; margin: 0; border-left: 1px solid var(--line); padding-left: 13px; font-size: 12px; }
.site-header .mirrors-dropdown .mirrors-directory { border-top: 1px solid var(--line); padding-top: 14px; color: var(--ink); }
.mirrors-directory span { float: right; }
.section-navigation { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0; border-block: 1px solid var(--line); margin: 24px 0 42px; font-size: 14px; }
.section-navigation a { padding: 10px 16px; border: 1px solid var(--action); border-radius: 4px; background: var(--action-soft); color: var(--action); font-weight: 600; }
.section-navigation a:hover { background: var(--action); color: var(--white); }
.section-navigation a[aria-current] { background: var(--action); color: var(--white); }
.section-navigation a[aria-current]:hover { background: var(--action-hover); }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 34px; margin: 35px 0 60px; align-items: start; }
.guide-card-image { display: block; }
.guide-card-image:hover { outline: 2px solid var(--action); outline-offset: 4px; }
.guide-card-image img { width: 100%; height: auto; }
.guide-card-body { padding-top: 22px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.guide-card-body h2 { font: 32px/1.2 var(--serif); margin: 10px 0 15px; }
.guide-card-body h2 a { color: var(--action); }
.guide-card-body h2 a:hover { color: var(--action-hover); text-decoration: underline; text-underline-offset: 5px; }
.guide-card-body .guide-card-action { margin-top: 18px; }
.guide-card-action span { margin-left: 12px; }
.guide-card-body p { color: #625e55; }
.guide-photograph { margin: 32px 0; }
.guide-photograph img { width: 100%; height: auto; }
.guide-photograph figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; }
.guide-photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.mirrors-category-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 50px; }
@media (max-width: 760px) {
    .mirrors-menu { position: static; }
    .mirrors-dropdown { top: 100%; right: 5%; left: 5%; width: auto; max-height: min(70svh,calc(100svh - 120px)); gap: 14px; padding: 20px; }
    .guide-grid { grid-template-columns: 1fr; gap: 36px; }
    .guide-photo-pair { grid-template-columns: 1fr; gap: 0; }
    .section-navigation { gap: 10px; margin-bottom: 28px; }
}
@media (max-width: 600px) { .mirrors-category-columns { grid-template-columns: 1fr; gap: 12px; } }
