/* Bondslave: draft site.
   One idea runs the page: a night watch. It opens at midnight and warms towards dawn as you scroll.
   Bone-white type, painted art, and dawn gold as the only true light. */

:root {
  --ink: #0a0d11;          /* midnight ground */
  --ink-2: #11161c;        /* raised surfaces */
  --line: #262d36;         /* hairlines */
  --bone: #e8e1d1;         /* type: the colour of the cover titles */
  --dim: #a39d90;          /* secondary text, 7:1 on ink */
  --faint: #6f6a61;        /* decorative only, never for text that matters */
  --dawn: #d9a24a;         /* the one true light */
  --dawn-deep: #a8742a;
  --display: "Big Shoulders Display", "Oswald", "Arial Narrow", sans-serif;
  --body: "Spectral", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --max: 1160px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--ink);
  /* the night warms: midnight at the top, the first light at the foot of the page */
  background-image: linear-gradient(180deg, var(--ink) 0%, var(--ink) 55%, #15130f 82%, #241b10 100%);
  color: var(--bone);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
/* film grain over everything, like the paintings */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--dawn); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--bone); }
:focus-visible { outline: 2px solid var(--dawn); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--dawn); color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--dawn); color: var(--ink); padding: 10px 14px; font-family: var(--mono); font-size: 0.8rem; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 0.92; letter-spacing: 0.01em; text-transform: uppercase; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.8rem, 9vw, 6.5rem); }
h3 { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1; }
p { margin: 0 0 1em; max-width: 62ch; }
em { font-style: italic; }
.label, .eyebrow {
  font-family: var(--mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim);
}
.ref { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--dawn); white-space: nowrap; }
.lede { font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.5; }
.weathered {
  /* bone letters with dark speckle, a nod to the distressed cover titles */
  color: var(--bone);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .04 0 0 0 0 .05 0 0 0 0 .07 3.6 0 0 0 -2.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E"),
    linear-gradient(var(--bone), var(--bone));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- section scaffold ---------- */
section { position: relative; padding-block: clamp(72px, 12vw, 140px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 6vw, 56px); }
.sec-head .label { display: flex; align-items: center; gap: 12px; }
.sec-head .label::after { content: ""; flex: 0 0 56px; height: 1px; background: var(--dawn); opacity: 0.7; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 20px; min-height: 52px; }
.mark { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone); text-decoration: none; flex: none; }
.topbar nav { margin-left: auto; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.topbar nav::-webkit-scrollbar { display: none; }
.topbar ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 4px 28px 4px 4px; }
.topbar nav a { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); text-decoration: none; white-space: nowrap; padding-block: 8px; display: inline-block; }
.topbar nav a:hover, .topbar nav a:focus-visible { color: var(--dawn); }

/* ---------- hero ---------- */
.hero { padding: 0; min-height: min(100svh, 980px); display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,13,17,0.55) 0%, rgba(10,13,17,0.1) 30%, rgba(10,13,17,0.55) 60%, var(--ink) 97%),
    radial-gradient(ellipse at 50% 30%, transparent 40%, rgba(10,13,17,0.6) 100%);
}
.hero .wrap { width: 100%; padding-block: 120px clamp(40px, 8vw, 80px); display: grid; gap: 22px; }
.hero h1 { font-size: clamp(4.2rem, 19vw, 15rem); line-height: 0.8; letter-spacing: 0.005em; margin-left: -0.04em; }
.hero .tagline { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 3.6vw, 2.3rem); text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.05; max-width: 22ch; }
.hero .tagline b { color: var(--dawn); font-weight: 800; }
.verse { margin: 0; padding-left: 16px; border-left: 2px solid var(--dawn); max-width: 46ch; }
.verse p { font-style: italic; margin: 0 0 6px; font-size: 1.05rem; }
.verse cite { font-style: normal; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--bone); color: var(--bone); background: transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--bone); color: var(--ink); }
.btn.gold { border-color: var(--dawn); background: var(--dawn); color: var(--ink); }
.btn.gold:hover { background: var(--bone); border-color: var(--bone); }

/* ---------- the band ---------- */
.band-grid { display: grid; gap: clamp(28px, 5vw, 64px); }
.band-copy p { font-size: 1.08rem; }
.band-copy p.lede { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
.facts { display: grid; gap: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); padding-top: 0.3em; }
.facts dd { margin: 0; }
figure { margin: 0; }
figcaption { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--dim); margin-top: 10px; line-height: 1.5; }
.painted { position: relative; }
.painted img { width: 100%; box-shadow: 0 30px 80px -30px #000; }
.painted::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(232,225,209,0.08); pointer-events: none; }

/* ---------- album ---------- */
.album-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
.album-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; }
.tracks { list-style: none; margin: 0; padding: 0; counter-reset: t; border-top: 1px solid var(--line); }
.tracks li { counter-increment: t; display: grid; grid-template-columns: 2.6rem 1fr; gap: 4px 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tracks li::before { content: counter(t, decimal-leading-zero); font-family: var(--mono); font-size: 0.8rem; color: var(--faint); padding-top: 0.45em; grid-row: span 2; }
.tracks h3 { font-size: clamp(1.5rem, 3.4vw, 2rem); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.tracks h3 small { font-family: var(--mono); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.14em; color: var(--dim); }
.tracks p { margin: 0; color: var(--dim); font-size: 1rem; }
.tracks p .ref { margin-left: 4px; }
.tracks li.single h3::after { content: "First single"; font-family: var(--mono); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.14em; color: var(--ink); background: var(--dawn); padding: 3px 7px 2px; line-height: 1.4; }
.note { font-family: var(--mono); font-size: 0.74rem; color: var(--dim); letter-spacing: 0.04em; margin-top: 18px; }

/* ---------- RENOWN ---------- */
#renown { background: linear-gradient(180deg, transparent, #07090c 18%, #07090c 82%, transparent); }
.renown-top { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.renown-top .blurb { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-style: italic; line-height: 1.45; }
.status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dawn); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dawn); box-shadow: 0 0 12px var(--dawn); }

.watch-log { margin-top: clamp(56px, 9vw, 110px); display: grid; gap: clamp(28px, 5vw, 56px); }
.notebook { display: grid; gap: 22px; }
.entry { display: grid; grid-template-columns: 4.6rem 1fr; gap: 14px; }
.entry time { font-family: var(--mono); font-size: 0.85rem; color: var(--dawn); padding-top: 0.25em; font-variant-numeric: tabular-nums; }
.entry p { margin: 0; font-size: 1.05rem; }

.hours { list-style: none; margin: clamp(56px, 9vw, 110px) 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.hours li {
  --t: 0; position: relative; display: grid; align-content: start; grid-template-columns: 5.2rem 1fr; gap: 6px 16px; padding: 20px 18px; min-height: 100%;
  /* each hour lifts a little towards dawn */
  background: linear-gradient(180deg, color-mix(in srgb, var(--dawn) calc(var(--t) * 2.4%), #07090c), #07090c);
}
.hours time { font-family: var(--mono); font-size: 0.82rem; color: var(--dawn); font-variant-numeric: tabular-nums; padding-top: 0.3em; }
.hours h3 { font-size: clamp(1.4rem, 3vw, 1.75rem); }
.hours p { grid-column: 2; margin: 0; color: var(--dim); font-size: 0.98rem; }
.hours .soon { grid-column: 2; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dawn); }
.hours figure { grid-column: 1 / -1; margin-top: 12px; }
.hours figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.fineprint { margin-top: 28px; font-size: 0.85rem; color: var(--dim); max-width: 75ch; }

/* ---------- watch ---------- */
.video {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: #000;
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; filter: saturate(0.8); }
.video .over { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 20px; background: radial-gradient(ellipse at center, rgba(10,13,17,0.15), rgba(10,13,17,0.75)); }
.video .over strong { font-family: var(--display); font-size: clamp(2.2rem, 7vw, 5rem); font-weight: 800; text-transform: uppercase; line-height: 0.9; }
.ring { width: 64px; height: 64px; border-radius: 50%; border: 1.5px dashed var(--dawn); display: grid; place-items: center; }
.ring::after { content: ""; border-left: 14px solid var(--dawn); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; opacity: 0.6; }
.single-row { display: grid; gap: 24px; margin-top: 32px; align-items: center; }
.single-row img { width: 100%; max-width: 320px; }

/* ---------- listen ---------- */
.platforms { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.platforms li { background: var(--ink); }
.platform { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 22px; min-height: 96px; }
.platform strong { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; text-transform: uppercase; line-height: 1; }
.platform span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.platform[aria-disabled="true"] { cursor: not-allowed; }

/* ---------- faith ---------- */
#faith { text-align: left; }
#faith::before { content: ""; position: absolute; inset: auto 0 0 0; height: 70%; background: radial-gradient(ellipse at 50% 100%, rgba(217,162,74,0.16), transparent 65%); pointer-events: none; }
.creed { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: c; border-top: 1px solid var(--line); }
.creed li { counter-increment: c; display: grid; grid-template-columns: 2.6rem 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.creed li::before { content: counter(c, upper-roman); font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--dawn); line-height: 1.2; }
.creed p { margin: 0; }
.big-verse { margin: clamp(48px, 8vw, 96px) 0 0; display: grid; gap: 16px; }
.big-verse p { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 6.4vw, 4.8rem); line-height: 0.95; max-width: 18ch; margin: 0; }
.big-verse p span { color: var(--dawn); }

/* ---------- footer ---------- */
footer { border-top: 1px solid rgba(217,162,74,0.35); padding-block: 48px 64px; }
footer .wrap { display: grid; gap: 28px; }
.mark img { display: block; height: 26px; width: auto; }
.foot-logo { width: min(100%, 420px); height: auto; }
.timeline { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline time { font-family: var(--mono); font-size: 0.82rem; color: var(--dawn); font-variant-numeric: tabular-nums; }
.timeline strong { font-family: var(--display); font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 800; text-transform: uppercase; margin-right: 14px; }
.timeline span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.platforms[hidden] { display: none; }
footer p { font-size: 0.95rem; color: var(--dim); margin: 0; }
.foot-cols { display: grid; gap: 24px; }

/* ---------- wider screens ---------- */
@media (min-width: 760px) {
  .band-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .band-gallery { position: sticky; top: 84px; }
  .album-grid { grid-template-columns: minmax(260px, 5fr) 7fr; }
  .album-grid > .cover-col { position: sticky; top: 84px; }
  .renown-top { grid-template-columns: 6fr 5fr; }
  .watch-log { grid-template-columns: 5fr 6fr; align-items: start; }
  .hours { grid-template-columns: 1fr 1fr; }
  .hours li:last-child { grid-column: 1 / -1; }
  .hours li:last-child figure { max-width: 460px; }
  .hours li:last-child figure img { aspect-ratio: 1 / 1; }
  .single-row { grid-template-columns: 220px 1fr; }
  .platforms { grid-template-columns: repeat(3, 1fr); }
  .platform { flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 180px; }
  .foot-cols { grid-template-columns: 2fr 1fr; }
}
@media (min-width: 1100px) {
  .hours { grid-template-columns: repeat(3, 1fr); }
  .hours li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .entry { grid-template-columns: 1fr; gap: 2px; }
  .hours li { grid-template-columns: 1fr; }
  .hours p, .hours .soon { grid-column: 1; }
  .timeline li { grid-template-columns: 1fr; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero picture img { animation: drift 30s ease-out both; }
  @keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
}

/* band gallery: two images; stacked beside the copy on wide screens, side by side below it on phones */
.band-gallery { display: grid; grid-template-columns: 1fr; gap: 12px; }
.band-gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
@media (min-width: 560px) and (max-width: 759px) { .band-gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- album song covers ---------- */
.songs { margin-top: clamp(40px, 6vw, 72px); }
.songs-title { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: 20px; }
.song-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
.song-grid img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; box-shadow: 0 20px 50px -25px #000; }
.song-grid figcaption { display: grid; gap: 2px; }
.song-grid figcaption strong { font-family: var(--display); font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--bone); }
@media (min-width: 760px) { .song-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; } }
.song-grid li { min-width: 0; }
.song-grid figcaption .ref { white-space: normal; overflow-wrap: anywhere; }
.song-grid figcaption { grid-template-columns: minmax(0, 1fr); }
.song-grid figcaption strong { overflow-wrap: anywhere; }

.album-cover { margin: 0; }
.album-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; border: 1px solid var(--line); }
