/* Wayward Signal Records — brand colours from the North Star Signal kit only */
:root {
  --navy: #0F1B2D; --ground: #0A1320; --ivory: #F5E8D3; --brass: #B08A48; --rust: #A24A32;
  --dim: rgba(245,232,211,.66); --line: rgba(245,232,211,.14);
  --display: "Libre Caslon Display", Georgia, serif; --text: "Libre Caslon Text", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --p: 0; /* scroll progress through the opening scene: 0 = dusk, 1 = night (set by main.js) */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ground); color: var(--ivory); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
/* printed grain, per the brand's "keep the printed texture" */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .96 0 0 0 0 .91 0 0 0 0 .83 0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.k { font: 600 11px/1.2 var(--sans); letter-spacing: .28em; text-transform: uppercase; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ivory); color: var(--navy); padding: 10px 14px; }
.skip:focus { top: 16px; }

.top { position: absolute; inset: 0 0 auto; z-index: 30; display: flex; justify-content: space-between; align-items: center; padding: 22px 32px; }
.top img { width: 190px; }
.top nav { display: flex; gap: 28px; font: 500 14px/1 var(--sans); }
.top nav a { color: var(--dim); } .top nav a:hover { color: var(--ivory); }

/* ---- opening scene ---- */
.scene { height: 180vh; height: 180svh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--navy); }
.stars { position: absolute; inset: 0 0 38%; opacity: calc(.25 + var(--p) * .75);
  background-image: radial-gradient(1.2px 1.2px at 14% 22%, var(--ivory) 50%, transparent 51%), radial-gradient(1px 1px at 33% 12%, var(--ivory) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 72% 18%, var(--brass) 50%, transparent 51%), radial-gradient(1px 1px at 88% 34%, var(--ivory) 50%, transparent 51%), radial-gradient(1px 1px at 57% 8%, var(--ivory) 50%, transparent 51%), radial-gradient(1.2px 1.2px at 6% 44%, var(--ivory) 50%, transparent 51%), radial-gradient(1px 1px at 24% 40%, var(--ivory) 50%, transparent 51%); }
/* dusk sits low on the horizon as thin screen-printed bands so the brass star never sits on brass */
.sky { position: absolute; left: 0; right: 0; bottom: 38%; height: 168px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px;
  opacity: calc(1 - var(--p) * .9); transform: translateY(calc(var(--p) * 70%)); }
.sky i { display: block; flex: none; }
.sky i:nth-child(1) { height: 5px; background: #46303A; }
.sky i:nth-child(2) { height: 9px; background: #6B3836; }
.sky i:nth-child(3) { height: 15px; background: #85402F; }
.sky i:nth-child(4) { height: 24px; background: var(--rust); }
.sky i:nth-child(5) { height: 46px; background: linear-gradient(var(--rust) 0 70%, var(--brass) 70%); margin-bottom: -7px; }
/* the mark is never altered: it only moves, and lands whole on the horizon at night */
.symbol { position: absolute; left: 50%; bottom: 35%; width: min(640px, 90vw); z-index: 2; transform: translate(-50%, calc((1 - var(--p)) * 24%)); }
.ground { position: absolute; inset: 62% 0 0; background: var(--ground); z-index: 3; }
.ground .wrap { padding-top: 30px; display: flex; justify-content: space-between; align-items: end; gap: 32px; }
h1 { font: 400 clamp(46px, 7.4vw, 112px)/.9 var(--display); letter-spacing: -.025em; }
h1 em, .np h2 em, .quote em { font-family: var(--text); color: var(--brass); }
.ground p { color: var(--dim); max-width: 26ch; text-align: right; padding-bottom: 10px; }

section.s { padding: 110px 0; }
#bands { padding-top: 0; }
.lab { display: flex; justify-content: space-between; color: var(--dim); border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 40px; }
.lab h2 { color: var(--dim); }

/* ---- now playing ---- */
.np { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.np h2 { font: italic 400 clamp(36px, 4.4vw, 58px)/1.1 var(--text); }
.np h2::before { content: ""; display: block; width: 56px; height: 2px; background: var(--rust); margin-bottom: 22px; }
.np .t { margin: 22px 0 6px; font: 400 28px/1.1 var(--display); }
.np .t span { color: var(--dim); font: 400 15px/1.4 var(--sans); display: block; margin-top: 6px; }
.outs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.outs a { border: 1px solid var(--line); padding: 12px 16px; font: 500 14px/1 var(--sans); transition: border-color .2s; }
.outs a:first-child { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }
.outs a:hover { border-color: var(--brass); }
.soon { display: inline-block; margin-top: 28px; padding: 13px 16px; border: 1px dashed var(--brass); color: var(--brass); }

/* ---- bands: one row per band ---- */
.band { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.band + .band { padding-top: 28px; }
/* the band's own banner, shown whole: its wordmark is artwork and is never cropped */
.band .pano { grid-column: 1 / -1; margin-bottom: 8px; }
.band .pano img { width: 100%; }
.band h3 { font: 400 clamp(38px, 5.6vw, 76px)/1 var(--display); letter-spacing: -.02em; transition: color .2s; }
.band p { color: var(--dim); margin-top: 6px; }
.band .go { color: var(--brass); white-space: nowrap; padding-bottom: 8px; }
.band:hover h3 { color: var(--brass); }

/* ---- closing line ---- */
.end { border-top: 1px solid var(--line); }
.end .wrap { padding-top: 96px; padding-bottom: 72px; }
.quote { font: 400 clamp(30px, 4vw, 52px)/1.2 var(--display); max-width: 22ch; }

footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 30px; padding-bottom: 40px; color: var(--dim); }
footer img { width: 84px; }

@media (max-width: 860px) {
  .top { padding: 16px; } .top img { width: 150px; } .top nav { gap: 16px; } .top nav a:not(:last-child) { display: none; }
  .wrap { padding: 0 16px; }
  .ground .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ground p { text-align: left; }
  .np { grid-template-columns: 1fr; gap: 32px; }
  section.s { padding: 72px 0; }
  .band { grid-template-columns: 1fr; }
  .end .wrap { padding-top: 64px; padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --p: 1 !important; }
  html { scroll-behavior: auto; }
  .scene { height: auto; } .stage { position: relative; }
  .band h3 { transition: none; }
}
