@font-face {
  font-family: "Libre Franklin";
  src: url("fonts/libre-franklin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* The house colour: a neutral near-black, cooler and quieter than either
     artist site, so the label reads as the room both of them stand in. */
  --canvas: #0d0d0f;
  --ink: #ece8df;
  --muted: rgba(236, 232, 223, 0.58);
  --faint: rgba(236, 232, 223, 0.38);
  --line: rgba(236, 232, 223, 0.17);
  --line-soft: rgba(236, 232, 223, 0.10);
  --accent: #ece8df;
  --accent-dim: rgba(236, 232, 223, 0.16);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* Per-act colour worlds. The accent and the ambient washes crossfade as the
   reader moves through the roster (site.js sets body[data-world]). */
body[data-world="sytra"] {
  --accent: #e0483a;              /* braid crimson */
  --accent-dim: rgba(224, 72, 58, 0.18);
}
body[data-world="bo"] {
  --accent: #8fb0c9;              /* cold northern steel */
  --accent-dim: rgba(143, 176, 201, 0.16);
}
body { transition: background-color 0.9s ease; }
.glow, .sec-head, .track, .t-play { transition: border-color 0.9s ease, background-color 0.9s ease, color 0.6s ease; }

* { box-sizing: border-box; }

/* Same law as the artist sites: nothing on this page is rounded. */
*, *::before, *::after { border-radius: 0 !important; }

html { scroll-behavior: smooth; overflow-x: clip; background: var(--canvas); }

body {
  margin: 0;
  overflow-x: clip;
  background: transparent;
  color: var(--ink);
  font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #0d0d0f; }

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--ink); }

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.dim { color: var(--muted); }

/* ---------- atmosphere: ambient washes + film grain ---------- */
.glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(58vw 42vh at 18% -6%, rgba(236, 232, 223, 0.055), transparent 70%),
    radial-gradient(50vw 40vh at 88% 108%, rgba(160, 60, 44, 0.05), transparent 70%);
}
body[data-world="sytra"] .glow {
  background:
    radial-gradient(60vw 46vh at 12% -6%, rgba(224, 72, 58, 0.13), transparent 70%),
    radial-gradient(46vw 38vh at 90% 30%, rgba(43, 74, 143, 0.13), transparent 70%),
    radial-gradient(50vw 40vh at 88% 108%, rgba(236, 232, 223, 0.05), transparent 70%);
}
body[data-world="bo"] .glow {
  background:
    radial-gradient(60vw 46vh at 85% -6%, rgba(110, 148, 184, 0.14), transparent 70%),
    radial-gradient(52vw 42vh at 8% 70%, rgba(58, 84, 102, 0.16), transparent 70%);
}
/* Animated film grain: an SVG-turbulence tile jittered in steps. */
.grain {
  position: fixed;
  inset: -60px;
  z-index: 60;
  pointer-events: none;
  opacity: 0.055;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-jump 0.9s steps(4) infinite;
}
@keyframes grain-jump {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-22px, 14px); }
  50% { transform: translate(14px, -20px); }
  75% { transform: translate(-10px, -8px); }
  100% { transform: translate(0, 0); }
}

/* ---------- top bar ---------- */
.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px clamp(20px, 4vw, 40px) 22px;
  border-bottom: 1px solid var(--line-soft);
}
.top-name { font-weight: 700; font-size: 17px; letter-spacing: 0.06em; }
.top-role { color: var(--muted); font-size: 12.5px; letter-spacing: 0.1em; text-align: right; }

/* ---------- hero ---------- */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(52px, 10vh, 110px) clamp(20px, 4vw, 40px) clamp(48px, 8vh, 80px);
}
.hero .kicker {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin: 0 0 clamp(20px, 4vh, 36px);
}
.wordmark {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.94;
  font-size: clamp(58px, 12.5vw, 168px);
  text-transform: uppercase;
  will-change: transform;
}
.wm-line { display: block; overflow: hidden; }
.wm-inner {
  display: block;
  transform: translateY(110%);
  animation: wm-rise 1.1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.wm-line:nth-child(2) .wm-inner { animation-delay: 0.13s; }
@keyframes wm-rise { to { transform: translateY(0); } }
.tagline {
  margin: clamp(26px, 5vh, 44px) 0 0;
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero-line {
  margin: 16px 0 0;
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18.5px);
}
.hero-hint {
  margin: 30px 0 0;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

/* Masked line reveals for headings throughout the page. */
.reveal-line { overflow: hidden; }
.rl-armed .reveal-line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 0.95s cubic-bezier(0.19, 1, 0.22, 1);
}
.rl-armed .reveal-line.in > span { transform: translateY(0); }
h3.reveal-line { padding-bottom: 0.06em; margin-bottom: -0.06em; }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  padding: 13px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 34px;
  width: max-content;
  white-space: nowrap;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2em;
  animation: marquee 36s linear infinite;
}
.marquee-track i { font-style: normal; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section scaffolding ---------- */
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 96px) clamp(20px, 4vw, 40px) 0;
}
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 16px 2px 0;
  font-size: 12px;
  letter-spacing: 0.14em;
}
.sec-head .dim { text-align: right; }

/* ---------- roster ---------- */
.roster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(30px, 5vh, 48px);
}
.artist .photo { overflow: hidden; }
.artist .photo img {
  width: 100%;
  transform: scale(1.08);
  will-change: transform;
}
.artist h3 {
  margin: 22px 0 0;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.artist .role {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.artist .bio {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 32em;
}
.artist .bio strong { color: var(--ink); font-weight: 600; }

/* ---------- track players ---------- */
.releases { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.track {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 8px 13px 2px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.track::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-dim);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.track:hover::before, .track.is-current::before { opacity: 1; }
.track.is-current { box-shadow: inset 2px 0 0 var(--accent); }
.t-play {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin-top: 2px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.15s ease;
}
.t-play::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-38%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor;
}
.t-play:hover { border-color: var(--accent); color: var(--accent); }
.t-play:active { transform: scale(0.93); }
.is-playing .t-play, .t-play.is-playing {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d0d0f;
}
.is-playing .t-play::before, .t-play.is-playing::before {
  transform: translate(-50%, -50%);
  border: 0;
  width: 12px; height: 13px;
  background:
    linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px);
}
.t-main { flex: 1 1 auto; min-width: 0; position: relative; z-index: 1; }
.t-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}
.releases .r-title { font-weight: 600; font-size: 16px; }
.releases .r-meta { color: var(--muted); font-size: 12.5px; letter-spacing: 0.06em; text-align: right; white-space: nowrap; }
.releases .r-credit {
  display: block;
  font-weight: 400;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 2px;
}
.t-wave {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 9px;
  cursor: pointer;
}
.t-sub {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.track.is-current .t-note { color: var(--accent); }

.artist-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 20px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
}
.artist-links a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.artist-links a:hover { color: #fff; border-bottom-color: var(--accent); }

/* ---------- duet ---------- */
.duet { margin-top: clamp(30px, 5vh, 48px); }
.duet h3 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.04;
}
.duet .soon {
  margin: 14px 0 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.duet blockquote {
  margin: clamp(26px, 5vh, 44px) 0 0;
  padding: 0 0 0 clamp(18px, 3vw, 30px);
  border-left: 1px solid var(--accent);
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 600;
  line-height: 1.3;
}
.duet blockquote footer {
  margin-top: 10px;
  padding: 0;
  border: 0;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 400;
}

/* ---------- catalog ---------- */
.catalog { list-style: none; margin: clamp(26px, 4vh, 40px) 0 0; padding: 0; }
.catalog li {
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.3s ease;
}
.catalog li:last-child { border-bottom: 1px solid var(--line); }
.catalog li:hover { background: rgba(236, 232, 223, 0.03); }
.catalog li.is-current { box-shadow: inset 2px 0 0 var(--accent); background: var(--accent-dim); }
.catalog a {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 3vw, 30px);
  padding: 17px 2px;
  text-decoration: none;
}
.catalog .cnum { color: var(--faint); font-size: 13px; }
.catalog .ctitle { font-weight: 600; font-size: 19px; }
.catalog .cartist { color: var(--muted); font-size: 13.5px; letter-spacing: 0.06em; }
.catalog .cdate { margin-left: auto; color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.catalog a:hover .ctitle { color: #fff; }
.t-play--mini {
  width: 36px;
  height: 36px;
  margin: 0 0 0 6px;
}
.t-play--mini::before { border-width: 5.5px 0 5.5px 9.5px; }
.note {
  padding: 14px 2px 0;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 44em;
}

/* ---------- the songwriter ---------- */
.songwriter { margin-top: clamp(30px, 5vh, 48px); max-width: 44em; }
.songwriter h3 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.songwriter p { margin: 14px 0 0; color: var(--muted); }
.songwriter p strong { color: var(--ink); font-weight: 600; }

/* ---------- customs ---------- */
.customs {
  margin-top: clamp(30px, 5vh, 48px);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 2px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.customs p { margin: 0; max-width: 40em; color: var(--muted); }
.customs p strong { color: var(--ink); font-weight: 600; }
.customs a {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  white-space: nowrap;
}
.customs a:hover { color: #fff; border-bottom-color: var(--accent); }

/* ---------- follow ---------- */
.socials { list-style: none; margin: clamp(26px, 4vh, 40px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.socials li { border-bottom: 1px solid var(--line-soft); }
.socials li:last-child { border-bottom: 1px solid var(--line); }
.socials a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 16px 2px;
  color: var(--ink);
  text-decoration: none;
  transition: padding-left 0.25s ease;
}
.s-name { font-weight: 600; font-size: 17px; }
.s-handle { color: var(--muted); font-size: 13.5px; text-align: right; }
.socials a:hover { padding-left: 10px; }
.socials a:hover .s-name { color: #fff; }
.socials a:hover .s-handle { color: var(--accent); }
.socials .group {
  padding: 20px 2px 4px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--faint);
  border-bottom: 0;
}

/* ---------- footer ---------- */
.site-footer {
  max-width: 1240px;
  margin: clamp(64px, 11vh, 110px) auto 0;
  padding: 30px clamp(20px, 4vw, 40px) 110px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.site-footer p { margin: 0 0 7px; }
.foot-name { color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: 0.06em; margin-bottom: 14px; }
.foot-fine { margin-top: 16px; color: var(--faint); font-size: 12px; }

/* ---------- sticky player bar ---------- */
.playerbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px clamp(14px, 3vw, 28px);
  background: rgba(13, 13, 15, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--accent);
  transform: translateY(0);
  animation: bar-in 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}
.playerbar[hidden] { display: none; }
@keyframes bar-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
.pb-play {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  background: var(--accent);
  border: 0;
  color: #0d0d0f;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease;
}
.pb-play:active { transform: scale(0.93); }
.pb-play::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-38%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor;
}
.pb-play.is-playing::before {
  transform: translate(-50%, -50%);
  border: 0;
  width: 12px; height: 13px;
  background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px);
}
.pb-meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pb-title { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-artist { font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.pb-progress {
  flex: 1 1 auto;
  height: 22px;
  display: flex;
  align-items: center;
  cursor: pointer;
  background: linear-gradient(var(--line) 0 0) center / 100% 3px no-repeat;
}
.pb-fill {
  height: 3px;
  width: 0%;
  background: var(--accent);
  pointer-events: none;
}
.pb-time { font-size: 12.5px; color: var(--muted); }
.pb-close {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.pb-close:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- scroll reveals ---------- */
.reveal { opacity: 1; }
@supports (animation-timeline: view()) {
  .reveal {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 42%;
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
.no-css-anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.no-css-anim .reveal.in { opacity: 1; transform: none; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .roster { grid-template-columns: 1fr; }
  .catalog .cartist { display: none; }
  .catalog .ctitle { font-size: 17.5px; }
  .top-role { display: none; }
  .t-wave { height: 36px; }
  .releases .r-meta { display: none; }
  .pb-meta { max-width: 34vw; }
  .pb-time { display: none; }
  .marquee-track { animation-duration: 26s; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
  .no-css-anim .reveal { opacity: 1; transform: none; transition: none; }
  .artist .photo img { transform: scale(1.08); }
  .wm-inner { animation: none; transform: none; }
  .reveal-line > span { transition: none; transform: none; }
  .marquee-track { animation: none; }
  .grain { animation: none; }
  .playerbar { animation: none; }
  .track::before, .t-play, .socials a { transition: none; }
}

/* ---------- privacy page lists (added 2026-12-02) ---------- */
.songwriter ul { margin: 14px 0 0; padding-left: 1.2em; color: var(--muted); }
.songwriter li { margin-top: 8px; }
.songwriter li strong { color: var(--ink); font-weight: 600; }
