/* joshpostema.com: sky, island, and sea. Palette sampled from art/Background.png. */

@font-face {
  font-family: "Tiny5";
  src: url("/fonts/tiny5-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font-pixel: "Tiny5", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --sky-top: #4aa8f0;
  --sky-bottom: #d3eafc;
  --cloud: #ffffff;
  --cloud-opacity: 0.92;
  --art-filter: none;

  --sea-1: #058ee6;
  --sea-2: #0a6cc4;
  --sea-3: #08427d;
  --sea-4: #052a50;
  --seabed: #041d38;

  --ink: #0b2a4a;
  --ink-soft: #3f5d7d;
  --paper: #f6fbff;
  --paper-2: #e2f0fc;
  --paper-3: #cfe5f9;
  --line: #0b2a4a;
  --shadow: rgba(2, 18, 38, 0.45);
  --link: #0a5fb0;
  --sun: #ffd35c;
  --sun-hover: #ffe08a;
  --sun-ink: #2b2100;
  --on-deep: #f0f8ff;
  --on-deep-soft: #b9d9f5;
  --player-bg: #0b2a4a;
  --player-ink: #f0f8ff;
  --player-track: #2d5179;

  --px: 4px;
  --s: 1; /* pixel-art scale */
  --gutter: clamp(16px, 4vw, 32px);
}

@media (min-width: 600px) {
  :root { --s: 2; }
}
@media (min-width: 1800px) {
  :root { --s: 3; }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --sky-top: #060f22;
    --sky-bottom: #3d5675;
    --cloud: #8ea6c8;
    --cloud-opacity: 0.28;
    --art-filter: brightness(0.46) saturate(1.25);

    --sea-1: #024a7f;
    --sea-2: #043867;
    --sea-3: #04264a;
    --sea-4: #031a35;
    --seabed: #020f22;

    --ink: #e4f0fc;
    --ink-soft: #a7bfd8;
    --paper: #0e2440;
    --paper-2: #16314f;
    --paper-3: #1f3d60;
    --line: #000913;
    --shadow: rgba(0, 0, 0, 0.55);
    --link: #8cc8ff;
    --on-deep: #e8f3ff;
    --on-deep-soft: #9fbfdf;
    --player-bg: #061529;
    --player-track: #23415f;
  }
}

/* ---------------------------------------------------------------- base */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--seabed);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--seabed);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  text-wrap: balance;
  font-family: var(--font-pixel);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--sun);
  color: var(--sun-ink);
  font-family: var(--font-pixel);
}
.skip-link:focus { top: 1rem; }

.icon {
  width: 0.8em;
  height: 0.8em;
  flex: none;
  fill: currentColor;
}

/* Pixel border: four flat shadows leave the corners notched, plus a drop shadow. */
.pixel-box,
.card,
.sheet,
.panel,
.btn,
.shot,
.album-cover,
.player-bar {
  box-shadow:
    0 calc(-1 * var(--px)) 0 0 var(--line),
    0 var(--px) 0 0 var(--line),
    calc(-1 * var(--px)) 0 0 0 var(--line),
    var(--px) 0 0 0 var(--line),
    calc(2 * var(--px)) calc(3 * var(--px)) 0 0 var(--shadow);
}

/* ---------------------------------------------------------------- scene */

.scene {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    to bottom,
    var(--sky-top) 0%,
    var(--sky-bottom) calc(100% - 132px * var(--s))
  );
  padding-bottom: calc(108px * var(--s));
}

.scene--island { padding-bottom: calc(148px * var(--s)); }

.scene-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Inner pages drop the art a little so the haze sits below the page title. */
  background: url("/img/scene/sea.png") center calc(100% + 34px * var(--s)) / calc(512px * var(--s)) calc(256px * var(--s)) repeat-x;
  image-rendering: pixelated;
  filter: var(--art-filter);
}

.scene--island .scene-art {
  background:
    url("/img/scene/island.png") center bottom / calc(512px * var(--s)) calc(256px * var(--s)) no-repeat,
    url("/img/scene/sea.png") center bottom / calc(512px * var(--s)) calc(256px * var(--s)) repeat-x;
}

@media (prefers-color-scheme: dark) {
  .scene::before {
    content: "";
    position: absolute;
    inset: 0 0 40% 0;
    z-index: -2;
    background-image:
      radial-gradient(2px 2px at 12% 18%, #fff 50%, transparent 51%),
      radial-gradient(2px 2px at 27% 42%, #cfe3ff 50%, transparent 51%),
      radial-gradient(2px 2px at 41% 12%, #fff 50%, transparent 51%),
      radial-gradient(2px 2px at 58% 30%, #fff 50%, transparent 51%),
      radial-gradient(2px 2px at 69% 9%, #cfe3ff 50%, transparent 51%),
      radial-gradient(2px 2px at 83% 36%, #fff 50%, transparent 51%),
      radial-gradient(2px 2px at 92% 16%, #fff 50%, transparent 51%),
      radial-gradient(2px 2px at 6% 52%, #cfe3ff 50%, transparent 51%),
      radial-gradient(2px 2px at 35% 64%, #fff 50%, transparent 51%),
      radial-gradient(2px 2px at 77% 58%, #cfe3ff 50%, transparent 51%);
    opacity: 0.8;
  }
}

.clouds {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.cloud {
  position: absolute;
  left: 0;
  fill: var(--cloud);
  opacity: var(--cloud-opacity);
  animation: drift linear infinite;
}
.cloud--1 { top: 9%; width: calc(48px * var(--s) + 24px); animation-duration: 140s; animation-delay: -40s; }
.cloud--2 { top: 30%; width: calc(32px * var(--s) + 16px); animation-duration: 190s; animation-delay: -120s; }
.cloud--3 { top: 19%; width: calc(40px * var(--s) + 20px); animation-duration: 230s; animation-delay: -10s; }

@keyframes drift {
  from { transform: translateX(-160px); }
  to { transform: translateX(calc(100vw + 40px)); }
}

.site-header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  max-width: 1160px;
  margin-inline: auto;
  padding: 1.1rem var(--gutter) 0;
}

.wordmark {
  font-family: var(--font-pixel);
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-header ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav a {
  display: block;
  padding: 0.35rem 0.7rem;
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}
.site-header nav a:hover { background: rgba(255, 255, 255, 0.35); }
.site-header nav a[aria-current] {
  background: var(--ink);
  color: var(--sky-bottom);
}
@media (prefers-color-scheme: dark) {
  .site-header nav a:hover { background: rgba(255, 255, 255, 0.1); }
  .site-header nav a[aria-current] { color: var(--sky-top); }
}

@media (max-width: 599px) {
  .site-header { justify-content: center; text-align: center; }
  .site-header ul { justify-content: center; }
  .site-header ul { gap: 0; }
  .site-header nav a { padding: 0.3rem 0.45rem; font-size: 0.95rem; }
}

.scene-content { position: relative; }

.hero {
  padding-block: clamp(2.5rem, 7vw, 5rem) 1rem;
  text-align: center;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 6.5rem);
  color: var(--ink);
  text-shadow: 0 4px 0 rgba(255, 255, 255, 0.45);
}
@media (prefers-color-scheme: dark) {
  .hero-title { text-shadow: 0 4px 0 rgba(0, 0, 0, 0.45); }
}

.hero-tagline {
  max-width: 36rem;
  margin: 1rem auto 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  text-wrap: balance;
}

.page-head {
  padding-block: clamp(1.75rem, 5vw, 3.25rem) 0.5rem;
  max-width: 46rem;
}

.crumbs {
  margin: 0 0 0.5rem;
  font-family: var(--font-pixel);
  font-size: 1.05rem;
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a::before { content: "‹ "; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.page-title {
  font-size: clamp(2.4rem, 7vw, 4.25rem);
  color: var(--ink);
}

.page-intro {
  text-wrap: pretty;
  margin: 0.75rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------- deep water */

.deep {
  flex: 1;
  padding-bottom: 5rem;
  background: linear-gradient(
    to bottom,
    var(--sea-1) 0,
    var(--sea-2) 14rem,
    var(--sea-3) 48rem,
    var(--sea-4) 100%
  );
  color: var(--on-deep);
}

.section { margin-top: clamp(2.5rem, 6vw, 4rem); }
.section:first-child { margin-top: clamp(2rem, 5vw, 3rem); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  color: var(--on-deep);
  text-shadow: 0 3px 0 rgba(0, 20, 50, 0.35);
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  color: var(--on-deep-soft);
  text-decoration: none;
}
.more:hover { color: var(--on-deep); text-decoration: underline; }

.empty { color: var(--on-deep-soft); }

/* ---------------------------------------------------------------- cards */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 2.25rem 2rem;
  padding: var(--px);
}

.grid--albums { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  transition: transform 0.12s steps(2);
}
.card:hover { transform: translate(-3px, -3px); }
.card:focus-within { outline: 3px solid var(--sun); outline-offset: 8px; }
.card:focus-within a:focus-visible { outline: none; }

.card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-3);
  border-bottom: var(--px) solid var(--line);
}
.card-media--contain { background: #23262b; }
.card--album .card-media { aspect-ratio: 1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }

.card-body { padding: 1rem 1.15rem 1.3rem; }

.card-title { font-size: 1.6rem; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card-title a { text-decoration: underline; text-decoration-thickness: 3px; }

.card-summary { margin: 0.6rem 0 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.15rem 0.55rem;
  background: var(--sun);
  color: var(--sun-ink);
  font-family: var(--font-pixel);
  font-size: 0.95rem;
}

.card--wide { grid-column: 1 / -1; }
@media (min-width: 820px) {
  .card--wide { display: grid; grid-template-columns: 1.55fr 1fr; }
  .card--wide .card-media { border-bottom: 0; border-right: var(--px) solid var(--line); aspect-ratio: auto; min-height: 100%; }
  .card--wide .card-body { padding: 2rem 2rem 2.25rem; align-self: center; }
  .card--wide .card-title { font-size: 2.6rem; }
  .card--wide .card-summary { font-size: 1.1rem; }
}
.section--featured { padding: var(--px); }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
}
.meta li {
  padding: 0.05rem 0.5rem;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 500;
}

.grid--four { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

.kicker {
  margin: 0 0 0.3rem;
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  color: var(--link);
}

.browse { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }

.music-split { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .music-split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; align-items: start; }
}
.music-intro h2 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  color: var(--on-deep);
  text-shadow: 0 3px 0 rgba(0, 20, 50, 0.35);
}
.music-intro p { margin: 0.9rem 0 0; color: var(--on-deep-soft); max-width: 34ch; }
.music-intro .music-quote {
  font-family: var(--font-pixel);
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--on-deep);
}
.music-intro .social { margin-top: 1.25rem; }
.music-intro .more { margin-top: 1.25rem; }
.social--deep a { color: var(--on-deep); }
.music-split .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

/* ---------------------------------------------------------------- buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.1rem;
  margin-top: 1.5rem;
  padding: var(--px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.1s steps(2);
}
.btn:hover { background: var(--paper-2); transform: translate(-2px, -2px); }
.btn:active { transform: translate(2px, 2px); }
.btn--primary { background: var(--sun); color: var(--sun-ink); }
.btn--primary:hover { background: var(--sun-hover); }

/* ---------------------------------------------------------------- sheets and prose */

.sheet,
.panel {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--paper);
  color: var(--ink);
}
.sheet { max-width: 920px; }
.sheet--narrow { max-width: 720px; }
.sheet > .meta { margin-top: 0; }

.panel--about { max-width: 820px; }
.panel--about h2 { font-size: clamp(1.8rem, 4vw, 2.3rem); margin-bottom: 0.75rem; }
.panel--slim { padding-block: 1.25rem; max-width: 720px; }
.panel--slim p { margin: 0 0 0.75rem; }

.prose { max-width: 66ch; }
.prose p { margin: 1rem 0 0; }
.prose > :first-child { margin-top: 1.25rem; }
.sheet .prose > :first-child { margin-top: 1.5rem; }
.sheet .prose--lead > :first-child { margin-top: 0; font-size: 1.25rem; }
.prose h2 { font-size: 1.8rem; margin-top: 2rem; }
.prose h3 { font-size: 1.4rem; margin-top: 1.75rem; }
.prose hr {
  height: var(--px);
  margin: 2rem 0;
  border: 0;
  background: repeating-linear-gradient(90deg, var(--paper-3) 0 12px, transparent 12px 20px);
}
.prose blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: var(--px) solid var(--paper-3);
  color: var(--ink-soft);
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-pixel);
  font-size: 1.1rem;
}

/* ---------------------------------------------------------------- gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(var(--thumbs, 3), 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  padding: var(--px);
}
.gallery .shot:first-child { grid-column: 1 / -1; }
.gallery--single { grid-template-columns: 1fr; }

.shot {
  display: block;
  background: var(--paper-3);
  cursor: zoom-in;
  overflow: hidden;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.shot:hover img { transform: scale(1.03); }
.gallery:not(.gallery--single) .shot:not(:first-child) { aspect-ratio: 16 / 9; }

@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

.lightbox {
  width: min(96vw, 1600px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(2, 12, 26, 0.88); }
.lightbox figure { margin: 0; }
.lightbox img {
  max-height: calc(94vh - 4rem);
  width: auto;
  margin-inline: auto;
  box-shadow: 0 0 0 var(--px) #000;
}
.lightbox figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.95rem;
  color: #d6e8fa;
}
.lightbox-btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--sun);
  color: var(--sun-ink);
  cursor: pointer;
}
.lightbox-btn .icon { width: 20px; height: 20px; }
.lightbox-btn--close { top: 16px; right: 16px; }
.lightbox-btn--prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox-btn--next { right: 16px; top: 50%; translate: 0 -50%; }
.lightbox-btn[hidden] { display: none; }

/* ---------------------------------------------------------------- album + player */

.sheet--album { max-width: 980px; }

.album-top {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 760px) {
  .album-top { grid-template-columns: minmax(220px, 320px) 1fr; gap: 2.5rem; align-items: start; }
}
.album-cover { margin: var(--px); align-self: start; max-width: 360px; }
.album-info > .meta { margin-top: 0; }
.album-info .prose > :first-child { margin-top: 1.25rem; }

.player { margin-top: 2.5rem; }

.player-bar {
  position: sticky;
  bottom: 12px;
  z-index: 5;
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
  gap: 0.5rem;
  margin: var(--px);
  padding: 0.65rem 0.9rem 0.65rem 0.65rem;
  background: var(--player-bg);
  color: var(--player-ink);
}

.pbtn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.pbtn:hover { background: rgba(255, 255, 255, 0.12); }
.pbtn .icon { width: 18px; height: 18px; }
.pbtn--play { width: 52px; height: 52px; background: var(--sun); color: var(--sun-ink); }
.pbtn--play:hover { background: var(--sun-hover); }
.pbtn--play .icon { width: 22px; height: 22px; }
.icon-pause,
.player[data-playing] .icon-play { display: none; }
.player[data-playing] .icon-pause { display: block; }

.now { min-width: 0; padding-left: 0.5rem; }
.now-title {
  margin: 0;
  font-family: var(--font-pixel);
  font-size: 1.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seek { display: flex; align-items: center; gap: 0.6rem; }
.time { font-size: 0.8rem; font-variant-numeric: tabular-nums; color: #b9d3ee; min-width: 2.6rem; }
.time:last-child { text-align: right; }

.seek input[type="range"] {
  --p: 0%;
  flex: 1;
  min-width: 0;
  height: 22px;
  margin: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.seek input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: linear-gradient(var(--sun), var(--sun)) 0 / var(--p) 100% no-repeat, var(--player-track);
}
.seek input[type="range"]::-moz-range-track {
  height: 6px;
  background: linear-gradient(var(--sun), var(--sun)) 0 / var(--p) 100% no-repeat, var(--player-track);
}
.seek input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -4px;
  border: 0;
  border-radius: 0;
  background: #fff;
}
.seek input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 0;
  background: #fff;
}

@media (max-width: 480px) {
  .player-bar { grid-template-columns: auto auto auto; justify-content: center; padding: 0.65rem; }
  .now { grid-column: 1 / -1; order: -1; padding: 0 0.25rem 0.25rem; }
}

.tracks {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.track {
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.75rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px dashed var(--paper-2);
}
.track:hover { background: var(--paper-2); }
.track-num { font-family: var(--font-pixel); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.track-time { font-size: 0.9rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.track.is-current { background: var(--paper-2); font-weight: 600; }
.track.is-current .track-num { color: var(--link); }
.player[data-playing] .track.is-current .track-num {
  color: transparent;
  background:
    linear-gradient(var(--link), var(--link)) 0 100% / 4px 60% no-repeat,
    linear-gradient(var(--link), var(--link)) 7px 100% / 4px 100% no-repeat,
    linear-gradient(var(--link), var(--link)) 14px 100% / 4px 40% no-repeat;
  animation: eq 0.9s steps(3) infinite;
  width: 18px;
  height: 14px;
  overflow: hidden;
}
@keyframes eq {
  0% { background-size: 4px 60%, 4px 100%, 4px 40%; }
  33% { background-size: 4px 100%, 4px 40%, 4px 80%; }
  66% { background-size: 4px 30%, 4px 70%, 4px 100%; }
  100% { background-size: 4px 60%, 4px 100%, 4px 40%; }
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--seabed);
  color: var(--on-deep-soft);
  padding-block: 2.5rem 3rem;
  border-top: var(--px) solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.footer-name { margin: 0; font-family: var(--font-pixel); font-size: 1.5rem; color: var(--on-deep); }
.footer-note { margin: 0.35rem 0 0; font-size: 0.9rem; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}
.site-footer a { color: var(--on-deep-soft); }
.site-footer a:hover { color: var(--on-deep); }
.footer-nav a { font-family: var(--font-pixel); font-size: 1.05rem; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.social--footer a { font-size: 1rem; }

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  .cloud { animation: none; }
  .cloud--1 { transform: translateX(12vw); }
  .cloud--2 { transform: translateX(64vw); }
  .cloud--3 { transform: translateX(82vw); }
  .card,
  .btn,
  .shot img { transition: none; }
  .card:hover,
  .btn:hover,
  .btn:active,
  .shot:hover img { transform: none; }
  .player[data-playing] .track.is-current .track-num { animation: none; }
}
