/* Fonts are self-hosted (fonts/), licensed under the SIL Open Font License – see fonts/OFL-*.txt */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/barlow-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/barlow-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/barlow-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/barlow-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/barlow-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/barlow-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --text: #232222;
  --muted: #b5b3b3;
  --sans: "Barlow", "DIN", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "Akkurat Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.5; }

/* Header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 35px 0 20px;
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.logo {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  display: flex; flex-direction: column; line-height: 1.1;
}
.tagline {
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0;
  margin-top: 3px;
}
.top nav { display: flex; gap: 31px; }

/* Vertical release index */
.index {
  position: fixed; left: 26px; bottom: 40px; z-index: 10;
  display: flex; flex-direction: column-reverse; gap: 36px;
}
.index a {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--muted);
  transition: color .2s;
}
.index a.active { color: var(--text); }

/* Release screens */
.release, .page {
  position: relative;
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 20px;
}
.meta { position: absolute; top: 92px; left: 32px; }
.cat {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.title { margin-bottom: 8px; }

/* Text screen (Mix delivery list) */
.brief {
  width: min(520px, 100%);
  font-size: 13px;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0.01em;
}
.brief-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 18px;
}
.brief ol { list-style: none; counter-reset: step; }
.brief li {
  counter-increment: step;
  display: grid; grid-template-columns: 32px 1fr;
  padding: 8px 0;
  border-top: 1px solid #ececec;
}
.brief li:last-child { border-bottom: 1px solid #ececec; }
.brief li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  padding-top: 2px;
}

.cover {
  width: min(316px, 70vw);
  height: auto;
  aspect-ratio: 1 / 1;
  image-rendering: pixelated;
}

/* About / contact */
.page { flex-direction: column; align-items: flex-start; justify-content: center; padding-left: 32px; }
.page p { max-width: 360px; line-height: 1.7; margin-bottom: 14px; }
.mail { border-bottom: 1px solid var(--text); }


canvas { display: block; image-rendering: pixelated; }

/* Start page: a row of thumbnails */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.start {
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 100px 24px;
}
.strip {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: clamp(6px, 1vw, 16px);
  width: min(1420px, 100%);
}
.strip a { display: block; }
.strip a:hover { opacity: 1; }
.thumb { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .25s; }
.strip a:hover .thumb, .strip a:focus .thumb { transform: translateY(-6px); }

@media (max-width: 600px) {
  .top { padding: 16px 16px 0 16px; }
  .top nav { gap: 18px; }
  .index { left: 10px; }
  .release { flex-direction: column; align-items: flex-start; padding-left: 40px; padding-right: 16px; }
  .meta { position: static; margin-bottom: 20px; }
  .page { padding-left: 40px; padding-right: 16px; }
  .logo { font-size: 17px; }
  .strip { grid-template-columns: repeat(5, 1fr); }
}
