@font-face {
  font-family: "HTF Didot";
  src: url("fonts/didot-light-italic.woff2") format("woff2");
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}
:root {
  --paper: #fff;
  --ink: #000;
  --grey: #6e6e6e; /* secondary labels on light backgrounds */
  --hit: #3115e8; /* No-Mercy blue: the colour a word switches on in, on every background */
  --sans: "Public Sans", Arial, sans-serif;
  --serif: "HTF Didot", Didot, "Bodoni 72", serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(12px, 1.5vw, 36px);
  --unit: clamp(1.5rem, 3vw, 4.5rem);
  --label: clamp(.6875rem, .8vw, .875rem);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 clamp(1rem, 1.25vw, 1.375rem)/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
h1, h2, h3 { font-weight: 400; }
a { color: inherit; text-decoration: none; }
button { color: inherit; background: none; padding: 0; border: 0; font: inherit; cursor: pointer; }
img, video { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }
.skip { position: fixed; z-index: 40; top: 8px; left: 8px; transform: translateY(-200%); padding: 10px; color: #fff; background: #000; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The label voice: bold capitals */
.label { font: 700 var(--label)/1.3 var(--sans); letter-spacing: .03em; text-transform: uppercase; }
/* Secondary labels are brighter on dark backgrounds */
.band, .cinema { --grey: #9a9a9a; }
.word { display: inline-block; position: relative; }
.js [data-cut]:not(.shown) .word { opacity: 0; }
/* Page changes: type cuts out and in, pictures and copy fade */
.js .fade { opacity: 0; transition: opacity .8s cubic-bezier(.3, 0, .2, 1); }
.js .fade.in { opacity: 1; }
.js.leaving .fade, .js.leaving .fade.in, .js.leaving dialog { opacity: 0; transition-duration: .32s; transition-timing-function: cubic-bezier(.5, 0, 1, 1); }
.cinema { transition: opacity .32s; }
.grey { color: var(--grey); }
.signature { display: block; width: 100%; height: auto; }
/* The signature is one drawing shown as its two words, so it can arrive with the same word-cut as all other type.
   The split falls in the gap between the r and the K, 49.1% across. */
.sig { position: relative; aspect-ratio: 4238 / 950; container-type: inline-size; }
.sig .pic { position: absolute; top: 0; left: 0; width: 100%; display: block; font-size: 23.6cqw; } /* fixed width: the drift moves the word, it must never resize it */
.sig .pic:nth-child(1) { clip-path: inset(-20% 50.9% -20% -5%); }
.sig .pic:nth-child(2) { clip-path: inset(-20% -5% -20% 49.1%); }

/* Top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 var(--pad); min-height: clamp(54px, 5.4vw, 81px); }
.bar a { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; }
.bar nav { display: flex; gap: clamp(18px, 2.7vw, 54px); }
.bar a:hover, .foot a:hover { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; }
.bar [aria-current] { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; }

/* Home: the signature on white */
.mast { display: grid; grid-template-rows: 1fr auto; min-height: calc(72svh - clamp(54px, 5.4vw, 81px)); padding: 0 var(--pad); }
.mast h1 { align-self: center; justify-self: center; width: min(72vw, 108svh); padding-block: var(--unit); }
.mast-row { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; padding-bottom: 12px; }
.mast-row > :nth-child(2) { text-align: center; }
.mast-row > :nth-child(3) { text-align: right; }

/* Films: a full-bleed frame, then its tag */
.films { list-style: none; padding: 0; }
.film { display: block; }
.band { position: relative; display: grid; place-items: center; overflow: hidden; height: min(56.25vw, 90svh); background: #111; color: #fff; isolation: isolate; }
.band img, .band video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.band video { z-index: -1; opacity: 0; transition: opacity .45s; }
.band video.playing { opacity: 1; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--hit); transform: scaleX(0); transform-origin: right; pointer-events: none; } /* the blue block a frame switches on as */
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at 50% 52%, rgb(0 0 0 / .34), rgb(0 0 0 / .06) 70%); }
.band-type { display: grid; justify-items: center; gap: clamp(9px, 1.2vw, 18px); padding: var(--pad); text-align: center; }
.band-title { font: italic 300 clamp(2.75rem, 8.1vw, 10.5rem)/.98 var(--serif); letter-spacing: -.03em; text-wrap: balance; text-shadow: 0 0 .5em rgb(0 0 0 / .25); }
.band-watch { text-decoration: underline; text-underline-offset: .35em; }
.tag { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 0 var(--pad); align-items: center; padding: 0 var(--pad); min-height: clamp(45px, 4.5vw, 72px); }
.tag > :nth-child(1) { grid-column: span 3; }
.tag > :nth-child(2) { grid-column: span 2; }
.tag > :nth-child(3) { grid-column: span 3; }
.tag > :nth-child(4) { text-align: right; font-variant-numeric: tabular-nums; }
@media (hover: hover) {
  a.film:hover .tag { background: var(--ink); color: var(--paper); --grey: #9a9a9a; }
  a.film:hover .band-watch { text-decoration-thickness: 3px; }
}

/* Cinema */
.cinema { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #fff; }
.cinema[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; }
.cinema { --ink: #fff; }
.cinema::backdrop { background: #000; }
.cinema video { width: 100%; height: 100%; min-height: 0; object-fit: contain; background: #000; }
.cinema-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 var(--pad); min-height: 54px; }
.cinema-row a, .cinema-row button { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; }
.cinema-row a:hover, .cinema-row button:hover { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; }
body:has(dialog[open]) { overflow: hidden; }
.cinema-time { font-variant-numeric: tabular-nums; }
.cinema-notes { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .56s var(--ease); }
.cinema.expanded .cinema-notes { grid-template-rows: 1fr; }
.cinema-notes-in { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 18px var(--pad); align-items: start; min-height: 0; overflow: hidden; padding: 0 var(--pad); }
.cinema-desc { grid-column: 1 / span 4; max-width: 38ch; padding-top: 9px; }
.cinema-notes .facts { grid-column: 7 / span 3; }
.cinema-detail { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: .3em; min-height: 44px; margin-bottom: 9px; text-decoration: underline; text-underline-offset: .3em; }

/* Film page */
.full-film { width: 100%; max-height: 90svh; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.notes { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: var(--unit) var(--pad); padding: var(--unit) var(--pad) calc(3 * var(--unit)); }
.notes h1 { grid-column: span 9; font: italic 300 clamp(3.25rem, 10.5vw, 13.5rem)/.94 var(--serif); letter-spacing: -.035em; overflow-wrap: anywhere; }
.notes p { grid-column: 4 / span 3; max-width: 36ch; }
.facts { grid-column: 7 / span 3; }
.facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding-block: 9px; }
.facts dd { text-align: right; }
.frames { display: grid; gap: var(--pad); padding-bottom: var(--pad); }
.frames figure { background: #f2f2f2; }
.frames img { width: 100%; height: auto; }

/* Info: one screen. Statement, three columns, then the contact line. */
.info { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow: auto; }
.info[open] { display: grid; grid-template-rows: auto 1fr; }
.info::backdrop { background: var(--paper); }
.bar button { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; text-transform: inherit; letter-spacing: inherit; }
.bar button:hover { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; }
.about { display: grid; grid-template-rows: auto 1fr auto; gap: var(--unit); padding: var(--unit) var(--pad) var(--pad); }
main.about { min-height: calc(100svh - clamp(54px, 5.4vw, 81px)); }
.about-say { font: italic 300 clamp(2rem, min(5.9vw, 13.5svh), 8rem)/1.1 var(--serif); letter-spacing: -.015em; }
.lost .about-say { font-size: clamp(2.25rem, min(8.1vw, 13.5svh), 10.5rem); }
.about-say .line { display: block; }
.about-say .word { margin-right: .04em; }
.about-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--unit) var(--pad); align-self: start; padding-top: 18px; }
.about-cols p { max-width: 34ch; }
.about-cols p, .notes p, .cinema-desc { text-wrap: pretty; } /* no single word left alone on a last line */
.about-cols p + p { margin-top: .8em; }
.about-cols p a { text-decoration: underline; text-underline-offset: .2em; }
.about-cols h3 { margin-bottom: 12px; }
.about-cols ul { list-style: none; margin: 0; padding: 0; line-height: 1.75; }
.about-cols h3 a { text-decoration: underline; text-underline-offset: .3em; }
.about-go { display: inline-flex; gap: .3em; margin-top: 12px; }
/* One underline each, drawn as its own line so it can animate. On hover it follows the film-frame rule:
   it switches to the hit blue, holds three frames, then eases back to ink. It does not redraw. */
.about-go, .about-cols .about-ask a, .about-agents .copy { position: relative; padding-bottom: .5em; border: 0; text-decoration: none; }
.about-go::after, .about-ask a::after, .about-agents .copy::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; }
@keyframes line-hit { 0%, 14% { background: var(--hit); } }
@media (hover: hover) {
  .about-go:hover::after, .about-ask a:hover::after, .about-agents .copy:hover::after { animation: line-hit .885s cubic-bezier(.22, .61, .36, 1); }
}
/* The link opens a choice of assistant, each with a brief-writing prompt already filled in */
.about-agents { display: grid; gap: 9px; margin-top: 15px; }
.about-row { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.js .about-agents { display: none; }
.js .about-ask.open .about-agents { display: grid; }
.about-agents a, .about-agents .copy { display: inline-flex; gap: .3em; min-width: 0; min-height: 0; }
.about-cols .about-ask a:hover, .about-agents .copy:hover { text-decoration: none; }

/* Rules. Every long line is drawn as its own element, not a border, so it can arrive and leave like everything
   else: left to right, in the hit blue, settling to ink. The script animates them; this is their resting state. */
.about-cols, .contact-line, .facts > div { position: relative; }
.about-cols::before, .contact-line::before, .facts > div::before, .facts > div:last-child::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: currentColor; transform-origin: left; }
.facts > div:last-child::after { top: auto; bottom: 0; }
.js .about-cols:not(.shown)::before, .js .contact-line:not(.shown)::before, .js .facts > div:not(.shown)::before, .js .facts > div:not(.shown)::after, .js .about-go:not(.shown)::after { transform: scaleX(0); }

/* Not found */
.lost { display: grid; align-content: center; gap: var(--unit); min-height: 60svh; padding: var(--unit) var(--pad); }
.lost a { justify-self: start; text-decoration: underline; text-underline-offset: .3em; }

/* The contact line, shared by Info and every page foot */
.foot { padding: calc(3 * var(--unit)) var(--pad) var(--pad); }
.shout { font: 700 clamp(3rem, 15.6vw, 21rem)/.8 var(--sans); letter-spacing: -.065em; text-transform: uppercase; margin-left: -.06em; }
.foot .contact-line { padding-top: clamp(18px, 2.4vw, 45px); }
.foot .contact-line::before { display: none; }
.foot .email { font-size: clamp(1.75rem, 5.4vw, 6.75rem); }
.contact-line { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 9px var(--pad); align-items: end; padding-top: 18px; }
.contact-mail { grid-column: span 6; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.email { font: italic 300 clamp(1.75rem, 4.5vw, 5.4rem)/1.05 var(--serif); letter-spacing: -.03em; overflow-wrap: anywhere; }
/* No hover underlines in the contact line: the colour hit is the hover. */
.copy { min-height: 44px; min-width: 4.5em; text-align: left; }
.contact-mail.thanking { flex-wrap: nowrap; } /* while the thank-you is showing, nothing in this row re-flows */
.contact-mail.thanking .email { white-space: nowrap; overflow-wrap: normal; }
.contact-mail.thanking .email { cursor: default; }
.contact-meta { grid-column: span 3; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.contact-meta a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 760px) {
  .mast { min-height: 54svh; }
  .mast h1 { width: 100%; }
  .band { height: 75vw; }
  .tag { grid-template-columns: 1fr auto; padding-block: 12px; row-gap: 3px; }
  .tag > :nth-child(n) { grid-column: auto; }
  .tag > :nth-child(1) { grid-area: 1 / 1; }
  .tag > :nth-child(2) { grid-area: 2 / 1; }
  .tag > :nth-child(3) { grid-area: 2 / 2; text-align: right; }
  .tag > :nth-child(4) { grid-area: 1 / 2; }
  .notes p, .facts, .cinema-desc, .cinema-notes .facts { grid-column: 1 / -1; }
  .about-cols { grid-template-columns: 1fr 1fr; }
  .about-cols > * { grid-column: 1 / -1; }
  .about-brands ul { columns: 2; column-gap: var(--pad); }
  .contact-mail, .contact-meta { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .word, .js .fade { opacity: 1 !important; }
  .js .about-cols::before, .js .contact-line::before, .js .facts > div::before, .js .facts > div::after, .js .about-go::after { transform: none !important; }
}

/* larger tap areas on the small text links; nothing visible changes */
.mast-row a, .about-go, .lost a { position: relative; }
.mast-row a::before, .about-go::before, .lost a::before { content: ""; position: absolute; inset: -14px -8px; }
