/* TakePoint Creations. Black glass, gold, and warm stone. Zodiak for the voice, Switzer for the detail. */
@font-face { font-family: Zodiak; src: url(assets/fonts/Zodiak-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Zodiak; src: url(assets/fonts/Zodiak-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Zodiak; src: url(assets/fonts/Zodiak-Extrabold.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: Switzer; src: url(assets/fonts/Switzer-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Switzer; src: url(assets/fonts/Switzer-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Switzer; src: url(assets/fonts/Switzer-Semibold.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --onyx: #0d0c0b; --ink: #181512; --walnut: #2c221a; --umber: #4b3a2c;
  --stone-50: #f1ece2; --stone-100: #e6dfd2; --stone-200: #d6cdbd; --stone-300: #b9b0a2; --stone-500: #8a8174;
  --gold: #c9a04a; --gold-ink: #735419;
  --display: Zodiak, 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --text: Switzer, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gut: clamp(20px, 4.4vw, 68px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.loading { overflow: hidden; }
body { margin: 0; background: var(--stone-300); color: var(--ink); font: 400 1.0625rem/1.55 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { width: min(1280px, 100% - 2 * var(--gut)); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 22px; border-radius: 3px; background: var(--onyx); color: var(--stone-50);
  font: 600 .95rem/1 var(--text); text-decoration: none; transition: background .25s, color .25s, transform .25s var(--ease); }
.btn:hover { background: var(--umber); }
.btn:active { transform: translateY(1px); }

/* ---------- loader ---------- */
#loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--stone-100); transition: opacity .8s var(--ease), visibility 0s .8s; }
.loader-in { display: grid; gap: 18px; justify-items: center; }
#loader .name { font: 700 clamp(1.35rem, 3.2vw, 2rem)/1 var(--display); letter-spacing: -.01em; }
#loader .bar { width: min(260px, 58vw); height: 2px; background: var(--stone-300); overflow: hidden; }
#loader .bar i { display: block; height: 100%; background: var(--gold-ink); transform: scaleX(0); transform-origin: left; transition: transform .35s linear; }
#loader .num { font: 500 .8125rem/1 var(--text); color: var(--umber); font-variant-numeric: tabular-nums; }
html.ready #loader { opacity: 0; visibility: hidden; }
html.static #loader { display: none; }

/* ---------- the stage: two rooms, one black cut between them ---------- */
#stage { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; background: var(--stone-300); overflow: hidden; }
#stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#c-hall { visibility: hidden; }
#veil { position: absolute; inset: 0; background: #0b0a09; opacity: 0; pointer-events: none; }
html.static #stage { display: none; }

/* ---------- nav ---------- */
#nav { position: fixed; z-index: 20; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gut) 14px; color: var(--nav, var(--ink)); transition: color .4s; }
#nav[data-tone="light"] { --nav: var(--stone-50); }
#nav { transition: color .4s, transform .5s var(--ease); }
#nav.away { transform: translateY(-110%); }
/* in the hall the nav sits on a soft band of wall color, so it reads over sky, beam and plaster alike */
#nav::before { content: ''; position: absolute; inset: 0 0 -26px 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: linear-gradient(rgba(230, 223, 210, .92), rgba(230, 223, 210, .7) 55%, rgba(230, 223, 210, 0)); }
html.hall #nav::before { opacity: 1; }
.brand { font: 700 1.2rem/1 var(--display); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand span { font-weight: 400; }
#nav nav { display: flex; gap: clamp(18px, 2.4vw, 34px); margin-left: auto; }
#nav nav a { font: 500 .9375rem/1 var(--text); text-decoration: none; padding: 8px 0; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .35s var(--ease); }
#nav nav a:hover { background-size: 100% 1px; }
.btn-nav { min-height: 40px; padding: 10px 18px; }
#nav[data-tone="light"] .btn-nav { background: var(--stone-50); color: var(--onyx); }
@media (max-width: 860px) { #nav nav { display: none; } }

main { position: relative; z-index: 1; }

/* ---------- hero ---------- */
/* the hero stays put while the page scrolls through the dive: its words fade where they stand, they never ride up into the halo */
.hero { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 540px; display: grid; align-items: end; padding: 0 var(--gut) clamp(96px, 14vh, 136px); }
.hero .still { display: none; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2.2vw, 30px); max-width: 46%; will-change: transform, opacity; }
.hero h1 { font: 700 clamp(2.9rem, 7vw, 7rem)/.94 var(--display); letter-spacing: -.024em; max-width: 9.5ch; text-wrap: balance; }
.hero p { max-width: 34ch; font-size: clamp(1rem, 1.22vw, 1.2rem); line-height: 1.5; }
.cue { position: absolute; left: 50%; bottom: clamp(20px, 3.6vh, 36px); transform: translateX(-50%); display: grid; justify-items: center; gap: 10px;
  font: 500 .875rem/1 var(--text); text-decoration: none; padding: 6px 10px; }
.cue i { width: 1px; height: 34px; background: currentColor; transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
/* beside the halo, not under it: on a wide screen the cue joins the column of words */
@media (min-width: 761px) { .cue { left: var(--gut); transform: none; justify-items: start; padding-left: 0; } }
@media (max-width: 760px) {
  .hero { padding-bottom: 110px; }
  .hero-copy { max-width: none; gap: 14px; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .hero p { max-width: 30ch; }
}

/* ---------- the dive and the gallery ---------- */
.enter { height: 150vh; height: 150lvh; }
.gallery { position: relative; }
.gallery-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; pointer-events: none; color: var(--stone-50); }
.gallery-title { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(48px, 13vh, 130px); opacity: 0; text-shadow: 0 2px 36px rgba(0, 0, 0, .5); will-change: transform, opacity; }
.gallery-title h1, .gallery-title h2 { font: 700 clamp(2.8rem, 8vw, 7rem)/.95 var(--display); letter-spacing: -.022em; }
.gallery-title p { margin-top: 14px; max-width: 30ch; font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.plate-card { position: absolute; left: var(--gut); bottom: clamp(22px, 7vh, 76px); width: min(360px, 100% - 2 * var(--gut)); padding: 22px 24px 20px; background: rgba(13, 12, 11, .92); border-top: 2px solid var(--gold);
  opacity: 0; pointer-events: none; will-change: transform, opacity; }
.plate-card.on { pointer-events: auto; }
@media (min-width: 761px) { .plate-card.flip { left: auto; right: var(--gut); } }
.plate-card .still { display: none; }
.plate-card .kind { font: 500 .8125rem/1.2 var(--text); color: var(--gold); }
.plate-card h2, .plate-card h3 { font: 700 clamp(1.7rem, 2.4vw, 2.1rem)/1.05 var(--display); letter-spacing: -.012em; margin: 8px 0 8px; }
.plate-card .line { color: var(--stone-200); max-width: 28ch; }
.plate-card .btn { margin: 18px 0 14px; background: var(--gold); color: var(--onyx); }
.plate-card .btn:hover { background: var(--stone-50); }
.fine { font-size: .8125rem; line-height: 1.45; color: var(--stone-500); }
.gallery-count { position: absolute; right: var(--gut); top: calc(72px + env(safe-area-inset-top, 0px)); font: 500 .875rem/1 var(--text); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .4s; text-shadow: 0 1px 18px rgba(0, 0, 0, .55); }
html.in-gallery .gallery-count { opacity: 1; }
@media (max-width: 760px) {
  .plate-card { left: 14px; right: 14px; width: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); padding: 18px 18px 14px; }
  .gallery-count { top: calc(64px + env(safe-area-inset-top, 0px)); }
}

/* ---------- the rest of the page ---------- */
.band { position: relative; padding: clamp(88px, 13vw, 196px) 0; background: var(--stone-100); }
.band h2 { font: 700 clamp(2.4rem, 6.4vw, 5.8rem)/.98 var(--display); letter-spacing: -.022em; text-wrap: balance; }
.band h3 { font: 700 1.35rem/1.15 var(--display); letter-spacing: -.008em; }
html.live [data-rise] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
html.live [data-rise].seen { opacity: 1; transform: none; }

.studio .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: clamp(48px, 7vw, 104px); align-items: end; }
.studio h2 { grid-column: 1 / span 7; }
.studio-body { grid-column: 8 / span 5; display: grid; gap: 14px; padding-bottom: .6rem; }
.lede { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.42; }
.tenets { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); }
.tenets li { border-top: 1px solid rgba(24, 21, 18, .28); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.tenets p { max-width: 34ch; }

.process { background: var(--stone-200); }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); margin-top: clamp(48px, 7vw, 104px); }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; border-top: 1px solid rgba(24, 21, 18, .28); padding-top: 18px; }
.steps li::before { content: counter(step); font: 400 clamp(3rem, 5vw, 4.6rem)/.9 var(--display); color: var(--gold-ink); margin-bottom: 18px; }

.commission { background: var(--onyx); color: var(--stone-50); }
.commission h3 { color: var(--gold); font-size: 1.6rem; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 104px); }
.tiers article { display: grid; gap: 12px; align-content: start; padding: 24px clamp(16px, 2.4vw, 36px) 8px 0; border-top: 1px solid rgba(241, 236, 226, .22); }
.tiers article + article { padding-left: clamp(16px, 2.4vw, 36px); border-left: 1px solid rgba(241, 236, 226, .22); }
.tiers p, .more p { color: var(--stone-200); max-width: 34ch; }
.quote-note { margin-top: 40px; font-weight: 500; }
.more { margin-top: clamp(56px, 8vw, 112px); padding-top: 26px; border-top: 1px solid rgba(241, 236, 226, .22); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(16px, 2vw, 28px); }
.more h3 { color: var(--stone-50); font-size: 1.35rem; }
.more p { max-width: 46ch; }

.contact .wrap { display: grid; gap: 26px; justify-items: start; }
.contact p { max-width: 40ch; font-size: clamp(1.1rem, 1.4vw, 1.3rem); }
.mail { text-underline-offset: 3px; }
.btn-big { min-height: 58px; padding: 18px 32px; font-size: 1.05rem; }

footer { position: relative; z-index: 1; background: var(--onyx); color: var(--stone-300); padding: 56px 0 calc(48px + env(safe-area-inset-bottom, 0px)); }
footer .wrap { display: grid; gap: 8px; }
.foot-name { font: 700 1.4rem/1 var(--display); color: var(--stone-50); margin-bottom: 6px; }
footer .fine { max-width: 62ch; }

@media (max-width: 860px) {
  .studio h2, .studio-body { grid-column: 1 / -1; }
  .tenets, .steps, .tiers, .more { grid-template-columns: 1fr; }
  .tenets li + li, .steps li + li { margin-top: 30px; }
  .steps li { grid-template-columns: 3.2rem 1fr; column-gap: 10px; }
  .steps li::before { grid-row: 1 / span 2; margin: 0; font-size: 3rem; }
  .steps li h3, .steps li p { grid-column: 2; }
  .tiers article, .tiers article + article { padding: 22px 0 26px; border-left: 0; }
}

/* ---------- still version: reduced motion, or no 3D available ---------- */
html.static body { background: var(--stone-100); }
html.static .hero { position: static; height: auto; min-height: 0; padding-top: calc(72px + env(safe-area-inset-top, 0px)); padding-bottom: 56px; display: block; }
html.static .hero .still { display: block; width: 100%; height: auto; margin-bottom: 36px; }
html.static .cue i { animation: none; }
html.static .cue { position: static; transform: none; margin-top: 28px; justify-items: start; padding-left: 0; }
html.static .enter { display: none; }
html.static .gallery { height: auto; padding: 72px var(--gut); background: var(--onyx); }
html.static .gallery-pin { position: static; height: auto; overflow: visible; pointer-events: auto; display: grid; gap: 56px; }
html.static .gallery-title { position: static; opacity: 1; text-shadow: none; }
html.static .plate-card { position: static; width: auto; opacity: 1 !important; transform: none !important; visibility: visible !important; pointer-events: auto; padding: 0; background: none; border: 0; display: grid; gap: 18px; }
html.static .plate-card .still { display: block; width: 100%; height: auto; }
html.static .gallery-count { display: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition-duration: .01ms !important; } }

/* ================= version 6: two doors, two halls, and the frame a work opens in ================= */
.kicker { font: 500 .9375rem/1.2 var(--text); color: var(--gold); }
.band .kicker { color: var(--gold-ink); }
.hall-end .kicker { color: var(--gold); }

/* a hall's length is set on the page, in screens, by how many works hang in it */
.gallery { height: calc(100vh + var(--run, 520) * 1vh); height: calc(100lvh + var(--run, 520) * 1lvh); }
.gallery-title .kicker { margin-bottom: 14px; color: inherit; font-size: clamp(1.05rem, 1.3vw, 1.25rem); }

/* ---------- the doors ---------- */
/* a screen of nothing between the dive and the doors: the doors only rise once the dive has gone to black, so they never slide over it */
.cut { height: 100vh; height: 100lvh; }
html.static .cut { display: none; }
.doors { position: relative; background: #0b0a09; color: var(--stone-50); padding: clamp(84px, 13vh, 150px) var(--gut) clamp(64px, 10vh, 120px); display: grid; gap: clamp(28px, 4vw, 60px); }
.doors-head { display: grid; gap: 14px; }
.doors-head h2 { font: 700 clamp(2.6rem, 7vw, 6.4rem)/.95 var(--display); letter-spacing: -.022em; }
.doors-head p { font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--stone-200); max-width: 36ch; }
.door-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 26px); }
.door { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; justify-items: start; min-height: clamp(440px, 70vh, 780px);
  padding: clamp(20px, 2.6vw, 42px); color: var(--stone-50); text-decoration: none; border-top: 2px solid var(--gold); background: var(--ink); }
.door-pic { position: absolute; inset: 0; z-index: -2; }
.door-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.door::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(11, 10, 9, .12) 18%, rgba(11, 10, 9, .5) 52%, rgba(11, 10, 9, .93) 86%); }
.door-label { font: 800 clamp(5.4rem, 13.5vw, 13rem)/.8 var(--display); letter-spacing: -.045em; margin-left: -.04em; }
.door .kicker { margin-top: clamp(14px, 1.6vw, 22px); }
.door-line { margin-top: 8px; max-width: 30ch; color: var(--stone-100); font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.45; }
.door .btn { margin-top: 22px; background: var(--gold); color: var(--onyx); }
.door:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .door[href]:hover .door-pic img { transform: scale(1.045); }
  .door[href]:hover .btn { background: var(--stone-50); }
}
.door.going .door-pic img { transform: scale(1.14); transition-duration: .9s; }
/* a hall with nothing hung yet: the door is there and says so, and it is not a link */
.door-closed .door-pic img { filter: grayscale(1) brightness(.5); }
.door-closed .btn { background: none; color: var(--stone-200); border: 1px solid rgba(241, 236, 226, .4); }
@media (max-width: 760px) {
  .door-row { grid-template-columns: minmax(0, 1fr); }
  .door { min-height: min(62vh, 520px); }
  .door-label { font-size: clamp(5rem, 30vw, 8rem); }
}
@media (min-width: 761px) {
  /* on a wide screen the heading and both doors fit one screen: a panel to choose from, with no button below the fold */
  .doors { min-height: 100vh; min-height: 100lvh; grid-template-rows: auto minmax(0, 1fr); padding-top: clamp(84px, 11vh, 120px); padding-bottom: clamp(28px, 5vh, 56px); gap: clamp(22px, 3.4vh, 40px); }
  .doors-head { grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 14px clamp(24px, 4vw, 64px); }
  .doors-head h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); }
  .doors-head h2 br { display: none; }
  .doors-head p { justify-self: end; padding-bottom: .35em; }
  .door { min-height: clamp(360px, 48vh, 780px); }
}
/* the cut to a hall: the screen goes to the same black the hall opens from */
#pass { position: fixed; inset: 0; z-index: 95; background: #0b0a09; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .55s var(--ease), visibility 0s .55s; }
html.leaving #pass { opacity: 1; visibility: visible; transition-delay: 0s; }

/* ---------- a hall page ---------- */
/* a hall opens from black, so its loading screen is black too: door, black, hall, with no flash of stone between */
.hall-page { background: #0b0a09; }
.hall-page #c-hall { visibility: visible; }
.hall-page #loader { background: #0b0a09; color: var(--stone-50); }
.hall-page #loader .bar { background: rgba(241, 236, 226, .2); }
.hall-page #loader .bar i { background: var(--gold); }
.hall-page #loader .num { color: var(--stone-300); }
.hall-page #nav nav a[aria-current] { background-size: 100% 1px; }
.hall-page .gallery-title h1 { font: 700 clamp(2.8rem, 8vw, 7rem)/.95 var(--display); letter-spacing: -.022em; }
.hall-page .plate-card h2 { font: 700 clamp(1.7rem, 2.4vw, 2.1rem)/1.05 var(--display); letter-spacing: -.012em; margin: 8px 0 8px; }
@media (max-width: 860px) {
  .hall-page #nav nav { display: flex; }
  .hall-page #nav nav a:not(.keep) { display: none; }
  .hall-page #nav .btn-nav { display: none; }
}
/* a short screen: the caption gives up its second line and some padding, so the picture above it keeps its size */
html.short .plate-card { padding: 14px 16px 10px; }
html.short .plate-card .line { display: none; }
html.short .plate-card .btn { margin: 12px 0 10px; }
/* a phone on its side: the caption keeps to one side, as on a wide screen, and the picture takes the other */
@media (max-width: 860px) and (orientation: landscape) {
  .hall-page .plate-card { left: 14px; right: auto; width: min(320px, 44vw); }
  .hall-page .plate-card.flip { left: auto; right: 14px; }
}
/* the hall's closing words stand on the black the hall has just gone back to, and fill most of a screen so the last screen is theirs */
.hall-end { background: #0b0a09; color: var(--stone-50); min-height: 72vh; min-height: 72lvh; display: grid; align-content: center; padding: clamp(72px, 9vw, 140px) 0; }
.hall-end .wrap { display: grid; gap: 26px; justify-items: start; }
.hall-end p { max-width: 40ch; font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--stone-200); }
.hall-end .btn { background: var(--gold); color: var(--onyx); }
.hall-end .btn:hover { background: var(--stone-50); }
.hall-end .text-link { color: var(--stone-50); }
/* the hall page's footer is the same black as the closing words above it, with a hairline between the two */
.hall-page footer { background: #0b0a09; border-top: 1px solid rgba(241, 236, 226, .12); }
.hall-end .row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.text-link { font: 600 1rem/1 var(--text); text-underline-offset: 4px; padding: 12px 2px; }

/* the picture that grows out of the wall when a work is opened, and the bar that comes down over it */
#zoom { position: fixed; z-index: 90; left: 0; top: 0; width: 0; height: 0; overflow: hidden; visibility: hidden; background: #0b0a09; pointer-events: none; }
#zoom.on { visibility: visible; }
#zoom img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
#zoom-bar { position: fixed; z-index: 91; left: 0; right: 0; top: 0; height: calc(52px + env(safe-area-inset-top, 0px)); background: var(--onyx); border-bottom: 1px solid rgba(241, 236, 226, .14); transform: translateY(-101%); pointer-events: none; }
html.opening { overflow: hidden; }
html.static .hall-page .gallery-title { color: var(--stone-50); }

/* ---------- the frame a work opens in ---------- */
html.open-page { height: 100%; }
.open-page body { height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr); background: #0b0a09; overflow: hidden; }
.open-bar { position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); min-height: calc(52px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) var(--gut) 0;
  background: var(--onyx); color: var(--stone-50); border-bottom: 1px solid rgba(241, 236, 226, .14); }
.open-bar .back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 .95rem/1 var(--text); text-decoration: none; white-space: nowrap; }
.open-bar .back i { width: 9px; height: 9px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); }
.open-bar .what { margin-left: auto; display: flex; gap: 12px; align-items: baseline; min-width: 0; font-size: .875rem; color: var(--stone-300); white-space: nowrap; }
.open-bar .what b { font: 700 1.05rem/1 var(--display); color: var(--stone-50); }
.open-bar .btn-nav { background: var(--stone-50); color: var(--onyx); min-height: 36px; padding: 8px 16px; }
@media (max-width: 860px) { .open-bar .what span, .open-bar .btn-nav { display: none; } }
/* A long name (Heatwright Heating & Air) did not fit beside the way back on a phone. It did not wrap either, so it made the whole page wider than
   the screen and the work was laid out for a window 418 px wide. The name now takes a second line when it must, and never more than two. */
@media (max-width: 860px) { .open-bar .what { white-space: normal; text-align: right; } .open-bar .what b { min-width: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.1; text-wrap: balance; } }
.open-stage { position: relative; overflow: hidden; background: #0b0a09; }
.open-stage .poster, .open-stage .poster img, .open-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.open-stage .poster img { max-width: none; object-fit: cover; }
.open-stage iframe { border: 0; background: #0b0a09; }
html.js .open-stage iframe { opacity: 0; transition: opacity .8s var(--ease); }
html.js.in .open-stage iframe { opacity: 1; }
.open-wait { position: absolute; z-index: 1; left: 50%; bottom: clamp(18px, 5vh, 44px); transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: rgba(13, 12, 11, .92); color: var(--stone-50);
  border-top: 2px solid var(--gold); font: 500 .9rem/1 var(--text); white-space: nowrap; transition: opacity .5s, visibility 0s .5s; }
.open-wait i { width: 26px; height: 2px; background: var(--gold); transform-origin: left; animation: wait 1.4s var(--ease) infinite; }
@keyframes wait { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
html.in .open-wait, html:not(.js) .open-wait { opacity: 0; visibility: hidden; }
/* on a phone the notice is a strip along the bottom edge, so it reads as part of the frame and not as something lying on the picture */
@media (max-width: 860px) { .open-wait { left: 0; right: 0; bottom: 0; transform: none; justify-content: center; padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px)); } }
/* the same notice in the hall, shown while the page waits for files of the work that are on their way */
#zoom .zoom-wait { opacity: 0; visibility: hidden; }
html.holding #zoom .zoom-wait { opacity: 1; visibility: visible; transition: opacity .3s; }
/* the bar that slides in over the growing picture is the frame page's bar, word for word, so nothing changes when the page does. While the hall waits, its Back calls the opening off */
html.holding #zoom-bar { pointer-events: auto; }
#zoom-bar .back { cursor: pointer; }
.open-plain { position: absolute; z-index: 1; left: var(--gut); bottom: 24px; }
