/* Public site, direction D (docs/design/D-Start.html and D-Release.html). */
:root {
  color-scheme: dark;
  --ground: #0b0a0c;
  --ground-deep: #08070a;
  --surface: #110f14;
  --surface-raised: #16141a;
  --line: #24212a;
  --line-strong: #2a2730;
  --line-control: #4a4553;
  --text: #e9e6ee;
  --text-soft: #d6d2dc;
  --muted: #b7b2c0;
  --muted-2: #a39fae;
  --accent: #5b9cf0;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: Spectral, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ground);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--text);
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

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

main:focus {
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 30;
  padding: 8px 16px;
  background: var(--surface-raised);
}

.skip:focus {
  top: 8px;
}

/* Without JavaScript the controls of the player do nothing, so they do not show. */
.js-only {
  visibility: hidden;
}

.js .js-only {
  visibility: visible;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Small type */
.label {
  margin: 0;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.label-accent {
  color: var(--accent);
}

.label-heading {
  font-weight: 500;
}

.label-link {
  font-family: var(--mono);
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

.lead {
  margin: 0;
  max-width: 540px;
  color: var(--text-soft);
}

.prose {
  max-width: 68ch;
  color: var(--text-soft);
}

.prose p {
  margin: 0 0 1em;
}

/* Titles */
.claim,
.title-page,
.title-section,
.title-sub,
.title-featured,
.title-release,
.card-name,
.strip-title,
.lyrics {
  font-family: var(--display);
  font-style: italic;
}

.claim {
  margin: 0;
  max-width: 520px;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.15;
}

.title-page {
  margin: 0 0 40px;
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 600;
  line-height: 0.95;
}

.title-section {
  margin: 0;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  line-height: 1;
}

.title-sub {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
}

.title-featured {
  margin: 0;
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 600;
  line-height: 0.95;
  overflow-wrap: break-word;
}

.title-release {
  margin: 0;
  font-size: clamp(60px, 9vw, 112px);
  font-weight: 600;
  line-height: 0.88;
  overflow-wrap: break-word;
}

.title-release-long {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.95;
}

/* Controls */
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  background: transparent;
  border: 1px solid var(--line-control);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  border-color: var(--text);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ground);
  font-weight: 500;
}

.btn-primary:hover {
  border-color: #fff;
  color: var(--ground);
}

.btn-small {
  min-height: 44px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid var(--line-control);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  cursor: pointer;
}

.btn-small:hover {
  border-color: var(--text);
}

.round {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-control);
  border-radius: 50%;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

.round:hover {
  border-color: var(--text);
}

.round:disabled {
  opacity: 0.4;
  cursor: default;
}

.round-accent {
  border-color: var(--accent);
  color: var(--accent);
}

.round-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent);
  border: 0;
  border-radius: 50%;
  color: var(--ground);
  cursor: pointer;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 8px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 5;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand span {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a {
  color: #c4bfcc;
  text-decoration: none;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a[aria-current="page"] {
  color: var(--accent);
}

.lang-switch a {
  color: var(--muted-2);
}

.external-icon {
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.35em;
}

.lang-current {
  color: var(--text);
}

.sep {
  color: #6f6a79;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  min-height: 720px;
  overflow: hidden;
}

.hero-image {
  position: relative;
  flex: 1 1 480px;
  min-width: 0;
  min-height: 520px;
}

.hero-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 10, 12, 0) 55%, var(--ground) 100%),
    linear-gradient(0deg, var(--ground) 0%, rgba(11, 10, 12, 0) 30%);
}

.fog {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 45%;
  background: radial-gradient(ellipse at 50% 100%, rgba(200, 205, 220, 0.16), rgba(200, 205, 220, 0) 70%);
  animation: fog 38s ease-in-out infinite;
}

@keyframes fog {
  0%,
  100% {
    transform: translateX(-4%);
  }

  50% {
    transform: translateX(4%);
  }
}

.hero-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 1 520px;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  min-width: 0;
  padding: 64px 0 64px 40px;
}

.hero-logo {
  width: 100%;
  max-width: 420px;
  height: auto;
}

.hero-copy {
  margin: 0;
  max-width: 500px;
}

/* The rift */
.riss {
  position: absolute;
  width: 2px;
  background: var(--accent);
  box-shadow: 0 0 24px 2px var(--accent);
  transform: rotate(14deg);
  pointer-events: none;
}

.riss-hero {
  left: 42%;
  top: -10%;
  height: 120%;
  opacity: 0.85;
  animation: riss 6s linear infinite;
}

.riss-release {
  right: 7%;
  top: -20%;
  height: 140%;
  opacity: 0.8;
}

@keyframes riss {
  0%,
  48%,
  52%,
  100% {
    opacity: 0.85;
  }

  50% {
    opacity: 0.3;
  }
}

/* Announcement */
.strip {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.strip-title {
  font-size: 26px;
  font-weight: 600;
}

.strip-link {
  margin-left: auto;
}

/* Covers */
.cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
}

.cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 13px;
}

/* Featured release */
.featured {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-top: 88px;
  padding-bottom: 48px;
}

.featured > .cover {
  flex: 0 1 440px;
  min-width: 0;
}

.featured-text {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* Discography */
.discography {
  padding-top: 48px;
  padding-bottom: 72px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 40px 28px;
}

.release-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
}

.card-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.card-number {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 13px;
}

.card-name {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.1;
}

.card-meta {
  padding-left: 34px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

/* Origin */
.origin {
  padding-top: 24px;
  padding-bottom: 104px;
}

.origin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.origin-text {
  flex: 1 1 380px;
  min-width: 0;
}

.origin-text .title-section {
  margin-bottom: 16px;
}

.origin-text .lead {
  margin-bottom: 20px;
}

.roles {
  display: grid;
  flex: 1 1 380px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
}

.roles dt,
.roles dd {
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.roles dt:nth-last-of-type(1),
.roles dd:nth-last-of-type(1) {
  border-bottom: 0;
}

.roles dt {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
}

/* Inner pages */
.page-top {
  padding-top: 64px;
  padding-bottom: 104px;
}

.page-narrow {
  max-width: 860px;
}

.about-origin {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.about-origin .title-section {
  margin-bottom: 20px;
}

.about-origin .roles {
  margin-top: 32px;
}

.contact-mail {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin: 32px 0;
  font-size: 19px;
}

.profile-links {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.profile-links li {
  padding: 4px 0;
}

/* Release page */
.release-head {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.release-head > .wrap {
  position: relative;
  padding-top: 32px;
  padding-bottom: 64px;
}

.breadcrumb {
  margin-bottom: 36px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--muted-2);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
}

.release-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 56px;
}

.release-cover {
  flex: 0 1 480px;
  min-width: 0;
}

.release-cover .cover {
  box-shadow: 0 0 140px -30px var(--accent);
}

.release-intro {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 1 400px;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.release-intro .actions {
  margin-top: 10px;
}

.stream-note {
  margin: 10px 0 0;
  color: var(--accent);
  font-family: var(--display);
  font-size: 28px;
  font-style: italic;
  font-weight: 500;
}

.release-body {
  padding-top: 64px;
  padding-bottom: 72px;
}

.tracklist {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.tracklist li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.track-number {
  flex: none;
  width: 32px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 13px;
  text-align: right;
}

.track-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 19px;
}

.track-title audio {
  display: block;
  width: 100%;
  max-width: 420px;
  margin-top: 8px;
}

.track-time {
  flex: none;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 13px;
}

.release-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
  margin-top: 72px;
}

.release-story {
  flex: 2 1 420px;
  min-width: 0;
}

.release-credits {
  flex: 1 1 320px;
  min-width: 0;
}

.credits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0 0;
  border-top: 1px solid var(--line);
}

.credits dt,
.credits dd {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.credits dt {
  color: var(--muted);
}

.lyrics-card {
  margin-top: 56px;
  padding: 40px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.lyrics-card .label-heading {
  margin-bottom: 20px;
}

.lyrics {
  font-size: 26px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.lyrics p {
  margin: 0 0 1em;
  break-inside: avoid;
}

.lyrics p:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .lyrics {
    column-count: 2;
    column-gap: 64px;
    font-size: 22px;
  }
}

.lyrics-card details {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.lyrics-card summary {
  color: var(--text-soft);
  font-size: 19px;
  cursor: pointer;
}

.lyrics-card details .lyrics {
  margin-top: 16px;
}

.release-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 26px;
  font-style: italic;
}

.release-nav a {
  text-decoration: none;
}

.release-nav-all {
  color: var(--muted);
}

/* News */
.title-news {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 64px);
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  overflow-wrap: break-word;
}

/* A list, not a card grid: posts with and without a picture keep one rhythm. */
.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.news-list > li {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 12px 48px;
  max-width: 1040px;
}

.news-card > * {
  grid-column: 1;
}

.news-card.has-image {
  grid-template-columns: minmax(0, 1fr) minmax(200px, 320px);
  grid-template-rows: auto auto 1fr;
}

.news-card .news-image {
  display: block;
  grid-column: 2;
  grid-row: 1 / span 3;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

.news-card-title {
  margin: 0;
  font-family: var(--display);
  font-size: 30px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.1;
}

.news-card-title a {
  text-decoration: none;
}

.news-card-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.news-card-text {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
}

.home-news {
  padding-top: 24px;
  padding-bottom: 72px;
}

/* The section heading already draws the line above, the next section the one below. */
.home-news .news-list {
  border-top: 0;
}

.home-news .news-list > li:last-child {
  border-bottom: 0;
}

.news-figure {
  margin: 0 0 36px;
}

.news-figure .news-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
}

.news-body {
  font-size: 18px;
}

.news-body a {
  color: var(--text);
}

.news-release {
  margin: 36px 0 0;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 24px;
  font-style: italic;
}

.pager a {
  text-decoration: none;
}

.news-list + .pager {
  margin-top: 8px;
  border-top: 0;
}

.release-news {
  margin-top: 56px;
}

.release-news ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.release-news li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
}

/* Gallery */
.gallery-notice {
  margin: 28px 0 0;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 15px;
}

.gallery-notice p {
  margin: 0;
}

.gallery-notice p + p {
  margin-top: 6px;
  color: var(--muted);
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 48px 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter a {
  color: #c4bfcc;
  text-decoration: none;
}

.filter a:hover {
  color: #fff;
}

.filter a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 40px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wallpaper-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
}

.wallpaper-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
}

.wallpaper-card .card-meta {
  padding-left: 0;
}

.motif-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
}

.motif-preview {
  flex: 1 1 560px;
  min-width: 0;
  margin: 0;
}

.motif-preview.is-portrait {
  flex: 0 1 380px;
}

.motif-preview .wallpaper-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
}

.motif-info {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.motif-info .title-news {
  margin: 0;
}

.motif-info p {
  margin: 0;
}

.downloads {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.download {
  justify-content: space-between;
  width: 100%;
  border-radius: 28px;
}

.download-meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

/* Photo sets. The overview reads like the index of a book: big italic names, one
   thumbnail each. Inside a set the photos keep their own proportions. */
.photo-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr));
  gap: 0 48px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.photo-index > li {
  border-top: 1px solid var(--line);
}

.photo-index-entry {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  text-decoration: none;
}

.photo-index-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.photo-index-name {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 40px);
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  overflow-wrap: break-word;
}

.photo-index-intro {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.photo-index .card-meta,
.photo-set-card .card-meta {
  padding-left: 0;
}

.photo-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 25%;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
}

.photo-index-entry:hover .photo-thumb,
.photo-set-card:hover .photo-thumb,
.photo-link:hover .photo-image {
  border-color: var(--muted-2);
}

.photo-index-entry:hover .photo-index-name {
  color: #fff;
}

.photo-set-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 40px 28px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.photo-set-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
}

.photo-set-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.photo-set-head .label {
  margin-bottom: 12px;
}

.photo-set-head .title-news {
  margin-bottom: 20px;
}

.photo-set-text p {
  margin: 0 0 12px;
  color: var(--text-soft);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  align-items: start;
  gap: 32px 24px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

.photo-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}

.photo-image {
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
}

.photo-number {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 12px;
}

.photo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
}

.photo-figure {
  flex: 0 1 auto;
  max-width: min(720px, 100%);
  margin: 0;
}

/* The whole picture fits on the first screen below header and breadcrumb. */
.photo-figure .photo-image {
  width: auto;
  max-width: 100%;
  max-height: max(480px, calc(100vh - 240px));
}

.photo-info {
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.photo-info .title-news {
  margin: 0;
}

.photo-count {
  margin: 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 24px;
  font-style: italic;
}

.photo-info .gallery-notice {
  margin-top: 8px;
}

/* Menu entry "Obsidian Lace", a link to obsidian-lace.art: discreet on purpose.
   Position: SiteView::LACE_NAV_AFTER. */
.main-nav a.nav-lace {
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 18px;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
}

.main-nav a.nav-lace:hover {
  color: #fff;
}


/* Footer */
.site-footer {
  background: var(--ground-deep);
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 130px;
  color: var(--muted);
  font-size: 15px;
}

.footer-row p {
  margin: 0;
  max-width: 560px;
}

/* Small age label icon below the AI notice, links to the parental control software */
.footer-notes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.age-label {
  display: inline-block;
}

.age-label img {
  display: block;
  width: auto;
  height: 24px;
}

.footer-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
}

/* Player */
.player {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  max-width: 1100px;
  margin: 0 auto;
}

.player-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 8px 12px 8px 8px;
  background: #141217;
  border: 1px solid #2f2b36;
  border-radius: 999px;
}

.round-main {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border: 0;
  color: var(--ground);
}

.round-main .icon-pause,
.player.is-playing .round-main .icon-play {
  display: none;
}

.player.is-playing .round-main .icon-pause {
  display: block;
}

.player-info {
  flex: 1 1 240px;
  min-width: 0;
}

.player-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.player-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-time {
  flex: none;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 12px;
}

/* A thin line as in the design; the invisible part of the control stays easy to hit. */
.player-seek {
  display: block;
  width: 100%;
  height: 20px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.player-seek::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(90deg, var(--accent) var(--progress, 0%), #2f2b36 var(--progress, 0%));
}

.player-seek::-moz-range-track {
  height: 2px;
  background: #2f2b36;
}

.player-seek::-moz-range-progress {
  height: 2px;
  background: var(--accent);
}

.player-seek::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  margin-top: -5px;
  background: var(--accent);
  border: 0;
  border-radius: 50%;
  appearance: none;
}

.player-seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border: 0;
  border-radius: 50%;
}

.player-message {
  margin: 0 0 8px;
  padding: 8px 20px;
  background: #141217;
  border: 1px solid #2f2b36;
  border-radius: 999px;
  font-size: 14px;
}

.queue-panel {
  max-height: min(60vh, 460px);
  margin-bottom: 8px;
  padding: 16px 20px;
  overflow-y: auto;
  background: #141217;
  border: 1px solid #2f2b36;
  border-radius: 24px;
}

.queue-panel:focus {
  outline: none;
}

.queue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.queue-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 26px;
  font-style: italic;
  font-weight: 600;
}

#queue-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#queue-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.queue-name {
  flex: 1 1 200px;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.queue-name small {
  display: block;
  color: var(--muted-2);
  font-size: 13px;
}

#queue-list li[aria-current="true"] .queue-name {
  color: var(--accent);
}

.queue-actions {
  display: flex;
  gap: 6px;
}

.queue-actions .round {
  width: 44px;
  height: 44px;
  font-size: 15px;
}

/* Small screens */
@media (max-width: 1048px) {
  .hero {
    min-height: 0;
  }

  /* Stays in the picture, so it does not cross the text below. */
  .riss-hero {
    left: 70%;
    top: -40px;
    height: 560px;
  }

  .hero-text {
    padding: 40px 0 56px;
  }
}

@media (max-width: 760px) {
  .riss-release {
    right: 12px;
    transform: rotate(3deg);
    opacity: 0.5;
  }

  .release-row,
  .featured {
    gap: 28px;
  }

  .featured {
    padding-top: 56px;
  }

  .lyrics-card {
    padding: 28px 20px;
  }

  .lyrics {
    font-size: 23px;
  }

  .title-sub {
    font-size: 34px;
  }

  .tracklist li {
    gap: 10px;
  }

  .track-number {
    width: 22px;
  }

  .track-title {
    font-size: 17px;
  }

  .release-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 32px 16px;
  }

  .card-name {
    font-size: 22px;
  }

  .card-title {
    gap: 8px;
  }

  .card-meta {
    padding-left: 0;
  }

  .player {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .player-bar {
    gap: 6px 8px;
    padding: 8px;
    border-radius: 28px;
  }

  .player-info {
    order: 3;
    flex-basis: 100%;
    padding: 0 8px;
  }

  .player-bar .btn-small {
    margin-left: auto;
  }

  .footer-row {
    padding-bottom: 170px;
  }
}

@media (max-width: 760px) {
  .news-card-title {
    font-size: 26px;
  }

  .news-card.has-image {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-card .news-image {
    grid-column: 1;
    grid-row: auto;
  }

  .motif-row {
    gap: 28px;
  }

  .motif-preview.is-portrait {
    flex-basis: 100%;
  }

  .photo-index-entry {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
  }

  .photo-set-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }

  .photo-row {
    gap: 28px;
  }

  .photo-figure .photo-image {
    max-height: none;
  }

  .pager {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fog,
  .riss-hero {
    animation: none;
  }
}
