/* Guizcore: the site is an ER heart monitor watching a 200 BPM patient */
@font-face { font-family: "Seg"; src: url(assets/fonts/dseg7-bold.woff2) format("woff2"); font-display: swap; }

:root {
  --ink: #000;
  --monitor: #021514;
  --phosphor: #19FFC1;
  --alarm: #E0102C;
  --white: #F2FFFB;
  --teal: #0B6E68;
  --dim: #7FB8AE;
  --line: #13403b;
  --g: clamp(16px, 4vw, 56px);
  --title: "Anton", "Arial Narrow", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-color: var(--phosphor) var(--ink); }
body { margin: 0; background: var(--ink); color: var(--white); font: 400 1.05rem/1.6 "Archivo", sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--phosphor); color: var(--ink); }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
a:hover { color: var(--phosphor); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--phosphor); outline-offset: 3px; }
p { margin: 0 0 1em; max-width: 64ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--g); top: 8px; z-index: 50; background: var(--alarm); color: #fff; padding: 8px 14px; }

.seg { font-family: "Seg", monospace; font-style: normal; color: var(--phosphor); text-shadow: 0 0 12px rgba(25, 255, 193, .65); white-space: nowrap; }
.mono { font-family: var(--mono); }
.label { font: 700 .8rem/1.4 var(--mono); color: var(--phosphor); display: block; margin-bottom: 10px; }

h1, h2, h3 { font-family: var(--title); font-weight: 400; text-transform: uppercase; line-height: .95; letter-spacing: .01em; margin: 0 0 .5em; }
h2 { font-size: clamp(2.6rem, 8vw, 6.5rem); }
h3 { font-size: 1.4rem; }
/* Off-register word: one per title */
.off { color: var(--alarm); text-shadow: 4px 3px 0 var(--phosphor); }

/* Header with the small heart monitor */
.head {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px var(--g); background: var(--ink); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 150px; height: auto; }
.head > nav { margin-left: auto; }
.nav { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 10px; font: 600 .95rem "Archivo"; text-decoration: none; }
.nav a[aria-current="page"] { color: var(--phosphor); box-shadow: inset 0 -2px 0 var(--phosphor); }
.menu-btn { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 24px; cursor: pointer;
  font: 400 1.15rem var(--title); text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  color: var(--white); background: transparent; border: 2px solid var(--white);
  transition: background-color 150ms, color 150ms, border-color 150ms;
}
.btn:hover { background: var(--phosphor); border-color: var(--phosphor); color: var(--ink); }
.btn.red { background: var(--alarm); border-color: var(--alarm); color: #fff; }
.btn.red:hover { background: var(--phosphor); border-color: var(--phosphor); color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Photo treatment: grayscale over surgical teal, halftone screen */
.photo { position: absolute; inset: 0; z-index: -3; background: var(--teal); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.45) brightness(1.1); mix-blend-mode: luminosity; }
.photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(0, 0, 0, .9) 30%, transparent 33%) 0 0 / 5px 5px; mix-blend-mode: multiply; opacity: .4; }

/* Home hero */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100svh - 61px); display: grid; align-content: end; padding: var(--g); }
.hero .photo img { object-position: 50% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, transparent 35%, rgba(0, 0, 0, .88) 100%); }
.ecg { position: absolute; left: 0; right: 0; top: 36%; height: 160px; z-index: -1; overflow: hidden; pointer-events: none; }
.ecg svg { width: 200%; height: 100%; filter: drop-shadow(0 0 6px var(--phosphor)) drop-shadow(0 0 18px rgba(25, 255, 193, .5)); }
.alarm { position: absolute; top: var(--g); right: var(--g); background: var(--alarm); color: #fff; padding: 10px 14px; font: 400 1.25rem/1 var(--title); text-transform: uppercase; letter-spacing: .02em; }
.wordmark {
  display: block; width: 100%; aspect-ratio: 1600 / 213;
  background: linear-gradient(180deg, #fff 0%, #9a9a9a 52%, #e6e6e6 100%);
  -webkit-mask: url(assets/logo.webp) left / contain no-repeat; mask: url(assets/logo.webp) left / contain no-repeat;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .6));
}
.hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.05; margin: 18px 0 20px; }

/* Motion: ECG at 200 BPM (one beat per 0.3 s), slow alarm, ticker */
@media (prefers-reduced-motion: no-preference) {
  .ecg svg { animation: sweep 3s linear infinite; }
    .alarm { animation: alarm 1s steps(1) infinite; }
  .ticker-track { animation: tick 40s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  .ecg-off .ecg svg { animation-play-state: paused; }
}
/* Touch screens have no hover to pause: the ticker runs 2 loops (80 s) then stops on a full frame */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .ticker-track { animation-iteration-count: 2; }
}
@keyframes sweep { to { transform: translateX(-50%); } }
@keyframes alarm { 50% { background: #7a0010; } }
@keyframes tick { to { transform: translateX(-50%); } }

/* Flags (SVG from flag-icons, never emoji) */
.flag { display: inline-block; width: 1.4em; height: auto; aspect-ratio: 4 / 3; vertical-align: -0.15em; margin-right: .45em; border: 1px solid rgba(242, 255, 251, .3); }

/* Stages ticker */
.ticker { background: var(--phosphor); color: var(--ink); overflow: hidden; white-space: nowrap; border-block: 4px solid var(--ink); }
.ticker-track { display: inline-flex; align-items: center; padding: 10px 0; }
/* Each stage: its flag slapped on like a sticker, overlapping the first letter, tilted, uneven gaps */
.ticker-track { padding: 16px 0; }
.ticker-track span { position: relative; display: inline-flex; align-items: center; margin-right: 2em; font: 400 clamp(1.6rem, 4vw, 3rem)/1 var(--title); text-transform: uppercase; }
.ticker .flag {
  position: relative; z-index: 1; margin: 0 -.16em 0 0; width: 1.15em;
  border: 2px solid var(--ink); box-shadow: 0 3px 6px rgba(0, 0, 0, .35);
  transform: rotate(var(--r, -8deg)) translateY(var(--y, -.18em));
}
/* 10 stages per loop half, so both halves match and the loop stays seamless */
.ticker-track span:nth-child(10n+1) { --r: -9deg; --y: -.38em; margin-right: 1.6em; }
.ticker-track span:nth-child(10n+2) { --r: 7deg; --y: -.3em; margin-right: 2.6em; }
.ticker-track span:nth-child(10n+3) { --r: -4deg; --y: -.42em; margin-right: 1.9em; }
.ticker-track span:nth-child(10n+4) { --r: 11deg; --y: -.33em; margin-right: 2.9em; }
.ticker-track span:nth-child(10n+5) { --r: -12deg; --y: -.36em; margin-right: 1.5em; }
.ticker-track span:nth-child(10n+6) { --r: 5deg; --y: -.44em; margin-right: 2.4em; }
.ticker-track span:nth-child(10n+7) { --r: -6deg; --y: -.32em; margin-right: 2.1em; }
.ticker-track span:nth-child(10n+8) { --r: 9deg; --y: -.4em; margin-right: 1.8em; }
.ticker-track span:nth-child(10n+9) { --r: -3deg; --y: -.34em; margin-right: 2.7em; }
.ticker-track span:nth-child(10n+10) { --r: 13deg; --y: -.3em; margin-right: 2em; }

/* Wristband: the next show */
.band-wrap { background: var(--monitor); padding: 56px var(--g) 56px; overflow: hidden; }
/* "Next show" stamp on the wristband and the first upcoming tour row */
.stamp {
  position: absolute; top: -24px; left: 48px; z-index: 1;
  background: var(--ink); color: var(--phosphor); border: 2px solid var(--phosphor);
  padding: 6px 16px; font: 400 1.6rem/1 var(--title); text-transform: uppercase; letter-spacing: .04em;
  transform: rotate(-4deg);
}
.date-cell { display: grid; justify-items: start; gap: 8px; }
.next-tag {
  background: var(--alarm); color: #fff; padding: 4px 10px;
  font: 400 1rem/1 var(--title); text-transform: uppercase; letter-spacing: .04em; transform: rotate(-3deg);
}

.band {
  position: relative; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 0 28px;
  width: min(1100px, 100%); margin: 0 auto; padding: 18px 28px 18px 64px;
  background: var(--alarm); color: #fff; border-radius: 40px;
  transform: rotate(-2deg); box-shadow: 0 18px 40px rgba(0, 0, 0, .6);
}
.band::before { content: ""; position: absolute; left: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: #d9d9d9; border: 6px solid #8c8c8c; }
.band .seg { color: #fff; text-shadow: none; font-size: clamp(1.8rem, 4vw, 3rem); }
.band .what { font: 400 clamp(1.2rem, 2.4vw, 1.9rem)/1.05 var(--title); text-transform: uppercase; }
.band .where { font: 500 .85rem var(--mono); }
.band .flag { border-color: rgba(255, 255, 255, .6); }
.barcode { width: 120px; height: 46px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 9px, #fff 9px 12px, transparent 12px 13px); }
.band a.pill { font: 400 1rem var(--title); text-transform: uppercase; background: #fff; color: #8a0012; padding: 10px 18px; text-decoration: none; border-radius: 20px; white-space: nowrap; }
.band a.pill:hover { background: var(--ink); color: #fff; }

/* Monitor grid paper */
.grid { background:
  linear-gradient(rgba(25, 255, 193, .07) 1px, transparent 1px) 0 0 / 100% 24px,
  linear-gradient(90deg, rgba(25, 255, 193, .07) 1px, transparent 1px) 0 0 / 24px 100%,
  var(--monitor); }
.section { padding: clamp(56px, 8vw, 104px) var(--g); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head a { display: inline-flex; align-items: center; min-height: 44px; font: 700 .85rem var(--mono); }

/* Tour rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--phosphor); }
.rows li { display: grid; grid-template-columns: minmax(11rem, 18rem) 1fr auto; gap: 8px 28px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows .seg { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
.rows .ev { font: 400 clamp(1.3rem, 2.6vw, 2rem)/1.05 var(--title); text-transform: uppercase; display: block; }
.rows .pl { font: 500 .9rem var(--mono); color: var(--dim); }
.rows .pl { display: block; }
.rows a.pl { display: inline-flex; align-items: center; min-height: 44px; color: var(--phosphor); }
.rows .act { display: block; font: 700 .95rem var(--mono); color: var(--phosphor); margin: 2px 0 4px; }

.rows .btn { font-size: 1rem; min-height: 44px; padding: 8px 18px; }
.rows li.crit .seg { color: var(--alarm); text-shadow: 0 0 12px rgba(224, 16, 44, .7); }
.rows .empty { display: block; color: var(--dim); }
.past summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; padding: 24px 0; font: 400 1.4rem var(--title); text-transform: uppercase; }
.past summary::-webkit-details-marker { display: none; }
.past summary::before { content: ""; width: 10px; height: 10px; border: solid var(--phosphor); border-width: 0 3px 3px 0; transform: rotate(-45deg); transition: transform 150ms; }
.past[open] summary::before { transform: rotate(45deg); }
.past .seg { color: var(--dim); text-shadow: none; }

/* Played in */
.played { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px 32px; }
.played li { display: grid; justify-items: start; gap: 8px; font: 700 .8rem var(--mono); text-transform: uppercase; }
.played .flag { width: 64px; margin: 0; border-width: 2px; }
.played-sec { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px 56px; padding-block: clamp(40px, 5vw, 64px); }
.played-sec h2 { margin: 0; }
.played li { font-size: .9rem; }

/* Live act split */
.live { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 80vh; background: var(--ink); }
.live figure { margin: 0; position: relative; background: var(--teal); overflow: hidden; min-height: 50vh; }
.live figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; filter: contrast(1.2); }
.live .txt { padding: 72px var(--g); align-self: center; }
.live p { color: #cfe9e4; }

/* Inner page title band */
.page-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 9vw, 120px) var(--g) clamp(32px, 5vw, 56px); border-bottom: 4px solid var(--phosphor); }
.page-band::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .2) 70%); }
.page-band h1 { font-size: clamp(3rem, 10vw, 8rem); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.about .bio p { font-size: 1.2rem; }
.about img { width: auto; height: min(70svh, 620px); justify-self: center; }

/* Music: embeds framed as monitor screens */
.screens { display: grid; gap: 32px; }
.screen { border: 1px solid var(--phosphor); padding: 8px; background: var(--ink); box-shadow: 0 0 0 4px var(--monitor); }
.screen .label { margin: 2px 4px 8px; }
.embed { display: block; width: 100%; border: 0; background: var(--monitor); }
.platforms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.platforms a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px; border: 1px solid var(--line); background: var(--ink); text-decoration: none; font: 400 1.3rem var(--title); text-transform: uppercase; }
.platforms a:hover { border-color: var(--phosphor); }
.ico { width: 24px; height: 24px; flex: none; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

/* Gallery: his photos in the teal halftone treatment; colour comes back on hover/focus */
.gallery { columns: 3 300px; column-gap: 16px; }
.shot { position: relative; display: block; margin: 0 0 16px; break-inside: avoid; background: var(--teal); overflow: hidden; text-decoration: none; }
.shot img { width: 100%; height: auto; filter: grayscale(1) contrast(1.35) brightness(1.05); mix-blend-mode: luminosity; transition: filter 200ms, mix-blend-mode 200ms; }
.shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, rgba(0, 0, 0, .9) 30%, transparent 33%) 0 0 / 5px 5px; mix-blend-mode: multiply; opacity: .35; transition: opacity 200ms; }
.shot:hover img, .shot:focus-visible img { filter: none; mix-blend-mode: normal; }
.shot:hover::after, .shot:focus-visible::after { opacity: 0; }
.shot .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px 12px 10px; font: 700 .8rem/1.3 var(--mono); color: var(--white); background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }

/* Merch */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { min-height: 44px; padding: 8px 18px; cursor: pointer; font: 400 1.1rem var(--title); text-transform: uppercase; color: var(--white); background: transparent; border: 2px solid var(--line); }
.chip[aria-pressed="true"] { background: var(--phosphor); color: var(--ink); border-color: var(--phosphor); }
.merch { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 28px 20px; }
.merch[data-limit] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.item a { position: relative; display: block; text-decoration: none; background: var(--ink); padding: 10px 10px 14px; border: 1px solid var(--line); transition: border-color 150ms; }
.item img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; filter: brightness(.82) contrast(1.08); transition: filter 200ms; }
.item a:hover { border-color: var(--phosphor); }
.item a:hover img, .item a:focus-visible img { filter: none; }
.item .tag { position: absolute; left: 20px; top: 20px; background: var(--white); color: var(--ink); font: 700 .85rem var(--mono); padding: 4px 8px; transform: rotate(-3deg); }
.item h3 { margin: 12px 0 2px; font-size: 1.25rem; }
.item .buy { font: 500 .85rem var(--mono); color: var(--dim); text-decoration: underline; }
.item a:hover .buy { color: var(--phosphor); }

/* Booking chart */
.facts { margin: 32px 0 0; border-top: 2px solid var(--phosphor); max-width: 820px; }
.facts div { display: grid; grid-template-columns: 14ch 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 .85rem var(--mono); color: var(--dim); padding-top: 3px; }
.facts dd { margin: 0; }

/* Footer */
.foot { padding: 48px var(--g) 120px; border-top: 1px solid var(--line); }
.foot .wordmark { max-width: 420px; margin-bottom: 24px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0 0 20px; padding: 0; font: 400 1.2rem var(--title); text-transform: uppercase; }
.foot ul a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot small { font: 500 .8rem var(--mono); color: var(--dim); }

.action-bar { display: none; }
.action-bar { transition: transform 200ms ease-out; }
.cta-visible .action-bar { transform: translateY(110%); }

@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; min-height: 44px; padding: 8px 16px; font: 400 1.1rem var(--title); text-transform: uppercase; color: var(--white); background: transparent; border: 2px solid var(--white); cursor: pointer; }
  .brand img { width: 120px; }
  .head > nav { display: contents; }
  .menu-btn { order: 4; }
  .nav { display: none; position: fixed; inset: 61px 0 0 0; z-index: 30; flex-direction: column; padding: 16px var(--g); background: var(--ink); }
  .nav.open { display: flex; }
  .nav a { font: 400 2.2rem/1.1 var(--title); text-transform: uppercase; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; }
  }

@media (max-width: 860px) {
  .hero { min-height: auto; align-content: start; padding-top: 28px; padding-bottom: 48px; }
  .ecg { top: 64px; height: 120px; }
  .alarm { position: static; justify-self: start; margin-bottom: 20px; padding: 6px 10px; font-size: .95rem; }
  .hero h1 { margin: 28px 0 28px; }

  /* More air between sections and inside lists on phones */
  .section { padding-block: 72px; }
  .section-head { margin-bottom: 28px; }
  .band-wrap { padding: 72px var(--g) 72px; }
  .band { grid-template-columns: 1fr; gap: 10px; padding: 28px 24px 28px 56px; border-radius: 28px; }
  .rows li { padding: 26px 0; }
  .press { gap: 28px; }
  .band a.pill { justify-self: start; margin-top: 6px; }
  .barcode { display: none; }
  .rows li { grid-template-columns: 1fr; }
  .rows .btn { justify-self: start; }
  .live, .about { grid-template-columns: 1fr; }
  .about img { height: auto; width: min(75%, 340px); }
  .live figure { min-height: 60vh; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .played-sec { grid-template-columns: 1fr; }

  .action-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line); }
}

.ico-none { visibility: hidden; }

/* Stand-alone text links get a 44px tap height (inline links inside sentences stay as they are) */
.foot p a, .section > p > a:only-child:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }

/* Home "Press play": text left, compact 16:9 player right */
.press { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 32px 56px; align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.press h2 { margin-bottom: .3em; }
@media (max-width: 860px) { .press { grid-template-columns: 1fr; } }
