/* Good Stuff In Between. One deliberately dark world: the photographs carry the colour. */
:root {
  --bg: #0c0c0d;
  --bg-2: #161618;
  --ink: #f3f1ec;
  --muted: #a39f97;
  --line: rgba(243, 241, 236, 0.14);
  --accent: #e0b27a;
  --plate: #26262a;
  --radius: 22px;
  --radius-sm: 12px;
  --max: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
  overflow-x: clip;
}
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: .5rem .8rem; border-radius: 6px; }
.skip:focus { left: 12px; z-index: 10; }

/* Header */
.site-header { padding: clamp(18px, 2.6vw, 30px) 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: clamp(36px, 3.4vw, 52px); width: auto; }
@media (max-width: 600px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: .9rem; }
  .nav { gap: 1.1rem; }
  .nav a { font-size: .74rem; letter-spacing: .12em; }
}
.nav { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); }
.nav a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .35rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* Home lede */
.lede { padding: clamp(40px, 7vw, 104px) 0 clamp(24px, 3vw, 40px); }
.lede h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 .55em;
  max-width: 14ch;
  text-wrap: balance;
}
.lede p { max-width: 56ch; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); text-wrap: pretty; }

/* Sections and grid */
.section { padding: clamp(28px, 4vw, 56px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 clamp(18px, 2.4vw, 32px);
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 44px) clamp(16px, 2.2vw, 30px);
}
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Card: rounded portrait on a coloured plate, name beneath */
.card { display: block; }
.art { position: relative; }
.art::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border-radius: var(--radius);
  background: var(--plate);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  transform: translate3d(0, 0, 0);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.contain { background: var(--bg-2); }
.frame.contain img { object-fit: contain; padding: 12%; }
html.no-plate .art::before, html.no-plate .hero-art::before { display: none; }
html.no-plate .card:hover .frame, html.no-plate .card:focus-visible .frame { transform: translate3d(0, -4px, 0); }
html.no-plate .artist .hero-art { margin-right: 0; }
.card:hover .frame, .card:focus-visible .frame { transform: translate3d(-4px, -4px, 0); }
.card:hover .art::before, .card:focus-visible .art::before { transform: translate3d(3px, 3px, 0); }
.card .name {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(.95rem, 1.15vw, 1.08rem);
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .28em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .25s ease;
}
.card:hover .name, .card:focus-visible .name { text-decoration-color: var(--ink); }
.card .sub { display: block; margin-top: .25rem; font-size: .82rem; color: var(--muted); }

/* Artist page */
.artist { display: grid; gap: clamp(32px, 5vw, 80px); padding-top: clamp(28px, 4vw, 64px); padding-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 900px) { .artist { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); align-items: start; } }
@media (max-width: 899px) {
  .artist .hero-art { order: -1; margin-right: 12px; }
  .hero-art::before { inset: 12px -12px -12px 12px; }
}
.artist .eyebrow { margin-bottom: .9rem; }
.artist h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.025em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
.prose { font-size: 1.06rem; }
.prose p { max-width: 60ch; text-wrap: pretty; }
.prose p + p { margin-top: 1em; }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.01em; margin: 2.2em 0 .6em; }
.prose a { border-bottom: 1px solid var(--line); transition: border-color .2s ease; }
.prose a:hover { border-bottom-color: var(--ink); }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border-radius: var(--radius); background: var(--plate); }
.hero-art .frame { aspect-ratio: 4 / 5; }
.hero-art .credit, .gallery .credit { display: block; margin-top: .8rem; font-size: .8rem; color: var(--muted); }

.release { display: flex; align-items: center; gap: 1.1rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.release img { width: 92px; height: 92px; border-radius: var(--radius-sm); object-fit: cover; flex: none; }
.release .eyebrow { margin: 0 0 .25rem; }
.release .title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.2; }
.release .go { display: inline-block; margin-top: .35rem; font-size: .92rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.release .go:hover { color: var(--ink); border-bottom-color: var(--ink); }

.links { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.links a { font-size: .92rem; border-bottom: 1px solid var(--line); padding-bottom: .1rem; transition: border-color .2s ease; }
.links a:hover { border-bottom-color: var(--ink); }
.enquiries { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.enquiries a { color: var(--ink); border-bottom: 1px solid var(--line); }
.enquiries a:hover { border-bottom-color: var(--ink); }

/* Listen (Spotify) and Watch (YouTube) on artist pages */
.embeds { padding-top: clamp(28px, 4vw, 56px); }
.embeds .items { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .embeds .items.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .embeds .items.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.listen .items.n1 { max-width: 640px; }
.watch .items.n1 { max-width: 900px; }
.listen iframe { display: block; width: 100%; border: 0; border-radius: var(--radius-sm); background: var(--bg-2); }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.yt:hover img { transform: scale(1.03); }
.yt .play { position: absolute; left: 50%; top: 50%; width: 68px; height: 46px; transform: translate(-50%, -50%); background: rgba(12, 12, 13, .78); border-radius: 12px; transition: background .2s ease; }
.yt:hover .play { background: rgba(12, 12, 13, .95); }
.yt .play::after { content: ""; position: absolute; left: 27px; top: 13px; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent var(--ink); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embeds + .gallery, .embeds + .embeds + .gallery { padding-top: clamp(28px, 4vw, 56px); }
.gallery { padding-bottom: clamp(40px, 6vw, 96px); }
.gallery .items { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .gallery .items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery .items a { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
.gallery .items img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .5s ease; }
.gallery .items a:hover img { transform: scale(1.02); }
.back { display: inline-block; margin: 0 0 1.2rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.back:hover { color: var(--ink); }

/* About */
.about { padding-top: clamp(28px, 4vw, 64px); padding-bottom: clamp(48px, 6vw, 96px); display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.about h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -.02em; margin: 0 0 .6em; }
.aside { position: sticky; top: 2rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); }
.aside .eyebrow { margin-bottom: .6rem; }
.aside p { color: var(--muted); font-size: .98rem; max-width: 40ch; }
.aside p + p { margin-top: .8rem; }
.aside a { color: var(--ink); border-bottom: 1px solid var(--line); }
.aside a:hover { border-bottom-color: var(--ink); }
.aside .mark { width: 42px; margin-bottom: 1.2rem; opacity: .9; }

/* Footer */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); padding: 2.4rem 0 3rem; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.2rem 3rem; justify-content: space-between; align-items: flex-start; }
.site-footer a { border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.site-footer a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.site-footer .social { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-footer .small { font-size: .82rem; }

/* 404 */
.notfound { padding-top: clamp(60px, 12vw, 160px); padding-bottom: clamp(60px, 12vw, 160px); }
.notfound h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.6rem); margin: 0 0 .5em; }

/* Draft preview banner (only when logged into the admin) */
.draft-banner { background: var(--accent); color: #1a1408; font-size: .9rem; padding: .55rem var(--gutter); }
.draft-banner a { color: inherit; text-decoration: underline; margin-left: .6rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .card:hover .frame, .card:hover .art::before, .gallery .items a:hover img { transform: none; }
}
