/* 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 { -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;
  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; }
@keyframes rise { from { transform: translateY(105%); } }
.lede { max-width: 34rem; margin: 18px 0 24px; color: var(--bone); font-size: 1.0625rem; opacity: .92; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__ctas .btn { flex: 1 1 auto; }

/* ---------- 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 */
.booking__grid { display: grid; gap: 40px; }
.booking__text p { margin: 0 0 18px; max-width: 34rem; }
.booking__text p:not(.big):not(.small) { color: var(--bone-dim); }
.mailbox { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 26px 0 14px; }
.mailbox__addr {
  font: 800 clamp(1.5rem, 7.4vw, 2.5rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; text-decoration: none;
  background: linear-gradient(var(--signal), var(--signal)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease-out);
  overflow-wrap: anywhere; padding-bottom: 4px;
}
.mailbox__addr:hover { background-size: 100% 2px; }
/* booking form: a dark desk under a single stage light, ringed by a slow chrome hairline */
@property --orbit { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.form {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; display: grid; gap: 34px;
  padding: 30px 20px 26px; border-radius: 3px;
  background:
    radial-gradient(90% 55% at var(--mx) var(--my), rgba(228, 220, 203, .075), transparent 70%),
    linear-gradient(180deg, #1c1a17 0%, #141311 55%, #100f0e 100%);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 1px 0 rgba(255, 255, 255, .05) inset;
}
.form::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--orbit), rgba(228, 220, 203, .07) 0deg, rgba(228, 220, 203, .55) 28deg, rgba(255, 255, 255, .85) 34deg, rgba(232, 73, 47, .3) 60deg, rgba(228, 220, 203, .07) 100deg 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: orbit 16s linear infinite;
}
.form::after { /* film grain, so the panel reads as a surface and not a flat fill */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background-image: var(--grain); background-size: 180px; opacity: .05; mix-blend-mode: soft-light;
}
@keyframes orbit { to { --orbit: 360deg; } }
.form__meter { position: absolute; left: 1px; right: 1px; top: 0; height: 2px; overflow: hidden; border-radius: 3px 3px 0 0; }
.form__meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--signal-deep), var(--signal)); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.form.is-complete .form__meter i { background: linear-gradient(90deg, var(--signal-deep), var(--signal) 70%, #ffb4a3); }

.form__head { display: grid; gap: 14px; }
.form__kicker { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 .6875rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.form__title { margin: 0; font: 300 clamp(1.9rem, 8vw, 2.6rem)/1.02 var(--f-body); letter-spacing: -.025em; color: var(--bone); text-wrap: balance; }
.form__title em { font: italic 400 1.12em/1 var(--f-serif); letter-spacing: -.01em; color: var(--bone); }

.step { display: grid; gap: 22px; }
.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; }
.chips__legend { float: left; width: 100%; margin: 0 0 10px; padding: 0; font: 500 .8125rem/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: 8px; min-height: 44px; padding: 0 16px;
  font: 600 .75rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim);
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .015);
  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(.96); }
.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; }
.field-row { display: grid; gap: 22px; }
.fl { position: relative; }
.fl input, .fl textarea {
  width: 100%; min-height: 54px; padding: 22px 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 1px;
  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: 24px; pointer-events: none; transform-origin: 0 0;
  font: 400 1.0625rem/1.2 var(--f-body); color: var(--bone-dim);
  transition: transform .35s var(--ease-out), color .3s, letter-spacing .35s;
}
.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(.72); letter-spacing: .04em; }
.fl input:focus + label, .fl textarea:focus + label { color: var(--bone); }
.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; }

.form__send { display: grid; gap: 14px; }
.form__note { margin: 0; font-size: .8125rem; line-height: 1.5; color: rgba(168, 160, 145, .8); text-align: center; }
.form.is-sent .btn { color: var(--bone); }

@media (max-width: 599px) {
  .chips { gap: 8px 6px; }
  .chip span { padding: 0 12px; gap: 7px; font-size: .6875rem; letter-spacing: .09em; }
}
/* staggered entrance once the panel is revealed */
.js .form[data-reveal] > * { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .form[data-reveal].is-in > * { opacity: 1; transform: none; }
.js .form[data-reveal].is-in > :nth-child(2) { transition-delay: .1s; }
.js .form[data-reveal].is-in > :nth-child(3) { transition-delay: .22s; }
.js .form[data-reveal].is-in > :nth-child(4) { transition-delay: .34s; }
.js .form[data-reveal].is-in > :nth-child(5) { transition-delay: .46s; }
@media (prefers-reduced-motion: reduce) {
  .form::before { animation: none; }
  .js .form[data-reveal] > * { opacity: 1; transform: none; transition: 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; }
  .hero__ctas .btn { flex: 0 0 auto; }
  .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: 1fr 1fr; gap: 72px; align-items: start; }
  .form { padding: 44px 44px 36px; gap: 40px; }
  .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); } }
.mailbox__addr { font-size: clamp(1.05rem, 5vw, 1.75rem); letter-spacing: 0; }
.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 */
.hero__copy .display + .hero__ctas, .hero__ctas { margin-top: 30px; }
@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; }
}
