/* The foyer shares the gallery's light, while keeping its stories and paths open. */
:root {
  --paper: #f3efe4; --ink: #283129; --muted: #5b6557; --olive: #4f6448;
  --rust: #a35a3a; --line: #ced2c0; --forest: #17271f; --cream: #f0ead8;
  --serif: 'Iowan Old Style', 'Baskerville', 'Palatino Linotype', Georgia, 'Songti TC', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-height: 80px; --focus: #a35a3a;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.5rem, 4.5vw, 4rem); line-height: 1.1; letter-spacing: -.04em; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .3em; }
button, input { font: inherit; }
button { cursor: pointer; }
a, button, input, summary { touch-action: manipulation; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
::selection { color: #253021; background: #ded6b8; }
.wrap { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.eyebrow { font: .66rem/1.7 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.skip-link { position: fixed; top: .6rem; left: .8rem; z-index: 100; min-height: 44px; padding: .8rem 1.2rem; color: var(--ink); background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* A compact, familiar handrail along the top of the space. */
.site-header { --focus: #e4c894; position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: var(--header-height); padding: .65rem clamp(1.25rem, 4vw, 4.5rem); color: #efeadb; background: #17241eee; border-bottom: 1px solid #7d86624d; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.wordmark { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .8rem; min-height: 44px; font: .72rem/1.25 var(--sans); letter-spacing: .15em; }
.wordmark:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 37px; padding-right: .5rem; border-right: 1px solid #7b8265; color: #dbcca7; font: italic 2.6rem/.8 var(--serif); letter-spacing: -.08em; }
.wordmark small { display: block; margin-top: .35rem; color: #c5cabb; font: .7rem/1.3 var(--serif); letter-spacing: .02em; }
.header-actions { display: flex; align-items: center; gap: 1.8rem; min-width: 0; }
.site-header nav { display: flex; align-items: center; gap: 1.6rem; font-size: .74rem; }
.site-header nav a { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 44px; }
.nav-explore { padding: .45rem .85rem; border: 1px solid #899374; border-radius: 3px; }
.nav-explore:hover { background: #3c4a32; text-decoration: none; }
.motion-control { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .5rem .75rem; border: 1px solid transparent; border-radius: 3px; color: #dce0cf; background: transparent; font: .72rem/1.4 var(--sans); white-space: nowrap; }
.motion-control:hover { border-color: #84916d; background: #34422c; }
.motion-control[aria-pressed="true"] { border-color: #9d9870; color: #efdeb6; }

/* The painting merges into the room. The complete work is always one link away. */
.hero { --hero-wall: #17281f; --hero-ink: #f3eddc; --hero-muted: #d0d4bf; --hero-accent: #dfc995; --focus: #e4c894; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; min-height: max(100svh, 850px); color: var(--hero-ink); background: var(--hero-wall); }
.hero-atmosphere { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.hero-atmosphere img { width: 100%; height: 100%; object-fit: cover; opacity: .62; filter: blur(35px) saturate(.82); transform: scale(1.13); }
.hero-atmosphere::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-wall), color-mix(in srgb, var(--hero-wall) 55%, transparent) 65%), linear-gradient(0deg, var(--hero-wall), transparent 48%); }
.hero-gallery { position: absolute; inset: 40px 0 0 auto; z-index: -1; width: 77%; overflow: hidden; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 24%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%); }
.hero-work { position: relative; width: 100%; height: 100%; }
.hero-work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 46%; opacity: 0; visibility: hidden; mask-image: linear-gradient(90deg, transparent 0%, #000 31%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 31%, #000 100%); transition: opacity .6s ease, visibility .6s; }
.hero-work img.is-current { opacity: .9; visibility: visible; }
.hero-work::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-wall), transparent 47%), linear-gradient(0deg, var(--hero-wall) 0%, transparent 41%, color-mix(in srgb, var(--hero-wall) 20%, transparent)); }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; flex: 1; min-height: 630px; padding-top: calc(var(--header-height) + 3.5rem); padding-bottom: 2.7rem; }
.hero-copy { width: min(100%, 500px); }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: .75rem; color: #e0d5b7; font-size: .6rem; letter-spacing: .1em; }
.hero-copy > .eyebrow [lang] { flex: 0 0 auto; font: 1.2rem var(--serif); letter-spacing: .2em; }
.hero h1 { margin: 1.9rem 0 1.6rem; font-size: clamp(4.4rem, 7.2vw, 7.25rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: var(--hero-accent); font-weight: 400; }
.hero-intro { max-width: 30ch; font: clamp(1.35rem, 1.8vw, 1.7rem)/1.45 var(--serif); }
.hero-description { max-width: 37ch; margin-top: 1.25rem; color: var(--hero-muted); font-size: .85rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.7rem; min-height: 52px; padding: .75rem 1.2rem; border: 1px solid var(--olive); border-radius: 3px; color: #fcf9ef; background: var(--olive); font: .76rem/1.5 var(--sans); transition: background .2s, border-color .2s; }
.button:hover { background: #3c5136; text-decoration: none; }
.button > span { flex: 0 0 auto; font-size: 1.15rem; }
.hero .button { color: #263321; border-color: #ded6b5; background: #ded6b5; }
.hero .button:hover { border-color: #f1e6c4; background: #f1e6c4; }
.text-link { display: inline-flex; align-items: center; gap: .75rem; min-height: 44px; font: .74rem/1.5 var(--sans); text-decoration: underline; text-underline-offset: .35em; }
.small-note { margin-top: .85rem; color: var(--hero-muted); font-size: .66rem; }
.arrival-bar { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); align-items: center; gap: 2.5rem; padding-block: 1.3rem 2.3rem; border-top: 1px solid #cad1ac45; }
.arrival-views { display: flex; flex-wrap: wrap; gap: .4rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.arrival-views legend { width: 100%; margin-bottom: .65rem; padding: 0; color: #d5d8c4; font: .59rem/1.6 var(--sans); text-transform: uppercase; letter-spacing: .13em; }
.arrival-views button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: .5rem .65rem; border: 1px solid transparent; border-radius: 3px; color: #d4dbc6; background: #1b281c66; font: .67rem/1.4 var(--sans); }
.arrival-views button:hover { color: #fff3d6; background: #3b4b32; border-color: #a0aa8459; }
.arrival-views button[aria-pressed="true"] { color: #f6e8c5; border-color: #c9b989; background: #4c533899; }
.view-dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1px #fff3; background: #859472; }
.view-dot.dusk { background: #c08c56; }.view-dot.form { background: #dfdccb; }.view-dot.poems { background: #c6a350; }.view-dot.colour { background: #c98565; }
.arrival-label { min-width: 0; padding-left: 1.4rem; border-left: 1px solid #cad1ac45; }
#arrival-credit cite { display: block; font: 1rem/1.4 var(--serif); }
#arrival-credit > span { display: block; margin-top: .35rem; color: var(--hero-muted); font: .63rem/1.5 var(--sans); }
.arrival-label .text-link { margin-top: .25rem; color: #e3d4ac; font-size: .63rem; }
.hero[data-view="dusk"] { --hero-wall: #2b1c15; --hero-muted: #ddc7ae; --hero-accent: #efbb80; }
.hero[data-view="dusk"] .hero-work img { object-position: 63% 44%; }
.hero[data-view="form"] { --hero-wall: #252d25; --hero-muted: #d5d7c6; --hero-accent: #eee4c6; }
.hero[data-view="form"] .hero-work img { object-fit: contain; object-position: 80% 48%; }
.hero[data-view="poems"] { --hero-wall: #40331f; --hero-muted: #e3d1af; --hero-accent: #f0d59a; }
.hero[data-view="poems"] .hero-work img { object-position: 60% 50%; }
.hero[data-view="colour"] { --hero-wall: #24312a; --hero-muted: #ced7c3; --hero-accent: #eebf9d; }
.hero[data-view="colour"] .hero-work img { object-position: 58% 43%; }
body[data-motion="on"] .hero.is-visible .hero-atmosphere img { animation: foyer-light 29s ease-in-out infinite alternate; }
body[data-motion="on"] .hero.is-visible .hero-work img.is-current { animation: foyer-art 27s ease-in-out infinite alternate; }
body:has(.arrival-viewer[open]) .hero-work img,
body:has(.arrival-viewer[open]) .hero-atmosphere img { animation-play-state: paused; }
@keyframes foyer-light { from { transform: scale(1.13) translate(-.7%, .2%); } to { transform: scale(1.18) translate(.7%, -.4%); } }
@keyframes foyer-art { from { transform: scale(1.015) translate(0, 0); } to { transform: scale(1.045) translate(-.6%, -.35%); } }

/* A quiet threshold between the painted space and its purpose. */
.thought-line { display: flex; align-items: center; justify-content: center; gap: 2.5rem; padding-block: 2rem; color: var(--olive); font-size: .65rem; letter-spacing: .19em; }
.thought-line > span:not(.thought-dash) { display: flex; align-items: center; gap: 1rem; }
.thought-line [lang] { font: 1.2rem var(--serif); }
.thought-dash { width: 70px; height: 1px; background: #bdc7ac; }
.why-section { padding-block: 6rem 8rem; background: radial-gradient(ellipse at 22% 48%, #faf8ee, transparent 58%), #edeade; }
.why-inner { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.25fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.section-side > .eyebrow { margin-bottom: 2rem; color: var(--olive); }
.why-object { width: min(100%, 360px); }
.why-object > a { display: block; padding: .65rem; background: #22291f; box-shadow: 0 6px 12px #27302026, 0 25px 45px -17px #27302055; }
.why-object img { width: 100%; height: auto; }
.why-object figcaption { margin-top: 1.1rem; }
.why-object figcaption cite { display: block; font: 1.4rem/1.3 var(--serif); }
.why-object figcaption span { display: block; margin-top: .3rem; color: var(--muted); font: .7rem/1.6 var(--sans); }
.why-object figcaption a { display: inline-flex; align-items: center; min-height: 44px; color: var(--olive); font-size: .65rem; text-decoration: underline; text-underline-offset: .35em; }
.why-copy h2 { margin-bottom: 2rem; }
.why-copy h2 em { color: #65784e; }
.why-copy > p { margin-top: 1.3rem; color: var(--muted); font-size: .92rem; line-height: 1.9; }
.why-copy .large-copy { color: var(--ink); font: clamp(1.4rem, 2vw, 1.75rem)/1.5 var(--serif); }
.why-copy .why-signoff { margin-top: 2rem; color: var(--olive); font: italic 1.4rem/1.5 var(--serif); }

/* Doorways share a room, without turning the art into boxed cards. */
.shape-section { --focus: #e4c894; position: relative; padding-block: 7rem 5rem; color: #ede8d7; background: radial-gradient(ellipse at 70% 20%, #6d674333, transparent 60%), #1c2b22; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
.section-heading .eyebrow { margin-bottom: 1.15rem; }
.section-heading > p { max-width: 37ch; color: var(--muted); font-size: .86rem; line-height: 1.85; }
.shape-section .section-heading .eyebrow { color: #dbca9d; }
.shape-section .section-heading > p { color: #c2cdb7; }
.room-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3.7vw, 3.7rem); align-items: start; }
.room-card { display: block; min-width: 0; }
.room-card:hover { text-decoration: none; }
.room-card:nth-child(2) { padding-top: 3.5rem; }
.room-card:nth-child(3) { padding-top: 7rem; }
.room-image { position: relative; height: 360px; overflow: hidden; background: #121d15; box-shadow: 0 16px 35px -18px #0008; }
.room-card:nth-child(2) .room-image { height: 320px; }
.room-card:nth-child(3) .room-image { height: 265px; }
.room-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.room-card:hover .room-image img { transform: scale(1.025); }
.jar-image img { object-fit: contain; }
.room-image::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #13201699); pointer-events: none; }
.room-glyph { position: absolute; right: 1.2rem; bottom: .8rem; z-index: 1; color: #eee7d0; font: 2.25rem/1 var(--serif); text-shadow: 0 1px 8px #0007; }
.room-copy { padding: 1.6rem 0 1.4rem; border-bottom: 1px solid #9fae854d; }
.room-copy .eyebrow { color: #d8c997; font-size: .6rem; }
.room-copy h3 { display: flex; align-items: baseline; justify-content: space-between; gap: .65rem; margin: .7rem 0 .9rem; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.25; letter-spacing: -.035em; }
.room-copy h3 span { flex: 0 0 auto; color: #d8c997; font: 1rem var(--sans); }
.room-copy p { color: #c1ccb6; font-size: .77rem; line-height: 1.85; }
.shape-note { max-width: 86ch; margin-top: 2.7rem; color: #b9c6ad; font-size: .75rem; line-height: 1.9; }
.shape-note a { display: inline-flex; align-items: center; min-height: 44px; color: #e6d9b6; text-decoration: underline; text-underline-offset: .3em; }

.front-door { padding-block: 6rem; background: #f3efe4; }
.front-door h2 { font-size: clamp(2.4rem, 3.5vw, 3.3rem); }
.front-door .eyebrow { color: var(--olive); }
.front-door-paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.front-door-paths > a { position: relative; min-width: 0; padding: 1.8rem 1.8rem 1.5rem 0; }
.front-door-paths > a + a { padding-left: 1.8rem; border-left: 1px solid var(--line); }
.front-door-paths > a:hover { background: #dce3cd40; text-decoration: none; }
.path-number { color: var(--rust); font-size: .65rem; letter-spacing: .13em; }
.front-door-paths h3 { margin-top: .9rem; font-size: 1.85rem; letter-spacing: -.035em; line-height: 1.15; }
.front-door-paths p { max-width: 24ch; margin-top: .9rem; color: var(--muted); font-size: .76rem; line-height: 1.85; }
.path-arrow { display: block; margin-top: 1.3rem; color: var(--olive); font-size: 1.2rem; }

.one-work { --focus: #e4c894; position: relative; isolation: isolate; padding-block: 7.5rem; color: #f0ead8; background: #263b2e; }
.reading-atmosphere { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.reading-atmosphere img { width: 100%; height: 100%; object-fit: cover; opacity: .4; filter: blur(25px) saturate(.6); transform: scale(1.1); }
.reading-atmosphere::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #263b2e70, #263b2eed 80%), linear-gradient(0deg, #263b2e, transparent 40%, #263b2e80); }
.reading-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.reading-image img { width: 100%; height: auto; padding: 5px; background: #222a1c; box-shadow: 0 26px 55px -18px #0009; }
.reading-image > a { display: inline-flex; align-items: center; min-height: 44px; padding-block: .65rem; color: #cad2ba; font: .65rem/1.6 var(--sans); }
.reading-copy .eyebrow { color: #ddd0a7; }
.reading-copy h2 { margin: 1.5rem 0; font-size: clamp(3.2rem, 5.6vw, 5.3rem); line-height: 1; }
.reading-copy h2 em { color: #dbcca2; }
.reading-copy > p:not(.eyebrow) { max-width: 36ch; margin-top: 1rem; color: #d0d8c4; font-size: .87rem; line-height: 1.85; }
.reading-copy .reading-prompt { color: #e8dcb7 !important; font: italic 1.3rem/1.5 var(--serif) !important; }
.reading-copy .text-link { margin-top: 1.2rem; color: #e4d5ad; }
.reading-actions { display: flex; flex-direction: column; align-items: flex-start; }
.reading-actions .text-link + .text-link { margin-top: .25rem; }

/* Searching and choosing stay clear, calm, and ordinary to operate. */
.search-section { padding-block: 6rem; background: #eeeadc; border-bottom: 1px solid #d8d6c6; }
.search-section .section-heading { margin-bottom: 2.3rem; }
.search-section .eyebrow { color: var(--olive); }
.search-section h2 { font-size: clamp(2.5rem, 3.8vw, 3.6rem); }
#search-form { display: flex; align-items: stretch; gap: 1rem; max-width: 850px; border-bottom: 1px solid #5d7250; }
#q { width: 100%; min-width: 0; min-height: 64px; padding: .8rem 0; border: 0; border-radius: 0; color: var(--ink); background: transparent; font: 1.9rem/1.5 var(--serif); }
#q::placeholder { color: #76806b; }
#search-form > button { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; min-height: 52px; padding: .5rem .6rem; border: 0; color: var(--olive); background: transparent; font: .75rem/1.5 var(--sans); white-space: nowrap; }
#search-form > button span { font-size: 1.15rem; }
.search-suggestions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .85rem; color: var(--muted); font-size: .7rem; }
.search-suggestions button { min-width: 44px; min-height: 44px; padding: .4rem; border: 0; color: var(--olive); background: transparent; font-size: .75rem; text-decoration: underline; text-underline-offset: .35em; }
.search-suggestions a { display: inline-flex; align-items: center; min-height: 44px; margin-left: .4rem; text-decoration: underline; text-underline-offset: .3em; }
#search-status { margin-top: 1rem; color: var(--muted); font-size: .82rem; }
#search-status:empty { display: none; }
.search-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2rem; }
.search-results:empty { display: none; }
.result { min-width: 0; padding-bottom: 1.5rem; border-bottom: 1px solid #c8ceba; overflow-wrap: anywhere; }
.result img { width: 100%; height: 250px; padding: .75rem; object-fit: contain; background: #e0e1d2; }
.result h3 { margin-top: 1rem; font-size: 1.55rem; line-height: 1.25; }
.result p { margin-top: .5rem; color: var(--muted); font-size: .73rem; line-height: 1.8; }
.result a { display: inline-flex; align-items: center; min-height: 44px; color: var(--olive); font-size: .75rem; text-decoration: underline; text-underline-offset: .3em; }
.more-results { display: block; min-height: 48px; margin-top: 1.75rem; padding: .7rem 1.4rem; border: 1px solid var(--olive); border-radius: 2px; color: var(--olive); background: transparent; font-size: .8rem; }
.more-results:hover { background: #d9e0c7; }
.search-help { margin-top: 1rem; font-size: .8rem; }
.search-help a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }

.closing { --focus: #e4c894; position: relative; isolation: isolate; padding-block: 8rem; color: #f3e7cb; background: #3e3522; text-align: center; }
.closing-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.closing-art img { width: 100%; height: 100%; object-fit: cover; opacity: .4; filter: blur(3px) saturate(.7); }
.closing-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #3e3522e6, #3e35228c 45%, #3e3522d9), linear-gradient(0deg, #3e3522, transparent 70%); }
.closing .eyebrow { color: #e0c992; }
.closing h2 { margin: 1.5rem 0; font-size: clamp(2.6rem, 4.8vw, 4.5rem); line-height: 1.12; }
.closing .wrap > p:not(.eyebrow) { color: #e0d6bb; font: 1.35rem/1.5 var(--serif); }
.closing-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.2rem 1.8rem; margin-top: 2rem; }
.closing .button { color: #303720; border-color: #e3d6b1; background: #e3d6b1; }
.closing .button:hover { background: #f1e7ca; }
.closing .text-link { color: #e5d6ad; }
.site-footer { --focus: #e4c894; padding-block: 2.6rem 1.2rem; color: #e2e6d6; background: #17271f; border-top: 1px solid #8a96724d; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.site-footer .wordmark { font-size: .76rem; }
.footer-seal { color: #d4bd8c; font: 1.4rem var(--serif); letter-spacing: 0; }
.site-footer p { margin-top: .6rem; color: #bdc9b3; font-size: .75rem; line-height: 1.8; }
.site-footer nav { display: flex; justify-content: end; align-content: start; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .7rem; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1rem; border-top: 1px solid #83906a4d; color: #b7c6ad; font-size: .65rem; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }

/* Native full-work view: no crop, no forced motion, and an obvious exit. */
.arrival-viewer { --focus: #e4c894; position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 1rem clamp(1rem, 3vw, 3rem); border: 0; color: #f0e9d7; background: #151f17; color-scheme: dark; overflow: hidden; }
.arrival-viewer:not([open]) { display: none; }
.arrival-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: .75rem; }
.arrival-viewer::backdrop { background: #111b13ed; }
.viewer-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding-bottom: .6rem; border-bottom: 1px solid #89957466; }
.viewer-top p { font: .65rem/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.viewer-close { flex: 0 0 auto; min-height: 44px; padding: .6rem 1rem; border: 1px solid #899574; border-radius: 2px; color: inherit; background: transparent; font: .8rem/1.4 var(--sans); }
.viewer-close:hover { background: #3c4d30; }
#arrival-viewer-image { width: 100%; height: 100%; min-height: 0; max-height: 100%; padding-block: 1rem; object-fit: contain; }
.viewer-caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .3rem 1.5rem; padding-block: .6rem max(.6rem, env(safe-area-inset-bottom)); border-top: 1px solid #89957466; }
.viewer-caption h2 { font-size: clamp(1.05rem, 1.6vw, 1.45rem); line-height: 1.4; letter-spacing: 0; }
.viewer-caption p { grid-column: 1; color: #c4d0b8; font: .75rem/1.6 var(--sans); }
.viewer-caption a { grid-column: 2; grid-row: 1 / 3; align-self: center; display: inline-flex; align-items: center; min-height: 44px; color: #e4d3a9; font: .73rem/1.5 var(--sans); }

@media (min-width: 801px) {
  .hero[data-view="form"] .hero-work img[data-hero-scene="form"] { left: auto; right: 0; width: auto; max-width: none; height: 100%; object-position: center; mask-image: linear-gradient(90deg, transparent, #000 25%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%); }
}
@media (min-width: 1700px) {
  .hero-gallery { width: 74%; }
  .hero-inner { min-height: 760px; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .site-header { gap: 1rem; padding-inline: 2rem; }
  .header-actions { gap: .75rem; }
  .site-header nav { gap: 1rem; }
  .hero-copy { max-width: 440px; }
  .hero h1 { font-size: 5.4rem; }
  .hero-gallery { width: 83%; }
  .arrival-bar { grid-template-columns: minmax(0, 1fr) 240px; gap: 1.4rem; }
  .arrival-views { gap: .2rem; }
  .arrival-views button { padding-inline: .4rem; font-size: .64rem; }
  .why-inner { gap: 3.5rem; }
  .room-cards { gap: 1.5rem; }
  .room-image { height: 300px; }
  .room-card:nth-child(2) .room-image { height: 280px; }
  .room-card:nth-child(3) .room-image { height: 230px; }
  .room-copy h3 { font-size: 1.45rem; }
  .reading-inner { gap: 3rem; }
  .front-door-paths > a { padding-right: 1.2rem; }
  .front-door-paths > a + a { padding-left: 1.2rem; }
}
@media (max-width: 800px) {
  :root { --header-height: 108px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 1rem; min-height: var(--header-height); padding: .4rem 1.25rem; }
  .site-header .wordmark { grid-column: 1; grid-row: 1; font-size: .65rem; gap: .65rem; }
  .wordmark small { display: none; }
  .brand-mark { width: 27px; height: 32px; font-size: 2.25rem; }
  .header-actions { display: contents; }
  .motion-control { grid-column: 2; grid-row: 1; font-size: .68rem; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; width: 100%; gap: .6rem; font-size: .69rem; }
  .nav-explore { border-color: transparent; padding-inline: .15rem; }
  .hero { justify-content: start; min-height: 0; padding-top: var(--header-height); }
  .hero-inner { order: 1; flex: 0 0 auto; min-height: 0; padding-top: 2rem; padding-bottom: 1rem; }
  .hero-copy { width: 100%; max-width: 580px; }
  .hero-copy > .eyebrow { font-size: .57rem; letter-spacing: .06em; }
  .hero h1 { margin-block: 1.3rem 1.15rem; font-size: clamp(3.7rem, 10.5vw, 5.3rem); }
  .hero-intro { font-size: 1.38rem; }
  .hero-description { max-width: 40ch; margin-top: .9rem; font-size: .8rem; line-height: 1.75; }
  .hero-actions { gap: .5rem 1.1rem; margin-top: 1.1rem; }
  .hero-actions .button { min-height: 48px; padding: .7rem 1rem; font-size: .72rem; }
  .hero-actions .text-link { font-size: .68rem; }
  .small-note { margin-top: .5rem; font-size: .63rem; }
  .hero-gallery { position: relative; order: 2; inset: auto; z-index: 1; width: 100%; height: clamp(285px, 50vw, 450px); margin-top: -.5rem; mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); }
  .hero-work img { object-position: center 48%; mask-image: linear-gradient(180deg, transparent, #000 13%, #000 83%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 13%, #000 83%, transparent); }
  .hero-work img.is-current { opacity: 1; }
  .hero-work::after { background: linear-gradient(180deg, var(--hero-wall), transparent 22%, transparent 68%, var(--hero-wall)); }
  .hero[data-view="form"] .hero-work img { object-position: center; }
  .hero-atmosphere::after { background: linear-gradient(180deg, var(--hero-wall), color-mix(in srgb, var(--hero-wall) 75%, transparent) 38%, color-mix(in srgb, var(--hero-wall) 55%, transparent) 70%, var(--hero-wall)); }
  .arrival-bar { order: 3; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; margin-top: -.75rem; padding-block: 1rem 2rem; border: 0; }
  .arrival-views legend { margin-bottom: .5rem; }
  .arrival-views { gap: .3rem; }
  .arrival-views button { padding-inline: .6rem; font-size: .65rem; }
  .arrival-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0 0; border: 0; border-top: 1px solid #cad1ac45; }
  #arrival-credit { max-width: 65%; }
  #arrival-credit cite { font-size: .94rem; }
  .arrival-label .text-link { max-width: 125px; font-size: .6rem; }
  .thought-line { gap: .9rem; justify-content: space-between; padding-block: 1.5rem; font-size: .56rem; letter-spacing: .08em; }
  .thought-line > span:not(.thought-dash) { gap: .6rem; }
  .thought-dash { width: 27px; }
  .why-section { padding-block: 4.3rem; }
  .why-inner { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
  .section-side { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); align-items: center; gap: 1.5rem; }
  .section-side > .eyebrow { align-self: start; margin-top: .5rem; }
  .why-object { width: min(100%, 260px); justify-self: end; }
  .why-object > a { padding: .4rem; }
  .why-object figcaption cite { font-size: 1.2rem; }
  .why-object figcaption a { font-size: .59rem; }
  .why-copy h2 { font-size: clamp(2.4rem, 6vw, 3.5rem); margin-bottom: 1.4rem; }
  .why-copy > p { font-size: .87rem; }
  .why-copy .large-copy { font-size: 1.45rem; }
  .why-copy .why-signoff { font-size: 1.3rem; }
  .shape-section { padding-block: 4.3rem 3.3rem; }
  .section-heading { display: block; margin-bottom: 2rem; }
  .section-heading .eyebrow { margin-bottom: .8rem; }
  .section-heading > p { max-width: 46ch; margin-top: 1.2rem; font-size: .82rem; }
  .room-cards { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .room-card:nth-child(2), .room-card:nth-child(3) { padding-top: 0; }
  .room-image, .room-card:nth-child(2) .room-image { height: clamp(290px, 65vw, 450px); }
  .room-card:nth-child(3) .room-image { height: clamp(240px, 45vw, 330px); }
  .room-copy { padding-top: 1.2rem; }
  .room-copy h3 { font-size: 1.75rem; }
  .room-copy p { max-width: 52ch; font-size: .82rem; }
  .room-copy .eyebrow { font-size: .63rem; }
  .shape-note { margin-top: 1.8rem; }
  .front-door { padding-block: 4rem; }
  .front-door h2 { font-size: 2.5rem; }
  .front-door-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .front-door-paths > a { padding: 1.5rem 1.1rem 1.3rem 0; }
  .front-door-paths > a + a { padding-left: 1.1rem; }
  .front-door-paths > a:nth-child(3) { padding-left: 0; border-left: 0; }
  .front-door-paths > a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .front-door-paths h3 { font-size: 1.65rem; }
  .one-work { padding-block: 4rem; }
  .reading-inner { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .reading-copy h2 { font-size: 3.5rem; }
  .reading-copy > p:not(.eyebrow) { max-width: 52ch; }
  .search-section { padding-block: 4rem; }
  .search-section h2 { font-size: 2.6rem; }
  #q { font-size: 1.55rem; }
  .search-results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
  .result img { height: 210px; }
  .result h3 { font-size: 1.3rem; }
  .closing { padding-block: 5rem; }
  .closing h2 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
  .closing .wrap > p:not(.eyebrow) { font-size: 1.2rem; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .site-footer nav { justify-content: start; gap: .4rem 1.4rem; }
  .footer-bottom { align-items: start; flex-direction: column; gap: .5rem; }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { padding-inline: 1.1rem; }
  .site-header nav { font-size: .64rem; gap: .4rem; }
  .hero-copy > .eyebrow { gap: .5rem; font-size: .5rem; }
  .hero-copy > .eyebrow [lang] { font-size: 1rem; }
  .hero h1 { font-size: 3.65rem; }
  .hero-intro { font-size: 1.25rem; }
  .hero-description { font-size: .76rem; }
  .hero-actions { gap: .35rem .8rem; }
  .hero-actions .button { gap: .75rem; font-size: .68rem; padding-inline: .8rem; }
  .hero-actions .text-link { font-size: .62rem; gap: .45rem; }
  .hero-gallery { height: 280px; }
  .arrival-views button { padding-inline: .45rem; font-size: .61rem; }
  .view-dot { width: 7px; height: 7px; }
  .thought-line { gap: .4rem; font-size: .49rem; }
  .thought-line > span:not(.thought-dash) { gap: .3rem; }
  .thought-line [lang] { font-size: 1rem; }
  .thought-dash { width: 14px; }
  .why-copy h2 { font-size: 2.25rem; }
  .front-door-paths h3 { font-size: 1.5rem; }
  #search-form { gap: .4rem; }
  #q { font-size: 1.35rem; }
  #search-form > button { gap: .4rem; font-size: .69rem; padding-right: 0; }
  .search-suggestions { gap: .3rem .55rem; }
  .search-suggestions > a { flex-basis: 100%; margin-left: 0; }
  .search-results { grid-template-columns: minmax(0, 1fr); }
  .result img { height: 260px; }
  .viewer-caption { grid-template-columns: minmax(0, 1fr); }
  .viewer-caption a { grid-column: 1; grid-row: auto; font-size: .68rem; }
  .viewer-caption p { font-size: .69rem; }
  .viewer-top p { max-width: 23ch; font-size: .57rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .hero-atmosphere, .reading-atmosphere, .closing-art { display: none; }
  .site-header { color: CanvasText; background: Canvas; border-color: CanvasText; }
  .hero-gallery, .hero-work img, .hero[data-view="form"] .hero-work img[data-hero-scene="form"] { mask-image: none; -webkit-mask-image: none; }
  .button, .motion-control, .arrival-views button { border: 1px solid ButtonText; }
  .arrival-views button[aria-pressed="true"] { outline: 2px solid Highlight; }
}
@media print {
  .site-header, .hero-atmosphere, .hero-gallery, .reading-atmosphere, .closing-art, .arrival-views, .hero-actions, .small-note, .skip-link, .arrival-viewer { display: none !important; }
  body, .hero, .why-section, .shape-section, .one-work, .closing, .site-footer { color: #222; background: white; }
  .hero { min-height: 0; padding: 0; }
  .hero-inner { min-height: 0; padding-block: 2rem; }
  .wrap { width: 100%; }
  .hero h1 { font-size: 3rem; }
  .hero p, .hero em, .hero cite, .hero span, .hero a { color: #222; }
  .why-section, .shape-section, .front-door, .one-work, .search-section, .closing { padding-block: 2rem; }
  .room-card { break-inside: avoid; }
  .site-footer { border-top: 1px solid #555; }
}

/* A doorway into the five phases. */
.element-door{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(1rem,3vw,3rem);margin-top:2.5rem;padding:1.5rem 0;border-top:1px solid #9fae8555;border-bottom:1px solid #9fae8555;color:#eee7d0;text-decoration:none}.element-door:hover{background:#ffffff04;text-decoration:none}.element-door-glyph{font:clamp(2rem,4vw,3.5rem)/1.3 var(--serif);color:#d8c997}.element-door strong{display:block;margin:.55rem 0;font:400 clamp(1.4rem,2.3vw,2rem)/1.25 var(--serif)}.element-door .eyebrow{font-size:.6rem;color:#d8c997}.element-door-copy{display:block;max-width:65ch;color:#c1ccb6;font:.77rem/1.85 var(--sans)}.element-door-arrow{font-size:1.5rem;color:#d8c997}@media(max-width:400px){.element-door{grid-template-columns:minmax(0,1fr) auto;gap:.75rem}.element-door-glyph{grid-column:1/3}.element-door-arrow{align-self:center}}

/* A whole painting opens the looking notebook. */
.notebook-door { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: 3.5rem 2rem; }
.notebook-door figure { width: min(100%, 280px); justify-self: center; }
.notebook-art { display: block; padding: 5px; background: #121d15; box-shadow: 0 18px 38px -16px #0008; }
.notebook-art img { width: 100%; height: auto; object-fit: contain; }
.notebook-door figcaption a { display: inline-flex; align-items: center; min-height: 44px; padding-top: .5rem; color: #c1ccb6; font-size: .65rem; line-height: 1.65; }
.notebook-invitation .eyebrow { color: #d8c997; font-size: .62rem; }
.notebook-invitation h3 { margin-block: 1rem 1.4rem; font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.06; letter-spacing: -.035em; }
.notebook-invitation h3 em { color: #d8c997; }
.notebook-invitation > p:not(.eyebrow) { max-width: 42ch; margin-top: .9rem; color: #c1ccb6; font-size: .87rem; line-height: 1.85; }
.notebook-invitation .text-link { margin-top: 1.2rem; color: #eee0ba; }
@media (max-width: 600px) { .notebook-door { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding-top: 2.5rem; } .notebook-door figure { width: min(100%, 240px); } .notebook-invitation { max-width: 450px; } }
