/* mercury v5: the insert.
   Two materials: night (charcoal, one light) and paper (oxblood ink on off-white, from the album insert).
   Two faces, both taken from the album lockup: a wide heavy serif for titles, typewriter caps for everything else.
   One motif per page: a print, a title that overlaps it, a list.
   Swap the tokens below to re-skin for the next era. */
:root {
  --bar: clamp(6px, .9vw, 12px); /* the black frame round every print */
  --night: #0b0c0e;
  --silver: #cfcbc2;
  --white: #f1ede4;
  --paper: #e8e3d8;
  --ink: #2e1417;      /* oxblood, from the insert lettering */
  --maroon: #b03a48;   /* the insert ink, lifted so it reads on night */

  --bg: var(--night);
  --fg: var(--silver);
  --hi: var(--white);
  --dim: rgba(207, 203, 194, .56);
  --rule: rgba(207, 203, 194, .16);
  --accent: var(--maroon);

  --display: "Roboto Serif", "Century Expanded", "Century Schoolbook", Georgia, serif;
  --type: "Courier Prime", "Courier New", Courier, monospace;
  --gut: max(20px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px), 4vw); /* clear of the notch whichever way a phone is turned */
  --max: 1280px;
  color-scheme: dark;
}
.paper {
  --bg: var(--paper);
  --fg: var(--ink);
  --hi: var(--ink);
  --dim: rgba(46, 20, 23, .62);
  --rule: rgba(46, 20, 23, .2);
  --accent: #7a1e2b;
  background: var(--bg); color: var(--fg);
}

/* typefaces are served with the site: one fewer connection, and the title face is pinned to the one cut we use.
   font-display: block, with the three everyday files preloaded by each page: text is never drawn in a stand-in face and then redrawn (that jump showed on every page change, most of all in Safari) */
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 400; font-display: block; src: url(/assets/fonts/courier-prime-400-latin-ext.woff2?v=e4220780) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 400; font-display: block; src: url(/assets/fonts/courier-prime-400-latin.woff2?v=ddb0efd5) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 700; font-display: block; src: url(/assets/fonts/courier-prime-700-latin-ext.woff2?v=b2666cef) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 700; font-display: block; src: url(/assets/fonts/courier-prime-700-latin.woff2?v=4faaae3e) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Serif"; font-style: normal; font-weight: 700; font-stretch: 150%; font-display: block; src: url(/assets/fonts/roboto-serif-700-latin-ext.woff2?v=496ccfcf) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto Serif"; font-style: normal; font-weight: 700; font-stretch: 150%; font-display: block; src: url(/assets/fonts/roboto-serif-700-latin.woff2?v=2ba63bce) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

* { box-sizing: border-box; }
picture { display: contents; }
html { -webkit-text-size-adjust: 100%; background: var(--night); -webkit-tap-highlight-color: transparent; scroll-padding-top: var(--hh); --hh: 58px; } /* --hh: header height, kept exact by site.js */
html:has(body.paper) { background: var(--paper); } /* a paper page is paper all the way: what shows when a phone pulls the page past its ends */
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--fg); font: 400 15px/1.5 var(--type); -webkit-font-smoothing: antialiased; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
ol, ul { list-style: none; margin: 0; padding: 0; }
h1, h2, p, figure { margin: 0; }
.defs { position: absolute; width: 0; height: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* film grain over everything */
body::after { content: ""; position: fixed; inset: -120px; z-index: 50; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- type ---------- */
/* the album face: wide, heavy, tight, printed rough */
.display { font-family: var(--display); font-weight: 700; font-stretch: 150%; font-variation-settings: "opsz" 144; text-transform: uppercase; letter-spacing: -.04em; line-height: .84; color: var(--hi); filter: url(#ink); }
/* typewriter caps, as in the lockup tracklist */
.type { font: 700 13px/1.4 var(--type); letter-spacing: .04em; text-transform: uppercase; }
.type .n, .n { color: var(--dim); font-weight: 400; }
.dim { color: var(--dim); }
.ink { display: block; background: currentColor; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.cta { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: var(--hi); transition: color .2s; }
.cta:hover { color: var(--accent); }

/* one line of typewriter under a title: label, fact, action */
.line { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 28px; }

/* ---------- header: logo on the axis, nav either side ---------- */
/* the header stays at the top of the screen; it sits above the grain and the lifted album art */
.site-head { position: sticky; top: 0; z-index: 60; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: calc(9px + env(safe-area-inset-top, 0px)) 9px;
  max-width: none; padding-inline: max(var(--gut), calc((100% - var(--max)) / 2)); } /* full width so its backing spans the screen; the padding keeps its contents on the page's column */
/* iPhone Safari (iOS 26) paints the strip behind the clock a flat colour taken from the first full-width pinned element it can hit at the top of the page, even a see-through blurred one.
   The header box itself is therefore untouchable and has no background: Safari skips it and lets the page run on up behind the clock. Its links stay tappable. */
.site-head { pointer-events: none; }
.site-head a, .site-head button, .site-head nav { pointer-events: auto; }
/* its backing is a separate layer, so the blur doesn't trap the full-screen phone menu inside the header */
.site-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.logo { --src: url(/assets/logo-script-bold.png?v=8c9c6182); grid-column: 2; grid-row: 1; width: 200px; aspect-ratio: 5 / 1; color: var(--hi); }
.site-head nav { display: contents; }
.site-head nav div { grid-row: 1; display: flex; gap: 26px; }
.site-head nav div:nth-child(2) { grid-column: 3; justify-content: flex-end; }
.site-head nav .social { display: none; } /* the footer's links, shown only in the phone menu */
.site-head nav a { font: 700 13px/1 var(--type); letter-spacing: .04em; text-transform: uppercase; color: var(--dim); white-space: nowrap; transition: color .2s; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--hi); }
.site-head nav .pre { color: var(--accent); }
.menu { display: none; grid-column: 3; grid-row: 1; justify-self: end; background: none; border: 0; padding: 10px 0 10px 16px; color: var(--hi); font: 700 12px/1 var(--type); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }

/* release switches on <html>: .single-out once Mess is out (s-pre / s-out), .released once the album is (pre-state / out-state) */
html:not(.released) .out-state, .released .pre-state, html:not(.single-out) .s-out, .single-out .s-pre { display: none !important; }

/* ---------- the motif: a print, and a title that overlaps its bottom edge ---------- */
.print { position: relative; background: #000; border: var(--bar) solid #000; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .05); }
.paper .print { box-shadow: 0 18px 40px -22px rgba(46, 20, 23, .55); }
.print img { width: 100%; height: 100%; object-fit: cover; }
.plate { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } /* one fixed column: a wide title must not widen it and push everything off centre */
.plate .print { width: min(100%, var(--pw, 940px)); aspect-ratio: var(--ar, 3 / 2); }
.plate .print::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 45%, rgba(11, 12, 14, .88) 96%); }
.plate .display { position: relative; z-index: 1; margin-top: -.4em; font-size: var(--ts, clamp(64px, 15vw, 220px)); }
/* on paper the title is ink off the print and pale on it */
.paper .plate .print::after { content: none; }
.paper .plate .display { color: #bacfc1; mix-blend-mode: difference; }
.plate .line { margin-top: clamp(18px, 2.4vw, 30px); }
.page { padding-block: clamp(8px, 2vw, 28px) clamp(40px, 5vw, 72px); }
section + section, .page + section { margin-top: clamp(56px, 8vw, 112px); }

/* exposure: the picture arrives like a flash going off */
@keyframes expose { 0% { filter: brightness(0); } 14% { filter: brightness(2.4) contrast(.75); } 100% { filter: brightness(1) contrast(1); } }
@keyframes drift { from { scale: 1; translate: 0 0; } to { scale: 1.06; translate: -.8% -1%; } }
.expose img { animation: expose .8s cubic-bezier(.2, .7, .2, 1) both; }
/* photographs keep moving, slowly, like a held frame (never the album art) */
.plate .expose img { animation: expose .8s cubic-bezier(.2, .7, .2, 1) both, drift 30s ease-in-out .8s infinite alternate; }

/* looping clips: a silent loop laid over its still, faded in once it is actually playing */
.clip { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); object-fit: cover; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.clip.on { opacity: 1; }
.print:has(.clip.on) img { animation-play-state: paused; }

/* ---------- home ---------- */
/* the hero is the film and nothing else: the full width of the screen, from under the header to the foot of the screen (less a sliver, so the paper's torn edge shows),
   and never taller than it is wide. The clip is cropped to fill that shape whatever the window's proportions: no dark margin shows on any side. */
.hero { --fh: min(calc(100svh - var(--hh) - 8px), 100vw); --lw: .86; /* --fh: the film's height; --lw: the lettering's width as a share of the film's */
  min-height: 0; max-width: none; padding: 0; }
/* the album lettering, redrawn clean from the album's typeface; its print grain comes from the same filter as the display titles */
.hero .lettering { width: min(calc(100% * var(--lw)), calc(var(--fh) * 2.08)); /* a share of the film's width, but never taller than about 46% of the film */
  margin: 0; padding: 0; mix-blend-mode: difference; filter: url(#ink); transition: opacity .6s ease;
  transform: translateZ(0); } /* its own layer, on purpose: Safari draws a playing video on a layer of its own, and only inverts it under lettering that is on a layer too. Without this the lettering shows flat off-white in Safari. */
/* the lettering and the line under it lie over the film as one block, centred on it both ways: film and block share a grid cell.
   The block comes after the film and is positioned without a z-index, so it paints on top but the lettering can still invert the film beneath it. */
.hero .print, .hero .over { grid-area: 1 / 1; }
.hero .over { position: relative; align-self: center; width: 100%; display: flex; flex-direction: column; align-items: center; pointer-events: none; } /* clicks fall through to the film, except on the link */
.hero .over a { pointer-events: auto; }
.hero .print { cursor: pointer; width: 100%; height: var(--fh); aspect-ratio: auto; border: 0; box-shadow: none; } /* no frame here */
.hero .over .line { margin-top: clamp(12px, 1.8vw, 24px); font-size: clamp(14px, 1.25vw, 17px); gap: 8px 1.9em; color: var(--hi); text-shadow: 0 0 14px rgba(0, 0, 0, .6), 0 1px 2px rgba(0, 0, 0, .55); transition: filter .6s ease; }
.hero .over .count i { color: inherit; opacity: .72; }
.hero.bare .lettering { opacity: 0; } /* a click on the film clears the lettering and the line off it (site.js) */
.hero.bare .over .line { filter: opacity(0); } /* not opacity: the line's reveal animation holds that */
.hero.bare .over a { pointer-events: none; }
.hero.playing .print { width: min(100%, calc((100svh - var(--hh) - 8px) * 16 / 9)); height: auto; aspect-ratio: 16 / 9; cursor: auto; } /* once Mess is out the click also plays it here: the film takes the player's shape, as wide as the screen unless that would run it off the bottom */
.hero.playing .over { display: none; } /* the lettering's layer is done once the player is in: left in place it holds the section at the film's full height (upright phones), a dark gap under the player */
.hero .print iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* the film can't always run (reduced motion, data saver, a phone in low power mode, a script that failed): then, and only then, a still from it stands in */
html:not(.js) .hero .print, .hero .print.held { background: #000 center / cover no-repeat; background-image: url(/assets/media/hero-still.jpg?v=d930cc4f); background-image: image-set(url(/assets/media/hero-still.avif?v=81523f71) type("image/avif"), url(/assets/media/hero-still.jpg?v=d930cc4f) type("image/jpeg")); }
.hero .lettering .ink { --src: url(/assets/album-title.png?v=dc3372f2); aspect-ratio: 1040 / 230; color: #fff; } /* pure white, not the page's off-white: difference against full white is the complete negative of the film, the strongest this blend can give */
.count { font-variant-numeric: tabular-nums; }
.count b { display: inline-block; }
.count i { font-style: normal; font-weight: 400; color: var(--dim); margin: 0 .7em 0 .15em; }
.count i:last-child { margin-right: 0; }

/* the insert: the album announced in its own lettering, ink on paper */
.insert { position: relative; margin-top: 0 !important; padding-block: clamp(40px, 5vw, 72px) clamp(64px, 8vw, 120px); text-align: center; }
.insert::before, .insert::after { content: ""; position: absolute; left: 0; right: 0; height: 16px; background: var(--paper); filter: url(#tear); }
.insert::before { top: -7px; } .insert::after { bottom: -7px; }
.lockup { --src: url(/assets/lockup.png?v=0bb916fe); width: min(100%, 1120px); margin-inline: auto; aspect-ratio: 1600 / 1210; color: var(--ink);
  -webkit-mask-size: 100% auto; mask-size: 100% auto; -webkit-mask-position: 50% 20%; mask-position: 50% 20%; }
.insert .line { margin-top: clamp(8px, 2vw, 28px); }

.band { padding-top: clamp(56px, 8vw, 112px); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(20px, 3vw, 36px); }
.sec-head .display { font-size: clamp(48px, 8vw, 112px); }

/* ---------- tour ---------- */
.dates li a { display: grid; grid-template-columns: 7.5em minmax(0, 1.2fr) minmax(0, 1fr) 6em; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--rule); color: var(--dim); transition: color .2s; }
.dates li:first-child a, .dates li.first a { border-top: 1px solid var(--rule); }
.dates .c { font-family: var(--display); font-weight: 700; font-stretch: 150%; font-variation-settings: "opsz" 144; font-size: clamp(20px, 2.5vw, 34px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; color: var(--hi); filter: url(#ink-s); }
.dates .d { color: var(--hi); font-variant-numeric: tabular-nums; }
.dates .t { justify-self: end; color: var(--hi); border-bottom: 1px solid transparent; padding-bottom: 3px; transition: border-color .2s; } /* the last column has a fixed width, so "Tickets", "Info" and "Sold out" rows all keep the venue column in line */
.dates a:hover { color: var(--hi); }
.dates a:hover .t { border-color: currentColor; }
.dates .tonight .d, .dates .mark { color: var(--accent); }
.dates .w, .dates .mark { display: block; margin-top: 6px; font-size: 12px; }
.dates .w { font-weight: 400; }
.dates .w + .mark { margin-top: 2px; }
.dates li[hidden] { display: none; }
.none { padding: 28px 0; border-block: 1px solid var(--rule); }
.after { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; }
.after a { color: var(--dim); transition: color .2s; }
.after a:hover { color: var(--hi); }

/* the characters from the insert artwork, side by side in one strip (figures.png), each cut out by its own window and dancing */
.procession { font-size: clamp(44px, 6vw, 84px); display: flex; align-items: end; gap: .32em; margin-bottom: .12em; color: var(--fg); }
.procession i { display: block; height: 1em; background: currentColor; opacity: .85; transform-origin: 50% 100%;
  -webkit-mask: url(/assets/figures.png?v=706e30ce) no-repeat; mask: url(/assets/figures.png?v=706e30ce) no-repeat;
  -webkit-mask-size: auto 100%; mask-size: auto 100%; animation: dance 1.6s steps(4, jump-none) infinite alternate; }
.procession .c1 { width: .483em; -webkit-mask-position: 0 0; mask-position: 0 0; }
.procession .c2 { width: .783em; -webkit-mask-position: -.483em 0; mask-position: -.483em 0; animation-name: leap; }
.procession .c3 { width: .602em; -webkit-mask-position: -1.265em 0; mask-position: -1.265em 0; animation-name: bob; }
.procession .c4 { width: .791em; -webkit-mask-position: -1.867em 0; mask-position: -1.867em 0; }
.procession .c5 { width: .583em; -webkit-mask-position: -2.659em 0; mask-position: -2.659em 0; animation-name: bob; }
.procession .c6 { width: .657em; -webkit-mask-position: -3.241em 0; mask-position: -3.241em 0; }
.procession .c7 { width: .811em; -webkit-mask-position: -3.898em 0; mask-position: -3.898em 0; animation-name: leap; }
.procession .c8 { width: .924em; -webkit-mask-position: -4.709em 0; mask-position: -4.709em 0; animation-name: bob; }
.procession i:nth-child(2) { animation-delay: -.4s; } .procession i:nth-child(3) { animation-delay: -.9s; }
.procession i:nth-child(4) { animation-delay: -1.2s; transform: scaleX(-1); } .procession i:nth-child(5) { animation-delay: -.2s; } .procession i:nth-child(6) { animation-delay: -.7s; }
@keyframes dance { from { rotate: -6deg; } to { rotate: 7deg; } }
@keyframes bob { from { translate: 0 0; rotate: 3deg; } to { translate: 0 -.08em; rotate: -4deg; } }
@keyframes leap { from { translate: 0 0; scale: 1; } to { translate: 0 -.14em; scale: 1.06; } }

/* ---------- music ---------- */
.album { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
/* album art is shown exactly as supplied: no dimming, and lifted above the page grain */
.album .print { aspect-ratio: 1; z-index: 51; }
/* the album's own lettering is the page title: centred over the tracklist, with its subtext under it */
.album-title { padding: 0; filter: url(#ink-s); }
.album-title .ink { --src: url(/assets/album-title.png?v=dc3372f2); width: min(100%, 600px); margin-inline: auto; aspect-ratio: 1040 / 230; color: var(--hi); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: clamp(14px, 2vw, 22px) 0 clamp(22px, 2.6vw, 32px); color: var(--dim); }
.facts b { color: var(--accent); }
.tracks li > * { display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto; gap: 8px; padding: 10px 0 8px; border-bottom: 1px solid var(--rule); font: 700 14px/1.4 var(--type); letter-spacing: .03em; text-transform: uppercase; color: var(--dim); }
.tracks li:first-child > * { border-top: 1px solid var(--rule); }
.tracks .s { font-size: 13px; }
.tracks a { color: var(--hi) !important; }
.tracks a:hover .s { text-decoration: underline; text-underline-offset: 4px; }
.tracks .next .n, .tracks .next .s { color: var(--accent); }
.album .cta { margin-top: 28px; }

.covers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 20px; }
@media (max-width: 1100px) { .covers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.covers img { position: relative; z-index: 51; width: 100%; aspect-ratio: 1; object-fit: cover; background: #141517; }
.covers a:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.covers b { display: block; margin-top: 12px; color: var(--hi); }
.covers span { display: block; margin-top: 3px; color: var(--dim); font-weight: 400; }

/* ---------- videos ---------- */
.reel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
.reel li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.reel .feature { grid-column: 1 / -1; }
/* desktop: a video left on its own in the last row sits in the middle, at the same size as the others (the big first one counts as a full row) */
@media (min-width: 861px) { .reel li:last-child:nth-child(even):not(.feature) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 24px) / 2); } }
.reel iframe, .yt { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.yt { position: relative; padding: 0; cursor: pointer; overflow: hidden; }
.yt.still { cursor: auto; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.reel li > b { align-self: end; margin-bottom: 14px; color: var(--hi); font-size: 14px; }
.reel .feature > b { font-family: var(--display); font-stretch: 150%; font-variation-settings: "opsz" 144; font-size: clamp(22px, 2.8vw, 36px); line-height: 1; letter-spacing: -.035em; filter: url(#ink-s); margin-bottom: 18px; }
.reel .meta { display: block; margin-top: 12px; color: var(--dim); font-weight: 400; }
.title { text-align: center; padding-block: clamp(12px, 3vw, 40px) clamp(28px, 4vw, 56px); }
.title .display { font-size: clamp(56px, 13vw, 190px); }
.title .line { margin-top: 18px; }
/* videos title: each letter is a window onto one of the six clips, in negative.
   Per letter: the clip (inverted), then the letter in white on black multiplied over it, so the clip survives only inside the letter.
   One last layer lifts the black that is left back up to the page colour. No rough-ink filter here: it would have to re-run on every video frame. */
.vword { position: relative; display: inline-flex; isolation: isolate; font-family: var(--display); font-weight: 700; font-stretch: 150%; font-variation-settings: "opsz" 144; font-size: clamp(56px, 14vw, 200px); line-height: .84; text-transform: uppercase; }
.vword .l { position: relative; display: block; isolation: isolate; overflow: hidden; background: #000; }
.vword .l i, .vword .l video { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); object-fit: cover; filter: invert(1); } /* held just inside the cell, so no hairline of picture shows at its edges */
.vword .l i { background: var(--jpg) center / cover; background-image: image-set(var(--avif) type("image/avif"), var(--jpg) type("image/jpeg")); }
.vword .l b { position: relative; display: block; padding: .05em 0; background: #000; color: #fff; font-weight: inherit; mix-blend-mode: multiply; }
/* the ink grain: the same speckle the other titles get from the print filter, here as a still texture of page-coloured flecks laid over the letters (a live filter would have to re-run on every video frame) */
.vword::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-size: 260px 260px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='s' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .043  0 0 0 0 .047  0 0 0 0 .055  0 0 0 14 -9.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E"); }
.vword::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--night); mix-blend-mode: lighten; pointer-events: none; }

/* ---------- contact: liner notes, on paper ---------- */
.credits { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: clamp(32px, 4vw, 48px) clamp(32px, 7vw, 110px); margin-top: clamp(36px, 5vw, 64px); text-align: center; }
.credits .type { display: block; margin-bottom: 8px; color: var(--dim); }
.credits a { display: block; border-bottom: 1px solid transparent; }
.credits a:hover { color: var(--accent); }

/* ---------- merch / 404 ---------- */
.empty { display: grid; justify-items: center; text-align: center; padding-block: clamp(8px, 3vw, 40px) clamp(48px, 6vw, 96px); }
.empty .guy { --src: url(/assets/guy-bold.png?v=2c9042f1); width: min(74vw, 46svh, 460px); aspect-ratio: 1; color: var(--fg); opacity: .9; }
.empty .display { margin-top: -.55em; font-size: clamp(56px, 13vw, 190px); mix-blend-mode: difference; }
.empty .line { margin-top: 22px; }

/* ---------- footer: the album scribble, then where else to find them ---------- */
.site-foot { display: grid; justify-items: center; gap: 28px; padding-block: clamp(72px, 9vw, 128px) calc(32px + env(safe-area-inset-bottom, 0px)); }
.oval { --src: url(/assets/oval.png?v=a726b0cf); width: clamp(210px, 22vw, 290px); aspect-ratio: 1; color: var(--dim); }
.site-foot nav { display: flex; justify-content: center; gap: clamp(14px, 4vw, 26px); color: var(--dim); }
.site-foot nav a { padding: 10px; }
.ico { display: block; width: 20px; height: 20px; fill: currentColor; }
/* the site credit: last thing in the contact page's content, above the footer */
.colophon { margin-top: clamp(44px, 6vw, 72px); text-align: center; font-size: 13px; line-height: 1.6; color: var(--dim); }
.colophon .type { display: block; margin-bottom: 6px; font-size: 11px; }
.colophon a { display: block; }
.colophon a:hover { color: var(--accent); }
.site-foot a { transition: color .2s; }
.site-foot a:hover { color: var(--hi); }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  html { --hh: 46px; }
  .site-head { grid-template-columns: 1fr auto 1fr; padding-block: calc(7px + env(safe-area-inset-top, 0px)) 7px; }
  /* phones: the header and the bottom bar are solid. See-through, they showed the page's lettering ghosting behind them (iOS does not blur it), and a blur is costly to keep redrawing on a phone */
  .site-head::before { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* phones: the footer's links become a bar fixed to the bottom of the screen; it slides away on the way down the page and back on the way up */
  .site-foot { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .site-foot nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 56; padding: 6px var(--gut) calc(6px + env(safe-area-inset-bottom, 0px));
    will-change: translate; transition: translate .18s cubic-bezier(.2, .8, .2, 1); /* back in fast. Moved with translate, not transform: the bar's entrance animation holds transform, and would pin it in place */
    pointer-events: none; } /* same as the header: untouchable and bare, so Safari doesn't flatten the area under it into a solid bar */
  .site-foot nav a { pointer-events: auto; }
  .site-foot nav::before { content: ""; position: absolute; inset: 0; z-index: -1; border-top: 1px solid var(--rule);
    background: var(--bg); }
  .site-foot nav.away { translate: 0 110%; transition: translate .22s cubic-bezier(.4, 0, 1, 1); }
  .logo { width: 150px; position: relative; z-index: 2; }
  .menu { display: block; position: relative; z-index: 2; padding: 16px 0 16px 24px; margin-block: -6px; } /* a full-size target for a thumb; the negative margin keeps the header its height */
  /* full-screen menu: one link per line, big */
  .site-head nav { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 0;
    padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gut) calc(48px + env(safe-area-inset-bottom, 0px)); background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .16s ease, visibility 0s linear .16s; }
  .site-head.open nav { opacity: 1; visibility: visible; transition: opacity .16s ease; }
  .site-head.open { z-index: 60; } /* the menu takes the page's own colours: night on most pages, paper and ink on contact */
  .site-head nav div { display: block; }
  .site-head nav a { display: block; padding: 7px 0; color: var(--hi);
    font: 700 clamp(34px, 10.5vw, 56px)/1 var(--display); font-stretch: 150%; font-variation-settings: "opsz" 144; letter-spacing: -.04em; }
  .site-head nav div:not(.social) a:not(.pre) { filter: url(#ink-s); } /* the same rough print as the page titles */
  .site-head nav a[aria-current] { color: var(--accent); }
  .site-head nav .pre { margin-top: 26px; font: 700 13px/1 var(--type); letter-spacing: .04em; color: var(--accent); }
  /* the footer's links sit along the bottom of the open menu */
  .site-head nav .social { display: flex; justify-content: center; gap: clamp(14px, 4vw, 26px); position: absolute; left: 0; right: 0; bottom: calc(6px + env(safe-area-inset-bottom, 0px)); } /* exactly where the bottom bar's own links sit, so they don't move as the menu opens, closes or gives way to a page */
  .site-head nav .social a { --n: 6.5; display: block; padding: 10px; color: var(--dim); }
  .site-head nav .social a:hover { color: var(--hi); }
  body.menu-open { overflow: hidden; }
  /* once the menu has covered the page, the page under it is put away: a link in the menu then dissolves the menu straight into the next page, and the old page never shows through on the way */
  .menu-open main, .menu-open .site-foot { visibility: hidden; transition: visibility 0s .2s; }
  .site-foot nav { view-transition-name: foot; }

  .hero { --lw: .94; }
  .lockup { --src: url(/assets/lockup-sm.png?v=88952122); } /* phone-sized copies of the two biggest drawings: the full-size ones are several megapixels to unpack for a slot this narrow */
  .album-title .ink { --src: url(/assets/album-title-sm.png?v=67f2785d); }
  .line { gap: 6px 20px; }
  /* phones: lettering first, then the art, then its subtext, then the tracklist (the right-hand column dissolves so the lettering can move above the art) */
  .album { grid-template-columns: 1fr; gap: 0; }
  .album > div { display: contents; }
  .album .album-title { order: -1; margin-bottom: 22px; }
  .album .facts { margin: 18px 0 22px; }
  .album .cta { justify-self: start; }
  .vword::before { background-size: 120px 120px; } /* the title is small here: finer flecks, or they read as holes */
  .reel { grid-template-columns: 1fr; gap: 36px; }
  .reel .feature > b { font-size: min(5.2vw, 22px); white-space: nowrap; } /* sized to the screen so the longest title stays on one line */
  .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .dates li a { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 16px 0; }
  .dates .d { grid-column: 1; grid-row: 1; }
  .dates .c { grid-column: 1; grid-row: 2; font-size: 24px; }
  .dates .v { grid-column: 1; grid-row: 3; }
  .dates .t { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .procession { font-size: 40px; gap: .2em; }
  .procession i:nth-child(n+5) { display: none; }
  @media (max-width: 350px) { .procession i:nth-child(n+4) { display: none; } } /* the narrowest phones: one figure fewer beside the title, or the row pushes the page wider than the screen */
  .credits { grid-template-columns: 1fr; }
}
/* the drawings: AVIF where the browser can choose by type, PNG everywhere else */
@supports (mask-image: image-set(url("a.avif") type("image/avif"))) or (-webkit-mask-image: image-set(url("a.avif") type("image/avif"))) {
  .logo { --src: image-set(url(/assets/logo-script-bold.avif?v=70e76ba2) type("image/avif"), url(/assets/logo-script-bold.png?v=8c9c6182) type("image/png")); }
  .lockup { --src: image-set(url(/assets/lockup.avif?v=94f52f27) type("image/avif"), url(/assets/lockup.png?v=0bb916fe) type("image/png")); }
  .album-title .ink { --src: image-set(url(/assets/album-title.avif?v=3db2e818) type("image/avif"), url(/assets/album-title.png?v=dc3372f2) type("image/png")); }
  .hero .lettering .ink { --src: image-set(url(/assets/album-title.avif?v=3db2e818) type("image/avif"), url(/assets/album-title.png?v=dc3372f2) type("image/png")); }
  .oval { --src: image-set(url(/assets/oval.avif?v=989cee7f) type("image/avif"), url(/assets/oval.png?v=a726b0cf) type("image/png")); }
  .empty .guy { --src: image-set(url(/assets/guy-bold.avif?v=0b462a7b) type("image/avif"), url(/assets/guy-bold.png?v=2c9042f1) type("image/png")); }
  .procession i { -webkit-mask-image: image-set(url(/assets/figures.avif?v=5dc022e8) type("image/avif"), url(/assets/figures.png?v=706e30ce) type("image/png")); mask-image: image-set(url(/assets/figures.avif?v=5dc022e8) type("image/avif"), url(/assets/figures.png?v=706e30ce) type("image/png")); }
}

/* ================= motion =================
   Everything arrives the way printed matter does: pictures flash and settle, titles soak in as ink,
   lists print line by line, the hand drawings boil like cel animation, and the grain never sits still.
   All of it is gated on .js (set in <head> unless the visitor asks for reduced motion). */

/* film grain at film rate (pointer devices only; phones keep it still to save battery) */
@keyframes grain { 0% { transform: translate(0, 0); } 17% { transform: translate(-38px, 52px); } 33% { transform: translate(71px, -24px); } 50% { transform: translate(-64px, -81px); } 67% { transform: translate(23px, 90px); } 83% { transform: translate(-90px, 14px); } }
@media (hover: hover) { .js body::after { animation: grain .72s steps(1) infinite; } }

/* line boil on the drawings (pointer devices only: on a phone the filter is redrawn by the processor seven times a second, header logo included, and scrolling pays for it) */
@media (hover: hover) { .js .logo, .js .oval, .js .guy, .js .procession { filter: url(#boil); } }
/* touch devices: the page grain needs no margin to move in, and the small repeated lettering goes without the rough-print filter, which would be redrawn as each row scrolls into view */
@media (hover: none) {
  body::after { inset: 0; }
  .dates .c, .reel .feature > b, .site-head nav div:not(.social) a:not(.pre) { filter: none; }
}

/* titles and lettering: hidden until the ink develops (site.js animates the filter; the largest drawings simply fade) */
.js .display, .js [data-dev] { opacity: 0; }
.js .display.in, .js [data-dev].in { opacity: 1; }
.js .hero .lettering:not(.in) { opacity: 0; } /* the home lettering fades in over the film */

/* everything arrives from the top down: lines unroll downward one after another, blocks drop in */
/* (the clip lives in the keyframes, not the resting state: a clipped element never reports as on screen) */
@keyframes wipe { from { opacity: 0; clip-path: inset(-8px -8px 100% -8px); transform: translateY(-10px); } 15% { opacity: 1; } to { opacity: 1; clip-path: inset(-8px); transform: none; } }
.js .wipe { opacity: 0; }
.js .wipe.in { opacity: 1; animation: wipe .45s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0ms) + var(--i, 0) * 35ms) both; }
.js .dates li:not(.wipe) { opacity: 0; } /* tour rows hold until the Bandsintown feed has answered */
.js .rise { opacity: 0; transform: translateY(-14px); }
.js .rise.in { opacity: 1; transform: none; transition: opacity .35s ease calc(var(--d, 0ms) + var(--i, 0) * 35ms), transform .45s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0ms) + var(--i, 0) * 35ms); }

/* home: the photograph stays put and the paper insert is laid over it */
.pin .hero { will-change: opacity; position: sticky; top: var(--pin, 0px); z-index: 0; } /* site.js dims it as the paper covers it; it no longer shrinks, which would open dark margins beside a film that fills the screen's width */
.home main > section:not(.hero) { position: relative; z-index: 1; margin-top: 0; background: var(--bg); }
.home main > section.insert { z-index: 2; }

/* small touches */
@media (hover: hover) {
  .dates .c { transition: translate .4s cubic-bezier(.2, .7, .2, 1); }
  .dates a:hover .c { translate: 12px 0; }
  .covers img { transition: translate .4s cubic-bezier(.2, .7, .2, 1); }
  .covers a:hover img { translate: 0 -6px; }
}

/* page to page: one page dissolves into the next (a true cross-fade, no dip through black); the header holds still, and so does the phone's bottom bar */
@view-transition { navigation: auto; }
.site-head { view-transition-name: head; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
::view-transition-group(head), ::view-transition-group(foot) { animation-duration: .2s; }
/* arriving from another page of the site (.from-site, set in <head>): the picture comes up out of the dark with the dissolve instead of flashing; the flash is kept for the first arrival */
@keyframes expose-soft { from { filter: brightness(.35); } to { filter: brightness(1); } }
.from-site .expose img { animation: expose-soft .5s cubic-bezier(.2, .7, .2, 1) both; }
.from-site .plate .expose img { animation: expose-soft .5s cubic-bezier(.2, .7, .2, 1) both, drift 30s ease-in-out .5s infinite alternate; }

@media (max-width: 860px) {
  /* menu: links come up one after another */
  .site-head nav a { opacity: 0; translate: 0 -16px; transition: opacity .2s, translate 0s .3s, color .2s; }
  .site-head.open nav a { opacity: 1; translate: none; transition: opacity .25s ease calc(var(--n) * 28ms + 30ms), translate .35s cubic-bezier(.2, .7, .2, 1) calc(var(--n) * 28ms + 30ms), color .2s; }
  .site-head nav div:first-child a:nth-child(1) { --n: 0; } .site-head nav div:first-child a:nth-child(2) { --n: 1; } .site-head nav div:first-child a:nth-child(3) { --n: 2; }
  .site-head nav div:nth-child(2) a:nth-child(1) { --n: 3; } .site-head nav div:nth-child(2) a:nth-child(2) { --n: 4; } .site-head nav div:nth-child(2) a:nth-child(n+3) { --n: 5.5; }
}
/* .blend: the title inverts whatever part of the picture it crosses (the picture keeps its own tones: no shade under the title) */
.blend .print::after { content: none; }
.blend .display { mix-blend-mode: difference; }
/* .centre: the title is laid dead centre on the picture */
.centre .print, .centre .display { grid-area: 1 / 1; }
.centre .display { align-self: center; margin-top: 0; }
/* tour page: the dates follow close under the title */
.tight { padding-bottom: 0; }
.tight + section { margin-top: clamp(22px, 3.2vw, 44px); }
/* tour page: the figures, large, in a row along the top rule of the dates */
.procession.row { justify-content: space-between; gap: 0; margin: 0; font-size: clamp(44px, 7.6vw, 108px); } /* feet on the rule */
.procession.row i { animation-delay: calc(var(--k) * -.27s); transform: none; }
.procession.row i:nth-child(3n) { transform: scaleX(-1); }
@media (max-width: 860px) {
  .procession.row { font-size: 46px; }
  .procession.row i { display: block; }
  .procession.row i:nth-child(n+8) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- upright phones and tablets: the vertical lockup ----------
   The film fills the screen below the header and the album's vertical lockup lies over it, inverting it like the wide lettering does elsewhere.
   The drawing is far larger than the screen (its lettering is a small block in a tall scribble): it is sized so its widest line is about 80% of the
   screen's width, and placed so the lettering's axis is the screen's, a little above the middle. The scribble runs off the edges. */
@media (max-width: 860px) and (orientation: portrait) {
  .hero { --fh: calc(100svh - var(--hh) - 60px); } /* down to the bottom bar (52px), less a sliver so the paper's torn edge shows above it */
  .hero .over { align-self: stretch; height: var(--fh); display: block; overflow: hidden; }
  .hero .lettering { position: absolute; inset: 0; width: auto; filter: none; } /* no rough-print filter: the drawing has its own hand, and the layer is the size of the screen */
  .hero .lettering .ink { --src: url(/assets/lockup-vertical.png?v=779a2a4b); width: 100%; height: 100%; aspect-ratio: auto;
    --k: .76; /* the drawing's size: 1 puts its widest line at about 80% of the screen's width. Everything below scales about the lettering's centre, so changing this one number keeps it in place */
    -webkit-mask-size: calc(146.7vw * var(--k)) auto; mask-size: calc(146.7vw * var(--k)) auto;
    -webkit-mask-position: calc(50vw - 74.76vw * var(--k)) calc(var(--fh) * .46 - 128.7vw * var(--k)); mask-position: calc(50vw - 74.76vw * var(--k)) calc(var(--fh) * .46 - 128.7vw * var(--k)); }
  /* the numbers above come from the drawing (MERCURY WEB.psd, cut to its middle 56%): at --k 1 it is 146.7vw wide, the lettering's axis is 74.76vw in from its left edge and the lettering's middle 128.7vw down from its top */
  .hero .over .line { --k: .76; position: absolute; left: 0; right: 0; top: calc(var(--fh) * .46 + 46vw * var(--k) + 10.5vw); margin: 0; font-size: 16px; }
}
@supports (mask-image: image-set(url("a.avif") type("image/avif"))) or (-webkit-mask-image: image-set(url("a.avif") type("image/avif"))) {
  @media (max-width: 860px) {
    .lockup { --src: image-set(url(/assets/lockup-sm.avif?v=a2459920) type("image/avif"), url(/assets/lockup-sm.png?v=88952122) type("image/png")); }
    .album-title .ink { --src: image-set(url(/assets/album-title-sm.avif?v=239716f5) type("image/avif"), url(/assets/album-title-sm.png?v=67f2785d) type("image/png")); }
  }
  @media (max-width: 860px) and (orientation: portrait) {
    .hero .lettering .ink { --src: image-set(url(/assets/lockup-vertical.avif?v=3a61f020) type("image/avif"), url(/assets/lockup-vertical.png?v=779a2a4b) type("image/png")); }
  }
}

/* ---------- touch: a press answers at once ----------
   No grey flash from the browser (switched off on <html>); the thing pressed dims or takes the accent instead. */
@media (hover: none) {
  .cta:active, .dates a:active, .tracks a:active, .covers a:active, .credits a:active, .colophon a:active, .after a:active, .site-foot a:active, .menu:active, .logo:active, .yt:active { opacity: .55; }
  .site-head nav a:active { color: var(--accent); }
}

/* ---------- phones on their side ----------
   Wide and very short: the upright phone layout stacks things taller than the screen, so here the pages take the desktop's side-by-side shapes
   and anything sized from the width is held to the height instead. */
@media (max-width: 860px) and (orientation: landscape) {
  /* music: cover left, lettering and tracklist right */
  .album { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; }
  .album > div { display: block; }
  .album .album-title { margin-bottom: 0; }
  .covers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* videos: two to a row, and the big first one no taller than the screen */
  .reel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .reel li:last-child:nth-child(even):not(.feature) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 20px) / 2); }
}
/* any short, wide screen (the largest phones on their side get the desktop layout): nothing is taller than the screen it is shown on */
@media (max-height: 560px) and (orientation: landscape) {
  .album { align-items: start; }
  .album .print { position: sticky; top: calc(var(--hh) + 10px); justify-self: center; width: min(100%, calc(100svh - var(--hh) - 24px)); } /* the cover fits the screen and holds while the tracklist runs past */
  .reel .feature { justify-self: center; width: min(100%, calc((100svh - var(--hh) - 104px) * 16 / 9)); }
  .plate .display { font-size: min(var(--ts, clamp(64px, 15vw, 220px)), 30svh); }
}
@media (max-width: 860px) and (max-height: 500px) {
  /* the menu: the links sized from the screen's height so all of them fit under the header, the footer's links in the corner */
  .site-head nav { padding-block: calc(var(--hh) + 4px) calc(12px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; }
  .site-head nav a { padding: 4px 0; font-size: clamp(24px, 10.5svh, 44px); }
  .site-head nav .pre { margin-top: 12px; font-size: 13px; }
  .site-head nav .social { left: auto; right: var(--gut); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
}
