@import url("fonts.css");
/* Uncloud Editions — matches the live uncloud.nl/uncloud-editions/ look */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  letter-spacing: .02em;
  background: #eff0eb; /* Uncloud white */
  color: #000;
  font-family: "Forma DJR Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }

/* header — same menu as the rest of the site (see style.css), in black */
.site-header {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 22px clamp(20px, 2.3vw, 40px) 16px;
  position: sticky; top: 0; z-index: 150;
  background: rgba(239, 240, 235, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.wordmark {
  font-size: clamp(34px, 2.85vw, 50px); font-weight: 500; letter-spacing: .01em; line-height: 1;
  text-decoration: none;
}
.site-header nav { display: flex; gap: clamp(18px, 2.2vw, 38px); line-height: 1; }
.site-header nav a { font-weight: 300; letter-spacing: .02em; font-size: 17px; position: relative; text-decoration: none; }
.site-header nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: currentColor;
  transition: right .35s ease;
}
.site-header nav a:hover::after { right: 0; }

main { padding: 50px 0 100px; }

/* bordered boxes */
.ed-box { border: 1px solid #000; background: #eff0eb; /* Uncloud white */ margin: 0 8.2% 25px; }

/* overview */
.ed-release {
  display: flex; gap: 2em; padding: 22.5px 42.75px; font-size: 18px; line-height: 1.6;
}
.ed-c1 { flex: 0 0 calc(25% - 1.33em); }
.ed-c2 { flex: 0 0 calc(50% - 1.33em); }
.ed-c3 { flex: 0 0 calc(25% - 1.33em); text-align: right; }
.ed-c1 a { text-decoration: underline; }
.ed-c2 img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.ed-quote { font-style: italic; font-weight: 200; }
.ed-about { padding: 22.5px 42.75px; font-size: 18px; line-height: 1.6; font-weight: 500; }
.ed-about p + p { margin-top: 1em; }

/* release page */
.ed-title { font-size: 30px; font-weight: 500; line-height: 1.2; margin: 0 50px 10px; }
.ed-detail { margin: 0 50px; }
.ed-split { display: flex; padding: 50px 0; }
.ed-left { flex: 0 0 36%; padding: 0 50px; }
.ed-right { flex: 1; padding: 15px 50px 0; display: flex; flex-direction: column; gap: 40px; }
.ed-left p { margin: 0 0 1.4em; }
.ed-left p.short { margin-bottom: 1em; }
.ed-left h3, .ed-bottom h3 { font-size: 16px; font-weight: 700; margin: 1.4em 0 0; }
.ed-left h3 + p, .ed-bottom h3 + p { margin-top: 0; }
.ed-left em { font-style: italic; }

.ed-right p { font-size: 13px; color: #555; }
.ed-right h3 { font-size: 22px; font-weight: 400; margin: 20px 0 -24px; }
.ed-right .gallery { display: flex; flex-direction: column; gap: 40px; margin: 0; }
.ed-right .gallery figure { margin: 0; cursor: zoom-in; }
.ed-right .gallery img { width: 100%; }
.ed-right p:not(.short):not(:first-child) { font-size: 16px; color: #000; }

.embed { margin: 12px 0 30px; }
.embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.embed.bandcamp { height: 120px; max-width: 100%; }
.embed.video { aspect-ratio: 16 / 9; }

.ed-bottom { padding: 0 4% 60px; }
.ed-bottom h3 { margin-top: 1.2em; }
.ed-bottom p.quote { font-size: 18px; padding-left: 36px; margin-top: .3em; }
.ed-bottom p.cite { text-align: right; margin-bottom: .6em; }
.ed-bottom p.cite a, .ed-bottom p.short a, .ed-bottom p a { text-decoration: underline; }
.ed-bottom p.short, .ed-bottom > p:not(.quote):not(.cite) { padding-left: 36px; font-size: 18px; }

.ed-pager { display: flex; justify-content: space-between; margin: 10px 50px 0; }
.ed-pager div:last-child { text-align: right; }

/* lightbox (shared markup with main site) */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(239,240,235,.97); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 88vw; max-height: 84vh; width: auto; }
.lightbox button { position: absolute; background: none; border: 0; color: #000; font: 300 30px/1 inherit; cursor: pointer; padding: 18px; }
.lb-close { top: 10px; right: 14px; font-size: 40px !important; }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb-cap { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #555; font-size: 14px; }

/* mobile */
@media (max-width: 781px) {
  .ed-box { margin: 0 16px 20px; }
  .ed-release { flex-direction: column; padding: 20px; gap: 16px; }
  .ed-c3 { text-align: left; }
  .ed-title { margin: 0 16px 10px; }
  .ed-detail { margin: 0 16px; }
  .ed-split { flex-direction: column; padding: 24px 0; gap: 30px; }
  .ed-left, .ed-right { padding: 0 20px; }
  .ed-bottom p.quote, .ed-bottom p.short, .ed-bottom > p:not(.quote):not(.cite) { padding-left: 0; }
  .ed-pager { margin: 10px 16px 0; }
}

.wordmark-sub { font-weight: 300; }

/* language button (NL / EN), right of the menu */
.site-header nav { align-items: baseline; }
/* same size, weight and baseline as about / news / contact; only a thin outline makes it a button */
.site-header nav .lang-switch {
  font-size: 15px; font-weight: 300; letter-spacing: .02em; line-height: 1;
  border: 1px solid currentColor; border-radius: 0;   /* square corners, flat rectangle */
  padding: 2.5px 9px 0.5px; margin-left: clamp(6px, .8vw, 12px);  /* more on top: the font leaves empty descender space under nl / en */
  transition: background .25s, color .25s, border-color .25s;
}
.site-header nav .lang-switch::after { display: none; }
.site-header nav .lang-switch:hover { background: #b72a29; border-color: #b72a29; color: #eff0eb; }

/* artist biography in its own wide block (Near Stoic): about 10 words a line */
.ed-bio { padding: 0 50px 50px; }
.ed-bio p { max-width: 55ch; margin: 0 0 1.2em; }
.ed-bio h3 { font-size: 16px; font-weight: 700; margin: 0 0 .4em; }
@media (max-width: 781px) { .ed-bio { padding: 0 20px 30px; } }

/* UE001: artist biography and the text after it, in two equal columns under the text/images */
.ed-bio-2col { columns: 2; column-gap: 50px; }
.ed-bio-2col h3 { column-span: all; margin-bottom: .6em; }
.ed-bio-2col p { max-width: none; break-inside: avoid-column; }
@media (max-width: 781px) { .ed-bio-2col { columns: 1; } }

/* right column: keep the text under the video close to it and to each other
   (the column's 40px gap stays for the images) */
.ed-right > .embed.video { margin-bottom: 0; }
.ed-right > .embed.video + p { margin-top: -22px; }  /* 40px gap -> about 18px */
.ed-right > p + p { margin-top: -28px; }             /* 40px gap -> about 12px */
.ed-bio-2col p + h3 { margin-top: 1.8em; }  /* heading between two text blocks (UE002) */

/* centre the letters in the language button: "nl" has a tall l, "en" only short letters */
html[lang="en"] .site-header nav .lang-switch { padding-top: 3.2px; padding-bottom: 0; }   /* shows "nl" */
html[lang="nl"] .site-header nav .lang-switch { padding-top: 1.8px; padding-bottom: 1.4px; } /* shows "en" */
