/* Eternal Nights — site styles (version 2).
   Earth tones, the label's own moon and wordmark, one wide grotesk (Archivo).
   Page rules are scoped under .en; the canvas (.en-bg) and player (.enp) sit on <body>. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100..125,400..800&display=swap');

:root {
  --en-espresso: #17110d;
  --en-umber: #2a1e17;
  --en-bark: #3d2c21;
  --en-clay: #a65a3a;
  --en-terracotta: #c4683f;
  --en-ochre: #d59c45;
  --en-sand: #d8c3a0;
  --en-bone: #efe5d3;
  --en-olive: #8b8a5c;
  --en-line: rgba(239, 229, 211, 0.22);
  --en-font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --en-bar: 68px;
}

/* Still picture shown when the live canvas cannot run. */
html { background: var(--en-espresso); }
body {
  margin: 0;
  background: linear-gradient(to bottom, #17110d 0%, #4a2a1c 42%, #c9793f 54%, #5a3222 54.2%, #2a1a13 72%, #130e0b 100%) fixed;
}
html.en-has-bg body { background: var(--en-espresso); }
.en-bg { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }

.en {
  position: relative; z-index: 1;
  /* One voice everywhere: the wide, tracked capitals of the home page line. */
  font-family: var(--en-font); font-stretch: 125%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; line-height: 1.75;
  color: var(--en-bone);
  -webkit-font-smoothing: antialiased;
}
.en *, .en *::before, .en *::after { box-sizing: border-box; }
/* Squarespace fades text in late; ours has its own reveal. */
.en :where(h1, h2, h3, p, a, li, img) { opacity: 1 !important; }
.en :where(h1, h2, h3, p, ul, ol) { margin: 0; padding: 0; color: inherit; font-family: var(--en-font); }
.en :where(ul, ol) { list-style: none; }
.en :where(a) { color: inherit; text-decoration: none; }
.en :where(img) { display: block; width: 100%; height: auto; }

/* Display type: follows the logo wordmark. */
.en-caps { font-stretch: 125%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; line-height: 1.25; }
.en-tag { font-stretch: 125%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; }
.en-dim { color: var(--en-sand); opacity: 0.8 !important; }
.en-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Top bar */
.en-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px clamp(18px, 4vw, 56px);
}
.en-page .en-top { padding-top: 14px; padding-bottom: 14px; background: rgba(23, 17, 13, 0.84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.en-top__brand { display: flex; align-items: center; gap: 14px; }
.en-top__moon {
  width: 34px; height: 34px; background: var(--en-bone);
  -webkit-mask: url(brand/moon.png) center / contain no-repeat; mask: url(brand/moon.png) center / contain no-repeat;
}
.en-top__name {
  width: 190px; height: 14px; background: var(--en-bone);
  -webkit-mask: url(brand/wordmark.png) left center / contain no-repeat; mask: url(brand/wordmark.png) left center / contain no-repeat;
}
.en-top nav { display: flex; gap: clamp(14px, 2.4vw, 36px); }
.en-top nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.en-top nav a:hover, .en-top nav a[aria-current] { border-bottom-color: var(--en-ochre); }

/* Home: one screen */
.en-home {
  height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--en-bar) 5vw var(--en-bar);
  text-align: center;
}
.en-home__line { color: var(--en-bone); animation: en-on 1.2s 0.3s both; }
.en-play {
  margin-top: clamp(20px, 3.4vh, 36px);
  display: inline-flex; align-items: center; gap: 14px;
  font: inherit; font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 15px;
  color: var(--en-espresso); background: var(--en-ochre);
  border: 0; border-radius: 0; padding: 18px 30px 18px 24px; cursor: pointer;
  animation: en-on 1.2s 0.6s both;
}
.en-play:hover { background: var(--en-bone); }
.en-play:focus-visible, .en a:focus-visible, .enp button:focus-visible { outline: 2px solid var(--en-bone); outline-offset: 3px; }
.en-play::before {
  content: ''; width: 0; height: 0;
  border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.en-play.is-playing::before { width: 4px; height: 16px; border: 0; border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: content-box; padding-left: 4px; }
.en-home__now { margin-top: 14px !important; min-height: 1.5em; animation: en-on 1.2s 0.6s both; }
@keyframes en-on { from { opacity: 0; } to { opacity: 1; } }

/* Inner pages */
.en-page {
  min-height: 100vh;
  padding: clamp(110px, 15vh, 160px) clamp(18px, 4vw, 56px) calc(var(--en-bar) + 40px);
  background: linear-gradient(to bottom, rgba(23, 17, 13, 0.42), rgba(23, 17, 13, 0.80) 620px);
}
.en-wrap { max-width: 1240px; margin: 0 auto; }
.en-title { font-size: clamp(20px, 2.4vw, 30px); }
.en-intro { margin-top: 14px !important; max-width: 46em; color: var(--en-sand); }
.en-block { margin-top: clamp(64px, 9vw, 128px); }
.en-block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--en-line); }
.en-more { border-bottom: 2px solid var(--en-ochre); padding-bottom: 3px; }
.en-more:hover { color: var(--en-ochre); }

.en-reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.en-reveal.is-in { opacity: 1; transform: none; }

/* Releases: the latest one, large */
.en-feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-top: clamp(40px, 6vw, 80px); }
.en-feature__cover { display: block; transition: transform 0.35s ease-out; will-change: transform; }
.en-feature__cover img { box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85); }
.en-feature__title { font-size: clamp(18px, 2.2vw, 28px); margin-top: 12px !important; }
.en-feature__by { margin-top: 10px !important; }
.en-feature .en-more { display: inline-block; margin-top: 28px; }

/* Releases: the rest, as rows */
.en-row {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) 80px 230px 24px; gap: 0 clamp(16px, 2.4vw, 32px); align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--en-line);
  transition: background 0.25s, padding 0.25s;
}
.en-row:hover { background: rgba(239, 229, 211, 0.06); padding-left: 14px; padding-right: 14px; }
.en-row__title { font-size: 13px; line-height: 1.4; }
.en-row__artist { color: var(--en-sand); margin-top: 3px; font-size: 11px; }
.en-row__date, .en-row__kind { white-space: nowrap; }
.en-row__arrow { color: var(--en-ochre); font-size: 20px; text-align: right; }

/* Artists: two large panels */
.en-artist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42%); gap: 0 clamp(28px, 5vw, 72px); grid-template-rows: 1fr auto; align-items: end; margin-top: clamp(48px, 7vw, 100px); }
.en-artist__img { grid-column: 2; grid-row: 1 / span 2; }
.en-artist__img img { aspect-ratio: 4 / 5; object-fit: cover; filter: sepia(0.35) saturate(1.05) contrast(1.03); }
.en-artist__name { grid-column: 1; grid-row: 1; align-self: end; font-size: clamp(20px, 2.6vw, 34px); }
.en-artist__body { grid-column: 1; grid-row: 2; padding: 18px 0 8px; max-width: 40em; }
.en-artist--flip { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); }
.en-artist--flip .en-artist__img { grid-column: 1; }
.en-artist--flip .en-artist__name { grid-column: 2; }
.en-artist--flip .en-artist__body { grid-column: 2; }
.en-latest { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.en-latest img { width: 72px; flex: none; }
.en-latest strong { display: block; font-weight: 600; color: var(--en-bone); margin-top: 2px; }
.en-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; }

/* About */
.en-statement { margin-top: clamp(32px, 5vw, 56px) !important; max-width: 52em; font-size: clamp(12px, 1.15vw, 15px); line-height: 1.9; }
.en-figure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 16em); gap: 8px 32px; align-items: end; padding: clamp(18px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--en-line); }
.en-figure__n { white-space: nowrap; font-size: clamp(24px, 3.6vw, 48px); color: var(--en-ochre); }
.en-figure__t { padding-bottom: 0.5em; }

/* Contact */
.en-contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(36px, 6vw, 96px); margin-top: clamp(40px, 6vw, 80px); }
.en-contact p + p { margin-top: 1em; }
.en-mail { margin-top: 28px; }
.en-mail__btn { margin-top: 0; animation: none; font-size: 12px; padding: 15px 22px; }
.en-mail__btn::before { display: none; }
.en-mail__addr { display: inline-block; font-size: clamp(13px, 1.5vw, 17px); text-transform: none; letter-spacing: 0.06em; color: var(--en-ochre); border-bottom: 2px solid var(--en-ochre); padding-bottom: 4px; }
.en-linkrow { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--en-line); }
.en-linkrow:first-of-type { border-top: 1px solid var(--en-line); }
.en-linkrow:hover span:last-child { color: var(--en-ochre); }

.en-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; margin-top: clamp(80px, 11vw, 150px); padding-top: 20px; border-top: 1px solid var(--en-line); }
.en-foot div { display: flex; gap: 28px; }
.en-foot a:hover { color: var(--en-ochre); }

/* Player */
.enp {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: var(--en-bar);
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 0 16px; align-items: center;
  padding: 0 clamp(14px, 4vw, 56px);
  background: rgba(23, 17, 13, 0.84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--en-bone); font-family: var(--en-font); -webkit-font-smoothing: antialiased;
}
.enp__seek {
  -webkit-appearance: none; appearance: none; position: absolute; left: 0; right: 0; top: -9px; width: 100%; height: 20px; margin: 0;
  background: transparent; cursor: pointer; --p: 0%;
}
.enp__seek::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(to right, var(--en-ochre) var(--p), rgba(239, 229, 211, 0.25) var(--p)); }
.enp__seek::-moz-range-track { height: 3px; background: rgba(239, 229, 211, 0.25); }
.enp__seek::-moz-range-progress { height: 3px; background: var(--en-ochre); }
.enp__seek::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; margin-top: -5px; background: var(--en-bone); border-radius: 50%; opacity: 0; transition: opacity 0.2s; }
.enp__seek::-moz-range-thumb { width: 13px; height: 13px; border: 0; background: var(--en-bone); border-radius: 50%; }
.enp:hover .enp__seek::-webkit-slider-thumb, .enp__seek:focus-visible::-webkit-slider-thumb { opacity: 1; }
.enp__cover { width: 44px; height: 44px; display: block; object-fit: cover; background: var(--en-bark); }
.enp__meta { min-width: 0; }
.enp__title { font-stretch: 125%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enp__artist { font-stretch: 125%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 10.5px; color: var(--en-sand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enp__time { font-stretch: 125%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 10.5px; color: var(--en-sand); font-variant-numeric: tabular-nums; }
.enp__ctl { display: flex; align-items: center; gap: 4px; }
.enp__btn { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--en-bone); cursor: pointer; display: grid; place-items: center; }
.enp__btn svg { width: 22px; height: 22px; fill: currentColor; }
.enp__btn:hover { color: var(--en-ochre); }
.enp__btn--main { background: var(--en-ochre); color: var(--en-espresso); }
.enp__btn--main:hover { background: var(--en-bone); color: var(--en-espresso); }

@media (max-width: 860px) {
  .en { font-size: 11px; letter-spacing: 0.1em; }
  .en-top { padding-top: 16px; padding-bottom: 16px; }
  .en-top__name { display: none; }
  .en-top nav { gap: 16px; }
  .en-tag, .en-caps { letter-spacing: 0.1em; }
  .en-tag { font-size: 11px; }
  .en-feature, .en-contact { grid-template-columns: 1fr; }
  .en-row { grid-template-columns: 64px minmax(0, 1fr) 16px; }
  .en-row__kind { display: none; }
  .en-row__date { grid-column: 2; grid-row: 2; margin-top: 4px; }
  .en-row__arrow { grid-column: 3; grid-row: 1 / span 2; }
  .en-row > a, .en-row__img { grid-row: 1 / span 2; }
  .en-artist, .en-artist--flip { grid-template-columns: 1fr; grid-template-rows: none; }
  .en-artist__img, .en-artist--flip .en-artist__img { grid-column: 1; grid-row: 1; }
  .en-artist__name, .en-artist--flip .en-artist__name { grid-column: 1; grid-row: 2; margin-top: 22px !important; }
  .en-artist__body, .en-artist--flip .en-artist__body { grid-column: 1; grid-row: 3; padding-top: 10px; }
  .en-figure { grid-template-columns: 1fr; }
  .en-figure__t { padding-bottom: 0; }
  .enp__time { display: none; }
  .enp { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 0 12px; }
}
@media (max-width: 420px) {
  .en-top nav { gap: 12px; }
  .en, .en-tag, .en-caps { letter-spacing: 0.06em; }
  .en-tag { font-size: 10.5px; }
  .enp__btn[data-prev] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .en-home__line, .en-play, .en-home__now { animation: none; }
  .en-reveal { opacity: 1; transform: none; transition: none; }
  .en-row, .en-feature__cover { transition: none; }
}
