/* QueueZero. Static site styles. */

@font-face {
  font-family: "QZ Sans";
  src: url("/static/fonts/qz-sans.v1.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "QZ Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 99.2%;
  ascent-override: 100.8%;
  descent-override: 26.2%;
  line-gap-override: 0%;
}

:root {
  --bg: #05070c;
  --bg-1: #080b12;
  --bg-2: #0c111b;
  --bg-3: #121927;
  --ink: #eef2f8;
  --ink-2: #aab4c6;
  --ink-3: #76829a;
  --line: rgba(206, 220, 255, 0.11);
  --line-2: rgba(206, 220, 255, 0.2);
  --line-3: rgba(206, 220, 255, 0.34);
  --blue: #0056fc;
  --blue-up: #1f6bff;
  --blue-soft: #86adff;
  --amber: #ffcf9a;
  --bad: #ff9c8f;
  --good: #9fe3c1;

  --font: "QZ Sans", "QZ Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(1.25rem, 4.2vw, 4.5rem);
  --max: 90rem;
  --gap: clamp(1.25rem, 2.4vw, 2.5rem);
  --sect: clamp(5rem, 9.5vw, 9.5rem);
  --hdr: 4.5rem;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --z-media: 0;
  --z-content: 2;
  --z-menu: 38;
  --z-header: 40;
  --z-consent: 60;
  --z-grain: 70;
  --z-loader: 80;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hdr) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1.0625rem, 1rem + 0.22vw, 1.1875rem);
  font-weight: 350;
  line-height: 1.6;
  font-variant-numeric: proportional-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* A fine grain over the whole page so the dark ground never reads as flat. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  background: url("/assets/grain.png") 0 0 / 128px 128px;
  opacity: 0.045;
  pointer-events: none;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-soft);
  outline-offset: 3px;
  border-radius: 2px;
}

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 90;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ------------------------------------------------------------------ type */

.display {
  font-size: clamp(2rem, 1.15rem + 3.1vw, 3.9rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.display--xl { font-size: clamp(2.5rem, 1.2rem + 5.2vw, 5.5rem); letter-spacing: -0.035em; }

.quiet {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-3);
}

.lede {
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 38ch;
  text-wrap: pretty;
}

.statement {
  font-size: clamp(1.75rem, 1rem + 3.3vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 21ch;
  text-wrap: balance;
}

/* --------------------------------------------------------------- buttons */

.ico { flex: none; width: 1.15em; height: 1.15em; }

.btn {
  --btn-bg: var(--blue);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 3.5rem;
  padding: 0 1.4rem 0 1.5rem;
  border: 0;
  border-radius: 3px;
  background: var(--btn-bg);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.85);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, #2d74ff, #0048d6);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.btn .ico { transition: transform 0.4s var(--ease-out); }
.btn:hover::before { opacity: 1; }
.btn:hover { box-shadow: 0 18px 36px -18px rgba(0, 12, 48, 0.95); }
.btn:hover .ico { transform: translateX(5px); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--sm { min-height: 2.75rem; padding: 0 1rem 0 1.1rem; gap: 0.9rem; font-size: 0.9375rem; box-shadow: none; }
.btn--ghost {
  --btn-bg: transparent;
  box-shadow: inset 0 0 0 1px var(--line-3);
}
.btn--ghost::before { background: rgba(206, 220, 255, 0.08); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-2); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: default; pointer-events: none; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-block: 0.5rem;
  color: var(--ink);
  font-weight: 450;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease-out), color 0.25s;
}
.more .ico { transition: transform 0.4s var(--ease-out); }
.more:hover { background-size: 0% 1px; background-position: 100% 100%; }
.more:hover .ico { transform: translate(4px, 0); }
.more[href^="#"]:hover .ico { transform: translate(0, 4px); }

.mail {
  display: inline-block;
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem);
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--line-3);
  transition: text-decoration-color 0.25s;
}
.mail:hover { text-decoration-color: var(--ink); }

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.25s;
}
.back .ico { transition: transform 0.4s var(--ease-out); }
.back:hover { color: var(--ink); }
.back:hover .ico { transform: translateX(-4px); }

/* ---------------------------------------------------------------- header */

.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--hdr);
  transition: transform 0.5s var(--ease), background-color 0.4s, backdrop-filter 0.4s;
}
.hdr::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity 0.4s;
}
.hdr.is-solid {
  background: rgba(5, 7, 12, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
}
.hdr.is-solid::after { opacity: 1; }
.hdr.is-hidden { transform: translateY(-101%); }
.hdr__in {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.5rem);
  height: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.hdr__logo { flex: none; display: block; margin-right: auto; }
.hdr__logo img { width: clamp(7.6rem, 6.6rem + 2.4vw, 9.4rem); height: auto; }
.hdr__nav { display: flex; gap: clamp(1.1rem, 2.2vw, 2.25rem); }
.hdr__nav a {
  position: relative;
  padding-block: 0.6rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.25s;
}
.hdr__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.3rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.45s var(--ease-out);
}
.hdr__nav a:hover, .hdr__nav a[aria-current] { color: var(--ink); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current]::after { transform: scaleX(1); transform-origin: 0 50%; }
.hdr__menu {
  display: none;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  padding: 0 0.2rem 0 0.6rem;
  border: 0;
  background: none;
  font-size: 0.9375rem;
  font-weight: 450;
}
.hdr__menu-ico { position: relative; width: 1.6rem; height: 1.6rem; }
.hdr__menu-ico i {
  position: absolute;
  left: 0.15rem; right: 0.15rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}
.hdr__menu-ico i:nth-child(1) { top: 0.55rem; }
.hdr__menu-ico i:nth-child(2) { top: 1rem; }
.hdr__menu[aria-expanded="true"] .hdr__menu-ico i:nth-child(1) { top: 0.78rem; transform: rotate(45deg); }
.hdr__menu[aria-expanded="true"] .hdr__menu-ico i:nth-child(2) { top: 0.78rem; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--hdr) + 2rem) var(--pad) calc(2rem + env(safe-area-inset-bottom));
  background: rgba(5, 7, 12, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  overflow-y: auto;
}
.menu__nav { display: grid; }
.menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.75rem, 7.5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-decoration: none;
}
.menu__nav .menu__cta { margin-top: 2rem; border: 0; color: var(--blue-soft); font-size: 1.25rem; font-weight: 450; letter-spacing: 0; justify-content: flex-start; gap: 0.8rem; }
.menu__foot { margin-top: 2rem; color: var(--ink-2); }
.menu__foot a { text-underline-offset: 0.3em; }
.js .menu { opacity: 0; transition: opacity 0.35s var(--ease); }
.js .menu.is-open { opacity: 1; }
.js .menu .menu__nav a { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out); }
.js .menu.is-open .menu__nav a { opacity: 1; transform: none; }
.js .menu.is-open .menu__nav a:nth-child(2) { transition-delay: 0.04s; }
.js .menu.is-open .menu__nav a:nth-child(3) { transition-delay: 0.08s; }
.js .menu.is-open .menu__nav a:nth-child(4) { transition-delay: 0.12s; }
.js .menu.is-open .menu__nav a:nth-child(5) { transition-delay: 0.18s; }
html.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .hdr__nav { display: none; }
  .hdr__menu { display: inline-flex; }
}
@media (max-width: 560px) {
  .hdr .btn--sm { display: none; }
}
@media (min-width: 901px) {
  .menu { display: none !important; }
}

/* ---------------------------------------------------------------- loader */

.loader { display: none; }
.loading .loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: grid;
  place-items: center;
  background: var(--bg);
  animation: loader-out 0.01s linear 4.5s forwards;
}
.loader__mark { width: clamp(4.5rem, 9vw, 6.5rem); height: auto; overflow: visible; }
.loader__zero { opacity: 0; }
.loading .loader__mark { animation: loader-in 0.35s var(--ease) both; }
.loading .loader__p { animation: loader-leave 0.42s var(--ease) both; transform-box: fill-box; }
.loading .loader__p--1 { animation-delay: 0.3s; }
.loading .loader__p--2 { animation-delay: 0.46s; }
.loading .loader__p--3 { animation-delay: 0.62s; }
.loading .loader__q { animation: loader-q 0.3s var(--ease) 0.92s both; }
.loading .loader__zero { animation: loader-zero 0.3s var(--ease) 0.92s both; }
.loader.is-done { animation: loader-lift 0.6s var(--ease) forwards; }
.loader.is-done .loader__mark { animation: loader-mark-out 0.5s var(--ease) forwards; }
@keyframes loader-in { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes loader-leave { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-34%); } }
@keyframes loader-q { to { opacity: 0; } }
@keyframes loader-zero { from { opacity: 0; } to { opacity: 1; } }
@keyframes loader-lift { to { opacity: 0; visibility: hidden; } }
@keyframes loader-mark-out { to { opacity: 0; transform: scale(1.5); } }
@keyframes loader-out { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ----------------------------------------------------------------- stage */

.stage { position: relative; background: var(--bg); }
.stage__pin {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
}
.stage__media { position: absolute; inset: 0; z-index: var(--z-media); }
.stage__media picture, .stage__poster, .stage__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.stage__poster { object-fit: cover; object-position: 100% 50%; }
/* Two stills. The one in the page, with the lane in it, stands in whenever nothing moves.
   The opening frame is a background, fetched only when the live drawing is about to take over from it. */
.js.motion .stage__still { display: none; }
.js.motion .stage__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/queue-open.webp") 100% 50% / cover no-repeat;
}
.js.motion.hero-still .stage__still { display: block; }
.js.motion.hero-still .stage__media::before { display: none; }
.stage__canvas { opacity: 0; transition: opacity 1.2s var(--ease); }
.stage__canvas.is-live { opacity: 1; }
.stage__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(5, 7, 12, 0.94) 0%, rgba(5, 7, 12, 0.5) 26%, rgba(5, 7, 12, 0) 52%),
    linear-gradient(to bottom, rgba(5, 7, 12, 0.7) 0%, rgba(5, 7, 12, 0) 22%),
    radial-gradient(92% 112% at 0% 100%, rgba(5, 7, 12, 0.9) 0%, rgba(5, 7, 12, 0.56) 38%, rgba(5, 7, 12, 0) 72%);
  pointer-events: none;
}
.stage__hero {
  position: relative;
  z-index: var(--z-content);
  align-self: end;
  padding-top: calc(var(--hdr) + 3rem);
  padding-bottom: clamp(3.5rem, 9vh, 6.5rem);
}
.hero__title {
  max-width: 19ch;
  font-size: clamp(2rem, 1.15rem + 2.55vw, 3.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__mark {
  margin-top: clamp(1.1rem, 2vw, 1.75rem);
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem);
  color: var(--ink-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.25rem;
  margin-top: clamp(1.75rem, 3.4vw, 2.75rem);
}
.stage__lane {
  position: relative;
  z-index: var(--z-content);
  padding-block: clamp(4rem, 10vw, 8rem);
}
.scrub {
  max-width: 20.5ch;
  font-size: clamp(1.625rem, 0.95rem + 2.65vw, 3.125rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.028em;
  text-wrap: pretty;
}
.stage__cue { display: none; }

/* Without motion the opening is a still: one full screen, then the paragraph in the normal flow. */
html:not(.motion) .stage__pin { display: block; min-height: 0; }
html:not(.motion) .stage__media,
html:not(.motion) .stage__shade { bottom: auto; height: 100vh; height: 100svh; }
html:not(.motion) .stage__hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
}

/* Scroll-driven version, only when scripts run and motion is welcome. */
.js.motion .stage { height: 360vh; }
.js.motion .stage__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}
.js.motion .stage__hero,
.js.motion .stage__lane {
  grid-area: 1 / 1;
  will-change: opacity, transform;
}
/* Faded rather than hidden, so the paragraph is always there for screen readers. */
.js.motion .stage__lane {
  align-self: center;
  padding-block: 0;
  opacity: 0;
  pointer-events: none;
}
.js.motion .scrub .w { opacity: 0.16; transition: opacity 0.5s var(--ease); }
.js.motion .scrub .w.is-lit { opacity: 1; }
.js.motion .stage__cue {
  position: absolute;
  right: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
  bottom: clamp(3.5rem, 9vh, 6.5rem);
  z-index: var(--z-content);
  display: block;
  width: 1px;
  height: 4.5rem;
  background: var(--line-2);
  overflow: hidden;
}
.js.motion .stage__cue span {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(-100%);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* Entrance of the hero copy. */
.js.motion .home .hero__title,
.js.motion .home .hero__mark,
.js.motion .home .hero__actions {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease-out);
}
.js.motion.ready .home .hero__title,
.js.motion.ready .home .hero__mark,
.js.motion.ready .home .hero__actions { opacity: 1; transform: none; }
.js.motion.ready .home .hero__mark { transition-delay: 0.12s; }
.js.motion.ready .home .hero__actions { transition-delay: 0.22s; }

/* -------------------------------------------------------------- sections */

.sect { position: relative; padding-block: var(--sect); overflow-x: clip; }

.js.motion [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Soft pools of light so the plain sections keep some depth. */
.both::before, .gain::before, .md::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(52% 60% at 88% 8%, rgba(0, 86, 252, 0.13), rgba(0, 86, 252, 0) 70%);
}
.gain::before { background: radial-gradient(46% 52% at 6% 34%, rgba(0, 86, 252, 0.11), rgba(0, 86, 252, 0) 70%); }
.md::before { background: radial-gradient(50% 70% at 96% 100%, rgba(0, 86, 252, 0.1), rgba(0, 86, 252, 0) 70%); }
.both > *, .gain > *, .md > * { position: relative; }

/* both sides */
.both { padding-top: clamp(5rem, 10vw, 9rem); }
.both__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: start;
}
.both__lead .lede { margin-top: clamp(1.25rem, 2.4vw, 2rem); }
.rows { border-top: 1px solid var(--line-2); }
.rows__row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 11rem) minmax(0, 1fr);
  gap: var(--gap);
  padding-block: clamp(1.4rem, 2.6vw, 2.25rem);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.4s;
}
.rows__row:hover { border-bottom-color: var(--line-3); }
.rows dt {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.rows dd { color: var(--ink-2); max-width: 36ch; text-wrap: pretty; }

/* in use */
.inuse { padding-top: clamp(3rem, 6vw, 5rem); }
.inuse__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.25rem, 7vw, 8rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.inuse__head .lede { padding-bottom: 0.35em; }

.clip { margin-inline: auto; padding-inline: var(--pad); max-width: calc(var(--max) + 4rem); }
.clip + .clip { margin-top: clamp(4rem, 9vw, 9rem); }
.clip__stage { position: relative; }
.clip__glow {
  position: absolute;
  inset: -7% -5% -10%;
  z-index: 0;
  filter: blur(clamp(40px, 6vw, 90px)) sepia(1) hue-rotate(178deg) saturate(2.6) brightness(0.8);
  opacity: 0.26;
  pointer-events: none;
  transition: opacity 1.4s var(--ease);
}
.clip__glow canvas { width: 100%; height: 100%; }
.clip.is-playing .clip__glow { opacity: 0.42; }
.clip__frame {
  position: relative;
  z-index: 1;
  background: #020305;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-2), 0 50px 120px -50px rgba(0, 0, 0, 0.9);
  will-change: transform;
}
.clip__video { display: block; width: 100%; height: auto; object-fit: contain; background: #020305; }
.clip--attribution .clip__video { aspect-ratio: 1280 / 720; }
.clip--concurrent .clip__video { aspect-ratio: 1280 / 722; }
.clip__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.5s var(--ease);
}
/* Without scripts a plain video with its own still and the browser's controls takes over. */
.no-js .clip__poster,
.no-js .clip__video:not(.clip__video--plain) { display: none; }
.clip.has-started .clip__poster { opacity: 0; pointer-events: none; }
.clip__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  border: 0;
  background: radial-gradient(closest-side, rgba(2, 3, 5, 0.38), rgba(2, 3, 5, 0) 70%);
  transition: opacity 0.4s var(--ease);
}
.clip__play-ico {
  position: relative;
  display: block;
  width: clamp(4rem, 7vw, 5.75rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(238, 242, 248, 0.96);
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.7);
  transition: transform 0.5s var(--ease-out), background-color 0.3s;
}
.clip__play-ico::before {
  content: "";
  position: absolute;
  left: 54%; top: 50%;
  width: 28%; height: 32%;
  background: var(--bg);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translate(-50%, -50%);
}
.clip__play:hover .clip__play-ico { transform: scale(1.08); background: #fff; }
.clip__play:active .clip__play-ico { transform: scale(0.97); }
.clip.is-playing .clip__play { opacity: 0; }
.clip.is-playing .clip__play:focus-visible { opacity: 1; }
.clip__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.85rem;
}
.clip__btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background-color 0.25s;
}
.clip__btn:hover { background: rgba(206, 220, 255, 0.1); }
.clip__btn-ico { position: relative; width: 0.85rem; height: 0.95rem; }
.clip__btn-ico::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  clip-path: polygon(8% 0, 100% 50%, 8% 100%);
}
.clip.is-playing .clip__btn-ico::before { clip-path: polygon(8% 0, 38% 0, 38% 100%, 8% 100%, 8% 0, 62% 0, 92% 0, 92% 100%, 62% 100%, 62% 0); }
.clip__seek { flex: 1; min-width: 0; }
.clip__time { flex: none; color: var(--ink-3); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.clip__error { margin-top: 0.75rem; color: var(--bad); font-size: 0.9375rem; }
.clip__caption {
  margin-top: clamp(0.9rem, 1.6vw, 1.4rem);
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 34ch;
}

/* range inputs: video seek and calculator */
input[type="range"] {
  --fill: 0%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1.75rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]:disabled { cursor: default; opacity: 0.5; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--ink) var(--fill), var(--line-2) var(--fill));
}
input[type="range"]::-moz-range-track { height: 2px; border-radius: 2px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 2px; border-radius: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0.95rem; height: 0.95rem;
  margin-top: calc(-0.475rem + 1px);
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 0 rgba(238, 242, 248, 0.2);
  transition: box-shadow 0.25s, transform 0.25s;
}
input[type="range"]::-moz-range-thumb {
  width: 0.95rem; height: 0.95rem;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
}
input[type="range"]:hover::-webkit-slider-thumb { box-shadow: 0 0 0 7px rgba(238, 242, 248, 0.14); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }

.studio {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-top: clamp(5rem, 11vw, 10rem);
}
.photo { position: relative; border-radius: 4px; overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); }
.photo img { display: block; width: 100%; height: auto; }
.studio__text .lede { margin-bottom: 1.75rem; }

/* what stays in your hands */
.hands { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-1) 30%, var(--bg-1) 70%, var(--bg) 100%); }
.hands .statement + .statement {
  margin-top: clamp(1.75rem, 4vw, 3.25rem);
  margin-left: clamp(0rem, 14vw, 16rem);
}
.hands__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-top: clamp(3rem, 7vw, 6.5rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line-2);
}
.hands__foot p { color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }

/* gain */
.gain__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: start;
}
.gain__body .lede { max-width: 34ch; color: var(--ink); }
.ticks { margin-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--line-2); }
.ticks li {
  position: relative;
  padding: 1.05rem 0 1.05rem 2.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  text-wrap: pretty;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.15rem; top: 1.55rem;
  width: 0.95rem; height: 0.5rem;
  border-left: 1.5px solid var(--blue-soft);
  border-bottom: 1.5px solid var(--blue-soft);
  transform: rotate(-45deg);
}
.clock { margin-top: clamp(5rem, 11vw, 10rem); }
.clock__lead { color: var(--ink-3); margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.clock__rows { border-top: 1px solid var(--line-2); }
.clock__rows li { border-bottom: 1px solid var(--line); }
.clock__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-block: clamp(0.9rem, 2vw, 1.6rem);
  color: inherit;
  text-decoration: none;
  transition: padding 0.6s var(--ease-out);
}
.clock__meta { display: inline-flex; align-items: center; gap: 0.9rem; }
.clock__meta .ico { color: var(--ink-3); transition: transform 0.6s var(--ease-out), color 0.3s; }
.clock__venue {
  font-size: clamp(2.25rem, 1rem + 6vw, 6.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  transition: color 0.4s;
}
.clock__when { font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem); color: var(--ink-2); transition: color 0.4s; }
@media (hover: hover) {
  .clock__rows:hover .clock__venue { color: var(--ink-3); }
  .clock__rows li:hover { border-bottom-color: var(--line-3); }
  .clock__row:hover { padding-left: clamp(0.5rem, 2vw, 2rem); }
  .clock__row:hover .clock__venue,
  .clock__row:hover .clock__when,
  .clock__row:hover .ico { color: var(--ink); }
  .clock__row:hover .ico { transform: translateX(6px); }
}
.clock__row:focus-visible { outline-offset: 6px; }
.clock__row:focus-visible .clock__when,
.clock__row:focus-visible .ico { color: var(--ink); }

/* calculator */
.sizing { padding-block: 0; }
.estimate { border-block: 1px solid var(--line-2); }
.estimate__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(1.4rem, 3vw, 2.25rem);
  cursor: pointer;
  list-style: none;
}
.estimate__summary::-webkit-details-marker { display: none; }
.estimate__title {
  font-size: clamp(1.375rem, 1rem + 1.5vw, 2.25rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.estimate__icon {
  position: relative;
  flex: none;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-3);
  transition: background-color 0.3s, transform 0.5s var(--ease-out);
}
.estimate__icon::before, .estimate__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 0.85rem; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease-out);
}
.estimate__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.estimate__summary:hover .estimate__icon { background: rgba(206, 220, 255, 0.08); }
.estimate[open] .estimate__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.estimate__body { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.estimate__intro { max-width: 60ch; color: var(--ink-2); margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--bg-1);
  overflow: hidden;
}
.calc__controls { padding: clamp(1.25rem, 3vw, 2.75rem); display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); align-content: start; }
.calc__controls-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.calc__controls-title h3 { font-size: 1.125rem; font-weight: 450; }
.calc__reset {
  padding: 0.3rem 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: 0.9375rem;
  text-decoration: underline;
  text-decoration-color: var(--line-3);
  text-underline-offset: 0.3em;
}
.calc__reset:hover { color: var(--ink); text-decoration-color: currentColor; }
.calc__control-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.calc__control-head label { color: var(--ink-2); font-size: 0.9375rem; }
.calc__number { display: flex; align-items: baseline; gap: 0.5rem; color: var(--ink-3); font-size: 0.875rem; }
.calc__number input {
  width: 4.4rem;
  padding: 0.35rem 0.5rem;
  border: 0;
  border-radius: 3px;
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  -moz-appearance: textfield;
  appearance: textfield;
}
.calc__number input::-webkit-outer-spin-button,
.calc__number input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__number input:focus-visible { outline-offset: 1px; }
.calc__result {
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.6rem);
  align-content: start;
  padding: clamp(1.25rem, 3vw, 2.75rem);
  background: var(--bg-2);
  box-shadow: inset 1px 0 0 var(--line);
}
.calc__feature p { color: var(--ink-2); font-size: 0.9375rem; }
.calc__feature strong {
  display: block;
  margin-block: 0.2rem 0.3rem;
  font-size: clamp(2.75rem, 1.5rem + 4.6vw, 5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.calc__feature span { color: var(--ink-3); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.calc__track { display: flex; height: 0.5rem; border-radius: 99px; overflow: hidden; background: var(--bg-3); }
.calc__served { width: 66.667%; background: var(--ink); transition: width 0.5s var(--ease-out); }
.calc__gap { width: 33.333%; background: var(--blue); transition: width 0.5s var(--ease-out); }
.calc__key { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; margin-top: 0.7rem; color: var(--ink-2); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.calc__key > span { display: inline-flex; align-items: center; gap: 0.5rem; }
.calc__key i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--ink); }
.calc__key-gap i { background: var(--blue); }
.calc__note { color: var(--ink-3); font-size: 0.875rem; line-height: 1.5; max-width: 52ch; }
.calc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.calc__link {
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: 0.9375rem;
  text-decoration: underline;
  text-decoration-color: var(--line-3);
  text-underline-offset: 0.3em;
}
.calc__link:hover { color: var(--ink); text-decoration-color: currentColor; }
.calc__share { display: grid; gap: 0.4rem; color: var(--ink-2); font-size: 0.875rem; }
.calc__share input { width: 100%; padding: 0.6rem 0.75rem; border: 0; border-radius: 3px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.875rem; }

/* enquiry */
.enquiry { overflow: clip; padding-block: clamp(6rem, 12vw, 11rem); }
.enquiry__media { position: absolute; inset: 0; z-index: var(--z-media); }
.enquiry__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, rgba(5, 7, 12, 0.25) 22%, rgba(5, 7, 12, 0.25) 70%, var(--bg) 100%),
    linear-gradient(to right, rgba(5, 7, 12, 0.72) 0%, rgba(5, 7, 12, 0.2) 55%, rgba(5, 7, 12, 0.55) 100%);
}
.enquiry__media picture, .enquiry__poster, .enquiry__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.enquiry__poster { object-fit: cover; opacity: 0.9; }
.enquiry__canvas { opacity: 0; transition: opacity 1.2s var(--ease); }
.enquiry__canvas.is-live { opacity: 1; }
.enquiry__grid {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}
.enquiry__lead { position: sticky; top: calc(var(--hdr) + 2rem); }
.enquiry__lead .lede { margin-top: clamp(1.25rem, 2.4vw, 2rem); color: var(--ink); max-width: 30ch; }
.enquiry__lead .mail { margin-top: 1.5rem; }
.enquiry__start { margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-2); max-width: 27rem; }
.enquiry__start h3 { font-size: 1rem; font-weight: 500; margin-bottom: 0.6rem; }
.enquiry__start p { color: var(--ink-2); font-size: 1rem; text-wrap: pretty; }
.enquiry__panel {
  padding: clamp(1.4rem, 3.4vw, 3rem);
  border-radius: 6px;
  background: rgba(8, 11, 18, 0.74);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 0 rgba(206, 220, 255, 0.16), 0 60px 120px -60px rgba(0, 0, 0, 0.9);
}

.form { display: grid; gap: 1.5rem; }
.form__fields { display: grid; gap: 1.5rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem 1.5rem; }
.form__grid--more { margin-top: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 0.45rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field__label { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-2); font-size: 0.9375rem; }
.field__opt { color: var(--ink-3); font-size: 0.8125rem; }
.field input, .field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 0;
  border-radius: 3px;
  background: rgba(206, 220, 255, 0.045);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 1.0625rem;
  line-height: 1.4;
  transition: box-shadow 0.25s, background-color 0.25s;
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 1; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--line-3); }
.field input:focus, .field textarea:focus {
  outline: none;
  background: rgba(206, 220, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--blue-soft), 0 0 0 3px rgba(134, 173, 255, 0.22);
}
.field.is-bad input, .field.is-bad textarea { box-shadow: inset 0 0 0 1px var(--bad); }
.field__error { color: var(--bad); font-size: 0.875rem; }
.form__more { border-block: 1px solid var(--line); }
.form__more summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.95rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.9375rem;
}
.form__more summary::-webkit-details-marker { display: none; }
.form__more summary .field__opt { margin-left: auto; }
.form__more-ico { position: relative; width: 1rem; height: 1rem; }
.form__more-ico::before, .form__more-ico::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 0.7rem; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-out);
}
.form__more-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.form__more[open] .form__more-ico::after { transform: translate(-50%, -50%); }
.form__more[open] { padding-bottom: 1.35rem; }
.form__estimate { padding: 1rem 1.1rem; border-radius: 3px; background: rgba(0, 86, 252, 0.14); box-shadow: inset 0 0 0 1px rgba(134, 173, 255, 0.4); font-size: 0.9375rem; }
.form__estimate strong { font-weight: 500; }
.form__estimate p { margin-top: 0.3rem; color: var(--ink-2); }
.form__estimate button { margin-top: 0.6rem; padding: 0; border: 0; background: none; text-decoration: underline; text-underline-offset: 0.3em; font-size: 0.875rem; }
.form__submit { justify-content: space-between; width: 100%; min-height: 3.75rem; }
.form__message { padding: 0.9rem 1.1rem; border-radius: 3px; font-size: 0.9375rem; background: rgba(206, 220, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-2); }
.form__message.is-error { color: var(--bad); box-shadow: inset 0 0 0 1px rgba(255, 156, 143, 0.5); background: rgba(255, 156, 143, 0.07); }
.form__message.is-sent { color: var(--good); box-shadow: inset 0 0 0 1px rgba(159, 227, 193, 0.45); background: rgba(159, 227, 193, 0.07); }
.form__again { justify-self: start; padding: 0.4rem 0; border: 0; background: none; text-decoration: underline; text-underline-offset: 0.3em; font-size: 0.9375rem; }
.form__notice { color: var(--ink-3); font-size: 0.875rem; }
.form__notice a { color: var(--ink-2); text-underline-offset: 0.25em; }
.form__notice a:hover { color: var(--ink); }
.form__email { font-size: 0.9375rem; }
.form__email summary { cursor: pointer; color: var(--ink-2); width: fit-content; text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 0.3em; list-style: none; }
.form__email summary::-webkit-details-marker { display: none; }
.form__email summary:hover { color: var(--ink); }
.form__email-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.form__email-actions a, .form__email-actions button, .form__email-tools button {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.95rem;
  border: 0;
  border-radius: 99px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-3);
  font-size: 0.875rem;
  text-decoration: none;
  transition: background-color 0.25s, box-shadow 0.25s;
}
.form__email-actions a:hover, .form__email-actions button:hover, .form__email-tools button:hover { background: rgba(206, 220, 255, 0.08); box-shadow: inset 0 0 0 1px var(--ink-2); }
.form__email-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 0.9rem; color: var(--ink-2); }
.form__manual { display: grid; gap: 0.4rem; font-size: 0.875rem; color: var(--ink-2); }
.form__manual textarea { width: 100%; min-height: 8rem; padding: 0.75rem; border: 0; border-radius: 3px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.875rem; }
.form.is-busy .form__fields { opacity: 0.6; }

/* matchday strip */
.md__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: start;
}
.md__lead .lede { margin-block: clamp(1.25rem, 2.4vw, 2rem) 1.75rem; }
.md__list { border-top: 1px solid var(--line-2); }
.md__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(1.1rem, 2.2vw, 1.75rem);
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.1875rem, 1rem + 0.85vw, 1.625rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.012em;
  text-decoration: none;
  text-wrap: balance;
  transition: padding 0.6s var(--ease-out), border-color 0.4s, color 0.3s;
}
.md__list a .ico { color: var(--ink-3); transition: transform 0.6s var(--ease-out), color 0.3s; }
.md__list a:hover { padding-left: 0.9rem; border-bottom-color: var(--line-3); }
.md__list a:hover .ico { transform: translateX(5px); color: var(--ink); }

/* ---------------------------------------------------------------- footer */

.ftr { position: relative; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); background: var(--bg); }
.ftr__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.ftr__logo img { width: clamp(10rem, 8rem + 9vw, 17rem); height: auto; }
.ftr__mark { font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem); color: var(--ink-2); }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 0.5rem clamp(1.25rem, 3vw, 2.75rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.ftr__nav a { padding-block: 0.4rem; color: var(--ink-2); font-size: 0.9375rem; text-decoration: none; transition: color 0.25s; }
.ftr__nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.3em; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.ftr__legal { color: var(--ink-3); font-size: 0.8125rem; line-height: 1.6; max-width: 70ch; }
.ftr__top-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink-2); font-size: 0.875rem; text-decoration: none; white-space: nowrap; transition: color 0.25s; }
.ftr__top-link .ico { transition: transform 0.4s var(--ease-out); }
.ftr__top-link:hover { color: var(--ink); }
.ftr__top-link:hover .ico { transform: translateY(-4px); }

/* --------------------------------------------------------------- consent */

.consent {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: calc(clamp(0.75rem, 2vw, 1.5rem) + env(safe-area-inset-bottom));
  z-index: var(--z-consent);
  display: grid;
  gap: 0.9rem;
  width: min(24rem, calc(100vw - 1.5rem));
  padding: 1.1rem 1.2rem 1.15rem;
  border-radius: 6px;
  background: rgba(12, 17, 27, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  font-size: 0.875rem;
  line-height: 1.5;
  animation: consent-in 0.7s var(--ease-out) both;
}
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }
.consent__text { color: var(--ink-2); }
.consent__text a { color: var(--ink); text-underline-offset: 0.25em; }
.consent__actions { display: flex; gap: 0.6rem; }
.consent__btn {
  flex: 1;
  min-height: 2.6rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 3px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-3);
  font-size: 0.9375rem;
  font-weight: 450;
  transition: background-color 0.25s, box-shadow 0.25s;
}
.consent__btn:hover { background: rgba(206, 220, 255, 0.08); box-shadow: inset 0 0 0 1px var(--ink-2); }
/* Accept and Decline carry the same weight on purpose. */
.cookie-choice { margin-top: 1.5rem; padding: 1.1rem 1.2rem; border-radius: 4px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-2); }
.cookie-choice__state { color: var(--ink); margin: 0 !important; }
.cookie-choice__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }
.cookie-choice__actions .consent__btn { flex: none; }

/* ----------------------------------------------------------- inner pages */

.inner .hdr { background: transparent; }
.article__head {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(26rem, 78vh, 46rem);
  padding-top: calc(var(--hdr) + 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  overflow: clip;
}
.article__head--index { min-height: clamp(22rem, 62vh, 38rem); }
.article__media { position: absolute; inset: 0; z-index: var(--z-media); }
.article__media img { width: 100%; height: 100%; object-fit: cover; }
.article__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(5, 7, 12, 0.62) 34%, rgba(5, 7, 12, 0.1) 70%),
    linear-gradient(to bottom, rgba(5, 7, 12, 0.7) 0%, rgba(5, 7, 12, 0) 26%);
}
.js.motion .article__media img { animation: still-in 2.4s var(--ease-out) both; }
@keyframes still-in { from { opacity: 0; transform: scale(1.06); } }
.article__head-in { position: relative; z-index: var(--z-content); }
.article__title {
  margin-top: clamp(1.25rem, 3vw, 2.25rem);
  max-width: 19ch;
  font-size: clamp(2.25rem, 1.1rem + 4.2vw, 5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.034em;
  text-wrap: balance;
}
.article__by { margin-top: clamp(1rem, 2vw, 1.5rem); color: var(--ink-2); }
.article__intro { margin-top: clamp(1rem, 2vw, 1.5rem); max-width: 44ch; color: var(--ink-2); font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem); line-height: 1.5; }
.js.motion .article__head-in > * { animation: rise 1.1s var(--ease-out) both; }
.js.motion .article__head-in > :nth-child(2) { animation-delay: 0.08s; }
.js.motion .article__head-in > :nth-child(3) { animation-delay: 0.16s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

.article__body { padding-block: clamp(2.5rem, 6vw, 5rem) var(--sect); }
.prose { max-width: 41rem; margin-left: clamp(0rem, 16vw, 18rem); }
.prose > * + * { margin-top: 1.35em; }
.prose p, .prose li { color: var(--ink-2); text-wrap: pretty; }
.prose > p:first-child {
  color: var(--ink);
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.012em;
}
.prose h2 {
  margin-top: 2.6em;
  color: var(--ink);
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.prose h2 + * { margin-top: 0.9em; }
.prose a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.3em; text-decoration-color: var(--line-3); transition: text-decoration-color 0.25s; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul { display: grid; gap: 0.2rem; border-top: 1px solid var(--line-2); }
.prose ul li { padding-block: 0.95rem; border-bottom: 1px solid var(--line); }
.prose .pull {
  margin-block: clamp(3rem, 7vw, 6rem);
  margin-left: clamp(-18rem, -16vw, 0rem);
  max-width: 20ch;
  color: var(--ink);
  font-size: clamp(2.25rem, 1rem + 5.4vw, 5.75rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.prose__media { margin-block: clamp(2.5rem, 5vw, 4rem); margin-inline: clamp(-18rem, -16vw, 0rem) clamp(-9rem, -8vw, 0rem); }
.prose__media .clip { padding-inline: 0; max-width: none; }
.prose__media .clip__caption { font-size: 1rem; color: var(--ink-2); }
.prose .prose__cta { margin-top: 1.6em; color: var(--ink); font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem); }
.prose .prose__note { margin-top: 3em; padding-top: 1.1em; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.875rem; }
.prose .prose__related { margin-top: 3.5em; padding-top: 1.4em; border-top: 1px solid var(--line-2); font-size: 0.9375rem; line-height: 1.9; color: var(--ink-3); }
.prose .prose__note + .prose__related { margin-top: 1.5em; }
.prose__related span { color: var(--ink-2); margin-right: 0.3em; }
.prose__related a { white-space: nowrap; }

/* venue pages */
.prose .btn { color: #fff; text-decoration: none; }
.prose .prose__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; margin-top: 2em; }
.clock--more { margin-top: clamp(4.5rem, 9vw, 8rem); }

/* A venue's clock: rows of blocks sized by their minutes. */
.tl {
  margin-block: clamp(2.75rem, 5.5vw, 4.5rem);
  margin-inline: clamp(-18rem, -16vw, 0rem) 0;
}
@media (min-width: 1024px) {
  .tl { margin-right: clamp(-9rem, -8vw, 0rem); }
}
.tl__lane + .tl__lane { margin-top: 1.4rem; }
.prose .tl__name { margin-bottom: 0.6rem; color: var(--ink-2); font-size: 0.9375rem; }
.tl__bar, .tl__list { display: flex; gap: 3px; }
.tl__bar { height: 0.875rem; }
.tl__seg, .tl__item { flex: 1 1 0; min-width: 0; }
.tl__seg { border-radius: 2px; }
.tl__seg--play { background: rgba(206, 220, 255, 0.24); }
.tl__seg--open { background: rgba(134, 173, 255, 0.5); }
.tl__seg--peak { background: var(--blue-up); }
.tl__seg--flex { background: repeating-linear-gradient(135deg, rgba(206, 220, 255, 0.5) 0 2px, rgba(206, 220, 255, 0.08) 2px 5px); }
.tl__seg--off { background: rgba(206, 220, 255, 0.09); }
.tl__u4 { flex-grow: 4; }
.tl__u7 { flex-grow: 7; }
.tl__u15 { flex-grow: 15; }
.tl__u25 { flex-grow: 25; }
.tl__u30 { flex-grow: 30; }
.tl__u40 { flex-grow: 40; }
.tl__u45 { flex-grow: 45; }
.tl__u60 { flex-grow: 60; }
.tl__u75 { flex-grow: 75; }
.tl__u90 { flex-grow: 90; }
.tl__u105 { flex-grow: 105; }
.tl__list { margin-top: 0.9rem; }
.prose .tl__item { font-size: 0.875rem; line-height: 1.35; color: var(--ink-3); }
.tl__label, .tl__note { display: block; }
.tl__label { color: var(--ink-2); }
.tl__item--peak .tl__label { color: var(--ink); }
.tl__item--flex { visibility: hidden; }
.prose .tl__key { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; margin-top: 1.1rem; font-size: 0.875rem; color: var(--ink-2); }
.tl__key-item { display: inline-flex; align-items: center; gap: 0.55rem; }
.tl__key-item::before, .tl__item::before { content: ""; flex: none; width: 0.625rem; height: 0.625rem; border-radius: 2px; background: rgba(206, 220, 255, 0.24); }
.tl__item::before { display: none; }
.tl__key-item--peak::before, .tl__item--peak::before { background: var(--blue-up); }
.tl__key-item--off::before, .tl__item--off::before { background: rgba(206, 220, 255, 0.09); box-shadow: inset 0 0 0 1px var(--line-2); }
.tl__item--open::before { background: rgba(134, 173, 255, 0.5); }
.tl__item--flex::before { background: repeating-linear-gradient(135deg, rgba(206, 220, 255, 0.5) 0 2px, rgba(206, 220, 255, 0.08) 2px 5px); }
.tl__caption { margin-top: 1.25rem; max-width: 44rem; color: var(--ink-3); font-size: 0.875rem; text-wrap: pretty; }

.index__list { margin-top: clamp(1rem, 3vw, 2.5rem); border-top: 1px solid var(--line-2); }
.index__link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto;
  gap: 0.75rem clamp(1.5rem, 5vw, 6rem);
  align-items: start;
  padding-block: clamp(1.75rem, 3.6vw, 3rem);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding 0.6s var(--ease-out), border-color 0.4s;
}
.index__title { font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.5rem); font-weight: 300; line-height: 1.12; letter-spacing: -0.024em; text-wrap: balance; }
.index__first { color: var(--ink-2); max-width: 44ch; text-wrap: pretty; }
.index__go { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-3); color: var(--ink-2); transition: background-color 0.3s, color 0.3s, transform 0.6s var(--ease-out); }
.index__link:hover { padding-left: clamp(0.5rem, 1.4vw, 1.25rem); border-bottom-color: var(--line-3); }
.index__link:hover .index__go { background: var(--ink); color: var(--bg); transform: translateX(4px); }
.index__cta { padding-block: clamp(3rem, 7vw, 6rem) var(--sect); }

.plain { padding-top: calc(var(--hdr) + clamp(3rem, 8vw, 7rem)); padding-bottom: var(--sect); min-height: 78vh; }
.plain__title { margin-top: clamp(1.25rem, 3vw, 2.25rem); max-width: 18ch; font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.5rem); font-weight: 300; line-height: 1.03; letter-spacing: -0.032em; text-wrap: balance; }
.plain__meta { margin-top: 1rem; color: var(--ink-3); font-size: 0.9375rem; }
.prose--plain { margin-top: clamp(2rem, 5vw, 4rem); }
.prose--plain > p:first-child { font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem); }
.prose--plain h2 { font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem); }
.prose--plain ul { border: 0; gap: 0; }
.prose--plain ul li { position: relative; padding: 0.3rem 0 0.3rem 1.4rem; border: 0; }
.prose--plain ul li::before { content: ""; position: absolute; left: 0.2rem; top: 1.05em; width: 0.5rem; height: 1px; background: var(--ink-3); }
.plain__back { margin-top: clamp(3rem, 6vw, 5rem); margin-left: clamp(0rem, 16vw, 18rem); }
.plain--centre { position: relative; display: grid; align-items: center; overflow: clip; }
.plain__media { position: absolute; inset: 0; z-index: var(--z-media); }
.plain__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; opacity: 0.85; }
.plain__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5, 7, 12, 0.86) 0%, rgba(5, 7, 12, 0.3) 46%, rgba(5, 7, 12, 0) 72%),
    linear-gradient(to top, var(--bg) 0%, rgba(5, 7, 12, 0) 34%),
    linear-gradient(to bottom, rgba(5, 7, 12, 0.75) 0%, rgba(5, 7, 12, 0) 26%);
}
.js.motion .plain__media img { animation: still-in 2.4s var(--ease-out) both; }
.plain__in { position: relative; z-index: var(--z-content); }
.plain--centre .plain__title { margin-top: 0; }
.plain--centre .lede { margin-top: 1.5rem; max-width: 44ch; }
.plain__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; margin-top: 2.5rem; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 900px) {
  .both__grid, .gain__grid, .md__grid, .enquiry__grid, .inuse__head, .studio { grid-template-columns: minmax(0, 1fr); }
  .enquiry__lead { position: static; }
  .hands .statement + .statement { margin-left: 0; }
  .hands__foot { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc__result { box-shadow: inset 0 1px 0 var(--line); }
  .prose, .plain__back { margin-left: 0; }
  .prose .pull { margin-left: 0; }
  .prose__media { margin-inline: 0; }
  .tl { margin-inline: 0; }
  .tl__list { display: block; margin-top: 1.25rem; border-top: 1px solid var(--line-2); }
  .tl__item { display: flex; align-items: baseline; gap: 0.75rem; padding-block: 0.7rem; border-bottom: 1px solid var(--line); visibility: visible; }
  .tl__item::before { display: block; align-self: center; }
  .tl__label { flex: 1 1 auto; }
  .tl__note { flex: none; text-align: right; }
  .index__link { grid-template-columns: minmax(0, 1fr) auto; }
  .index__first { grid-column: 1; grid-row: 2; }
  .index__go { grid-column: 2; grid-row: 1; }
  .studio { align-items: start; }
}

@media (max-width: 600px) {
  :root { --hdr: 4rem; }
  .form__grid, .form__grid--more { grid-template-columns: minmax(0, 1fr); }
  .rows__row { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .clip { padding-inline: 0; }
  .clip__frame { border-radius: 0; }
  .clip__bar, .clip__caption, .clip__error { padding-inline: var(--pad); }
  .prose__media .clip__bar, .prose__media .clip__caption { padding-inline: 0; }
  .prose__media { margin-inline: calc(var(--pad) * -1); }
  .prose__media .clip__bar, .prose__media .clip__caption, .prose__media .photo + * { padding-inline: var(--pad); }
  .clock__row { flex-direction: column; gap: 0.35rem; }
  .prose__related a { white-space: normal; }
  .plain__media img { opacity: 0.55; object-position: 100% 50%; }
  .ftr__base { flex-direction: column; }
  .stage__shade {
    background:
      linear-gradient(to top, rgba(5, 7, 12, 0.96) 0%, rgba(5, 7, 12, 0.72) 34%, rgba(5, 7, 12, 0) 62%),
      linear-gradient(to bottom, rgba(5, 7, 12, 0.7) 0%, rgba(5, 7, 12, 0) 20%);
  }
  .js.motion .stage__cue { display: none; }
}

/* Upright screens: the drawing sits high in the view, so the paragraph takes the lower part. */
@media (max-aspect-ratio: 20/21) {
  .js.motion .stage__lane { align-self: end; padding-bottom: clamp(3rem, 11vh, 6.5rem); }
  .stage__poster { object-position: 50% 12%; }
  .js.motion .stage__media::before { background-image: url("/assets/queue-open-portrait.webp"); background-position: 50% 12%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  body::after, .hdr, .menu, .consent, .loader, .stage__media, .stage__shade, .enquiry__media, .article__media, .plain__media { display: none !important; }
  html, body { background: #fff; color: #000; }
}

@view-transition { navigation: auto; }
