/* The Station Project - artist page styles (palette "Lamplit night") */
:root {
  --midnight: #14213D;
  --midnight-deep: #0F1930;
  --amber: #F4B740;
  --amber-ink: #855800;
  --coral-light: #E2694F;
  --coral-ink: #A33A27;
  --ivory: #FBF7EF;
  --ivory-muted: #C9CBD3;
  --board: #121110;
  --board-gold: #FFD15C;
  --line: #253354;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--midnight);
  color: var(--ivory);
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); text-underline-offset: 4px; }
a:hover { color: var(--ivory); }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.caps {
  font-family: "Josefin Sans", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
}

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.site-header a { color: var(--ivory); text-decoration: none; font-size: 13px; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.site-header a:hover { color: var(--amber); }

/* Hero image */
.hero-img { position: relative; background: var(--midnight-deep); }
.hero-img img { width: 100%; height: min(86vh, 820px); object-fit: cover; object-position: 50% 30%; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,33,61,.55) 0%, rgba(20,33,61,0) 18%, rgba(20,33,61,0) 70%, var(--midnight) 100%); pointer-events: none; }

/* Title */
.title { text-align: center; padding: 8px 0 88px; position: relative; z-index: 1; margin-top: -40px; }
.rule { width: 64px; height: 3px; background: var(--amber); margin: 0 auto 28px; border: 0; }
.title h1 { margin: 0; font-size: clamp(30px, 5.4vw, 60px); line-height: 1.25; letter-spacing: 0.2em; padding-left: 0.2em; }
.title .line { font-family: "Josefin Sans", sans-serif; font-size: clamp(20px, 2.4vw, 26px); color: var(--amber); margin: 22px 0 0; letter-spacing: 0.04em; }
.title .bio { max-width: 560px; margin: 18px auto 0; color: var(--ivory-muted); }

section { padding: 88px 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 28px; font-size: clamp(22px, 2.8vw, 28px); }
h2::before { content: ""; display: block; width: 40px; height: 3px; background: var(--amber); margin-bottom: 20px; }
p { margin: 0 0 18px; }
.lead { font-size: 21px; max-width: 720px; }
.text { max-width: 720px; }

/* Departure board */
.board { background: var(--board); border-radius: 6px; padding: 22px 24px 18px; font-family: "IBM Plex Mono", ui-monospace, monospace; color: var(--board-gold); box-shadow: 0 18px 50px rgba(0,0,0,.35); overflow-x: auto; }
.board table { width: 100%; border-collapse: separate; border-spacing: 0 8px; min-width: 560px; }
.board th { text-align: left; font-weight: 500; font-size: 11px; letter-spacing: 0.14em; color: #8E8A80; padding: 0 12px 2px; }
.board td { font-size: clamp(15px, 1.7vw, 19px); font-weight: 600; letter-spacing: 0.08em; padding: 10px 12px; background: #1B1A18; text-transform: uppercase; white-space: nowrap; }
.board td + td { border-left: 4px solid var(--board); }
.board .pl { text-align: center; width: 56px; }
.board-note { color: var(--ivory-muted); font-size: 15px; margin-top: 16px; }

/* Line-up */
.lineup { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.lineup li { border: 1px solid var(--line); border-radius: 6px; padding: 22px 18px; background: rgba(255,255,255,0.02); }
.lineup .role { font-size: 13px; color: var(--amber); display: block; margin-bottom: 8px; }
.lineup .detail { color: var(--ivory-muted); font-size: 16px; line-height: 1.5; }

/* Credits and follow */
.credits { font-size: 19px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 6px; max-width: 760px; }
.links { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.links a { font-weight: 700; }

.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--ivory-muted); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: var(--ivory-muted); }
.site-footer a:hover { color: var(--amber); }

@media (max-width: 860px) {
  .lineup { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero-img img { height: 62vh; object-position: 50% 35%; }
  .title { padding-bottom: 64px; margin-top: -24px; }
  section { padding: 64px 0; }
  .lead { font-size: 19px; }
  .board { padding: 14px 10px 10px; }
  .board table { min-width: 0; border-spacing: 0 6px; }
  .board th { padding: 0 6px 2px; font-size: 10px; }
  .board td { font-size: 13px; letter-spacing: 0.04em; padding: 8px 6px; white-space: normal; }
  .board td + td { border-left-width: 3px; }
  .board .pl { width: 30px; }
}
