/* Waves — a four-hundred capacity basement on Harbour Street.
 *
 * Idiom: the club's lightbox. Everything a clubber checks is tonight — what
 * night it is, who is on, what time, how much at the door — so the page
 * opens on a line-up board that knows which night it is (a night runs past
 * midnight) and lights the act that is playing now. The rest is the week of
 * nights, the guest list, and the sound system, because that is what this
 * room spent its money on.
 *
 * Near-black, one acid lime (the UV wristband), wide Unbounded for display,
 * JetBrains Mono for set times like a running order, Instrument Sans for text.
 * Nothing here is shared with any other template.
 */

:root {
  --black: #0b0b0f;
  --deep: #121219;
  --panel: #191922;
  --line: #2a2a36;
  --fog: #9a9aab;
  --dim: #686878;
  --white: #f2f2f6;
  --acid: #d4ff3a;
  --acid-dim: rgba(212, 255, 58, 0.14);

  --gutter: clamp(1.25rem, 6vw, 7rem);
  --max: 78rem;
  --shell: min(100% - 2 * var(--gutter), var(--max));
  --wide: 'Unbounded', 'Arial Black', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--white); font: 400 clamp(1rem, 0.96rem + 0.16vw, 1.07rem)/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--wide); font-weight: 700; line-height: 0.98; letter-spacing: -0.02em; margin: 0; text-transform: uppercase; }
h1 em, h2 em { font-style: normal; color: var(--acid); }

.wv-skip { position: absolute; left: -9999px; }
.wv-skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--acid); color: var(--black); padding: 0.6rem 1rem; }
.wv-shell { width: var(--shell); margin-inline: auto; }
.wv-tag { margin: 0 0 1rem; font: 700 0.74rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--acid); }
.wv-lead { font-size: 1.1rem; color: var(--fog); max-width: 36rem; }

/* ── top ────────────────────────────────────────────────────────────── */

.wv-top { position: sticky; top: 0; z-index: 40; background: rgba(11, 11, 15, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.wv-top__in { width: var(--shell); margin-inline: auto; display: grid; grid-template-columns: auto 1fr auto auto; gap: 1.6rem; align-items: center; padding-block: 0.8rem; }
.wv-mark { display: grid; text-decoration: none; font-family: var(--wide); font-weight: 900; font-size: 1.6rem; letter-spacing: 0.02em; line-height: 1; }
.wv-mark small { font: 500 0.64rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-top: 0.3rem; white-space: nowrap; }
.wv-nav { display: flex; justify-content: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.wv-nav a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--fog); white-space: nowrap; padding-block: 0.3rem; border-bottom: 2px solid transparent; }
.wv-nav a:hover, .wv-nav a[aria-current] { color: var(--white); border-bottom-color: var(--acid); }
.wv-tonight { display: flex; align-items: center; gap: 0.55rem; margin: 0; font: 500 0.78rem var(--mono); color: var(--fog); white-space: nowrap; }
.wv-tonight i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--dim); }
.wv-tonight[data-state="on"] i { background: var(--acid); box-shadow: 0 0 0 4px var(--acid-dim); animation: wv-beat 0.47s ease-in-out infinite alternate; }
.wv-tonight[data-state="later"] i { background: var(--acid); }
.wv-tonight b { color: var(--white); font-weight: 700; }
@keyframes wv-beat { to { box-shadow: 0 0 0 7px transparent; } }
@media (prefers-reduced-motion: reduce) { .wv-tonight[data-state="on"] i { animation: none; } }
.wv-burger { display: none; }
@media (max-width: 72rem) { .wv-tonight { display: none; } .wv-top__in { grid-template-columns: auto 1fr auto; } }
@media (max-width: 56rem) {
  .wv-top__in { gap: 0.8rem; }
  .wv-top__cta { justify-self: end; }
  .wv-burger { display: grid; gap: 5px; place-content: center; width: 2.6rem; height: 2.6rem; background: none; border: 0; color: inherit; cursor: pointer; }
  .wv-burger span { display: block; width: 22px; height: 2px; background: currentColor; }
  .wv-burger em { display: none; }
  .wv-nav { grid-column: 1 / -1; grid-row: 2; flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s; }
  .wv-nav a { padding: 0.85rem 0; border-top: 1px solid var(--line); border-bottom: 0; }
  .wv-top[data-menu] .wv-nav { max-height: 20rem; }
}
@media (max-width: 32rem) { .wv-mark small { display: none; } }

/* ── buttons ────────────────────────────────────────────────────────── */

.wv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; cursor: pointer; text-decoration: none; white-space: nowrap; font: 700 0.8rem/1 var(--wide); letter-spacing: 0.04em; text-transform: uppercase; padding: 0.95rem 1.25rem; border: 2px solid var(--white); color: var(--white); background: transparent; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.wv-btn:hover { background: var(--white); color: var(--black); }
.wv-btn--acid { background: var(--acid); border-color: var(--acid); color: var(--black); }
.wv-btn--acid:hover { background: var(--white); border-color: var(--white); }
.wv-btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.wv-row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.wv-link { color: var(--acid); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; }

/* ── sections ───────────────────────────────────────────────────────── */

.wv-section { padding-block: clamp(4.5rem, 9vw, 7rem); }
.wv-section--deep { background: var(--deep); border-block: 1px solid var(--line); }
.wv-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr); gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2.2rem, 4.5vw, 3.2rem); }
.wv-head h1, .wv-head h2 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.4rem); }
.wv-head p { margin: 0; color: var(--fog); }
@media (max-width: 52rem) { .wv-head { grid-template-columns: minmax(0, 1fr); } }

/* ── hero: the line-up board ────────────────────────────────────────── */

.wv-hero { position: relative; overflow: clip; border-bottom: 1px solid var(--line); }
.wv-hero__img { position: absolute; inset: 0; }
.wv-hero__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; filter: saturate(0.6) contrast(1.1); }
.wv-hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 15, 0.3), var(--black) 92%); }
.wv-hero__in { position: relative; width: var(--shell); margin-inline: auto; padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.wv-hero h1 { font-size: clamp(2.6rem, 1.4rem + 4vw, 5.2rem); font-weight: 900; margin-bottom: 1.4rem; }
@media (max-width: 60rem) { .wv-hero__in { grid-template-columns: minmax(0, 1fr); } }

.wv-board { background: rgba(18, 18, 25, 0.88); border: 1px solid var(--line); padding: clamp(1.2rem, 3vw, 2rem); backdrop-filter: blur(6px); }
.wv-board__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 0.8rem; }
.wv-board__top h2 { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); }
.wv-board__top span { font: 500 0.8rem var(--mono); color: var(--fog); white-space: nowrap; }
.wv-board__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin: 0 0 1rem; font: 500 0.82rem var(--mono); color: var(--fog); }
.wv-board__meta b { color: var(--white); }
.wv-slots { list-style: none; margin: 0; padding: 0; }
.wv-slot { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px dashed var(--line); }
.wv-slot:last-child { border-bottom: 0; }
.wv-slot time { font: 700 0.95rem var(--mono); color: var(--fog); }
.wv-slot strong { font-family: var(--wide); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0; }
.wv-slot small { font-size: 0.8rem; color: var(--dim); white-space: nowrap; }
.wv-slot.is-now { background: var(--acid-dim); margin-inline: -0.8rem; padding-inline: 0.8rem; border-bottom-color: transparent; }
.wv-slot.is-now time { color: var(--acid); }
.wv-slot.is-now small { color: var(--acid); font: 700 0.72rem var(--mono); letter-spacing: 0.1em; }
.wv-slot.is-done { opacity: 0.45; }
@media (max-width: 36rem) {
  .wv-slot { grid-template-columns: 4.2rem minmax(0, 1fr); row-gap: 0.15rem; }
  .wv-slot small { grid-column: 2; white-space: normal; }
}
.wv-board__foot { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.7rem; }
.wv-board__empty { color: var(--fog); margin: 0; }

/* ── the week ───────────────────────────────────────────────────────── */

.wv-week { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.wv-night { display: grid; grid-template-rows: auto auto 1fr auto; gap: 0.5rem; padding: 1.3rem 1.2rem 1.4rem; background: var(--black); text-decoration: none; min-height: 17rem; transition: background 0.2s; }
.wv-night:hover { background: var(--panel); }
.wv-night.is-tonight { background: var(--acid); color: var(--black); }
.wv-night.is-tonight .wv-night__day, .wv-night.is-tonight .wv-night__genre, .wv-night.is-tonight .wv-night__foot { color: var(--black); }
.wv-night__day { font: 700 0.76rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--acid); }
.wv-night h3 { font-size: 1.35rem; }
.wv-night__genre { font-size: 0.9rem; color: var(--fog); }
.wv-night__foot { display: flex; justify-content: space-between; gap: 0.6rem; font: 500 0.78rem var(--mono); color: var(--fog); border-top: 1px solid currentColor; padding-top: 0.7rem; }

/* ── specials ───────────────────────────────────────────────────────── */

.wv-specials { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.2rem; }
.wv-special { position: relative; display: grid; text-decoration: none; min-height: 22rem; overflow: clip; border: 1px solid var(--line); }
.wv-special img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: opacity 0.3s, transform 0.5s; }
.wv-special:hover img { opacity: 0.75; transform: scale(1.03); }
.wv-special__in { position: relative; align-self: end; padding: 1.3rem; background: linear-gradient(180deg, transparent, rgba(11, 11, 15, 0.92) 40%); }
.wv-special__date { font: 700 0.8rem var(--mono); color: var(--acid); letter-spacing: 0.08em; text-transform: uppercase; }
.wv-special h3 { font-size: 1.5rem; margin: 0.4rem 0; }
.wv-special p { margin: 0; color: var(--fog); font-size: 0.92rem; }

/* ── the rig: a spec sheet ──────────────────────────────────────────── */

.wv-spec { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.wv-spec th, .wv-spec td { text-align: left; padding: 0.95rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.wv-spec th { width: 32%; font: 700 0.76rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--acid); padding-right: 1.4rem; }
.wv-spec td { color: var(--white); }
.wv-spec td small { display: block; color: var(--fog); font-size: 0.86rem; margin-top: 0.2rem; }
.wv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 3rem; }
.wv-stats div { background: var(--black); padding: 1.4rem 1.2rem; }
.wv-stats strong { display: block; font-family: var(--wide); font-weight: 900; font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); color: var(--acid); line-height: 1; }
.wv-stats span { font-size: 0.9rem; color: var(--fog); }
@media (max-width: 40rem) { .wv-stats { grid-template-columns: minmax(0, 1fr); } }

/* ── split, quotes, questions, visit ────────────────────────────────── */

.wv-split { width: var(--shell); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.wv-split h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.8rem); margin-bottom: 1.2rem; }
.wv-split p { color: var(--fog); max-width: 34rem; }
.wv-split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.7) contrast(1.1); }
@media (max-width: 52rem) { .wv-split { grid-template-columns: minmax(0, 1fr); } }

.wv-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; }
.wv-quotes figure { margin: 0; padding: 1.4rem; background: var(--panel); border-left: 3px solid var(--acid); }
.wv-quotes blockquote { margin: 0; font-size: 1.1rem; line-height: 1.45; }
.wv-quotes figcaption { margin-top: 0.9rem; font: 500 0.8rem var(--mono); color: var(--acid); }

.wv-qa { max-width: 52rem; border-top: 1px solid var(--line); }
.wv-qa details { border-bottom: 1px solid var(--line); }
.wv-qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1.2rem; padding: 1.1rem 0; font-family: var(--wide); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; line-height: 1.3; }
.wv-qa summary::-webkit-details-marker { display: none; }
.wv-qa summary::after { content: "+"; color: var(--acid); font-family: var(--mono); }
.wv-qa details[open] summary::after { content: "\2212"; }
.wv-qa p { margin: 0 0 1.2rem; color: var(--fog); max-width: 62ch; }

.wv-visit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.wv-visit > div { background: var(--black); padding: 1.4rem 1.3rem; }
.wv-visit h3 { font-size: 1.1rem; margin-bottom: 0.9rem; color: var(--acid); }
.wv-visit p { margin: 0 0 0.5rem; color: var(--fog); }
.wv-hours { margin: 0; display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 0.35rem 1.4rem; font-family: var(--mono); font-size: 0.88rem; }
.wv-hours dt { color: var(--fog); }
.wv-hours dd { margin: 0; text-align: right; }
.wv-big { font-family: var(--wide); font-weight: 700; font-size: 1.4rem; text-decoration: none; }
@media (max-width: 52rem) { .wv-visit { grid-template-columns: minmax(0, 1fr); } }

/* ── forms ──────────────────────────────────────────────────────────── */

.wv-formwrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.wv-formwrap h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem); margin-bottom: 1.2rem; }
.wv-formwrap aside p { color: var(--fog); }
@media (max-width: 58rem) { .wv-formwrap { grid-template-columns: minmax(0, 1fr); } }
.wv-form { background: var(--panel); border: 1px solid var(--line); padding: clamp(1.4rem, 3.5vw, 2.4rem); }
.wv-field { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.wv-field label { font: 700 0.72rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fog); }
.wv-field input, .wv-field textarea { font: inherit; color: var(--white); background: var(--black); border: 1px solid var(--line); padding: 0.8rem 0.9rem; border-radius: 0; }
.wv-field input:focus, .wv-field textarea:focus { outline: none; border-color: var(--acid); }
.wv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 34rem) { .wv-two { grid-template-columns: 1fr; } }
.wv-hp { position: absolute; left: -9999px; }
.wv-send { display: grid; gap: 0.7rem; margin-top: 0.6rem; }
.wv-send .wv-btn { width: 100%; padding-block: 1.1rem; }
.wv-send small { color: var(--dim); font-size: 0.84rem; }
.wv-msg { margin: 0; font-size: 0.92rem; }
.wv-msg[data-state="err"] { color: #ff8a8a; }
.wv-msg[data-state="ok"] { color: var(--acid); }
.wv-onlist { background: var(--acid); color: var(--black); padding: clamp(1.6rem, 4vw, 2.6rem); }
.wv-onlist:focus { outline: none; }
.wv-onlist h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); margin-bottom: 1rem; }
.wv-onlist p { margin: 0 0 0.8rem; }
.wv-onlist .wv-btn { border-color: var(--black); color: var(--black); }
.wv-onlist .wv-btn:hover { background: var(--black); color: var(--acid); }
.wv-onlist__code { display: inline-block; font: 700 1.6rem var(--mono); letter-spacing: 0.14em; background: var(--black); color: var(--acid); padding: 0.4rem 0.8rem; margin: 0.4rem 0 1rem; }

.wv-dd { position: relative; }
.wv-dd__button { width: 100%; display: flex; align-items: center; min-height: 3.3rem; padding: 0.55rem 2.6rem 0.55rem 0.9rem; cursor: pointer; text-align: left; font: inherit; color: var(--white); background: var(--black); border: 1px solid var(--line); position: relative; }
.wv-dd__button::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 0.45rem; height: 0.45rem; margin-top: -0.3rem; border-right: 2px solid var(--acid); border-bottom: 2px solid var(--acid); transform: rotate(45deg); transition: transform 0.2s; }
.wv-dd.is-open .wv-dd__button::after { transform: rotate(-135deg); margin-top: -0.05rem; }
.wv-dd__button:focus-visible, .wv-dd.is-open .wv-dd__button { outline: none; border-color: var(--acid); }
.wv-dd__button.is-placeholder .wv-dd__title { color: var(--dim); }
.wv-dd__value, .wv-dd__option { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.wv-dd__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 0.3rem); max-height: 22rem; overflow-y: auto; background: var(--panel); border: 1px solid var(--line); padding: 0.3rem; box-shadow: 0 26px 50px -20px rgba(0, 0, 0, 0.8); }
.wv-dd__group { padding: 0.7rem 0.7rem 0.3rem; font: 700 0.7rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--acid); }
.wv-dd__option { padding: 0.55rem 0.7rem; cursor: pointer; }
.wv-dd__option.is-active { background: rgba(255, 255, 255, 0.06); }
.wv-dd__option.is-selected { box-shadow: inset 3px 0 0 var(--acid); }
.wv-dd__text { display: grid; min-width: 0; }
.wv-dd__title { font-weight: 600; }
.wv-dd__meta { font: 500 0.76rem var(--mono); color: var(--fog); }
@media (max-width: 36rem) {
  .wv-dd__list { position: fixed; z-index: 60; left: 0.6rem; right: 0.6rem; top: auto; bottom: calc(0.6rem + env(safe-area-inset-bottom)); max-height: 70vh; }
  .wv-dd.is-open::before { content: ""; position: fixed; inset: 0; z-index: 59; background: rgba(0, 0, 0, 0.6); }
}

/* ── article ────────────────────────────────────────────────────────── */

.wv-article { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; }
.wv-crumbs { font: 500 0.78rem var(--mono); color: var(--dim); margin-bottom: 1.4rem; }
.wv-crumbs a { text-decoration: none; }
.wv-crumbs a:hover { color: var(--acid); }
.wv-article h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); margin-bottom: 1rem; }
.wv-article__meta { font: 500 0.86rem var(--mono); color: var(--acid); margin: 0 0 1.6rem; }
.wv-article img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 2rem; filter: saturate(0.7); }
.wv-article__body { color: var(--fog); }
.wv-article__body > * + * { margin-top: 1rem; }

/* ── footer ─────────────────────────────────────────────────────────── */

.wv-foot { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; }
.wv-foot__in { width: var(--shell); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); padding-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
.wv-foot .wv-foot__big { margin: 0; font-family: var(--wide); font-weight: 900; font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem); line-height: 1.1; text-transform: uppercase; }
.wv-foot .wv-foot__big em { font-style: normal; color: var(--acid); }
.wv-foot__cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: 2rem 3rem; max-width: 52rem; }
.wv-foot h2 { font: 700 0.72rem var(--mono); letter-spacing: 0.12em; color: var(--acid); margin-bottom: 1rem; }
.wv-foot p { margin: 0 0 0.5rem; font-size: 0.92rem; color: var(--fog); }
.wv-foot a { text-decoration: none; }
.wv-foot a:hover { color: var(--white); }
.wv-foot .wv-hours dd { white-space: nowrap; }
.wv-foot__nav { display: grid; gap: 0.45rem; font-size: 0.92rem; color: var(--fog); }
.wv-foot .wv-foot__fine { width: var(--shell); margin: 1.6rem auto 0; font: 500 0.76rem var(--mono); color: var(--dim); }
@media (max-width: 40rem) { .wv-foot__cols { grid-template-columns: minmax(0, 1fr); } }

.wv-empty { color: var(--dim); font-style: italic; }
