/* Font, self-hosted: Archivo variable (Google Fonts, SIL OFL), weight 100-900, width 62-125%.
   One family: condensed heavy uppercase for display, normal width for text. */
@font-face { font-family: 'Archivo'; src: url('fonts/archivo-var-latin.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

/* Colour: all OKLCH. Dims are the same hue with alpha or lower L. */
:root {
  --black: oklch(0.145 0.004 50);            /* ground */
  --black-2: oklch(0.2 0.006 50);            /* image placeholder */
  --bone: oklch(0.94 0.02 88);               /* text */
  --bone-dim: oklch(0.94 0.02 88 / 0.34);    /* outlined titles */
  --bone-hair: oklch(0.94 0.02 88 / 0.4);    /* hairline on the landing letters */
  --bone-line: oklch(0.94 0.02 88 / 0.2);    /* rules */
  --ink: oklch(0.19 0.01 65);                /* text on bone and orange */
  --mute: oklch(0.76 0.02 80);               /* small text on black */
  --hot: oklch(0.67 0.215 37);               /* the one accent */
  --hot-hi: oklch(0.74 0.19 45);             /* accent, hover */
  --scrim: oklch(0.11 0.003 50);             /* lightbox ground */
  --font: 'Archivo', 'Arial Narrow', sans-serif;
  /* spacing scale: 4 8 12 16 24 32 48 64 96 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gut: 24px;
  --gap: 8px;                                /* between photos */
  /* motion: entrances ease-out, moves ease-in-out, no overshoot anywhere */
  --out: cubic-bezier(.16, 1, .3, 1);
  --inout: cubic-bezier(.65, 0, .35, 1);
  --in: cubic-bezier(.55, 0, .85, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--black); }
body {
  margin: 0; background: var(--black); color: var(--bone);
  font: 400 18px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-intro, body.lb-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2 { margin: 0; font-weight: inherit; }
button { font: inherit; color: inherit; }
.vh, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 100; top: var(--s2); left: var(--s2); background: var(--bone); color: var(--ink); padding: var(--s3) var(--s4); }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }

/* the display style: condensed, heavy, uppercase, set tight */
.fit, .nl, .nl-o, .rl, .bar-n, .bar-nav a, .enter-word, .iw-v, .info-sec h2, .now-t {
  font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em;
}
.ln { display: block; }
.fit { display: inline-block; white-space: nowrap; line-height: .88; }

/* ---------- landing ---------- */
@property --dx { syntax: '<length>'; inherits: false; initial-value: 0px; }
.intro {
  position: fixed; inset: 0; z-index: 50; height: 100dvh;
  display: flex; flex-direction: column;
  padding: var(--gut);
  background: var(--black);
  transition: background-color 380ms ease-in;
}
.intro[hidden] { display: none; }
.poster { position: relative; flex: 1; transform-origin: 50% 40%; }
.name { position: absolute; inset: 0 auto auto 0; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.name .ln, .role .ln { position: absolute; left: 0; }
.name .ln, .role .ln, .strip .sp-c, .enter {
  opacity: 0; transform: translateY(24px);
  transition: transform 640ms var(--out) calc(var(--i) * 75ms), opacity 260ms ease-out calc(var(--i) * 75ms);
}
.intro.on .name .ln, .intro.on .role .ln, .intro.on .strip .sp-c, .intro.on .enter { opacity: 1; transform: none; }
.nl, .nl-o {
  position: absolute; left: 0; top: 0; display: block; white-space: nowrap;
  line-height: .9;
}
/* each line of the name is a window onto a photo */
.nl {
  color: var(--bone);
  background-repeat: no-repeat;
  background-position: calc(var(--bx, 0px) + var(--dx)) var(--by, 0px);
  -webkit-background-clip: text; background-clip: text;
  filter: brightness(1.1) saturate(1.12);
  opacity: 0;
  transition: opacity 600ms var(--inout);
  will-change: opacity;   /* painted once; the crossfade runs on the graphics card (the old sideways drift repainted every frame and lagged phones) */
}
.nl.on { opacity: 1; }
.intro.lit .nl { transition: color 1300ms cubic-bezier(.25, .1, .25, 1) calc(var(--i) * 110ms), opacity 600ms var(--inout); }
/* the photo shows through only once it has loaded: until then the letter is solid bone, never invisible */
.intro.lit .nl.ready { color: transparent; }
/* a hairline keeps each letter's edge against black */
.nl-o { color: transparent; -webkit-text-stroke: 1px var(--bone-hair); pointer-events: none; }
@keyframes drift { from { --dx: calc(var(--sx, 0px) * -1); } to { --dx: var(--sx, 0px); } }
.role { position: absolute; inset: 0 auto auto 0; margin: 0; }
.rl { white-space: nowrap; line-height: .9; color: var(--bone); }

.strip { position: absolute; inset: 0 auto auto 0; }
.sp-c { position: absolute; display: block; overflow: hidden; background: var(--black-2); -webkit-tap-highlight-color: transparent; }
.sp-c img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 600ms var(--inout); }
.sp-c img.on { opacity: 1; }
.sp-c:active { transform: scale(.97); transition: transform 120ms var(--out); }

.enter {
  position: absolute; z-index: 3; display: flex; align-items: center; justify-content: space-between;
  border: 0; border-radius: 0; padding: 0 var(--s5); cursor: pointer;
  background: var(--hot); color: var(--ink);
}
.intro.on.ready .enter { transition: transform 160ms var(--out), background-color 150ms ease-out; }
@media (hover: hover) { .intro.on.ready .enter:hover { background: var(--hot-hi); } }
.intro.on .enter:active { transform: scale(.97); transition-duration: 120ms; }
.enter-word { line-height: .9; }
.enter-arrow { height: .42em; width: auto; flex: none; }

/* Enter: zoom through the poster (one-off, so it can be showy) */
body.entering .poster { transform: scale(6); opacity: 0; transition: transform 540ms var(--in), opacity 420ms ease-in 120ms; }
body.entering .intro { background-color: transparent; }   /* still takes clicks, so a second tap on Enter cannot reach the page below */

/* ---------- top bar: name and two words, plain type ---------- */
.bar {
  display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s4);
  padding: var(--s5) var(--gut) var(--s6);
}
.bar-name { display: flex; flex-direction: column; gap: var(--s1); text-decoration: none; transition: color 150ms ease-out; }
.bar-n { font-size: 36px; line-height: .9; }
.bar-d { font-size: 15px; font-weight: 500; color: var(--mute); }
@media (hover: hover) { .bar-name:hover .bar-n { color: var(--hot); } }
.bar-name:active { transform: scale(.97); }
.bar-nav { display: flex; gap: var(--s5); }
.bar-nav a {
  display: block; font-size: 36px; line-height: .9; text-decoration: none;
  padding: var(--s1) 0; min-height: 44px; min-width: 44px; text-align: right;   /* INFO sits on the right gutter */
  transition: color 150ms ease-out;
}
@media (hover: hover) { .bar-nav a:hover { color: var(--hot); } }
.bar-nav a[aria-current] { color: var(--hot); }
.bar-nav a:active { transform: scale(.97); }

/* view changes overlap: the new page fades up over the old one's last frame */
#view { outline: none; }
::view-transition-old(root) { animation-duration: 180ms; animation-timing-function: ease-in; }
::view-transition-new(root) { animation-duration: 220ms; animation-timing-function: ease-out; }

/* ---------- work: running order, titles bar, one section per show ---------- */
.wk { padding: 0 var(--gut); }
.wk i { font-style: normal; color: var(--hot); padding: 0 .4em; }

/* the running order */
.ix { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--s7); align-items: start; align-content: start; padding: var(--s2) 0 var(--s8); }
.ix-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bone-line); }
.ix-list li { border-bottom: 1px solid var(--bone-line); }
.ix-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s5);
  padding: var(--s4) 0 var(--s3); min-height: 44px; text-decoration: none; color: var(--bone);
  transition: opacity 160ms ease-out, color 160ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
.ix-t { font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(40px, 3.5vw, 56px); line-height: .92; }
.ix-m { flex: none; font-size: 15px; font-weight: 500; color: var(--mute); text-align: right; white-space: nowrap; }
.ix-m b { font-weight: 600; color: var(--hot); }
.ix-now .ix-t { color: transparent; -webkit-text-stroke: 1.2px var(--bone); }
.ix[data-hl] .ix-row { opacity: .35; }
.ix[data-hl] .ix-row:hover, .ix[data-hl] .ix-row:focus-visible { opacity: 1; }
@media (hover: hover) { .ix-row[data-s]:hover .ix-t { color: var(--hot); } }
.ix-row[data-s]:active { transform: scale(.99); }

/* preview beside the list: five frames (one wide, four below) running the full height of the list,
   so its top and bottom meet the list's first and last rules */
.ix-pv { position: relative; align-self: stretch; min-height: 360px; }
.pv-set { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.25fr 1fr 1fr; gap: var(--gap); opacity: 0; transition: opacity 180ms ease-out; }
.pv-c:first-child { grid-column: 1 / -1; }
.pv-set.on { opacity: 1; }
.pv-c { overflow: hidden; background: var(--black-2); }
.pv-c img { width: 100%; height: 100%; object-fit: cover; }

/* the titles bar: sticks once the running order has gone by */
.tb {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--s4);
  height: 52px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut);
  background: var(--black); border-bottom: 1px solid var(--bone-line);
  opacity: 0; pointer-events: none; transition: opacity 160ms ease-out;
}
.tb.on { opacity: 1; pointer-events: auto; }
.tb-row {
  flex: 1; display: flex; gap: var(--s5); overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
}
.tb-row.l {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 32px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 32px), transparent);
}
.tb-row::-webkit-scrollbar { display: none; }
.tb-a {
  flex: none; display: flex; align-items: center; min-height: 44px; padding: 0 2px;
  font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 17px; letter-spacing: .01em;
  color: var(--mute); text-decoration: none; white-space: nowrap; transition: color 150ms ease-out;
  box-shadow: inset 0 -2px 0 transparent;
}
.tb-a[aria-current] { color: var(--hot); box-shadow: inset 0 -2px 0 var(--hot); }
@media (hover: hover) { .tb-a:hover { color: var(--bone); } }
.tb-a:active { transform: scale(.97); }
.tb-n { flex: none; font-size: 14px; font-weight: 600; color: var(--bone); font-variant-numeric: tabular-nums; min-width: 4.4em; text-align: right; }
.tb-n:empty { display: none; }

/* one section per show */
.ws { padding: var(--s8) 0 var(--s7); border-top: 1px solid var(--bone-line); scroll-margin-top: 60px; }
.tb + .ws { border-top: 0; padding-top: var(--s4); }
.tb { margin-bottom: -52px; }
.ws-t {
  font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(48px, 5.4vw, 88px); line-height: .9; color: transparent; -webkit-text-stroke: 1.2px var(--bone);
  transition: color 180ms ease-out;
}
.ws.focus .ws-t { color: var(--bone); }
.ws-m { margin: var(--s3) 0 var(--s5); font-size: 16px; font-weight: 500; color: var(--mute); }
.ws-g { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: var(--gap); }
.wc { display: block; position: relative; overflow: hidden; background: var(--black-2); -webkit-tap-highlight-color: transparent; transition: filter 180ms ease-out; }
.wc img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 200ms var(--out); }
.wc.lead { grid-column: span 2; grid-row: span 2; }
.wc.wide { grid-column: span 2; }
.wc.wide img { aspect-ratio: auto; }
.wc.full { grid-column: 1 / -1; }
.wc.tall { grid-row: span 2; }
.wc.tall img { aspect-ratio: auto; }
.wc:active { transform: scale(.97); }
@media (hover: hover) {
  .ws-g:hover .wc { filter: brightness(.72); }
  .ws-g:hover .wc:hover { filter: none; }
}
/* touch: the photo at the middle of the screen is lit, the rest dim a little */
.wk.scan .wc { filter: brightness(.72); }
.wk.scan .wc.lit { filter: none; }
.ws-open { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s3); font-size: 16px; font-weight: 600; text-decoration-color: var(--hot); text-decoration-thickness: 2px; text-underline-offset: 5px; }

.now-k { font: 600 16px/1.2 var(--font); text-transform: none; letter-spacing: 0; color: var(--hot); }
.now-facts { font: 500 17px/1.45 var(--font); text-transform: none; letter-spacing: 0; word-spacing: normal; color: var(--mute); }
.now-facts b { color: var(--bone); font-weight: 600; }
.wall-foot { font-size: 15px; color: var(--mute); max-width: 48em; margin-top: var(--s5); padding: var(--s5) 0 var(--s9); border-top: 1px solid var(--bone-line); }

.now-block { display: block; margin: 0 0 var(--s7); }
.now-block .now-k { display: block; margin: 0 0 var(--s2); }
.now-block .now-t { display: block; color: transparent; -webkit-text-stroke: 1.5px var(--bone); line-height: .88; }
.now-block .now-facts { display: block; margin-top: var(--s4); max-width: 30em; }

/* ---------- show page ---------- */
.sp { padding: 0 var(--gut) var(--s8); }
.sp-title { margin: 0 0 var(--s5); color: var(--bone); }
.sp-title .ln + .ln { margin-top: .02em; }
.sp-sub { font-weight: 600; color: var(--hot); font-size: 18px; margin: calc(var(--s3) * -1) 0 var(--s4); }
.sp-facts {
  display: grid; grid-template-columns: 1fr 2fr 1fr; gap: var(--s4) var(--s6);
  margin: 0 0 var(--s6); padding: var(--s4) 0 0; border-top: 1px solid var(--bone-line);
}
.sp-facts:has(> div:nth-child(4)) { grid-template-columns: 1fr 2fr 1fr 1fr; }
.sp-facts dt { font-size: 15px; font-weight: 600; color: var(--hot); margin-bottom: var(--s1); }
.sp-facts dd { margin: 0; font-size: 20px; line-height: 1.35; font-weight: 500; }
.sp-blurb { margin: 0 0 var(--s6); max-width: 36em; font-size: 20px; }

.ph { margin: 0; }
.ph-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--black-2); cursor: zoom-in; }
.ph-open:active { transform: scale(.985); }
.ph img { width: 100%; }
.sp-hero img { max-height: calc(100dvh - 140px); object-fit: cover; }
.sp-gal { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: var(--gap); margin-top: var(--gap); }
.g { display: flex; flex-direction: column; }
.g img { aspect-ratio: 3 / 2; object-fit: cover; }
.g.tall { grid-row: span 2; }
.g.tall .ph-open { flex: 1 1 0; min-height: 0; }
.g.tall img { aspect-ratio: auto; height: 100%; }
.g.wide { grid-column: 1 / -1; }
.g.wide img { max-height: calc(100dvh - 140px); }
.g { opacity: 0; transform: translateY(8px); transition: opacity 320ms ease-out var(--d, 0ms), transform 420ms var(--out) var(--d, 0ms); }
.g.in { opacity: 1; transform: none; }
.sp-credit { margin-top: var(--s5); font-size: 15px; color: var(--mute); }
.sp-end { margin-top: var(--s9); padding-top: var(--s5); border-top: 1px solid var(--bone-line); }
.sp-next { display: block; text-decoration: none; color: var(--bone); }
.sp-next-k { display: block; font-weight: 600; font-size: 15px; margin-bottom: var(--s3); color: var(--hot); }
.sp-next .fit { transition: color 150ms ease-out; }
@media (hover: hover) { .sp-next:hover .fit { color: var(--hot); } }
.sp-next:active { transform: scale(.99); }
.sp-all { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s4); font-size: 17px; font-weight: 600; text-decoration-color: var(--hot); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 80; background: var(--scrim); touch-action: none; transition: background-color 240ms ease-out; }
.lb[hidden] { display: none; }
.lb.closing { background-color: transparent; transition: background-color 200ms ease-in; }
.lb-stage { position: absolute; inset: 64px 72px 64px; display: flex; align-items: center; justify-content: center; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.lb-cap {
  position: absolute; left: var(--gut); right: 80px; bottom: var(--s5); min-height: 28px;
  display: flex; gap: var(--s4); align-items: baseline; font-size: 16px; font-weight: 500; color: var(--bone);
  transition: opacity 180ms ease-out;
}
.lb-cap .n { color: var(--mute); font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border: 0; padding: 0; cursor: pointer;
  background: oklch(0.94 0.02 88 / 0.08); color: var(--bone);
  transition: background-color 150ms ease-out, transform 150ms var(--out), opacity 180ms ease-out;
}
.lb-btn svg { width: 24px; height: 24px; }
@media (hover: hover) { .lb-btn:hover { background: var(--hot); color: var(--ink); } }
.lb-btn:active { transform: scale(.97); }
.lb-x { top: var(--s2); right: var(--s2); }
.lb-prev { left: var(--s2); top: calc(50% - 26px); }
.lb-next { right: var(--s2); top: calc(50% - 26px); }
.lb.flying .lb-btn, .lb.flying .lb-cap { opacity: 0; }

/* ---------- information ---------- */
.info { padding: 0 var(--gut) var(--s8); }
.info-name { margin: 0 0 var(--s6); }
.info-intro { font-size: clamp(21px, 2.2vw, 30px); line-height: 1.35; max-width: 32em; font-weight: 450; }
.info-cols { display: grid; grid-template-columns: 3fr 2fr; gap: var(--s8); margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--bone-line); }
.info-sec { margin-bottom: var(--s7); }
.info-cols .info-sec:last-child, .info-cols > div:last-child .info-sec:last-child { margin-bottom: 0; }
.info-sec h2 { font-size: 32px; line-height: .9; margin: 0 0 var(--s4); color: var(--hot); }
.info-sec ul { list-style: none; margin: 0; padding: 0; }
.info-work li { margin-bottom: var(--s5); }
.iw-v { display: block; font-size: clamp(32px, 3.4vw, 48px); line-height: .92; }
.iw-r { display: block; font-size: 17px; margin-top: var(--s2); color: var(--mute); }
.info-list li { font-size: 19px; line-height: 1.6; }
.info .now-block { margin: var(--s7) 0 0; padding-top: var(--s5); border-top: 1px solid var(--bone-line); }
.info .now-t { font-size: clamp(84px, 11vw, 160px); }


/* ---------- tablet: the running order on its own, without the preview ---------- */
@media (max-width: 1099px) {
  .ix { grid-template-columns: 1fr; }
  .ix-pv { display: none; }
}

/* ---------- phone ---------- */
@media (max-width: 699px) {
  :root { --gut: 16px; }
  body { font-size: 17px; }
  .bar { padding: var(--s4) var(--gut) var(--s5); align-items: center; }
  .bar-n { font-size: 21px; white-space: nowrap; }
  .bar .bar-d { display: none; }
  .bar-nav { gap: var(--s3); }
  .bar-nav a { font-size: 21px; padding: 12px 0; }
  .enter { padding: 0 var(--s4); }
  .ix { grid-template-columns: 1fr; padding: 0 0 var(--s6); }
  .ix-row { flex-direction: column; align-items: flex-start; gap: var(--s1); padding: var(--s3) 0; }
  .ix-t { font-size: clamp(30px, 8.6vw, 36px); }
  .ix-m { text-align: left; white-space: normal; }
  .tb { height: 48px; margin-bottom: -48px; }
  .tb-a { font-size: 16px; }
  .ws { padding: var(--s7) 0 var(--s6); }
  .ws-t { font-size: clamp(44px, 13vw, 56px); }
  .ws-m { font-size: 15px; }
  .ws-g { grid-template-columns: 1fr 1fr; }
  .sp-facts, .sp-facts:has(> div:nth-child(4)) { grid-template-columns: 1fr; gap: var(--s3); }
  .sp-facts dd { font-size: 18px; }
  .sp-gal { grid-template-columns: 1fr; }
  .g.tall { grid-row: auto; }
  .g.tall img { aspect-ratio: 2 / 3; height: auto; }
  .lb-stage { inset: 64px 0 76px; }
  .lb-prev, .lb-next { top: auto; bottom: var(--s2); }
  .lb-prev { left: auto; right: 68px; }
  .lb-cap { right: 132px; bottom: var(--s5); flex-direction: column; gap: 0; font-size: 15px; }
  .info-cols { grid-template-columns: 1fr; gap: 0; margin-top: var(--s7); }
  .info-sec h2 { font-size: 28px; }
}

@media (max-width: 389px) {
  .bar-n { font-size: 19px; }
  .bar-nav a { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .name .ln, .role .ln, .strip .sp-c, .enter, .g { transform: none !important; }
  .wk.scan .wc, .ws-g:hover .wc { filter: none !important; }
  body.entering .poster { transform: none; }
}

/* contact */
.info-contact li { display: grid; grid-template-columns: 6.5em 1fr; align-items: baseline; padding: 6px 0; }
.info-contact .ic-k { color: var(--mute); font-size: 15px; }
.info-contact a { font-size: 20px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--hot); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; min-height: 32px; transition: color 160ms ease-out; }
.info-contact a:hover { color: var(--hot); }
@media (max-width: 699px) {
  .info-contact li { grid-template-columns: 1fr; gap: 2px; padding: 8px 0; }
  .info-contact a { font-size: 19px; overflow-wrap: normal; }
}

/* the role he held on each show, stated first */
.held { display: block; margin: 0; font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 20px; line-height: 1; color: var(--hot); }
.ix-l { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.ws-r { margin-bottom: var(--s2); }
.sp-r { font-size: 24px; margin-bottom: var(--s3); }
@media (max-width: 699px) { .held { font-size: 17px; } .sp-r { font-size: 20px; } }
.sp-facts { grid-template-columns: 2fr 1fr 1fr; }
.sp-facts:has(> div:nth-child(4)) { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 699px) { .sp-facts, .sp-facts:has(> div:nth-child(4)) { grid-template-columns: 1fr; } }

/* the lit photo eases in very slightly instead of being boxed */
.wc img { transition: transform 260ms ease-out; }
.wk.scan .wc.lit img { transform: scale(1.03); }
@media (hover: hover) { .ws-g:hover .wc:hover img { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .wc img { transform: none !important; } }

/* even out wrapped titles so no single word is left alone on a line */
.ix-t, .ws-t, .iw-v { text-wrap: balance; }

/* plain HTML version of each page, written by build_pages.py: for search engines and for visitors
   without JavaScript (a <noscript> style in the head shows it). app.js replaces it with the designed page,
   so with JavaScript on it is never shown and its lazy photos are never fetched. */
.pre { display: none; padding: var(--s2) var(--gut) var(--s8); max-width: 72em; }
.pre-h, .pre-h2, .pre-t { font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: .9; }
.pre-h { font-size: clamp(48px, 9vw, 120px); margin: 0 0 var(--s5); }
.pre-h2 { font-size: 28px; color: var(--hot); margin: var(--s7) 0 var(--s4); }
.pre-k { display: block; font-weight: 600; font-size: 16px; color: var(--hot); }
.pre-intro { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; max-width: 34em; }
.pre-sub { font-weight: 600; color: var(--hot); margin: 0 0 var(--s4); }
.pre-list { list-style: none; margin: 0; padding: 0; }
.pre-list li { padding: var(--s1) 0; }
.pre-list .pre-k { display: inline; color: var(--mute); margin-right: var(--s2); }
.pre a { text-decoration-color: var(--hot); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pre p a { display: inline-block; min-height: 44px; padding: var(--s2) var(--s5) 0 0; }
.pre-cur { margin: 0 0 var(--s6); color: var(--mute); }
.pre-shows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s6) var(--s5); }
.pre-row { display: block; text-decoration: none; }
.pre-row img { aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: var(--s3); background: var(--black-2); }
.pre-t { display: block; font-size: 36px; margin-top: var(--s1); }
.pre-m { display: block; margin-top: var(--s2); font-size: 16px; color: var(--mute); }
.pre-facts { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s7); margin: 0 0 var(--s6); padding-top: var(--s4); border-top: 1px solid var(--bone-line); }
.pre-facts dt { font-size: 15px; font-weight: 600; color: var(--hot); }
.pre-facts dd { margin: 0; }
.pre-gal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--gap); }
.pre-gal img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--black-2); }
.pre-credit { margin-top: var(--s5); font-size: 15px; color: var(--mute); }
.pre-next { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--bone-line); }

/* 404 */
.nf { padding: var(--s7) var(--gut) var(--s9); }
.nf-h { font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: .88; font-size: clamp(64px, 14vw, 220px); }
.nf-p { margin-top: var(--s6); font-size: 20px; font-weight: 600; }
.nf-p a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: var(--hot); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Two voices only: condensed caps for titles, plain Archivo for everything else. Role, venue and date
   share one line in one size; the role is orange, the rest grey. */
.meta { display: flex; flex-wrap: wrap; gap: 2px 1.25em; margin: 0; font-family: var(--font); font-stretch: 100%; font-weight: 500; font-size: 16px; line-height: 1.35; letter-spacing: 0; text-transform: none; color: var(--mute); }
.held, .meta .held { display: inline; font: inherit; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--hot); }
.bar-d { font-family: var(--font); font-stretch: 100%; font-weight: 500; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--mute); }
.ix-row, .ix-row.ix-now { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); padding: var(--s4) 0; }
.ix-now .ix-t { color: var(--mute); -webkit-text-stroke: 0; }
.ws-m { margin: var(--s3) 0 var(--s5); }
/* show page: the photo first, edge to edge, then the title and one line of text */
.sp-hero { margin: 0 calc(var(--gut) * -1) var(--s5); }
.sp-hero img { display: block; width: 100%; max-height: calc(100svh - 230px); object-fit: cover; }
.sp-title { margin: 0 0 var(--s3); font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(44px, 6vw, 96px); line-height: .9; color: var(--bone); text-wrap: balance; }
.sp-meta { font-size: 18px; margin-bottom: var(--s6); }
.sp-gal { margin-top: 0; }
@media (max-width: 699px) { .meta { font-size: 15px; } .sp-meta { font-size: 16px; margin-bottom: var(--s5); } .sp-hero img { max-height: none; } }
/* Enter arrow keeps its weight on very wide screens */
@media (min-width: 1700px) { .enter-arrow { height: .56em; } }
.mg { display: inline-flex; flex-wrap: wrap; gap: 2px 1.25em; }
/* show page on a wide screen: the whole photo on the first screen, uncropped, with the title beside it */
@media (min-width: 900px) {
  .sp-top { display: grid; grid-template-columns: auto minmax(240px, 1fr); gap: var(--s6); align-items: end; margin-bottom: var(--s6); }
  .sp-hero { margin: 0; }
  .sp-hero img { width: auto; max-width: 100%; height: calc(100svh - 150px); max-height: none; min-height: 320px; object-fit: contain; }
  .sp-hero .ph-open { width: auto; height: auto; background: none; }
  .sp-title { font-size: clamp(40px, 4.2vw, 72px); }
  .sp-meta { flex-direction: column; gap: 4px; margin-bottom: 0; }
}
/* contact page: three large links, nothing else */
.ct { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bone-line); }
.ct li { display: grid; grid-template-columns: 9em 1fr; align-items: baseline; gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--bone-line); }
.ct-k { font-size: 16px; font-weight: 500; color: var(--mute); }
.ct a { justify-self: start; font-size: clamp(22px, 3vw, 40px); font-weight: 500; line-height: 1.2; text-decoration: underline; text-decoration-color: var(--hot); text-decoration-thickness: 2px; text-underline-offset: 6px; transition: color 160ms ease-out; }
@media (hover: hover) { .ct a:hover { color: var(--hot); } }
.ct a:active { transform: scale(.98); }
@media (max-width: 699px) {
  .ct li { grid-template-columns: 1fr; gap: 2px; padding: var(--s4) 0; }
  .ct a { font-size: clamp(18px, 5.4vw, 22px); min-height: 44px; display: inline-flex; align-items: center; }
  .bar { gap: var(--s2); }
  .bar-n { font-size: 17px; } .bar-nav { gap: 14px; } .bar-nav a { font-size: 17px; min-width: 0; }
}
@media (max-width: 389px) { .bar-n { font-size: 15px; } .bar-nav a { font-size: 15px; } .bar-nav { gap: 11px; } }
.pv-none { display: flex; align-items: center; justify-content: center; border: 1px solid var(--bone-line); }
.pv-none { flex-direction: column; gap: 10px; }
.pv-none p { margin: 0; text-align: center; font-size: 16px; font-weight: 500; color: var(--mute); }
.pv-none .pn-k { color: var(--hot); }
.pv-none .pn-t { font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(56px, 6vw, 104px); line-height: .9; color: var(--bone); }

/* ---------- information, 17 Nov: fuller CV content, experience as rows like the work list ---------- */
.cv-btn { display: inline-flex; align-items: center; gap: 18px; margin-top: var(--s6); padding: 14px 22px 12px; background: var(--hot); color: oklch(0.145 0.004 50); font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; text-decoration: none; transition: background 160ms ease-out; }
.cv-btn:hover { background: var(--hot-hi); }
.info-cols { margin-top: var(--s7); }
.info-work li { margin: 0; padding: 14px 0 15px; border-top: 1px solid var(--bone-line); }
.info-work li:last-child { border-bottom: 1px solid var(--bone-line); }
.iw-v { font-size: clamp(28px, 2.7vw, 40px); }
.iw-m { display: flex; flex-wrap: wrap; gap: 2px 20px; margin-top: 7px; }
.iw-n { display: block; margin-top: 6px; max-width: 34em; font-size: 16px; line-height: 1.45; color: var(--mute); }
.info-sec h2 { font-size: 28px; }
.info-side .info-sec { margin-bottom: var(--s6); }
.info-list li { font-size: 17px; line-height: 1.55; }
.info-pairs li { margin-bottom: 12px; }
.info-pairs b { display: block; font-weight: 600; }
.info-pairs span { display: block; color: var(--mute); font-size: 16px; }
@media (max-width: 899px) { .cv-btn { font-size: 24px; } .info-side { margin-top: var(--s7); } }

/* ---------- front page photos, 17 Nov: slow push-in on each photo, new photos wipe in from a side ---------- */
.sp-c img { will-change: transform, clip-path; }
.sp-c img.on { animation: sp-push 20s linear both; }
.sp-c img.wipe { transition: clip-path 700ms var(--inout), opacity 200ms linear; }
.sp-c:nth-child(3n+1) img { --kx: -1.6%; --ky: 0.8%; }
.sp-c:nth-child(3n+2) img { --kx: 1.2%; --ky: -1.2%; }
.sp-c:nth-child(3n) img { --kx: 1.6%; --ky: 1%; }
@keyframes sp-push { from { transform: scale(1.03) translate(0, 0); } to { transform: scale(1.12) translate(var(--kx, 0), var(--ky, 0)); } }
@media (prefers-reduced-motion: reduce) { .sp-c img.on { animation: none; } }

/* ---------- 17 Nov: page changes dip through black like a cue; the header holds; a show's lead photo travels ---------- */
::view-transition { background: var(--black); }
::view-transition-old(root) { animation: vt-out 170ms ease-in both; }
::view-transition-new(root) { animation: vt-in 320ms ease-out 150ms both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
.bar { view-transition-name: bar; }
::view-transition-old(bar), ::view-transition-new(bar) { animation: none; mix-blend-mode: normal; }
::view-transition-old(bar) { display: none; }
.v-show .sp-hero img { view-transition-name: hero; }
::view-transition-group(hero) { animation-duration: 460ms; animation-timing-function: var(--out); }
::view-transition-old(hero), ::view-transition-new(hero) { height: 100%; width: 100%; object-fit: cover; animation-duration: 300ms; }
/* viewer: the ground takes a dark tint from the photo; zoomed photos can be dragged */
.lb { background-color: color-mix(in oklab, var(--tint, #000) 16%, var(--scrim)); }
.lb.zoomed .lb-img { cursor: grab; }
.lb.zoomed .lb-prev, .lb.zoomed .lb-next, .lb.zoomed .lb-cap { opacity: 0; pointer-events: none; }
.lb-img { cursor: zoom-in; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root), ::view-transition-group(hero) { animation: none !important; } }

/* show page credits: role then name, as in a programme */
.sp-cr { margin: 0 0 var(--s6); display: grid; gap: 3px; font-size: 16px; line-height: 1.4; }
.sp-cr div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; }
.sp-cr dt { color: var(--mute); }
.sp-cr dd { margin: 0; color: var(--bone); }
@media (min-width: 900px) { .sp-meta { margin-bottom: var(--s4); } .sp-cr { margin-bottom: 0; margin-top: var(--s4); font-size: 15px; } .sp-cr div { grid-template-columns: 1fr; gap: 0; margin-bottom: 6px; } }

/* header role line, 17 Nov: same condensed capitals as the name, a size down (the small grey sentence read as generic) */
.bar-name { gap: 6px; }
.bar-d { font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: 0; font-size: 19px; line-height: 1; color: var(--mute); }
/* list preview: keep heads in frame when a 3:2 photo is cropped to a wide cell */
.pv-set img { object-position: 50% 12%; }

/* front page photos: pointing at one names the production */
.sp-cap { position: absolute; inset: auto 0 0 0; z-index: 3; display: flex; flex-direction: column; gap: 6px; padding: 56px 16px 14px; background: linear-gradient(to top, oklch(0.1 0.004 50 / .92), oklch(0.1 0.004 50 / .6) 55%, transparent); opacity: 0; transform: translateY(8px); transition: opacity 180ms ease-out, transform 220ms var(--out); pointer-events: none; }
.sp-cap b { font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 34px); line-height: .92; color: var(--bone); text-wrap: balance; }
.sp-cap i { font-style: normal; font-size: 15px; font-weight: 600; color: var(--hot); }
@media (hover: hover) { .sp-c:hover .sp-cap { opacity: 1; transform: none; } }
.sp-c:focus-visible .sp-cap { opacity: 1; transform: none; }

/* show page: back to the list, in the title voice, arrow leads the way */
.sp-back { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 var(--s4); padding: 6px 0; min-height: 44px; text-decoration: none; color: var(--bone); font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; transition: color 150ms ease-out; }
.sp-back svg { height: .5em; width: auto; flex: none; transition: transform 220ms var(--out); }
@media (hover: hover) { .sp-back:hover { color: var(--hot); } .sp-back:hover svg { transform: translateX(-7px); } }
.sp-back:active { transform: scale(.97); }
@media (min-width: 900px) {
  .sp-top { grid-template-rows: auto 1fr; }
  .sp-top .sp-hero { grid-column: 1; grid-row: 1 / span 2; }
  .sp-top .sp-back { grid-column: 2; grid-row: 1; align-self: start; justify-self: start; margin: 0; padding-top: 0; font-size: 30px; }
  .sp-top .sp-head { grid-column: 2; grid-row: 2; align-self: end; }
}
@media (max-width: 699px) { .sp-back { font-size: 21px; margin-bottom: var(--s2); } }

.sp-cr .me dt { color: var(--hot); }

/* work page section titles fill with the scroll (--f set from app.js, 0 = outline, 1 = solid) */
.ws-t, .ws.focus .ws-t { color: transparent; transition: none; position: relative; }
.ws-t::after { content: attr(data-t); position: absolute; inset: 0; color: var(--bone); -webkit-text-stroke: 0; opacity: var(--f, 0); will-change: opacity; pointer-events: none; }
/* contact: note beside the email link after it is clicked */
.ct li { position: relative; }
.ct-note { grid-column: 2; font-size: 15px; font-weight: 500; color: var(--hot); opacity: 0; transition: opacity 200ms ease-out; min-height: 1.3em; }
.ct-note.on { opacity: 1; }
@media (max-width: 699px) { .ct-note { grid-column: 1; } }

/* phones: an upright photo in the one-column gallery takes its own height (it was collapsing to nothing and spilling over what follows) */
@media (max-width: 699px) { .g.tall .ph-open { flex: none; } .g.tall img { aspect-ratio: var(--ar, 3 / 4); height: auto; width: 100%; } }   /* --ar holds the space before the photo loads */
/* wider screens: an upright photo always stands two rows high, even when no landscape photo sits beside it to set the row height */
@media (min-width: 700px) { .g.tall { min-height: calc((100vw - 2 * var(--gut) - var(--gap)) / 2 * 1.3333 + var(--gap)); } .g.tall img { object-fit: cover; } }

/* ---------- 18 Nov: Work is one list; every row opens its show page ---------- */
/* phones and tablets: each row leads with the show's photo (on a wide screen the preview beside the list does that) */
.ix-ph { display: none; }
@media (max-width: 1099px) {
  .ix { padding-bottom: var(--s5); }
  .ix-list, .ix-list li { border: 0; }
  .ix-list li + li { margin-top: var(--s6); }
  .ix-row[data-s] { gap: var(--s2); padding: 0; }
  .ix-row.ix-now { padding: var(--s3) 0 var(--s4); border-bottom: 1px solid var(--bone-line); }
  .ix-ph { display: block; position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--black-2); margin-bottom: var(--s2); }
  .ix-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 300ms var(--out); }
  .ix-row[data-s]:active { transform: none; }
  .ix-row[data-s]:active .ix-ph img { transform: scale(1.03); }
  .ix-row[data-s] .ix-t { font-size: clamp(36px, 10.5vw, 64px); }
}
@media (max-width: 699px) {
  /* photos run edge to edge, like the photo at the top of a show page */
  .ix-ph { width: calc(100% + 2 * var(--gut)); margin-left: calc(var(--gut) * -1); }
  /* show page: the photos run edge to edge too, with a hairline between them */
  .sp-gal { margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); gap: 4px; }
}

/* 18 Nov: on phones and tablets "All work" stays pinned to the top of the screen while a show page scrolls */
@media (max-width: 899px) {
  .sp-top { display: contents; }   /* lets the back link stick for the whole page, not just the top block */
  .sp-back {
    position: sticky; top: 0; z-index: 30;
    display: flex; width: calc(100% + 2 * var(--gut)); margin: 0 calc(var(--gut) * -1) var(--s2); padding: 10px var(--gut);
    background: oklch(0.145 0.004 50 / .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .sp-back:active { transform: none; color: var(--hot); }
}

/* 18 Nov, Harry: rows too big on a phone. Compact rows: photo on the left, title and details beside it */
@media (max-width: 699px) {
  .ix-list li + li { margin-top: var(--s3); }
  .ix-row[data-s] { display: grid; grid-template-columns: 40% 1fr; column-gap: 14px; row-gap: 6px; align-items: center; align-content: center; }
  .ix-row[data-s] .ix-ph { grid-row: 1 / span 2; width: 100%; margin: 0; }
  .ix-row[data-s] .ix-t { font-size: clamp(22px, 6.4vw, 28px); line-height: .95; align-self: end; }
  .ix-row[data-s] .meta { align-self: start; flex-direction: column; gap: 1px; font-size: 14px; }
  .ix-row[data-s] .meta .mg { display: flex; flex-wrap: wrap; gap: 0 .9em; }
  .ix-row.ix-now { padding: 0 0 var(--s3); margin-bottom: var(--s1); }
  .ix-row.ix-now .ix-t { font-size: clamp(28px, 8vw, 34px); }
}

/* 18 Nov, Harry: the current project row looked odd. On phones it now matches the other rows, with a plain
   dark tile where the photo will go */
.ix-dates { display: none; }
@media (min-width: 700px) { .ix-ph-now { display: none !important; } }
@media (max-width: 699px) {
  .ix-row.ix-now { display: grid; grid-template-columns: 40% 1fr; column-gap: 14px; row-gap: 6px; align-items: center; padding: 0; margin: 0; border: 0; }
  .ix-ph-now { grid-row: 1 / span 2; width: 100%; margin: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; aspect-ratio: 3 / 2; padding: 12px; background: var(--black-2); }
  .ix-ph-now b { font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 17px; line-height: 1; color: var(--hot); }
  .ix-ph-now b, .ix-ph-now i { display: block; margin: 0; padding: 0; }
  .ix-ph-now i { font-style: normal; font-size: 13px; color: var(--mute); }
  .ix-row.ix-now .ix-t { color: var(--bone); font-size: clamp(22px, 6.4vw, 28px); line-height: .95; align-self: end; }
  .ix-row.ix-now .meta { align-self: start; flex-direction: column; gap: 1px; font-size: 14px; }
  .ix-row.ix-now .meta .mg { display: flex; flex-wrap: wrap; gap: 0 .9em; }
  .ix-row.ix-now .ix-cur { display: none; }
  .ix-row.ix-now .ix-dates { display: inline; }
  .ix-list li:first-child:has(.ix-now) + li { margin-top: var(--s3); }
}

/* ---------- 18 Nov trial: glass, in small doses (back bar on phones, photo viewer buttons) ----------
   Clear glass, not a dark button: almost no tint, the photo behind is blurred and brightened, and the
   edge catches light (bright at the top left, a softer glint bottom right), like a lens over the stage. */
.lb-btn, .sp-back.gl {
  isolation: isolate;
  background: oklch(1 0 0 / .07);
  -webkit-backdrop-filter: blur(7px) saturate(1.9) brightness(1.35) contrast(1.05);
          backdrop-filter: blur(7px) saturate(1.9) brightness(1.35) contrast(1.05);
  box-shadow:
    inset 0 1px 1px oklch(1 0 0 / .55),          /* top edge highlight */
    inset 0 -1px 1px oklch(1 0 0 / .18),         /* bottom edge glint */
    inset 0 0 14px oklch(1 0 0 / .10),           /* inner glow, gives it thickness */
    0 6px 20px oklch(0 0 0 / .28);               /* lifts it off the page */
  text-shadow: 0 1px 2px oklch(0 0 0 / .45);
}
/* the rim: a hairline that is bright where the light hits and fades round the sides */
.lb-btn::after, .sp-back.gl::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1.2px;
  background: linear-gradient(135deg, oklch(1 0 0 / .85), oklch(1 0 0 / .18) 28%, oklch(1 0 0 / 0) 50%, oklch(1 0 0 / .14) 72%, oklch(1 0 0 / .55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* a soft sheen across the upper half */
.lb-btn::before, .sp-back.gl::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(to bottom, oklch(1 0 0 / .16), oklch(1 0 0 / .03) 48%, transparent 52%);
}
.lb-btn > *, .sp-back.gl > * { position: relative; z-index: 1; }
/* photo viewer: round glass buttons */
.lb-btn { border-radius: 50%; }
@media (hover: hover) { .lb-btn:hover { background: oklch(0.67 0.215 37 / .55); color: var(--bone); } }
/* phones and tablets: All work floats as a glass pill while the page scrolls under it */
@media (max-width: 899px) {
  .sp-back.gl {
    position: sticky; top: 10px; z-index: 30; display: inline-flex; width: auto;
    margin: 0 0 var(--s2); padding: 11px 20px 10px 17px; border-radius: 999px;
  }
}
/* wide screens: the back link is plain text in the title column, no glass */
@media (min-width: 900px) {
  .sp-back.gl { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; text-shadow: none; }
  .sp-back.gl::before, .sp-back.gl::after { display: none; }
}
/* glass drawn by the lens (app.js): the canvas is the glass, so no CSS frost, sheen or rim on top */
.lens, .sp-back.gl > .lens, .lb-btn > .lens { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; pointer-events: none; z-index: 0; }
.lensed.lb-btn, .lensed.sp-back.gl { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 8px 22px oklch(0 0 0 / .32); }
.lensed::before, .lensed::after { display: none; }
/* without the lens, no hairline outline either (Harry: the outlines look weird) */
.lb-btn::after, .sp-back.gl::after { display: none; }
