/* ════════════════════════════════════════════════════════════════
   EVIL DOGS — SHARED STYLES (used by index.html and music.html)
   Colours and fonts are defined once here. Change them in :root
   and the whole site updates.
   ════════════════════════════════════════════════════════════════ */
:root {
  --bg:      #FBFAF6;   /* bright paper white */
  --bg-2:    #F1EFE8;   /* raised surfaces */
  --ink:     #131313;   /* primary text */
  --muted:   #7A776E;   /* secondary text */
  --accent:  #2B3CFF;   /* electric cobalt blue */
  --line:    rgba(19, 19, 19, 0.16);
  --line-hd: rgba(19, 19, 19, 0.75);

  /* Anton ships a single weight (400) — never ask it for bold,
     the browser would fake it and smear the letterforms */
  --font-display: 'Anton', sans-serif;
  --font-body:    'Space Grotesk', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --nav-h: 60px;
  --player-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 4px);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.player-open { padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom, 0px)); }

/* ── Grain overlay (pure SVG noise, no image files) ─────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.26;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.0; }
a { color: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

section { padding: 110px 0; }

/* ── Section headings ───────────────────────────────────────────── */
.section-head { margin-bottom: 52px; }
.section-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(2.6rem, 7.5vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}
.section-heading .ast { color: var(--accent); }

/* ── Fade-in on scroll ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  padding: 15px 30px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-hd); }
.btn--ghost:hover { border-color: var(--accent); color: #fff; background: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   MARQUEE TICKER
   ════════════════════════════════════════════════════════════════ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  background: var(--accent);
  color: #fff;
  padding: 10px 0;
  user-select: none;
}
.marquee--dark {
  background: var(--ink);
  color: var(--bg);
  border: none;
}
.marquee-inner {
  display: inline-block;
  animation: marquee 30s linear infinite;
}
.marquee span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  padding: 0 16px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Client-logo ticker (scrolling "as heard on" strip) ─────────── */
.clients {
  background: var(--ink);
  color: var(--bg);
  padding: 30px 0;
  overflow: hidden;
}
.clients-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: rgba(251, 250, 246, 0.55);
  text-align: center;
  margin-bottom: 22px;
}
.clients-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 70px;
  animation: marquee 34s linear infinite;
}
.clients-track img {
  height: 32px;
  width: auto;
  /* force every logo to a uniform white silhouette so the strip
     looks consistent no matter what colour the source file is */
  filter: brightness(0) invert(1);
  opacity: 0.82;
  transition: opacity 0.2s ease;
}
.clients-track img:hover { opacity: 1; }
/* Per-logo optical sizing — each source file has different built-in
   padding, so we nudge heights so they read at a similar visual weight.
   Targeting by src substring also covers the duplicated set. */
.clients-track img[src*="skysports"] { height: 46px; }
.clients-track img[src*="sentric"]   { height: 40px; }
.clients-track img[src*="ea"]        { height: 42px; }
.clients-track img[src*="itv"]       { height: 38px; }
.clients-track img[src*="jtbc"]      { height: 36px; }
.clients-track img[src*="netflix"]   { height: 26px; }
@media (max-width: 600px) {
  .clients-track { gap: 44px; }
  .clients-track img { height: 26px; }
  .clients-track img[src*="skysports"] { height: 38px; }
  .clients-track img[src*="sentric"]   { height: 33px; }
  .clients-track img[src*="ea"]        { height: 35px; }
  .clients-track img[src*="itv"]       { height: 31px; }
  .clients-track img[src*="jtbc"]      { height: 30px; }
  .clients-track img[src*="netflix"]   { height: 22px; }
}

/* ════════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  /* extend up into the iPhone notch / status-bar area and push the
     nav content below it */
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  z-index: 900;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  border-bottom: 1px solid transparent;
  color: var(--ink);
}
/* Over the video hero (homepage), the nav floats on dark footage —
   make it white until the user scrolls. */
body.video-hero .nav:not(.scrolled) { color: #fff; }
body.video-hero .nav:not(.scrolled) .nav-burger span { background: #fff; }
.nav.scrolled {
  background: rgba(251, 250, 246, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.nav.scrolled .nav-burger span { background: var(--ink); }
.nav-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  text-decoration: none;
}
.nav-wordmark .ast { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-noai {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 10px;
  white-space: nowrap;
}
body.video-hero .nav:not(.scrolled) .nav-noai { color: #fff; border-color: rgba(255,255,255,0.6); }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: lowercase;
  text-decoration: none;
  color: inherit;
  opacity: 0.85;
  transition: color 0.15s ease, opacity 0.15s ease;
}
.nav-links a:hover { color: var(--accent); opacity: 1; }

/* hamburger (mobile) */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.3s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0;
  z-index: 890;
  background: rgba(251, 250, 246, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-hd);
  padding: 8px 24px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  text-transform: lowercase;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .nav-links, .nav-noai { display: none; }
  .nav-burger { display: flex; }
}

/* ════════════════════════════════════════════════════════════════
   HERO — split video background (London + Somerset)
   ════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  position: relative;
  color: #fff;
  overflow: hidden;
}
/* one full-screen clip at a time; JS crossfades to the next */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg .hero-vid {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-bg .hero-vid.is-active { opacity: 1; }
.hero-loc {
  position: absolute;
  bottom: 18px; left: 24px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: rgba(255,255,255,0.85);
}
/* dark scrim so the wordmark stays legible over the footage */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,9,0.55) 0%, rgba(10,10,9,0.30) 40%, rgba(10,10,9,0.72) 100%);
}
.hero-inner {
  max-width: 1180px;
  width: 100%;
  margin: auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}
.hero h1 {
  font-size: clamp(3.6rem, 14.5vw, 11.5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  line-height: 0.96;
}
.hero h1 .ast { color: var(--accent); }
.hero-sub {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.hero .tagline {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}
.hero .tagline b { color: #fff; font-weight: 400; }

/* welcome line under the wordmark */
.hero-welcome { margin-top: 34px; max-width: 680px; }
.hero-welcome .hw-lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}
.hero-welcome .hw-sub {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}
.hero-welcome .hw-sub .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.hero .hero-spacer { flex: 0 0 36px; z-index: 3; }


/* ════════════════════════════════════════════════════════════════
   MUSIC / TRACK LIST  (shared by both pages)
   ════════════════════════════════════════════════════════════════ */
#music { padding-top: 100px; }
.music-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.music-note {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 38px;
}

.filter-bar {
  display: none;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
}
.filter-bar.active { display: flex; flex-wrap: wrap; }
.filter-label { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.filter-chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  padding: 5px 14px;
  text-transform: lowercase;
}
.filter-clear {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--muted); text-decoration: underline; text-underline-offset: 4px;
}
.filter-clear:hover { color: var(--accent); }

/* full set of mood filter buttons (catalogue page) */
.mood-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; }

.track-list { border-top: 1px solid var(--line-hd); }

.track-card {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.15s ease;
}
.track-card:hover { background: rgba(43, 60, 255, 0.045); }
.track-card.playing { background: rgba(43, 60, 255, 0.06); box-shadow: inset 3px 0 0 var(--accent); }
.track-card.hidden-by-filter { display: none; }

.track-play {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-hd);
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.track-play svg { width: 15px; height: 15px; fill: var(--ink); transition: fill 0.15s ease; }
.track-play:hover { border-color: var(--accent); }
.track-play:hover svg { fill: var(--accent); }
.track-card.playing .track-play { background: var(--accent); border-color: var(--accent); }
.track-card.playing .track-play svg { fill: #fff; }

.track-num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); min-width: 34px; }

.track-meta { min-width: 0; }
.track-title-row { display: flex; align-items: center; gap: 14px; }
.track-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 2rem);
  text-transform: lowercase;
  letter-spacing: 0.015em;
  line-height: 1.1;
  transition: color 0.15s ease;
}
.track-card:hover .track-title,
.track-card.playing .track-title { color: var(--accent); }
.track-artist {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 4px;
}

/* animated EQ bars — visible while this track is actually playing */
.eq { display: none; align-items: flex-end; gap: 3px; height: 18px; flex-shrink: 0; }
.track-card.playing.audible .eq { display: flex; }
.eq i { width: 3px; background: var(--accent); animation: eq-bounce 0.9s ease-in-out infinite; }
.eq i:nth-child(1) { height: 60%; animation-delay: 0s; }
.eq i:nth-child(2) { height: 100%; animation-delay: 0.22s; }
.eq i:nth-child(3) { height: 45%; animation-delay: 0.44s; }
.eq i:nth-child(4) { height: 80%; animation-delay: 0.1s; }
@keyframes eq-bounce { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

.track-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag {
  background: transparent; border: none;
  font-family: var(--font-mono); font-size: 0.75rem;
  text-transform: lowercase; color: var(--muted);
  padding: 3px 2px; cursor: pointer; transition: color 0.15s ease;
}
.tag::before { content: "["; opacity: 0.6; margin-right: 2px; }
.tag::after  { content: "]"; opacity: 0.6; margin-left: 2px; }
.tag:hover { color: var(--accent); }
.tag.active { color: #fff; background: var(--accent); font-weight: 700; }
.tag.active::before, .tag.active::after { opacity: 1; }
/* the mood-filter buttons are bordered chips, so kill the brackets */
.mood-filters .tag { padding: 6px 13px; border: 1px solid var(--line); }
.mood-filters .tag::before, .mood-filters .tag::after { content: none; }
.mood-filters .tag.active { border-color: var(--accent); }

.stems-label {
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700;
  text-transform: lowercase; color: var(--accent);
  border: 1px dashed var(--accent); padding: 3px 8px;
}

.track-duration { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.no-results { display: none; padding: 40px 0; font-family: var(--font-mono); font-size: 0.9rem; color: var(--muted); }

/* "view full catalogue" row under the featured homepage list */
.catalogue-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding: 30px 8px 0;
}
.catalogue-cta .count { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); }

@media (max-width: 640px) {
  .track-card { grid-template-columns: auto 1fr auto; gap: 14px; padding: 20px 4px; }
  .track-num { display: none; }
  .track-play { width: 44px; height: 44px; }
}

/* ════════════════════════════════════════════════════════════════
   ABOUT — cobalt block + studios + human-made checklist
   ════════════════════════════════════════════════════════════════ */
#about { background: var(--accent); color: #fff; }
#about .section-index { color: #fff; opacity: 0.7; }
#about .section-heading .ast { color: var(--ink); }
.bio {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  line-height: 1.4;
  letter-spacing: 0.015em;
  max-width: 900px;
}
.about-cols {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.members { list-style: none; border-top: 1px solid rgba(255,255,255,0.45); }
.members li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.45);
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  text-transform: lowercase; letter-spacing: 0.02em;
}
.members li .m-num { font-family: var(--font-mono); font-weight: 400; font-size: 0.75rem; opacity: 0.7; }

/* the no-AI manifesto checklist */
.noai-card { background: var(--bg); color: var(--ink); padding: 32px 30px; }
.noai-card h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.3rem;
  letter-spacing: 0.02em; text-transform: lowercase; margin-bottom: 18px;
}
.noai-card h3 span { color: var(--accent); }
.noai-card ul { list-style: none; }
.noai-card li {
  font-family: var(--font-mono); font-size: 0.85rem;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  display: flex; gap: 12px;
}
.noai-card li:last-child { border-bottom: none; }
.noai-card li .check { color: var(--accent); }
.noai-card li.never { color: var(--muted); }
.noai-card li.never .check { color: var(--muted); }
.noai-card li.never s { text-decoration-color: var(--accent); }
@media (max-width: 800px) { .about-cols { grid-template-columns: 1fr; } }

/* ── Studios strip (2 London + 1 Somerset, any genre) ───────────── */
.studios { margin-top: 64px; }
.studios-label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: lowercase; color: rgba(255,255,255,0.7); margin-bottom: 18px;
}
.studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid rgba(255,255,255,0.45); }
.studio {
  padding: 30px 26px;
  border-right: 1px solid rgba(255,255,255,0.45);
}
.studio:last-child { border-right: none; }
.studio .s-city {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.9rem; text-transform: lowercase; letter-spacing: 0.02em;
}
.studio .s-meta { font-family: var(--font-mono); font-size: 0.78rem; opacity: 0.82; margin-top: 8px; }
.studios-genre {
  margin-top: 26px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  text-transform: lowercase; letter-spacing: 0.02em;
}
@media (max-width: 700px) {
  .studio-grid { grid-template-columns: 1fr; }
  .studio { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.45); }
  .studio:last-child { border-bottom: none; }
}

/* ════════════════════════════════════════════════════════════════
   BESPOKE — original music on request
   ════════════════════════════════════════════════════════════════ */
#bespoke { background: var(--ink); color: var(--bg); }
#bespoke .section-index { color: var(--accent); }
.bespoke-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.bespoke-lead {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.18; letter-spacing: 0.01em; text-transform: lowercase;
}
.bespoke-lead .hl { color: var(--accent); }
.bespoke-body { font-size: 1rem; color: rgba(251,250,246,0.78); line-height: 1.7; }
.bespoke-list { list-style: none; margin: 24px 0 32px; }
.bespoke-list li {
  font-family: var(--font-mono); font-size: 0.85rem;
  padding: 10px 0; border-bottom: 1px solid rgba(251,250,246,0.18);
  display: flex; gap: 12px;
}
.bespoke-list li .ast { color: var(--accent); }
@media (max-width: 800px) { .bespoke-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ════════════════════════════════════════════════════════════════
   LICENSING
   ════════════════════════════════════════════════════════════════ */
.license-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-hd); background: #fff; }
.license-card { padding: 40px 30px 36px; border-right: 1px solid var(--line-hd); transition: background 0.15s ease; }
.license-card:last-child { border-right: none; }
.license-card:hover { background: rgba(43, 60, 255, 0.05); }
.license-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent); display: block; margin-bottom: 18px; }
.license-card h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.5rem;
  text-transform: lowercase; letter-spacing: 0.02em; margin-bottom: 14px;
}
.license-card p { font-size: 0.92rem; line-height: 1.65; color: var(--muted); }
.license-cta { margin-top: 56px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.license-cta p {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  text-transform: lowercase; letter-spacing: 0.015em;
}
@media (max-width: 800px) {
  .license-grid { grid-template-columns: 1fr; }
  .license-card { border-right: none; border-bottom: 1px solid var(--line-hd); }
  .license-card:last-child { border-bottom: none; }
}

/* ════════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════════ */
#contact { background: var(--bg-2); }
.contact-form { max-width: 680px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form-field { margin-bottom: 30px; display: flex; flex-direction: column; }
.form-field label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: lowercase; color: var(--muted); margin-bottom: 10px; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body); font-size: 1.1rem; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px solid var(--line-hd);
  border-radius: 0; padding: 10px 2px; transition: border-color 0.2s ease;
  width: 100%; -webkit-appearance: none; appearance: none;
}
.form-field select { cursor: pointer; }
.form-field select option { background: var(--bg-2); color: var(--ink); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.direct-email { margin-top: 44px; font-family: var(--font-mono); font-size: 0.9rem; color: var(--muted); }
.direct-email a { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
footer { padding: 70px 0 calc(34px + env(safe-area-inset-bottom, 0px)); overflow: hidden; border-top: 1px solid var(--line); }
.footer-wordmark {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3rem, 12.5vw, 10.5rem); line-height: 0.95;
  text-transform: lowercase; letter-spacing: 0.02em; text-align: center;
  white-space: nowrap; color: var(--bg);
  -webkit-text-stroke: 1.5px var(--line-hd);
  user-select: none; transition: -webkit-text-stroke-color 0.3s ease;
}
.footer-wordmark:hover { -webkit-text-stroke-color: var(--accent); }
.footer-meta {
  margin-top: 44px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted);
}
.footer-meta .acid { color: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   GLOBAL PLAYER BAR (fixed, bottom) — with draggable scrub handle
   ════════════════════════════════════════════════════════════════ */
.player-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  /* keep the controls above the iPhone home-indicator bar */
  height: calc(var(--player-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 950;
  background: rgba(251, 250, 246, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--ink);
  display: flex; align-items: center;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.player-bar.visible { transform: translateY(0); }
.player-inner {
  width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: auto minmax(0, 240px) 1fr auto;
  align-items: center; gap: 20px;
}
.player-play {
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--accent); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.15s ease;
}
.player-play:hover { background: var(--ink); }
.player-play svg { width: 14px; height: 14px; fill: #fff; }
.player-title {
  font-family: var(--font-display); font-weight: 400; font-size: 1.05rem;
  letter-spacing: 0.03em; text-transform: lowercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* scrub bar: a wide hit area, a thin track, a fill, and a thumb */
.player-progress {
  position: relative;
  height: 28px;
  display: flex; align-items: center;
  cursor: pointer;
  touch-action: none;   /* let us handle drag on touch without scrolling */
}
.player-progress .track-line {
  position: relative; width: 100%; height: 4px;
  background: rgba(19, 19, 19, 0.16);
  border-radius: 999px;
}
.player-progress .fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: var(--accent); border-radius: 999px;
}
.player-progress .thumb {
  position: absolute; top: 50%; left: 0;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--bg);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.12s ease;
  pointer-events: none;
}
.player-progress:hover .thumb,
.player-progress.scrubbing .thumb { transform: translate(-50%, -50%) scale(1); }
.player-progress.scrubbing { cursor: grabbing; }
.player-time { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 640px) {
  .player-inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; }
  .player-progress { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   CATALOGUE PAGE (music.html) header
   ════════════════════════════════════════════════════════════════ */
.catalogue-hero { padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 70px) 0 0; }
.catalogue-hero .section-heading { font-size: clamp(3rem, 11vw, 7rem); }
.back-link {
  font-family: var(--font-mono); font-size: 0.8rem; text-decoration: none;
  color: var(--muted); display: inline-flex; gap: 8px; align-items: center;
  margin-bottom: 26px;
}
.back-link:hover { color: var(--accent); }
