/* Patient Zero · site styles. Mobile first. */

@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;
  --soot: #121110;
  --soot-2: #1a1816;
  --soot-3: #24211e;
  --line: #36312b;
  --bone: #e4dccb;
  --bone-dim: #a8a091;
  --signal: #e8492f;
  --signal-deep: #a3301d;
  --paper: #e8dfcb;
  --ink: #1c1a17;

  --f-display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --f-serif: "Instrument Serif", Georgia, serif;

  --gutter: 20px;
  --max: 1240px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-snap: cubic-bezier(.3, 1.4, .5, 1);
  --topbar: 60px;
  --dock: 64px;

  --wave: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 14' preserveAspectRatio='none'><path d='M0 9 C 6 3, 12 3, 18 9 S 30 15, 36 9 V14 H0 Z'/></svg>");
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .95  0 0 0 0 .88  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 12px); }
body {
  margin: 0;
  background: var(--soot);
  color: var(--bone);
  font: 400 1rem/1.6 var(--f-body);
  overflow-x: hidden; overflow-x: clip;
  padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom));
}
/* film grain over everything: one static, composited layer */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  background-image: var(--grain); opacity: .07; mix-blend-mode: soft-light;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--signal); color: var(--soot); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--bone); color: var(--soot); padding: 10px 14px; }
.skip:focus { left: 8px; }

.dim { color: var(--bone-dim); }
.small { font-size: .875rem; }
.signal { color: var(--signal); }
.display {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  line-height: .86; letter-spacing: -.01em; margin: 0;
}
.display em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--signal); letter-spacing: -.02em; }
.eyebrow, .chan, .monitor dt, .lineup__no, .dock span {
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
}
.hand { font-family: var(--f-serif); font-style: italic; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--bone); --fg: var(--soot);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 28px; border: 1.5px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg); cursor: pointer;
  font: 600 .8125rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: color .35s, border-color .35s, transform .2s var(--ease-snap);
  position: relative; isolation: isolate; overflow: hidden;
}
/* the fill: a column of red with a wave on top, parked below the button until hover */
.btn::before {
  content: ""; position: absolute; z-index: -1; left: -2px; right: -2px; top: 0; height: calc(100% + 7px);
  background: var(--blood, var(--signal));
  -webkit-mask: var(--wave) repeat-x 0 0 / 36px 7px, linear-gradient(#000, #000) no-repeat 0 6.5px / 100% calc(100% - 6.5px);
          mask: var(--wave) repeat-x 0 0 / 36px 7px, linear-gradient(#000, #000) no-repeat 0 6.5px / 100% calc(100% - 6.5px);
  transform: translateY(100%);
  transition: transform 2s cubic-bezier(.4, .55, .3, 1);
  animation: slosh 1.1s linear infinite paused;
}
.btn:focus-visible::before, .btn.is-pressing::before { transform: translateY(-7px); animation-play-state: running; }
/* hover fill only where hover is real; on a phone a tap would leave the button stuck full */
@media (hover: hover) { .btn:hover::before { transform: translateY(-7px); animation-play-state: running; } }
/* phones: holding a button pours it full, a quick tap sends one red pulse up and back down */
.btn { -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.btn.is-pulse::before { animation: blood-pulse .85s cubic-bezier(.3, .7, .35, 1), slosh 1.1s linear infinite; }
@keyframes blood-pulse { 0% { transform: translateY(100%); } 45% { transform: translateY(-7px); } 100% { transform: translateY(100%); } }
@keyframes slosh {
  from { -webkit-mask-position: 0 0, 0 6.5px; mask-position: 0 0, 0 6.5px; }
  to { -webkit-mask-position: 36px 0, 0 6.5px; mask-position: 36px 0, 0 6.5px; }
}
.btn:hover { border-color: var(--signal); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--ghost { --bg: transparent; color: var(--bone); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--signal); color: var(--soot); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: .6875rem; }
.btn--full { width: 100%; }
/* liquid metal rim (metal.js adds .metal once WebGL is up). The rim sits over the blood, so the fill rises inside a chrome frame. */
.metal .btn {
  --rim: 2.5; --rim-alpha: 1; --shine: .5;
  border: 0; color: var(--bone);
  background: linear-gradient(180deg, #2b2723 0%, #0f0e0d 100%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .6), 0 14px 18px -14px rgba(0, 0, 0, .9);
  transition: color .35s, transform .2s var(--ease-snap), box-shadow .35s var(--ease-out);
}
.metal .btn:hover, .metal .btn:focus-visible { box-shadow: 0 1px 0 rgba(0, 0, 0, .6), 0 10px 16px -10px rgba(163, 48, 29, .55); }
.metal .btn--ghost { --rim: 1.5; --rim-alpha: .8; background: linear-gradient(180deg, rgba(43, 39, 35, .5) 0%, rgba(15, 14, 13, .75) 100%); }
.metal .btn--ghost:hover { color: var(--bone); }
.btn__metal { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; border-radius: inherit; }
.btn__ripple {
  position: absolute; z-index: -1; width: 20px; height: 20px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 244, 230, .45) 0%, rgba(255, 244, 230, 0) 70%);
  transform: translate(-50%, -50%) scale(0); animation: btn-ripple .6s ease-out forwards;
}
@keyframes btn-ripple { from { transform: translate(-50%, -50%) scale(0); opacity: .7; } to { transform: translate(-50%, -50%) scale(5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .btn__ripple { display: none; } }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--topbar);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 var(--gutter); padding-top: env(safe-area-inset-top);
  background: color-mix(in srgb, var(--soot) 82%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__name { font: 800 1.25rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.topnav { display: none; }
.topbar__end { display: flex; align-items: center; gap: 10px; }
.topbar__end .btn { display: none; }
/* language switch: two quiet labels, a chrome hairline slides under the one in use */
.lang { position: relative; display: flex; border: 0; }
.lang button {
  width: 40px; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
  font: 500 .6875rem var(--f-mono); letter-spacing: .14em; color: var(--bone-dim); transition: color .3s;
}
.lang button:hover, .lang button[aria-pressed="true"] { color: var(--bone); }
.lang::after { content: ""; position: absolute; left: 40px; top: 50%; width: 1px; height: 10px; margin-top: -5px; background: var(--line); }
.lang__bar {
  position: absolute; left: 12px; bottom: 9px; width: 16px; height: 2px; isolation: isolate; pointer-events: none;
  background: var(--bone); transition: transform .9s cubic-bezier(.4, .55, .3, 1);
}
.lang:has([data-lang="de"][aria-pressed="true"]) .lang__bar { transform: translateX(40px); }
.metal .lang__bar { --rim: 4; --rim-alpha: 1; --shine: .6; background: none; }
@media (prefers-reduced-motion: reduce) { .lang__bar { transition: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--topbar));
  padding: 8px var(--gutter) 48px;
  display: grid; grid-template-rows: auto 1fr auto; gap: 8px;
}
.hero__haze { position: absolute; inset: -20%; z-index: -1; pointer-events: none; }
.hero__haze span {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55;
  will-change: transform;
}
.hero__haze span:nth-child(1) {
  width: 70vmax; height: 70vmax; left: 10%; top: 0;
  background: radial-gradient(circle, rgba(232, 73, 47, .22), transparent 62%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.hero__haze span:nth-child(2) {
  width: 60vmax; height: 60vmax; right: 0; bottom: 0;
  background: radial-gradient(circle, rgba(228, 220, 203, .10), transparent 60%);
  animation: drift-b 28s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(12%, 10%, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-14%, -8%, 0) scale(.9); } }

/* the monitor strip: borrowed from a patient monitor, read like a set list */
.monitor {
  margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.monitor__cell { padding: 10px 0; min-width: 0; }
.monitor__cell:nth-child(odd) { padding-right: 12px; }
.monitor__cell:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
.monitor__cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.monitor dt { color: var(--bone-dim); font-size: .625rem; display: flex; align-items: center; gap: 6px; }
.monitor dd { margin: 2px 0 0; font: 500 .8125rem/1.35 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.monitor .monitor__cell--wide dd { white-space: normal; }
.beat-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(232, 73, 47, .6); }
.beat-dot.is-beat { animation: beat .45s var(--ease-out); }
@keyframes beat { 0% { transform: scale(1.6); box-shadow: 0 0 0 0 rgba(232, 73, 47, .7); } 100% { transform: scale(1); box-shadow: 0 0 0 8px rgba(232, 73, 47, 0); } }
#pulse-cell.is-playing dd { color: var(--signal); }

.hero__stage { position: relative; display: grid; place-items: center; min-height: 300px; padding-bottom: 30px; cursor: crosshair; touch-action: manipulation; }
.ecg { position: absolute; left: 0; width: 100%; top: 46%; height: 240px; transform: translateY(-50%); z-index: 0; pointer-events: none; }
.hero__logo { position: relative; z-index: 1; width: min(74vw, 360px); }
.hero__logo img {
  width: 100%;
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .65));
  animation: logo-in 1.4s var(--ease-out) both .1s;
}
.hero__logo.is-beat img { animation: thump .32s var(--ease-out); }
@keyframes logo-in { from { opacity: 0; transform: translateY(18px) scale(.96); } }
@keyframes thump { 0% { transform: scale(1); } 30% { transform: scale(1.022); } 100% { transform: scale(1); } }
.hero__hint {
  position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; margin: 0;
  font: italic 1rem var(--f-serif); color: var(--bone-dim);
  opacity: 0; animation: fade-in 1s 2.6s forwards;
}
@keyframes fade-in { to { opacity: .8; } }

.hero__copy { position: relative; z-index: 2; }
.hero { cursor: crosshair; }
.hero a, .hero button { cursor: pointer; }
.monitor { position: relative; z-index: 2; }
.hero__copy .eyebrow { color: var(--signal); margin: 0 0 12px; }
.hero__copy .display { font-size: clamp(3.75rem, 19vw, 9.5rem); }
.hero__copy .display .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.hero__copy .display .w > span { display: inline-block; animation: rise .9s var(--ease-out) both; }
/* Austria in the flag's colours: red, white, red, running through the letters themselves.
   The bands split the serif's x-height in thirds (baseline sits at 76.2% of the em box, x-height top at 35.3%),
   so they hold at every font size. Padding keeps the italic overhang inside the painted box. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__copy .display em {
    --flag-white: #f3eee4;
    background: linear-gradient(180deg, var(--signal) 48.9%, var(--flag-white) 48.9%, var(--flag-white) 62.5%, var(--signal) 62.5%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    padding: 0 .12em; margin: 0 -.12em;
  }
}
@keyframes rise { from { transform: translateY(105%); } }
.lede { max-width: 34rem; margin: 18px 0 24px; color: var(--bone); font-size: 1.0625rem; opacity: .92; }

/* ---------- sections ---------- */
.section { position: relative; padding: 88px var(--gutter); max-width: var(--max); margin: 0 auto; }
.section + .section::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px;
  background: var(--line);
}
.section + .section::after {
  content: ""; position: absolute; top: 0; left: var(--gutter); width: 48px; height: 1px; background: var(--signal);
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out) .15s;
}
.section.is-seen::after, .no-js .section::after { transform: scaleX(1); }
/* section titles rise out of their own baseline */
.js .section__head[data-reveal] { opacity: 1; transform: none; }
.section__head .display .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.js .section__head .display .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s cubic-bezier(.16, .84, .24, 1); }
.js .section__head.is-up .display .w > span { transform: none; }
.js .section__head .chan { opacity: 0; transform: translateX(-12px); transition: opacity .8s, transform .8s var(--ease-out); }
.js .section__head.is-up .chan { opacity: 1; transform: none; }
.js .section__head .section__intro { opacity: 0; transition: opacity 1s .5s; }
.js .section__head.is-up .section__intro { opacity: 1; }
.section__head { margin-bottom: 36px; }
.chan { display: flex; gap: 12px; color: var(--bone-dim); margin: 0 0 14px; }
.chan span:first-child { color: var(--signal); }
.section .display { font-size: clamp(3.5rem, 16vw, 8rem); }
.section__intro { margin: 16px 0 0; max-width: 32rem; color: var(--bone-dim); }
.big { font-size: 1.3125rem; line-height: 1.45; font-weight: 500; letter-spacing: -.005em; }

/* band */
.photo { margin: 0 calc(var(--gutter) * -1) 32px; position: relative; }
.photo picture { display: block; position: relative; overflow: hidden; }
.photo picture::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(18, 17, 16, .85)), radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(18, 17, 16, .55));
}
.photo img { width: 100%; filter: contrast(1.08) brightness(.92) sepia(.12); transform: scale(1.04); transition: transform 1.6s var(--ease-out); }
.photo.is-in img { transform: scale(1); }
.photo figcaption {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 14px; z-index: 1;
  font: italic 1.125rem/1.3 var(--f-serif); color: var(--bone);
}
.band__text p { margin: 0 0 18px; max-width: 40rem; }
.band__text p:not(.big) { color: var(--bone-dim); }

.lineup { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.lineup li {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: baseline; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease-out);
}
.lineup li:hover { padding-left: 8px; }
.lineup__no { color: var(--signal); }
.lineup__name { font: 800 1.75rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.lineup__role { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-dim); }


/* band: photo far back, a record sheet torn off the pad up front */
@font-face { font-family: "Courier Prime"; src: url("../fonts/courier-prime.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../fonts/courier-prime-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
.band { isolation: isolate; }
.band__bg {
  position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 62%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 62%, transparent 100%);
}
.band__bg picture, .band__bg img { width: 100%; height: 100%; }
.band__bg img { object-fit: cover; object-position: 50% 30%; opacity: .1; filter: grayscale(1) contrast(1.15); }
@supports (animation-timeline: view()) {
  .band__bg img { animation: band-drift linear both; animation-timeline: view(); scale: 1.12; }
  @keyframes band-drift { from { translate: 0 -5%; } to { translate: 0 5%; } }
}

.band__text { position: relative; }
.band__text p { margin: 0 0 18px; max-width: 36rem; }
.band__text .lead { font-size: 1.375rem; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; color: var(--bone); margin-bottom: 24px; }
.band__text p:not(.lead) { color: var(--bone-dim); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 36px 0 0; border-top: 1px solid var(--line); max-width: 36rem; }
.stats div { padding: 18px 12px 0 0; }
.stats div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.stats dt { font: 900 3.25rem/.9 var(--f-display); color: var(--bone); }
.stats dd { margin: 8px 0 0; font: 500 .6875rem/1.45 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-dim); }

.sheet-wrap {
  --paper-ink: #7b2b21;   /* the form's printed spot colour */
  --type-ink: #23201c;    /* typewriter ribbon */
  position: relative; margin: 56px 4px 0; transform: rotate(-1.2deg);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)) drop-shadow(0 28px 34px rgba(0, 0, 0, .55));
}
.js .sheet-wrap[data-reveal] { transform: translateY(28px) rotate(-3deg); }
.js .sheet-wrap[data-reveal].is-in { transform: rotate(-1.2deg); transition-timing-function: var(--ease-out); transition-duration: 1.1s; }
.sheet {
  position: relative; color: var(--type-ink);
  padding: 34px 20px 22px;
  clip-path: polygon(0.0% 3.3px, 2.17% 1.4px, 4.35% 5.9px, 6.52% 0.7px, 8.7% 4.8px, 10.87% 3.3px, 13.04% 0.5px, 15.22% 4.6px, 17.39% 0.3px, 19.57% 3.9px, 21.74% 0.6px, 23.91% 0.8px, 26.09% 3.8px, 28.26% 7.4px, 30.43% 1.1px, 32.61% 2.0px, 34.78% 5.6px, 36.96% 8.5px, 39.13% 5.2px, 41.3% 3.6px, 43.48% 8.8px, 45.65% 0.4px, 47.83% 7.7px, 50.0% 2.6px, 52.17% 1.3px, 54.35% 1.1px, 56.52% 2.8px, 58.7% 7.3px, 60.87% 1.6px, 63.04% 5.2px, 65.22% 5.8px, 67.39% 3.4px, 69.57% 4.9px, 71.74% 0.6px, 73.91% 0.5px, 76.09% 1.9px, 78.26% 6.1px, 80.43% 3.8px, 82.61% 2.8px, 84.78% 5.3px, 86.96% 4.1px, 89.13% 2.7px, 91.3% 7.1px, 93.48% 6.3px, 95.65% 2.2px, 97.83% 5.2px, 100.0% 4.1px, 100% 100%, 0 100%);
  background:
    linear-gradient(180deg, transparent 47.6%, rgba(255, 255, 255, .35) 47.8%, rgba(0, 0, 0, .07) 48.2%, transparent 48.8%),
    radial-gradient(120% 90% at 30% 20%, transparent 55%, rgba(120, 90, 40, .12)),
    var(--grain),
    #ece4d2;
  background-size: 100% 100%, 100% 100%, 160px 160px, auto;
}
.clip { position: absolute; z-index: 2; top: -26px; left: 26px; width: 20px; height: 56px; transform: rotate(4deg); filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, .35)); }

.sheet__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--paper-ink); }
.sheet__dept { margin: 0 0 4px; font: 600 .625rem/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--paper-ink); }
.sheet__title { margin: 0; font: 900 2rem/.9 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--paper-ink); }
.sheet__form { margin: 0; flex: none; white-space: nowrap; text-align: right; font: 600 .625rem/1.4 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--paper-ink); opacity: .8; }

.cell__label { display: block; font: 600 .5625rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--paper-ink); opacity: .85; text-align: left; }
.typed { display: block; margin-top: 5px; font: 400 1rem/1.35 "Courier Prime", "Courier New", monospace; color: var(--type-ink); text-shadow: 0 0 .6px rgba(35, 32, 28, .55); text-decoration: none; }
a.typed { text-decoration: underline; text-decoration-color: rgba(123, 43, 33, .5); text-underline-offset: 3px; }
a.typed:hover { color: var(--paper-ink); }

.sheet__grid { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid rgba(123, 43, 33, .45); }
.cell { padding: 9px 10px 10px; border-right: 1px solid rgba(123, 43, 33, .45); border-bottom: 1px solid rgba(123, 43, 33, .45); min-width: 0; }
.cell--wide { grid-column: 1 / -1; }

.sheet__crew { width: 100%; margin-top: 18px; border-collapse: collapse; }
.sheet__crew caption { display: table-caption; caption-side: top; padding-bottom: 6px; }
.sheet__crew th { font: 600 .5625rem var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--paper-ink); text-align: left; padding: 6px 8px; border-top: 2px solid var(--paper-ink); border-bottom: 1px solid var(--paper-ink); }
.sheet__crew td { font: 400 1rem/1.2 "Courier Prime", "Courier New", monospace; padding: 9px 8px; border-bottom: 1px dotted rgba(123, 43, 33, .5); text-shadow: 0 0 .6px rgba(35, 32, 28, .55); }
.sheet__crew td:first-child, .sheet__crew th:first-child { width: 3.2em; padding-left: 0; color: rgba(35, 32, 28, .6); }
.sheet__crew td:nth-child(2) { font-weight: 700; letter-spacing: .06em; }

.sheet__foot { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; border-top: 1px solid rgba(123, 43, 33, .45); border-left: 1px solid rgba(123, 43, 33, .45); }
.sheet__sign svg { display: block; width: 100%; max-width: 170px; height: 40px; margin-top: 0; overflow: visible; }
.sheet__sign path { fill: none; stroke: #1f2a44; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }

/* listen: a taped-down set list */
.setlist {
  position: relative; background-color: rgba(232, 223, 203, .76); color: var(--ink);
  padding: 34px 18px 22px; transform: rotate(-.8deg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 30px 60px -20px rgba(0, 0, 0, .7), 0 6px 14px rgba(0, 0, 0, .35);
  background-image: var(--grain), linear-gradient(180deg, transparent 0 calc(100% - 1px), rgba(28, 26, 23, .06) 0);
  background-size: 180px 180px, 100% 44px;
  max-width: 760px;
}
.tape {
  position: absolute; top: -14px; left: 50%; width: 120px; height: 30px; transform: translateX(-50%) rotate(2.5deg);
  background: rgba(40, 38, 35, .88); box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
  clip-path: polygon(2% 0, 98% 4%, 100% 50%, 97% 100%, 3% 96%, 0 50%);
}
.setlist__head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; font: 900 1.5rem/1 var(--f-display); text-transform: uppercase; }
.setlist__head .hand { font-size: 1.125rem; font-weight: 400; text-transform: none; color: var(--signal-deep); }
.setlist__foot { margin: 16px 0 0; font-size: 1.0625rem; color: #5b554b; }
.tracks { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.track {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1.5px dashed rgba(28, 26, 23, .25);
}
.track__play {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; cursor: pointer;
  display: grid; place-items: center; color: var(--ink); transition: background-color .2s, color .2s, transform .2s var(--ease-snap);
}
.track__play:hover { background: var(--ink); color: var(--paper); }
.track__play:active { transform: scale(.94); }
.track__play:disabled { opacity: .35; cursor: not-allowed; background: transparent; color: var(--ink); }
.track__play svg { width: 16px; height: 16px; }
.track__play .i-pause { display: none; }
.track.is-playing .track__play { background: var(--signal-deep); border-color: var(--signal-deep); color: var(--paper); }
.track.is-playing .i-play { display: none; }
.track.is-playing .i-pause { display: block; }
.track__title { font: 800 1.375rem/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.track__meta { display: block; font: italic 1rem/1.2 var(--f-serif); color: #5b554b; text-transform: none; letter-spacing: 0; }
.track__time { font: 500 .75rem var(--f-mono); color: #5b554b; }
.track__wave { grid-column: 2 / -1; height: 26px; display: flex; align-items: center; gap: 2px; cursor: pointer; }
.track__wave i { flex: 1; background: rgba(28, 26, 23, .22); border-radius: 1px; transition: background-color .15s; }
.track__wave i.on { background: var(--signal-deep); }
.track:not(.is-active) .track__wave { display: none; }
.track__badge { font: 500 .625rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--signal-deep); }

/* listen: the stage. Waves move with the clip that's playing */
.stage {
  position: relative; height: 220px; margin: 0 calc(var(--gutter) * -1) -44px;
  background: radial-gradient(80% 120% at 50% 100%, rgba(232, 73, 47, .05), transparent 70%);
  overflow: hidden; isolation: isolate;
}
.stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--soot), transparent 12%, transparent 88%, var(--soot)),
              repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px);
}
.stage__viz { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.stage__info {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px;
  padding: 14px var(--gutter) 0; font: 500 .6875rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
}
.stage__status { margin: 0; display: flex; align-items: center; gap: 8px; min-width: 0; }
.stage__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bone-dim); flex: none; }
.stage.is-playing .stage__dot { background: var(--signal); animation: blink 1s steps(2, start) infinite; }
.stage.is-playing .stage__status { color: var(--signal); }
@keyframes blink { to { opacity: .2; } }
.stage__meters { margin: 0; display: flex; gap: 14px; color: var(--bone-dim); font-variant-numeric: tabular-nums; }
.stage__meters b { font-weight: 500; color: var(--bone); }
.stage__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(228, 220, 203, .08); z-index: 1; }
.stage__progress span { display: block; height: 100%; width: 0; background: var(--signal); transition: width .25s linear; }
.listen .setlist { z-index: 2; }

.track__tick { display: inline-block; width: .7em; height: .7em; margin-left: .35em; vertical-align: .05em; overflow: visible; }
.track__tick path { fill: none; stroke: var(--signal-deep); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease-out) .1s; }
.track.is-played .track__tick path { stroke-dashoffset: 0; }

/* live: tickets */
.gigs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gig {
  --notch: 10px; --stub: 78px;
  position: relative; display: grid; grid-template-columns: var(--stub) 1fr;
}
/* both halves carry their own half of the punch-outs, so they can come apart cleanly */
.gig__date, .gig__body { background: var(--soot-2); border: 1px solid var(--line); transition: transform .55s var(--ease-snap), background-color .3s, box-shadow .55s var(--ease-out); }
.gig__date {
  padding: 18px 8px; text-align: center; font-family: var(--f-mono);
  border-right: 2px dashed var(--line); transform-origin: 100% 0;
  -webkit-mask: radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) , radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000);
  -webkit-mask-composite: source-in;
          mask: radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) , radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000);
          mask-composite: intersect;
}
.gig__body {
  border-left: 2px dashed var(--line);
  -webkit-mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) , radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000);
  -webkit-mask-composite: source-in;
          mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) , radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000);
          mask-composite: intersect;
}
@media (hover: hover) {
  .gig:hover .gig__date { transform: translate(-14px, 6px) rotate(-7deg); background: var(--soot-3); box-shadow: -10px 14px 24px -10px rgba(0, 0, 0, .7); }
  .gig:hover .gig__body { background: var(--soot-3); }
}
/* phones: the next show's stub tears off once as it scrolls up the screen */
.gig.is-torn .gig__date { transform: translate(-10px, 6px) rotate(-6deg); background: var(--soot-3); box-shadow: -10px 14px 24px -10px rgba(0, 0, 0, .7); transition-duration: .9s; }
.gig__next { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; font: 500 .625rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.gig__next::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: next-pulse 1.9s ease-in-out infinite; }
@keyframes next-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.gig__day { display: block; font: 900 2.5rem/.9 var(--f-display); color: var(--bone); }
.gig__mon { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); margin-top: 4px; }
.gig__dow { display: block; line-height: 1.5; font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); margin-top: 6px; }
.gig__body { padding: 16px 18px; min-width: 0; display: grid; gap: 8px; align-content: center; }
.gig__city { font: 800 1.625rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; margin: 0; }
.gig__venue { margin: 0; color: var(--bone-dim); font-size: .9375rem; }
.gig__note { margin: 0; font: italic 1rem var(--f-serif); color: var(--bone); }
.gig__act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag { font: 500 .6875rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--line); color: var(--bone-dim); }
.tag--hot { border-color: var(--signal); color: var(--signal); }
.gigs--past .gig { opacity: .6; }
.gigs--past .gig:hover { opacity: 1; }
.empty {
  border: 1px dashed var(--line); padding: 28px 20px; text-align: left;
}
.empty p { margin: 0 0 16px; font: italic 1.5rem/1.25 var(--f-serif); }
.past { margin-top: 28px; }
.past summary { cursor: pointer; font: 500 .75rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); padding: 12px 0; min-height: 44px; }
.past[open] summary { margin-bottom: 12px; }

/* booking: two ways in, built like an A/B box on a pedalboard. Each way is a small enclosure with a status LED:
   A is the address (stomp Copy and its LED lights), B is the request channel (stomp the footswitch and it opens).
   Deliberately not the ticket cut used for the gigs. */
.booking__grid { display: grid; gap: 30px; }
.booking__lede { margin: 0; max-width: 34rem; }
.contact { display: grid; max-width: 760px; }
.contact__or { display: flex; align-items: center; gap: 14px; margin: 14px 0; font: 500 .6875rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.contact__or::before, .contact__or::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent); }

.way {
  --side: 56px; position: relative; display: grid; grid-template-columns: var(--side) minmax(0, 1fr);
  background: var(--soot-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(228, 220, 203, .05), 0 18px 40px -28px rgba(0, 0, 0, .9);
  transition: border-color .35s, transform .18s var(--ease-out), box-shadow .35s;
}
.way__side { display: grid; align-content: center; justify-items: center; gap: 7px; padding: 14px 4px; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(228, 220, 203, .025), transparent); }
.way__head { min-width: 0; }
.way__key { font: 900 2rem/.9 var(--f-display); color: var(--bone); transition: color .4s; }
.way__tag { font: 500 .5rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bone-dim); }
.way__label { margin: 0; font: 500 .625rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.way__title { display: block; font: 800 1.3rem/1.05 var(--f-display); text-transform: uppercase; color: var(--bone); }

/* the status LED: dark at rest, a faint standby glow on hover, fully lit when that way is engaged */
.led { width: 8px; height: 8px; border-radius: 50%; background: #3b1812; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .35); transition: background-color .25s, box-shadow .35s; }
.way:hover .led { background: #7a2a1d; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .4), 0 0 6px rgba(232, 73, 47, .25); }
.way.is-on .led { background: var(--signal); box-shadow: inset 0 -1px 1px rgba(0, 0, 0, .25), 0 0 4px var(--signal), 0 0 14px rgba(232, 73, 47, .55); }
.way.is-on .way__key { color: var(--signal); }
@media (hover: hover) { .way:hover { border-color: rgba(228, 220, 203, .22); } }
/* a stomp: the enclosure gives a millimetre under your foot */
.way.is-stomp { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(228, 220, 203, .05), 0 8px 20px -18px rgba(0, 0, 0, .9); }
/* when the section scrolls in, the two LEDs blink through a power-on check, A then B */
.contact.is-powered .led { animation: power-on .9s steps(1) both; }
.contact.is-powered .way--form .led { animation-delay: .35s; }
@keyframes power-on { 0% { background: var(--signal); box-shadow: 0 0 10px rgba(232, 73, 47, .6); } 18% { background: #3b1812; box-shadow: none; } 36% { background: var(--signal); box-shadow: 0 0 10px rgba(232, 73, 47, .6); } 60% { background: #3b1812; box-shadow: none; } }

/* A: the address */
.way--mail .way__head { padding: 16px 14px 16px 16px; display: grid; gap: 10px; justify-items: start; }
.mailbox__addr {
  font: 800 clamp(.8rem, 4vw, 1.75rem)/1.1 var(--f-display); text-transform: uppercase; letter-spacing: 0; text-decoration: none; color: var(--bone);
  background: linear-gradient(var(--signal), var(--signal)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease-out), color .3s;
  padding-bottom: 4px; white-space: nowrap;
}
.mailbox__addr:hover, .mailbox__addr:focus-visible { background-size: 100% 2px; }
.copy { gap: 0; }
.copy__tick { width: 0; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: width .3s var(--ease-out), margin .3s var(--ease-out); }
.way--mail.is-on .copy__tick { width: 14px; margin-right: 8px; stroke-dashoffset: 0; transition: width .3s var(--ease-out), margin .3s var(--ease-out), stroke-dashoffset .45s .15s var(--ease-out); }
.way--mail.is-on .mailbox__addr { background-size: 100% 2px; }

/* B: the request channel, opened with a footswitch */
.way__toggle {
  width: 100%; min-height: 76px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 14px;
  padding: 16px 14px 16px 16px; text-align: left; background: none; border: 0; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.way__toggle .way__label, .way__toggle .way__title { grid-column: 1; }
.way__toggle:focus-visible { outline-offset: -4px; }
.switch {
  grid-column: 2; grid-row: 1 / span 2; position: relative; width: 42px; height: 42px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f4efe6 0, #b9b1a2 22%, #5d574e 58%, #2a2622 100%);
  box-shadow: 0 0 0 3px var(--soot-3), 0 0 0 4px var(--line), 0 4px 0 1px #0b0a09, 0 8px 16px -6px rgba(0, 0, 0, .9);
  transition: transform .14s var(--ease-out), box-shadow .14s var(--ease-out);
}
.switch::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #d8d0c1, #7d766b 70%); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5), inset 0 -2px 3px rgba(0, 0, 0, .45); }
.switch i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; transform: translate(-50%, -50%); transition: transform .45s var(--ease-snap); }
.switch i::before, .switch i::after { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1.6px; margin-top: -.8px; background: var(--soot); border-radius: 1px; }
.switch i::after { transform: rotate(90deg); }
.way__toggle:active .switch, .way__toggle.is-down .switch { transform: translateY(3px); box-shadow: 0 0 0 3px var(--soot-3), 0 0 0 4px var(--line), 0 1px 0 1px #0b0a09, 0 3px 8px -4px rgba(0, 0, 0, .9); }
.way.is-open .switch i { transform: translate(-50%, -50%) rotate(135deg); }

.way__panel { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.way.is-open .way__panel { grid-template-rows: 1fr; }
.way__inner { min-height: 0; overflow: hidden; }

/* the level meter: a row of LED segments that climbs as the request fills up, red at the top end like a real meter.
   Full = the clip light flashes; on send a signal runs through it. */
.meter { display: block; position: relative; height: 6px; margin: 0 16px; border-top: 1px solid var(--line); padding-top: 14px; box-sizing: content-box; }
.meter::before, .meter i { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; -webkit-mask: linear-gradient(90deg, #000 72%, transparent 72%) 0 0 / 5% 100% repeat-x; mask: linear-gradient(90deg, #000 72%, transparent 72%) 0 0 / 5% 100% repeat-x; }
.meter::before { background: rgba(228, 220, 203, .1); }
.meter i { --lvl: 0; background: linear-gradient(90deg, var(--bone-dim) 0 70%, #d9a08f 70% 80%, var(--signal) 80%); clip-path: inset(0 calc((1 - var(--lvl)) * 100%) 0 0); transition: clip-path .5s steps(6, end); }
.meter i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 246, 230, .95) 50%, transparent); background-size: 30% 100%; background-repeat: no-repeat; background-position: -40% 0; opacity: 0; }
.way.is-complete .meter i { animation: clip-flash .7s var(--ease-out); }
.way.is-sent .meter i::after { animation: signal-run .9s var(--ease-out); }
.way.is-complete .way__key { color: var(--signal); }
@keyframes clip-flash { 0%, 40% { filter: brightness(1.8) drop-shadow(0 0 6px rgba(232, 73, 47, .8)); } }
@keyframes signal-run { 0% { opacity: 1; background-position: -40% 0; } 100% { opacity: 1; background-position: 140% 0; } }

.form { position: relative; display: grid; gap: 30px; padding: 22px 16px 22px; }
.way__panel .step, .way__panel .form__send { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.way.is-open .way__panel .step, .way.is-open .way__panel .form__send { opacity: 1; transform: none; }
.way.is-open .way__panel .step:nth-child(1) { transition-delay: .18s; }
.way.is-open .way__panel .step:nth-child(2) { transition-delay: .28s; }
.way.is-open .way__panel .form__send { transition-delay: .38s; }

.step { display: grid; gap: 20px; }
.step__label { margin: 0; display: flex; align-items: center; gap: 12px; font: 500 .6875rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.step__label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.step__n { color: var(--signal); }

.chips { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px 6px; }
.chips__legend { float: left; width: 100%; margin: 0 0 10px; padding: 0; font: 500 .9375rem/1.3 var(--f-body); color: var(--bone-dim); }
.chip { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px;
  font: 500 .6875rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-dim);
  border: 1px solid var(--line); border-radius: 999px;
  transition: color .3s, border-color .3s, background-color .3s, transform .25s var(--ease-snap);
}
.chip span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; transform: scale(.7); transition: transform .35s var(--ease-snap), opacity .3s, background-color .3s; }
@media (hover: hover) { .chip:hover span { color: var(--bone); border-color: rgba(228, 220, 203, .45); } }
.chip input:active + span { transform: scale(.95); }
.chip input:checked + span { color: var(--soot); background: var(--bone); border-color: var(--bone); }
.chip input:checked + span::before { background: var(--signal); opacity: 1; transform: scale(1); animation: chip-beat .5s var(--ease-out); }
.chip input:focus-visible + span { outline: 2px solid var(--bone); outline-offset: 3px; }
@keyframes chip-beat { 0% { transform: scale(2.2); box-shadow: 0 0 0 0 rgba(232, 73, 47, .6); } 100% { transform: scale(1); box-shadow: 0 0 0 7px rgba(232, 73, 47, 0); } }

.field { display: grid; gap: 6px; align-content: start; }
.field-row { display: grid; gap: 20px; }
.fl { position: relative; }
.fl input, .fl textarea {
  width: 100%; min-height: 54px; padding: 24px 0 8px; font: 500 1.0625rem/1.4 var(--f-body); color: var(--bone);
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background-image: linear-gradient(90deg, var(--signal-deep), var(--signal)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px;
  transition: background-size .6s var(--ease-out), border-color .3s;
}
.fl textarea { resize: vertical; min-height: 92px; }
.fl input:focus, .fl textarea:focus { outline: none; background-size: 100% 2px; border-bottom-color: transparent; }
.fl label {
  position: absolute; left: 0; top: 28px; pointer-events: none; transform-origin: 0 0;
  font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim);
  transition: transform .35s var(--ease-out), color .3s;
}
.fl input:focus + label, .fl textarea:focus + label,
.fl input:not(:placeholder-shown) + label, .fl textarea:not(:placeholder-shown) + label,
.fl--fixed label { transform: translateY(-22px) scale(.85); }
.fl input:focus + label, .fl textarea:focus + label { color: var(--signal); }
.fl input[type="date"] { color-scheme: dark; color: var(--bone-dim); }
.fl input[type="date"]:focus, .fl input[type="date"].has-value { color: var(--bone); }
.fl input[type="date"]::-webkit-calendar-picker-indicator { opacity: .5; cursor: pointer; }
.field__err { display: none; margin: 4px 0 0; color: var(--signal); font-size: .8125rem; }
.field.has-error input { border-bottom-color: var(--signal); }
.field.has-error label { color: var(--signal); }
.field.has-error .field__err { display: block; animation: err-in .35s var(--ease-out); }
.field.has-error input:not(:focus) { animation: nudge .35s ease-in-out; }
@keyframes err-in { from { opacity: 0; transform: translateY(-4px); } }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.form__send { position: relative; display: grid; gap: 14px; }
.form__note { margin: 0; font-size: .8125rem; line-height: 1.5; color: rgba(168, 160, 145, .8); text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .way, .way__panel, .switch, .switch i, .meter i { transition: none; }
  .way__panel .step, .way__panel .form__send { opacity: 1; transform: none; transition: none; }
  .contact.is-powered .led, .way.is-complete .meter i, .way.is-sent .meter i::after, .field.has-error input, .field.has-error .field__err { animation: none; }
}

/* footer */
.footer { padding: 80px var(--gutter) 40px; text-align: center; border-top: 1px solid var(--line); display: grid; justify-items: center; gap: 18px; }
.footer__logo { width: 120px; opacity: .9; transition: opacity .3s; }
.footer__logo:hover { opacity: 1; }
.footer__logo.is-beat { animation: thump .32s var(--ease-out); }
.footer__line { font-size: clamp(2rem, 9vw, 4rem); max-width: 14ch; }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font: 500 .75rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.footer__links a, .footer__links button { display: inline-flex; min-height: 44px; align-items: center; color: var(--bone-dim); text-decoration: none; letter-spacing: inherit; text-transform: inherit; }
.footer__links a:hover, .footer__links button:hover { color: var(--signal); }

/* mobile dock */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--soot) 90%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.dock a { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: var(--dock); text-decoration: none; position: relative; }
.dock span { font-size: .5625rem; color: var(--bone-dim); }
.dock b { font: 700 1rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; }
.dock a::before { content: ""; position: absolute; top: -1px; left: 30%; right: 30%; height: 2px; background: var(--signal); transform: scaleX(0); transition: transform .3s var(--ease-out); }
.dock a.is-current::before { transform: scaleX(1); }
.dock a.is-current span { color: var(--signal); }

/* imprint */
.imprint { background: var(--soot-2); color: var(--bone); border: 1px solid var(--line); max-width: min(520px, calc(100vw - 32px)); padding: 28px 22px; }
.imprint::backdrop { background: rgba(10, 9, 8, .75); }
.imprint h2 { font: 900 2rem/1 var(--f-display); text-transform: uppercase; margin: 0 0 12px; }
.imprint dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 18px 0 24px; }
.imprint dt { font: 500 .6875rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-dim); padding-top: 3px; }
.imprint dd { margin: 0; }

/* reveal on scroll (only when JS runs) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .gig[data-reveal] { transition-delay: calc(var(--i, 0) * 70ms); }
.js .setlist[data-reveal] { transform: translateY(24px) rotate(-3deg); }
.js .setlist[data-reveal].is-in { transform: perspective(900px) rotate(-.8deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--lift, 1)); transition-timing-function: var(--ease-snap); }
.js .setlist.is-tilting { transition: transform .35s var(--ease-out), opacity .9s; --lift: 1.015; }
.setlist::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(60% 50% at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .45), transparent 70%);
  mix-blend-mode: soft-light;
}
.setlist.is-tilting::after { opacity: 1; }

/* ---------- tablet ---------- */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .monitor { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .monitor__cell, .monitor__cell:nth-child(odd), .monitor__cell:nth-child(even) { padding: 12px 18px 12px 0; border: 0; }
  .monitor__cell + .monitor__cell { padding-left: 18px; border-left: 1px solid var(--line); }
  .monitor__cell--wide dd { white-space: nowrap; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .setlist { padding: 44px 40px 30px; margin: 0 auto; }
  .track { grid-template-columns: 52px 1fr auto; gap: 18px; }
  .track__title { font-size: 1.75rem; }
  .gig { --stub: 110px; }
  .gig__body { grid-template-columns: 1fr auto; align-items: center; padding: 20px 24px; }
  .gig__day { font-size: 3.25rem; }
  .photo { margin-left: 0; margin-right: 0; }
  .stage { height: 260px; margin-bottom: -84px; }
}

/* ---------- desktop ---------- */
@media (min-width: 960px) {
  :root { --gutter: 48px; --topbar: 72px; }
  body { padding-bottom: 0; }
  .dock { display: none; }
  .topnav { display: flex; gap: 32px; }
  .topnav a { font: 500 .75rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--bone-dim); padding: 12px 0; position: relative; }
  .topnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
  .topnav a:hover, .topnav a.is-current { color: var(--bone); }
  .topnav a:hover::after, .topnav a.is-current::after { transform: scaleX(1); }
  .topbar__end .btn { display: inline-flex; }

  .hero { grid-template-columns: 1.05fr .95fr; grid-template-rows: auto 1fr; padding-bottom: 72px; column-gap: 40px; }
  .monitor { grid-column: 1 / -1; }
  .hero__copy { grid-column: 1; grid-row: 2; align-self: center; }
  .hero__stage { grid-column: 2; grid-row: 2; min-height: 520px; }
  .ecg { top: 54%; height: 320px; }
  .hero__logo { width: min(36vw, 480px); }
  .hero__copy .display { font-size: clamp(6rem, 11vw, 11rem); }
  .lede { font-size: 1.1875rem; }

  .section { padding: 140px var(--gutter); }
  .section__head { margin-bottom: 56px; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 40px; }
  .section__head .chan { grid-column: 1 / -1; }
  .section__intro { margin: 0; text-align: right; }

  .band { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; align-items: start; padding-top: 180px; padding-bottom: 180px; }
  .band .section__head { grid-column: 1 / -1; }
  .band__text { grid-column: 1; grid-row: 2; padding-top: 12px; }
  .band__text .lead { font-size: 1.75rem; }
  .sheet-wrap { grid-column: 2; grid-row: 2; margin-top: 0; }
  .sheet { padding: 44px 36px 30px; }
  .sheet__title { font-size: 2.5rem; }
  .typed, .sheet__crew td { font-size: 1.0625rem; }
  .big { font-size: 1.5rem; }

  .stage { width: 100vw; margin-left: calc(50% - 50vw); margin-right: 0; height: 320px; margin-bottom: -110px; }
  .stage__info { max-width: var(--max); margin: 0 auto; }
  .booking__grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .way { --side: 96px; border-radius: 18px; }
  .way__key { font-size: 2.75rem; }
  .way__tag { font-size: .625rem; letter-spacing: .14em; }
  .led { width: 9px; height: 9px; }
  .way--mail .way__head, .way__toggle { padding: 22px 26px; }
  .way__title { font-size: 1.6rem; }
  .meter { margin: 0 32px; }
  .form { padding: 30px 32px 30px; gap: 36px; }
  .footer__logo { width: 150px; }
}

@media (min-width: 1400px) {
  .hero { padding-left: max(var(--gutter), calc((100vw - 1400px) / 2)); padding-right: max(var(--gutter), calc((100vw - 1400px) / 2)); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__haze span, .hero__logo img, .hero__copy .display .w > span { animation: none !important; }
  .js [data-reveal], .js .setlist[data-reveal] { opacity: 1; transform: rotate(0); }
  .js .setlist[data-reveal].is-in { transform: rotate(-.8deg); }
  .js .section__head .display .w > span, .js .section__head .chan { transform: none; opacity: 1; }
  .js .section__head .section__intro { opacity: 1; }
  .btn::before { animation: none; }
  .gig:hover .gig__date, .gig.is-torn .gig__date { transform: none; }
  .btn.is-pulse::before { animation: none; }
  .section + .section::after { transform: scaleX(1); }
  .gig__next::before { animation: none; }
  .photo img { transform: none; }
  .band__bg img { animation: none !important; }
  .js .sheet-wrap[data-reveal] { transform: rotate(-1.2deg); }
  .hero__hint { display: none; }
  .stage.is-playing .stage__dot { animation: none; }
}

/* section titles, scroll-linked: the words climb out of the baseline as the title scrolls in */
@supports (animation-timeline: view()) {
  .sdt .section__head .display .w > span { transform: none; transition: none; }
  .sdt .section__head .display {
    animation: title-rise linear both;
    animation-timeline: view();
    animation-range: entry 15% cover 38%;
  }
  .sdt .section__head .chan { animation: chan-in linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
  .sdt .section__head .chan, .sdt .section__head .section__intro { opacity: 1; transform: none; transition: none; }
  @keyframes title-rise {
    from { clip-path: inset(-.2em -.2em 100% -.2em); transform: translateY(.55em); }
    to { clip-path: inset(-.2em -.2em -.2em -.2em); transform: none; }
  }
  @keyframes chan-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .section__head .display, .section__head .chan { animation: none !important; clip-path: none; transform: none; opacity: 1; }
}

/* set list: a plain CSS lean on hover, so it moves even before (or without) the pointer tracking */
@media (hover: hover) {
  .js .setlist[data-reveal].is-in:hover { --lift: 1.02; transition: transform .45s var(--ease-out), opacity .9s; }
  .js .setlist[data-reveal].is-in:hover:not(.is-tilting) { transform: perspective(900px) rotate(-.2deg) rotateX(4deg) rotateY(-5deg) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) { .js .setlist[data-reveal].is-in:hover { transform: rotate(-.8deg); } }

/* ---------- typeface: Montserrat for display and body (same family as gunsnroses.com) ---------- */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  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: "Montserrat"; src: url("../fonts/montserrat-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --f-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body { font-size: .9375rem; line-height: 1.7; }
/* Montserrat is about 1.6x wider than the old condensed face, so the big type steps down and tightens */
.display { font-weight: var(--display-w, 800); line-height: .98; letter-spacing: -.025em; }
.hero__copy .display { font-size: clamp(2.5rem, 11.5vw, 5.25rem); }
.section .display { font-size: clamp(2.25rem, 10vw, 5rem); }
.brand__name { font-size: 1rem; letter-spacing: .06em; }
.lineup__name { font-size: 1.3rem; letter-spacing: 0; }
.stats dt { font-size: 2.6rem; letter-spacing: -.03em; }
.sheet__title { font-size: 1.55rem; letter-spacing: 0; }
.setlist__head { font-size: 1.2rem; }
.track__title { font-size: 1.05rem; letter-spacing: 0; line-height: 1.15; }
.gig__day { font-size: 2.1rem; letter-spacing: -.03em; }
.gig__city { font-size: 1.3rem; letter-spacing: 0; }
.dock b { font-size: .8rem; letter-spacing: .04em; }
.imprint h2 { font-size: 1.6rem; }
@media (min-width: 900px) { .hero__copy .display { font-size: clamp(4.5rem, 6.6vw, 7rem); } }
.footer__line { font-size: clamp(1.6rem, 6.5vw, 2.75rem); max-width: 18ch; }

/* scroll sensors for the phone effects (see watchCentre in site.js) */
.pz-sensor { position: absolute; left: 0; top: 50%; width: 1px; visibility: hidden; pointer-events: none; }

/* less copy: the hero is title + buttons, the band section is title + patient record */
@media (min-width: 900px) {
  .band { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
  .band .section__head { grid-column: 1; grid-row: 1; display: block; margin-bottom: 0; align-self: center; }
  .band .sheet-wrap { grid-column: 2; grid-row: 1; }
}

/* ---------- top bar + vitals, restrained: red only where there is a heartbeat ---------- */
.brand__name { font: 700 .8125rem/1 var(--f-display); letter-spacing: .24em; }
.brand img { width: 30px; height: 30px; opacity: .92; }
@media (min-width: 960px) {
  .topnav { gap: 40px; }
  .topnav a { font: 600 .6875rem var(--f-display); letter-spacing: .22em; color: var(--bone-dim); }
  .topnav a::after { background: var(--bone); bottom: 8px; transform-origin: center; }
}
.dock a::before { background: var(--bone); height: 1px; }
.dock a.is-current span { color: var(--bone); }
.hero__copy .eyebrow { color: var(--bone-dim); }

/* vitals: one quiet line along the foot of the hero, like the readout under a monitor trace */
.vitals {
  position: relative; z-index: 2; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px;
  font: 500 .6875rem/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim);
}
.vitals__item { margin: 0; display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; min-width: 0; }
.vitals__k { color: var(--bone-dim); opacity: .75; }
.vitals__v { color: var(--bone); overflow: hidden; text-overflow: ellipsis; }
.vitals .dim { color: var(--bone-dim); }
.vitals .beat-dot { width: 6px; height: 6px; margin-right: -2px; }
.vitals__clock { margin-left: auto; }
#pulse-cell.is-playing .vitals__v { color: var(--bone); }
@media (max-width: 599px) { .vitals__clock { display: none; } .vitals { gap: 10px 28px; } }
.hero { grid-template-rows: 1fr auto auto; }
@media (min-width: 960px) {
  .hero { grid-template-rows: 1fr auto; padding-bottom: 36px; }
  .hero__copy { grid-row: 1; }
  .hero__stage { grid-row: 1; }
  .vitals { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
}

/* the smallest phones: let the sheet's form number wrap instead of pushing the page sideways */
@media (max-width: 359px) { .sheet__form { white-space: normal; } }

/* phones and tablets: give the logo room to breathe before the headline */
@media (max-width: 959px) {
  .hero__stage { padding-bottom: 36px; }
  .hero__copy { margin-top: 20px; }
}
