/* The foyer is painted like a small panel: a wide quiet sky, one work held in the air above the horizon,
   a chequered floor that leads the eye in, a black frame with a thread of gold, and fine threads that come down and connect. */
@property --hero-sky { syntax: '<color>'; inherits: true; initial-value: #2b2441; }
@property --hero-sky-low { syntax: '<color>'; inherits: true; initial-value: #6e6191; }
@property --hero-glow { syntax: '<color>'; inherits: true; initial-value: #ddd2e2; }
@property --hero-wall { syntax: '<color>'; inherits: true; initial-value: #15121d; }
:root {
  --gesso: #f1ede5; --gesso-deep: #e7e2d8; --ink: #1d1b24; --muted: #57536a; --dusk: #4a3f66; --night: #15121d;
  --frame: #0c0b10; --gold: #c39b45; --gold-light: #ead08a; --vein: #9e1c2c; --cloud: #dcd9e1; --line: #d2ccd6;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .27 0 0 0 0 .24 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --serif: 'Iowan Old Style', 'Baskerville', 'Palatino Linotype', Georgia, 'Songti TC', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-height: 80px; --focus: #9e1c2c;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; color: var(--ink); background: var(--grain), var(--gesso); 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: var(--ink); background: #d8cfe4; }
.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(--gesso); 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: black frame, one gold line. */
.site-header { --focus: #ead08a; 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: #efeaf1; background: #121018e8; border-bottom: 1px solid #c39b4547; 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 #5f5672; color: #dcc180; font: italic 2.6rem/.8 var(--serif); letter-spacing: -.08em; }
.wordmark small { display: block; margin-top: .35rem; color: #c9c2d4; 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 #8f85a6; border-radius: 2px; }
.nav-explore:hover { border-color: #c39b45; background: #2a2438; 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: 2px; color: #ddd7e6; background: transparent; font: .72rem/1.4 var(--sans); white-space: nowrap; }
.motion-control:hover { border-color: #8f85a6; background: #2a2438; }
.motion-control[aria-pressed="true"] { border-color: #a58d5a; color: #f0e2bd; }

/* The sky takes its colour from the chosen work; the work hangs whole, framed, above the horizon. */
.hero { --hero-sky: #2b2441; --hero-sky-low: #6e6191; --hero-glow: #ddd2e2; --hero-wall: #15121d; --hero-ink: #f4f0e8; --hero-muted: #dcd6e5; --hero-accent: #ead08a; --horizon: 71%; --work-ratio: 1.112; --thread: 7rem; --floor-x: 62%; --frame-width: clamp(10px, 1.1vw, 16px); --focus: #ead08a;
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: max(100svh, 850px); color: var(--hero-ink);
  background: radial-gradient(110% 55% at 70% var(--horizon), var(--hero-glow), color-mix(in srgb, var(--hero-glow) 40%, transparent) 28%, transparent 62%), linear-gradient(180deg, var(--hero-sky) 0%, var(--hero-sky-low) calc(var(--horizon) - 4%), var(--hero-glow) var(--horizon), color-mix(in srgb, var(--hero-glow) 30%, var(--hero-wall)) calc(var(--horizon) + 1.5%), var(--hero-wall) calc(var(--horizon) + 10%), var(--hero-wall));
  transition: --hero-sky .9s ease, --hero-sky-low .9s ease, --hero-glow .9s ease, --hero-wall .9s ease; }
.hero-atmosphere { position: absolute; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
/* A painted cloud sky (textures.json) lies over the gradient; soft-light keeps each view's own colour. */
.hero-atmosphere::before { content: ''; position: absolute; inset: 0 -6% 22%; background: url("assets/welcome/foyer-clouds.jpg") 50% 0 / cover no-repeat; mix-blend-mode: soft-light; opacity: .75; mask-image: linear-gradient(180deg, #000 45%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent); }
.hero-atmosphere img { width: 100%; height: 100%; object-fit: cover; opacity: .42; filter: blur(40px) saturate(.9); mix-blend-mode: soft-light; 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) 62%, transparent) 36%, transparent 64%); }
.hero-floor { position: absolute; z-index: -2; left: -45%; right: -45%; bottom: 0; height: 130%; background: repeating-conic-gradient(#0d0b12 0 25%, #ddd7e3 0 50%) 50% 100% / 128px 128px; opacity: .5; transform: perspective(900px) rotateX(58deg); transform-origin: 50% 100%; mask-image: radial-gradient(24% 90% at var(--floor-x) 100%, #000 25%, transparent 100%), linear-gradient(180deg, transparent 8%, #000 58%); -webkit-mask-image: radial-gradient(24% 90% at var(--floor-x) 100%, #000 25%, transparent 100%), linear-gradient(180deg, transparent 8%, #000 58%); mask-composite: intersect; -webkit-mask-composite: source-in; pointer-events: none; }
.hero-gallery { position: absolute; z-index: -1; top: calc(var(--header-height) + 3rem); right: clamp(2rem, 7vw, 8rem); bottom: 13rem; width: min(42vw, 620px); display: grid; place-items: center; container-type: size; pointer-events: none; }
.hero-work { position: relative; width: min(calc(100cqw - 2 * var(--frame-width)), calc((100cqh - 2 * var(--frame-width)) * var(--work-ratio))); aspect-ratio: var(--work-ratio); background: var(--frame); box-shadow: 0 0 0 4px var(--frame), 0 0 0 5px #c39b45b3, 0 0 0 var(--frame-width) var(--frame), 0 0 0 calc(var(--frame-width) + 1px) #000, 0 50px 70px -28px #000d; }
.hero-work::before { content: ''; position: absolute; inset: -32%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--hero-accent) 24%, transparent), transparent); }
.hero-work::after { content: ''; position: absolute; top: calc(100% + var(--frame-width)); left: 50%; width: 64px; height: var(--thread); translate: -50% 0; background: linear-gradient(180deg, #eee9f3d9, #eee9f38c) 50% 0 / 1px calc(100% - 4px) no-repeat, radial-gradient(closest-side, #eee9f3b3, #eee9f333 60%, transparent) 50% 100% / 64px 9px no-repeat; }
.hero-work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero-work img.is-current { opacity: 1; visibility: visible; }
.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: #e6dcc0; 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(--dusk); border-radius: 2px; color: #faf7f1; background: var(--dusk); font: .76rem/1.5 var(--sans); transition: background .2s, border-color .2s, color .2s; }
.button:hover { background: #2f2843; text-decoration: none; }
.button > span { flex: 0 0 auto; font-size: 1.15rem; }
.hero .button { color: var(--ink); border-color: var(--gesso); background: var(--gesso); box-shadow: inset 0 0 0 3px var(--gesso), inset 0 0 0 4px #c39b4599; }
.hero .button:hover { border-color: var(--gold-light); background: var(--gold-light); box-shadow: inset 0 0 0 3px var(--gold-light), inset 0 0 0 4px #8a6a2a99; }
.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 #e7e1ef33; }
.arrival-bar::before { content: ''; position: absolute; inset: -3rem -100vw 0; z-index: -1; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--hero-wall) 88%, transparent) 42%); pointer-events: none; }
.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: #d9d3e2; 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: 2px; color: #dcd6e5; background: #15121d8c; font: .67rem/1.4 var(--sans); }
.arrival-views button:hover { color: #fff6dc; background: #2b2540; border-color: #a99cc459; }
.arrival-views button[aria-pressed="true"] { color: #f7ebc8; border-color: #c9ad6e; background: #2b2540d9; }
.view-dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1px #fff3; background: #b9b27a; }
.view-dot.dread { background: #a5876a; }.view-dot.elegy { background: #5f7aa0; }.view-dot.quiet { background: #b7a9b0; }.view-dot.tenderness { background: #8fbf8a; }
.arrival-label { min-width: 0; padding-left: 1.4rem; border-left: 1px solid #e7e1ef33; }
#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: #e9d9ad; font-size: .63rem; }
.arrival-label .text-link { display: flex; width: fit-content; }
.arrival-label .text-link + .text-link { margin-top: 0; }
.hero[data-view="longing"] { --hero-sky: #1c211d; --hero-sky-low: #56604f; --hero-glow: #d9d8c2; --hero-wall: #111410; --hero-muted: #d9dccd; --hero-accent: #d8c98f; }
.hero[data-view="dread"] { --hero-sky: #1b1715; --hero-sky-low: #4f443a; --hero-glow: #cdbfa5; --hero-wall: #100d0b; --hero-muted: #ddd3c4; --hero-accent: #d9b98a; --work-ratio: .712; --thread: 4.5rem; }
.hero[data-view="elegy"] { --hero-sky: #10141c; --hero-sky-low: #2e3a4a; --hero-glow: #c9a37a; --hero-wall: #0b0d12; --hero-muted: #d6d9e0; --hero-accent: #e0b07d; --work-ratio: 1.656; --thread: 10rem; }
.hero[data-view="quiet"] { --hero-sky: #1d1a1e; --hero-sky-low: #5a5157; --hero-glow: #ddd5d6; --hero-wall: #121013; --hero-muted: #dcd5d8; --hero-accent: #e3d7d3; --work-ratio: 1.253; }
.hero[data-view="tenderness"] { --hero-sky: #172220; --hero-sky-low: #4f6f62; --hero-glow: #e6edcf; --hero-wall: #0f1513; --hero-muted: #d8e3da; --hero-accent: #eadc8f; --work-ratio: 1.262; }
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-atmosphere::before { animation: foyer-clouds 70s ease-in-out infinite alternate; }
body[data-motion="on"] .hero.is-visible .hero-work { animation: foyer-hover 11s ease-in-out infinite alternate; }
body[data-motion="on"] .hero.is-visible .hero-work::after { animation: foyer-thread 6s ease-in-out infinite alternate; }
body:has(.arrival-viewer[open]) .hero-work,
body:has(.arrival-viewer[open]) .hero-work::after,
body:has(.arrival-viewer[open]) .hero-atmosphere::before,
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-clouds { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
@keyframes foyer-hover { from { transform: translateY(-7px); } to { transform: translateY(5px); } }
@keyframes foyer-thread { from { opacity: .55; } to { opacity: 1; } }

/* A quiet threshold between the painted space and its purpose; the dashes are a little floor. */
.thought-line { display: flex; align-items: center; justify-content: center; gap: 2.5rem; padding-block: 2rem; color: var(--dusk); 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: 72px; height: 8px; background: repeating-conic-gradient(var(--ink) 0 25%, transparent 0 50%) 0 0 / 8px 8px; opacity: .55; }
.why-section { padding-block: 6rem 8rem; background: radial-gradient(ellipse at 22% 48%, #fbf9f4, transparent 58%), url("assets/welcome/foyer-gesso.jpg") 50% 50% / cover, var(--gesso-deep); }
.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(--dusk); }
.why-object { width: min(100%, 360px); }
.why-object > a { display: block; padding: .75rem; background: var(--frame); box-shadow: 0 6px 12px #1d1b2426, 0 25px 45px -17px #1d1b2466; }
.why-object img { width: 100%; height: auto; box-shadow: 0 0 0 4px var(--frame), 0 0 0 5px #c39b45a6; }
.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(--dusk); font-size: .65rem; text-decoration: underline; text-underline-offset: .35em; }
.why-copy h2 { margin-bottom: 2rem; }
.why-copy h2 em { color: var(--vein); }
.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 .text-link { color: var(--dusk); }
.why-copy .why-signoff { margin-top: 2rem; color: var(--dusk); font: italic 1.4rem/1.5 var(--serif); }

/* Doorways hang in a night room, each work framed in black with a line of gold. */
/* Inside us: six states of mind hang as small framed works on a dusk wall, each a door into a feeling. */
.inner-section { --focus: #ead08a; position: relative; padding-block: 7rem 6rem; color: #efe9f1; background: radial-gradient(ellipse at 18% 0%, #4a3f6659, transparent 55%), linear-gradient(180deg, #1d1926, #15121d); }
.inner-section .section-heading > p { color: #cfc8da; }
.inner-section .eyebrow { color: #d8c68f; }
.inner-works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem clamp(1.5rem, 3vw, 3rem); margin: 0; padding: 0; list-style: none; }
.inner-art { display: flex; align-items: center; justify-content: center; height: 320px; padding: 16px; background: var(--frame); box-shadow: 0 0 0 1px #000, 0 18px 40px -20px #000c; }
.inner-art img { width: auto; height: auto; max-width: 100%; max-height: 100%; box-shadow: 0 0 0 3px var(--frame), 0 0 0 4px #c39b4599; transition: transform .5s ease; }
.inner-art:hover img { transform: scale(1.02); }
.inner-work > .eyebrow { margin-top: 1.4rem; }
.inner-work h3 { margin-top: .35rem; font-size: 1.35rem; line-height: 1.25; }
.inner-work cite { font-style: normal; }
.inner-maker { margin-top: .2rem; color: #b9b1c7; font-size: .66rem; }
.inner-maker a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .3em; }
.inner-line { color: #e3dcea; font: italic 1rem/1.55 var(--serif); }
.inner-work .text-link { margin-top: .5rem; color: #e9d9ad; font-size: .66rem; }
.inner-note { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid #e7e1ef26; color: #bfb7cc; font-size: .78rem; line-height: 1.8; }
.inner-note a { display: inline-flex; align-items: center; min-height: 44px; color: #e9d9ad; text-decoration: underline; text-underline-offset: .3em; }

.shape-section { --focus: #ead08a; position: relative; isolation: isolate; padding-block: 7rem 5rem; color: #eee9f2;
  background: radial-gradient(ellipse at 70% 0%, #5b4d7d4d, transparent 60%), linear-gradient(180deg, #14111c, #1e192a 70%, #262033); }
/* A painted night sky (textures.json) fades out above the rooms. */
.shape-section::before { content: ''; position: absolute; inset: 0 0 auto; z-index: -1; height: min(100%, 62vw); background: url("assets/welcome/foyer-night.jpg") 50% 0 / cover no-repeat; opacity: .7; mask-image: linear-gradient(180deg, #000 35%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent); pointer-events: none; }
.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: #e0c88c; }
.shape-section .section-heading > p { color: #cbc4d8; }
.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; padding: 10px; overflow: hidden; background: var(--frame); box-shadow: 0 0 0 1px #000, 0 16px 35px -18px #000a; }
.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; box-shadow: 0 0 0 3px var(--frame), 0 0 0 4px #c39b4599; 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% 10px 10px; background: linear-gradient(transparent, #0c0b1099); pointer-events: none; }
.room-glyph { position: absolute; right: 1.5rem; bottom: 1.1rem; z-index: 1; color: #ecd595; background: linear-gradient(160deg, #f6e7b0, #c9a14a 42%, #8d6b2b 68%, #ebd38c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font: 2.25rem/1 var(--serif); filter: drop-shadow(0 1px 6px #000b); }
.room-copy { padding: 1.6rem 0 1.4rem; border-bottom: 1px solid #a99cc44d; }
.room-copy .eyebrow { color: #e0c88c; 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: #e0c88c; font: 1rem var(--sans); }
.room-copy p { color: #c9c2d6; font-size: .77rem; line-height: 1.85; }
.shape-note { max-width: 86ch; margin-top: 2.7rem; color: #c3bcd0; font-size: .75rem; line-height: 1.9; }
.shape-note a { display: inline-flex; align-items: center; min-height: 44px; color: #ecdcb4; text-decoration: underline; text-underline-offset: .3em; }

/* Four ways in, along a strip of floor. */
.front-door { padding-block: 6rem; background: var(--grain), var(--gesso); }
.front-door h2 { font-size: clamp(2.4rem, 3.5vw, 3.3rem); }
.front-door .eyebrow { color: var(--dusk); }
.front-door-paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 8px; border-bottom: 1px solid var(--line); background: repeating-conic-gradient(#1d1b248c 0 25%, transparent 0 50%) 0 0 / 8px 8px repeat-x; }
.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: #ddd6e866; text-decoration: none; }
.path-number { color: var(--vein); 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(--dusk); font-size: 1.2rem; }

/* One work under a pale, clouded day sky, the way a painting is first met. */
.one-work { position: relative; isolation: isolate; padding-block: 7.5rem; color: var(--ink); background: radial-gradient(50% 9% at 30% 16%, #ffffff8c, transparent 72%), radial-gradient(40% 8% at 78% 30%, #ffffff73, transparent 72%), linear-gradient(180deg, #bfc1d2 0%, #dddce5 52%, #ebe8e6 82%, #d6d2c3 100%); }
.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: .26; filter: blur(30px) saturate(.7); mix-blend-mode: multiply; transform: scale(1.1); }
.reading-atmosphere::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 30%, #e7e5ebd9 72%); }
.reading-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
/* The reading work is an upright page; it keeps to a held size rather than filling the column. */
.reading-image { justify-self: end; width: min(100%, 30rem); padding: 14px; }
.reading-image img { width: 100%; height: auto; box-shadow: 0 0 0 4px var(--frame), 0 0 0 5px #c39b45a6, 0 0 0 14px var(--frame), 0 34px 55px -20px #1d1b2499; }
.reading-image > a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; padding-block: .65rem; color: var(--muted); font: .65rem/1.6 var(--sans); }
.reading-copy .eyebrow { color: var(--dusk); }
.reading-copy h2 { margin: 1.5rem 0; font-size: clamp(3.2rem, 5.6vw, 5.3rem); line-height: 1; }
.reading-copy h2 em { color: var(--vein); }
.reading-copy > p:not(.eyebrow) { max-width: 36ch; margin-top: 1rem; color: #47445a; font-size: .87rem; line-height: 1.85; }
.reading-copy .reading-prompt { color: var(--dusk) !important; font: italic 1.3rem/1.5 var(--serif) !important; }
.reading-copy .text-link { margin-top: 1.2rem; color: var(--dusk); }
.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: var(--grain), var(--gesso-deep); border-bottom: 1px solid #d6d0d9; }
.search-section .section-heading { margin-bottom: 2.3rem; }
.search-section .eyebrow { color: var(--dusk); }
.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 var(--ink); }
#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: #77728a; }
#search-form > button { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; min-height: 52px; padding: .5rem .6rem; border: 0; color: var(--dusk); 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(--dusk); 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 #cbc5cf; overflow-wrap: anywhere; }
.result img { width: 100%; height: 250px; padding: .75rem; object-fit: contain; background: #dedbe3; }
.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(--dusk); 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(--dusk); border-radius: 2px; color: var(--dusk); background: transparent; font-size: .8rem; }
.more-results:hover { background: #ddd6e8; }
.search-help { margin-top: 1rem; font-size: .8rem; }
.search-help a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }

/* The last room is night again, under a gilded halo punched like an icon's. */
.closing { --focus: #ead08a; position: relative; isolation: isolate; overflow: hidden; padding-block: 8rem; color: #f2ede5; background: radial-gradient(ellipse at 50% 100%, #3b3152, transparent 65%), linear-gradient(180deg, #14111b, #221c30); text-align: center; }
.closing-halo { position: relative; width: 104px; aspect-ratio: 1; margin: 0 auto 2.6rem; border-radius: 50%; background: radial-gradient(closest-side, #e8cd8a3d, #c39b4512 70%, transparent); }
.closing-halo::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(#e2c67e 0 2deg, transparent 2deg 9deg); mask-image: radial-gradient(closest-side, transparent 86%, #000 87% 94%, transparent 95%); -webkit-mask-image: radial-gradient(closest-side, transparent 86%, #000 87% 94%, transparent 95%); opacity: .8; }
.closing-halo::after { content: ''; position: absolute; top: 100%; left: 50%; width: 1px; height: 2.1rem; background: linear-gradient(180deg, #e2c67ecc, transparent); }
.closing-halo svg { position: absolute; inset: 22%; width: 56%; height: 56%; overflow: visible; fill: none; stroke: #e6cc86; stroke-width: 2.2; stroke-linecap: round; }
.closing-halo .pupil { fill: #e6cc86; stroke: none; }
.closing-art { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.closing-art img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: blur(4px) saturate(.6); }
.closing-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #14111be6, #14111b8c 45%, #14111bd9), linear-gradient(0deg, #221c30, transparent 70%); }
.closing .eyebrow { color: #e3c98c; }
.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: #ddd6e4; 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: var(--ink); border-color: var(--gesso); background: var(--gesso); box-shadow: inset 0 0 0 3px var(--gesso), inset 0 0 0 4px #c39b4599; }
.closing .button:hover { border-color: var(--gold-light); background: var(--gold-light); box-shadow: inset 0 0 0 3px var(--gold-light), inset 0 0 0 4px #8a6a2a99; }
.closing .text-link { color: #ecdcb4; }
.site-footer { --focus: #ead08a; position: relative; padding-block: calc(2.6rem + 12px) 1.2rem; color: #e6e1ec; background: var(--frame); }
.site-footer::before { content: ''; position: absolute; inset: 0 0 auto; height: 12px; background: repeating-conic-gradient(var(--frame) 0 25%, #e9e5ec 0 50%) 0 0 / 12px 12px; opacity: .55; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.site-footer .wordmark { font-size: .76rem; }
.footer-seal { color: #dcc180; font: 1.4rem var(--serif); letter-spacing: 0; }
.site-footer p { margin-top: .6rem; color: #c3bccf; font-size: .75rem; line-height: 1.8; }
.footer-palette { max-width: 46ch; }
.footer-palette a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: #e6cf92; text-decoration: underline; text-underline-offset: .3em; }
.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 #c39b4533; color: #bdb6c9; 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: #ead08a; 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: #f1ece4; background: #121018; 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: #0c0b10ed; }
.viewer-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding-bottom: .6rem; border-bottom: 1px solid #6e648a66; }
.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 #8f85a6; border-radius: 2px; color: inherit; background: transparent; font: .8rem/1.4 var(--sans); }
.viewer-close:hover { background: #2a2438; }
#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 #6e648a66; }
.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: #cdc6da; 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: #e9d7a8; font: .73rem/1.5 var(--sans); }

@media (min-width: 1700px) {
  .hero-gallery { width: min(40vw, 760px); }
  .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 { right: 2rem; width: 44vw; }
  .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; }
  .inner-works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .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 { --horizon: 74%; 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: calc(100% - 40px); height: clamp(285px, 62vw, 450px); margin: 1.5rem auto 3.5rem; }
  .hero { --floor-x: 50%; }
  .hero-work::after { height: 3.5rem; }
  .hero-atmosphere::after { background: linear-gradient(180deg, var(--hero-wall), color-mix(in srgb, var(--hero-wall) 55%, transparent) 34%, transparent 62%); }
  .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; flex-wrap: wrap; align-items: center; column-gap: 1.4rem; padding: 1rem 0 0; border: 0; border-top: 1px solid #e7e1ef33; }
  #arrival-credit { flex: 1 0 100%; margin-bottom: .2rem; }
  #arrival-credit cite { font-size: .94rem; }
  .arrival-label .text-link { font-size: .6rem; }
  .arrival-label .text-link + .text-link { margin-top: .25rem; }
  .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: 24px; }
  .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: .5rem; }
  .why-object img { box-shadow: 0 0 0 3px var(--frame), 0 0 0 4px #c39b45a6; }
  .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; }
  .inner-section { padding-block: 5rem 4.5rem; }
  .inner-works { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .inner-art { height: clamp(260px, 72vw, 420px); }
  .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-atmosphere::after { background: linear-gradient(180deg, transparent 30%, #e7e5ebcc 62%); }
  .reading-inner { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .reading-image { justify-self: center; width: min(100%, 24rem); padding: 10px; }
  .reading-image img { box-shadow: 0 0 0 3px var(--frame), 0 0 0 4px #c39b45a6, 0 0 0 10px var(--frame), 0 26px 44px -20px #1d1b2499; }
  .reading-image > a { margin-top: 10px; }
  .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-halo { width: 88px; margin-bottom: 2.2rem; }
  .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 { width: calc(100% - 36px); 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: 16px; }
  .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, .hero-floor, .reading-atmosphere, .closing-art, .closing-halo, .site-footer::before, .hero-work::before, .hero-work::after, .shape-section::before { display: none; }
  .site-header { color: CanvasText; background: Canvas; border-color: CanvasText; }
  .room-glyph { background: none; -webkit-text-fill-color: CanvasText; color: CanvasText; filter: none; }
  .front-door-paths { background: none; border-top: 1px solid CanvasText; }
  .thought-dash { background: CanvasText; height: 1px; }
  .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-floor, .hero-gallery, .reading-atmosphere, .closing-art, .closing-halo, .shape-section::before, .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; }
  .site-footer::before { display: none; }
}

/* 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 #a99cc455;border-bottom:1px solid #a99cc455;color:#eee9f2;text-decoration:none}.element-door:hover{background:#ffffff05;text-decoration:none}.element-door-glyph{font:clamp(2rem,4vw,3.5rem)/1.3 var(--serif);color:#e0c88c}.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:#e0c88c}.element-door-copy{display:block;max-width:65ch;color:#c9c2d6;font:.77rem/1.85 var(--sans)}.element-door-arrow{font-size:1.5rem;color:#e0c88c}@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: 10px; background: var(--frame); box-shadow: 0 0 0 1px #000, 0 18px 38px -16px #000a; }
.notebook-art img { width: 100%; height: auto; object-fit: contain; box-shadow: 0 0 0 3px var(--frame), 0 0 0 4px #c39b4599; }
.notebook-door figcaption a { display: inline-flex; align-items: center; min-height: 44px; padding-top: .5rem; color: #c9c2d6; font-size: .65rem; line-height: 1.65; }
.notebook-invitation .eyebrow { color: #e0c88c; 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: #e0c88c; }
.notebook-invitation > p:not(.eyebrow) { max-width: 42ch; margin-top: .9rem; color: #c9c2d6; font-size: .87rem; line-height: 1.85; }
.notebook-invitation .text-link { margin-top: 1.2rem; color: #efe0bb; }
@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; } }
