/* Raw In Sect — the band archive. Black like the UV stage, the cyan of the RIS mark,
   wide heavy capitals (Archivo expanded) for the name and the headings. */
:root {
  color-scheme: dark;
  --bg: #050608;
  --text: #eef1f3;
  --soft: #c1c8cd;
  --muted: #7b858c;
  --line: rgba(238, 241, 243, .14);
  --accent: #00c2fa;
  --on-accent: #00131b;
  --font: "Archivo", "Arial", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* Top bar: the RIS mark and name left, sections right; stays put while scrolling */
.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(12px, env(safe-area-inset-top)) var(--gutter) 12px;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.bar.is-solid {
  background: rgba(5, 6, 8, .86);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: auto; height: 40px; }
.brand-name {
  font-size: 15px;
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.menu { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.menu a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.menu a:hover, .menu a.is-active { color: var(--accent); }
section[id] { scroll-margin-top: 76px; }

/* Shared type and buttons ------------------------------------------ */
.kicker { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.section { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter .2s, background .2s, color .2s;
}
.btn:hover { filter: brightness(1.12); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--on-accent); filter: none; }

/* Top: the band logo over the band GIF ------------------------------ */
.hero { --logo-h: clamp(170px, 34vh, 400px); padding-top: 92px; overflow: hidden; }
/* the logo rests on the top of the GIF: its long strokes reach into the dark above the band */
.hero-logo { position: relative; z-index: 1; display: block; width: auto; height: var(--logo-h); margin: 0 auto calc(var(--logo-h) * -.2); filter: drop-shadow(0 8px 28px rgba(0, 0, 0, .7)); }
.hero-title {
  margin: 0;
  padding: 0 var(--gutter);
  font-size: clamp(36px, 8.6vw, 176px);
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  line-height: .86;
  letter-spacing: -.01em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
/* the GIF keeps its wide shape; on short screens it shrinks whole (black sides) rather than cropping heads */
.hero-video {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 140px - var(--logo-h) * .8);
  aspect-ratio: 1280 / 464;
  margin-top: clamp(8px, 1.4vw, 20px);
  object-fit: contain;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 86%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0, #000 86%, transparent 100%);
}
.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 32px;
  padding-top: 18px;
  padding-bottom: clamp(48px, 7vw, 88px);
}
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* Story and numbers ----------------------------------------------- */
.story-head { margin-bottom: clamp(32px, 4vw, 56px); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.story-photo { margin: 0; }
.story-photo img { width: 100%; height: auto; border: 1px solid var(--line); }
.story-text p { margin: 0 0 18px; max-width: 60ch; font-size: 17px; color: var(--soft); }
.story-text p:last-child { margin-bottom: 0; }
.story-text em, .album-blurb em { color: var(--text); }

/* Albums ----------------------------------------------------------- */
.album {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.albums .h2 { margin-bottom: clamp(32px, 4vw, 48px); }
.album:last-child { padding-bottom: 0; }
/* covers open large on a tap */
.cover-zoom { position: sticky; top: 96px; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.album-cover { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: filter .3s; }
.cover-zoom:hover .album-cover, .cover-zoom:focus-visible .album-cover { filter: brightness(1.08); }
.album-meta { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.album-title {
  margin: 10px 0 0;
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  line-height: .9;
  text-transform: uppercase;
}
.album-blurb { margin: 16px 0 0; max-width: 56ch; font-size: 17px; color: var(--soft); }
.listen { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.listen a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.listen a:hover { border-color: var(--accent); color: var(--accent); }
.tracks { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: track; columns: 2; column-gap: 32px; }
.tracks li {
  counter-increment: track;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  break-inside: avoid;
}
.tracks li::before { content: counter(track, decimal-leading-zero); flex: none; min-width: 22px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tracks small { margin-left: auto; font-size: 12px; color: var(--muted); text-align: right; }
.credits { display: grid; gap: 8px; margin: 22px 0 0; }
.credits div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.credits dt { padding-top: 3px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.credits dd { margin: 0; font-size: 15px; color: var(--soft); }

/* Videos: YouTube players, one under the other, as big as the screen allows -- */
.video-stack { display: grid; gap: clamp(48px, 6vw, 88px); margin-top: clamp(32px, 4vw, 48px); padding: 0 var(--gutter); }
.video { width: min(100%, calc((100vh - 200px) * 16 / 9)); margin: 0 auto; }
.yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border: 1px solid var(--line); }
.yt iframe, .yt a, .yt img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* where YouTube can't be embedded (the private preview), the cover links to the video */
.yt img { object-fit: cover; filter: brightness(.8); transition: filter .3s; }
.yt a:hover img { filter: brightness(1); }
.yt-play { position: absolute; inset: 0; z-index: 1; }
.yt-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  transform: translate(-50%, -50%);
  transition: background .2s;
}
.yt-play::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -12px 0 0 -6px; border-left: 20px solid var(--accent); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.yt a:hover .yt-play::before, .yt a:focus-visible .yt-play::before { background: var(--accent); }
.yt a:hover .yt-play::after, .yt a:focus-visible .yt-play::after { border-left-color: var(--on-accent); }
.video-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.video-title small { font-size: 12px; font-weight: 500; letter-spacing: .12em; color: var(--muted); }

/* Photos and the viewer -------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: clamp(32px, 4vw, 48px); }
.shot { display: block; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 0; background: #000; cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.88); transition: transform .5s, filter .3s; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.04); filter: none; }
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, .94);
  color: var(--text);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox img { width: auto; height: auto; max-width: calc(100% - 2 * var(--gutter)); max-height: calc(100% - 128px); object-fit: contain; }
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn:hover { border-color: var(--accent); color: var(--accent); }
.lb-close { top: max(16px, env(safe-area-inset-top)); right: var(--gutter); }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: var(--gutter); }
.lb-next { right: var(--gutter); }

/* Get in touch ---------------------------------------------------- */
.hp { position: absolute; left: -9999px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form .btn { justify-self: start; cursor: pointer; font-family: inherit; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }

/* Footer ----------------------------------------------------------- */
.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 56px var(--gutter) max(40px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  text-align: center;
}
.foot-mark { width: auto; height: 52px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.foot-links a { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: var(--accent); }
.foot-copy { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Narrower screens -------------------------------------------------- */
@media (max-width: 900px) {
  .story-grid, .album { grid-template-columns: 1fr; }
  .cover-zoom { position: static; max-width: 420px; }
}
@media (max-width: 640px) {
  .gallery { gap: 4px; }
  .tracks { columns: 1; }
  .hero-foot { flex-direction: column; align-items: stretch; }
  .hero-links .btn { flex: 1 1 auto; }
  .lb-prev, .lb-next { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); transform: none; }
}
/* Portrait and phones: logo row, then the menu on its own row */
@media (max-aspect-ratio: 11/10), (max-width: 760px) {
  .bar { flex-wrap: wrap; row-gap: 10px; padding-bottom: 10px; }
  .brand img { height: 34px; }
  .brand-name { font-size: 13px; }
  .menu { width: 100%; justify-content: space-between; gap: 4px; }
  .menu a { font-size: 10px; letter-spacing: .06em; }
  section[id] { scroll-margin-top: 104px; }
  .hero { --logo-h: clamp(140px, 24vh, 200px); padding-top: 116px; }
  .hero-logo { margin-bottom: calc(var(--logo-h) * -.04); }
  .hero-video { max-height: none; }
}
@media (max-width: 400px) {
  .menu { gap: 2px; }
  .menu a { font-size: 9.5px; letter-spacing: .03em; }
}
