/* Closest open fonts to the selected design, measured against
   jocee-implementation-kit/reference/selected-design.png. */
@font-face {
  font-family: "League Gothic";
  src: url("/assets/fonts/LeagueGothic-Condensed.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bebas Neue";
  src: url("/assets/fonts/BebasNeue-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/JetBrainsMono.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
:root {
  --acid: #f3ff00;
  --ink: #20062b;
  --pink: #ff28b7;
  --paper: #fffbd6;
  --muted: #d8d58b;
  --line: rgba(243, 255, 0, 0.38);
  --magenta: #b00070;
  --headline: "League Gothic", "Arial Narrow", sans-serif;
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "JetBrains Mono", monospace;
  --gutter: clamp(1rem, 2.3vw, 2.5rem);
  --measure: 74ch;
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--acid);
  font: 400 1rem/1.65 var(--body);
  font-synthesis: none;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 5px;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure,
blockquote,
address {
  margin: 0;
}
address {
  font-style: normal;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  overflow-wrap: break-word;
}
h1,
h2 {
  font-family: var(--headline);
  line-height: 1.02;
  /* A hairline stroke brings League Gothic up to the reference's weight. */
  -webkit-text-stroke: 0.018em currentColor;
}
h1 {
  font-size: clamp(3.75rem, 9vw, 8.5rem);
}
h2 {
  font-size: clamp(2.75rem, 5.6vw, 6rem);
}
h3 {
  font-size: 1.6rem;
}
p + p {
  margin-top: 1.2em;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: 0;
  left: 1rem;
  z-index: 20;
  background: var(--ink);
  padding: 1rem;
  transform: translateY(-110%);
}
.skip-link:focus {
  transform: translateY(0);
}
.filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.shell {
  max-width: 1600px;
  margin-inline: auto;
}
.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.text-link {
  color: var(--pink);
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 1.4;
  display: inline-block;
  min-height: 44px;
  padding-block: 0.45rem;
}
button.text-link {
  background: none;
  border: 0;
  padding-inline: 0;
  cursor: pointer;
  text-decoration: underline;
}
.arrow {
  font-family: var(--body);
  margin-left: 0.4em;
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: var(--ink);
  font-family: var(--display);
  text-transform: uppercase;
  text-decoration: none;
}
.button:hover {
  background: transparent;
  color: var(--acid);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.section-head .text-link {
  flex-shrink: 0;
}
/* The hero is an image layer plus real, selectable text. */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--acid);
  color: var(--ink);
  height: clamp(35rem, 43vw, 44rem);
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.1rem var(--gutter);
  gap: 2rem;
}
.wordmark {
  display: block;
  width: min(46vw, 660px);
  color: var(--ink);
  text-decoration: none;
}
.wordmark svg {
  display: block;
  width: 100%;
  height: auto;
  fill: currentColor;
  overflow: visible;
}

.brand-tag {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  padding-left: 0.35rem;
  margin-top: 0.3rem;
}
.hero-nav {
  width: 20%;
  min-width: 230px;
  padding: 0.1rem 0.2rem;
  background: var(--acid);
}
.hero-nav a {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  text-decoration: none;
  font: 400 clamp(1.35rem, 2.05vw, 2.05rem) / 1.3 var(--display);
  padding: 0.3rem 0;
  min-height: 44px;
  border-bottom: 1px solid rgba(32, 6, 43, 0.5);
  text-transform: uppercase;
}
.hero-nav a:last-child {
  border-bottom: 0;
}
.hero-nav span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.hero-nav .num {
  color: var(--magenta);
  font-size: 0.86em;
}
.hero-nav a:hover span:last-child {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.hero-quote {
  position: absolute;
  top: 49%;
  left: var(--gutter);
  max-width: 27ch;
  background: var(--ink);
  color: var(--acid);
  padding: 0.65rem 0.85rem;
  font-size: clamp(0.95rem, 1.5vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
}
.hero-side {
  position: absolute;
  right: 0;
  bottom: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: var(--acid);
  color: var(--ink);
  padding: 1.3rem 0.45rem;
  font: 400 clamp(1.1rem, 2vw, 1.8rem) / 1.1 var(--display);
}
.intro-strip {
  display: grid;
  grid-template-columns: 1fr 1.55fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem var(--gutter);
  border-bottom: 1px solid var(--line);
}
.intro-strip p {
  max-width: 62ch;
  font-size: 0.9rem;
}
.intro-strip .text-link {
  white-space: nowrap;
}
.memories {
  padding: 1.7rem var(--gutter) 2rem;
}
.memory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.memory {
  text-decoration: none;
  min-width: 0;
}
.memory .photo-frame {
  background: var(--ink);
  overflow: hidden;
}
.duotone {
  filter: url("#jocee-duotone");
}
.mono {
  filter: url("#jocee-mono");
}
.memory img {
  width: 100%;
  aspect-ratio: 2.1;
  object-fit: cover;
  transition: filter 0.2s;
}
.memory:hover img,
.memory:focus-visible img {
  filter: none;
}
.memory figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.25rem;
  font: 400 1.45rem/1.25 var(--display);
  text-transform: uppercase;
}
.memory figcaption small {
  font: 400 0.72rem/1.5 var(--body);
  align-self: center;
}
.hello-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  margin: 0 var(--gutter);
  padding: 1.4rem 0;
}
.hello-strip p {
  font-size: 0.9rem;
}
.hello-strip a {
  white-space: nowrap;
}
.site-footer {
  margin: 0 var(--gutter);
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
}
.site-footer nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-footer .footer-name {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.9rem;
}
/* Interior shell */
.inner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem var(--gutter);
  background: var(--acid);
  color: var(--ink);
}
.inner-brand {
  font: 400 2.5rem/1 var(--display);
  text-decoration: none;
  white-space: nowrap;
}
.inner-brand svg {
  display: block;
  height: 2.3rem;
  width: auto;
  fill: currentColor;
}
.inner-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.inner-nav a {
  font: 400 1.15rem/1.4 var(--display);
  text-transform: uppercase;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}
.inner-nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
}
.inner-nav a:hover {
  text-decoration: underline;
}
.page-intro {
  padding: 3.5rem var(--gutter) 2rem;
}
.page-intro p {
  max-width: var(--measure);
  margin-top: 1.1rem;
  color: var(--paper);
}
.page-intro .kicker {
  color: var(--acid);
  margin: 0 0 0.7rem;
}
.page-intro .back-link {
  margin-bottom: 0.5rem;
}
.content {
  padding: 0 var(--gutter) 3rem;
}
.prose {
  max-width: var(--measure);
  color: var(--paper);
  overflow-wrap: anywhere;
}
.prose h2 {
  color: var(--acid);
  margin: 2rem 0 1rem;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose a {
  color: var(--pink);
}
.prose .text-link {
  margin-top: 1rem;
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr);
  gap: 3rem;
}
.about-layout figure {
  align-self: start;
}
.about-layout figcaption {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}
.contact-address {
  font: 400 clamp(1.5rem, 4vw, 4rem) / 1.4 var(--headline);
  color: var(--pink);
  overflow-wrap: anywhere;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.error-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.toolbar label {
  max-width: 36rem;
  flex: 1;
}
.toolbar .kicker {
  display: block;
  margin-bottom: 0.4rem;
}
input,
textarea {
  display: block;
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--acid);
  border-radius: 0;
  padding: 0.75rem;
  line-height: 1.5;
}
input::placeholder,
textarea::placeholder {
  color: #b8b4b7;
}
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border: 2px solid var(--pink);
}
button {
  border: 1px solid var(--acid);
  border-radius: 0;
  cursor: pointer;
  padding: 0.7rem 1.2rem;
  background: var(--acid);
  color: var(--ink);
  min-height: 44px;
}
.button-secondary {
  background: transparent;
  color: var(--acid);
}
/* Mixes */
.mix-detail {
  border-top: 1px solid var(--line);
  scroll-margin-top: 1rem;
}
.mix-detail:last-of-type {
  border-bottom: 1px solid var(--line);
}
.mix-detail summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 2rem 64px minmax(0, 1fr) auto 1rem;
  gap: 1.2rem;
  align-items: center;
  padding: 1.3rem 0;
}
.mix-detail summary::-webkit-details-marker {
  display: none;
}
.mix-detail .mix-title {
  display: block;
  font: 400 clamp(1.4rem, 2.3vw, 2rem) / 1.2 var(--display);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.mix-detail .genre {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.mix-detail .count {
  font-size: 0.8rem;
}
.mix-detail .toggle::before {
  content: "+";
}
.mix-detail[open] .toggle::before {
  content: "−";
}
.tracklist-content {
  padding: 0 0 1.5rem 5.7rem;
  color: var(--paper);
}
.tracklist {
  columns: 2;
  column-gap: 3rem;
  padding-left: 1.6rem;
  margin: 0 0 1rem;
}
.tracklist li {
  break-inside: avoid;
  margin-bottom: 0.4rem;
  padding-left: 0.3rem;
  overflow-wrap: anywhere;
}
.archive-note {
  margin-top: 1.5rem;
  max-width: var(--measure);
  color: var(--paper);
  font-size: 0.85rem;
}
/* Photo archive */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1rem;
}
.album-card a {
  text-decoration: none;
}
.album-card h2 {
  font-size: 1.45rem;
  margin: 0.65rem 0 0.5rem;
}
.album-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.album-card a:hover img,
.album-card a:focus-visible img {
  filter: none;
}
.album-card p {
  font-size: 0.78rem;
  color: var(--paper);
  line-height: 1.6;
}
.empty-state {
  border-block: 1px solid var(--line);
  padding: 3rem 0;
  color: var(--paper);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.photo-grid a {
  text-decoration: none;
}
.photo-grid figcaption {
  font-size: 0.75rem;
  padding-top: 0.3rem;
}
.viewer {
  max-width: 1000px;
  margin-inline: auto;
}
.viewer img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #14041b;
}
.viewer-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}
.viewer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--pink);
}
.viewer-meta {
  font-size: 0.75rem;
  text-align: center;
  margin-top: 0.8rem;
  overflow-wrap: anywhere;
}
/* Guestbook */
.guest-entry {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  max-width: var(--measure);
}
.guest-entry h2 {
  font-size: 1.6rem;
  overflow-wrap: anywhere;
}
.guest-entry .kicker {
  margin-top: 0.3rem;
  color: var(--muted);
}
.guest-entry .text-link {
  min-height: 0;
  padding-block: 0.2rem;
}
.guest-entry .guest-message {
  color: var(--paper);
  margin-top: 0.7rem;
  overflow-wrap: anywhere;
}
.guest-form {
  max-width: 760px;
  margin-bottom: 1.5rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.guest-form label {
  display: block;
  margin-bottom: 1rem;
}
.guest-form label input,
.guest-form label textarea {
  margin-top: 0.35rem;
}
.guest-form .help {
  font-size: 0.8rem;
  color: var(--paper);
  margin: 0.5rem 0 1rem;
}
.guest-form .help a {
  color: var(--pink);
}
.field-error {
  display: block;
  color: var(--pink);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}
.pow-status {
  font-size: 0.8rem;
  color: var(--paper);
  margin: 0.25rem 0 0.75rem;
}
.pow-status.is-done {
  color: var(--acid);
}
.pow-status + .field-error {
  margin: -0.5rem 0 1rem;
}
/* Honeypot: out of sight for people, still filled in by form-stuffing bots. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.error-summary,
.form-notice {
  border: 2px solid var(--pink);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  max-width: 760px;
  color: var(--paper);
}
.error-summary h2,
.form-notice h2 {
  font-size: 1.6rem;
  color: var(--acid);
}
.error-summary ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}
.error-summary a,
.form-notice a {
  color: var(--pink);
}
.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: var(--measure);
}
.link-list li {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.link-list a {
  font: 400 2rem var(--headline);
  color: var(--pink);
}
.link-list p {
  color: var(--paper);
  font-size: 0.8rem;
}
@media (min-width: 1600px) {
  .hero {
    height: 690px;
  }
  .hero-quote {
    top: 50%;
  }
}
@media (max-width: 1000px) {
  .intro-strip {
    grid-template-columns: 1fr 1.6fr;
    gap: 1rem;
  }
  .intro-strip > .text-link {
    grid-column: 2;
  }
  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inner-nav {
    gap: 0.8rem;
  }
  .hero-quote {
    top: 54%;
    font-size: 1rem;
  }
  .hero-nav {
    min-width: 210px;
  }
  .hero {
    height: 560px;
  }
  .wordmark {
    width: 50vw;
  }
  .memory figcaption {
    flex-direction: column;
  }
  .memory figcaption small {
    align-self: start;
  }
}
@media (max-width: 720px) {
  body {
    font-size: 0.9rem;
  }
  .hero {
    height: auto;
    overflow: visible;
  }
  .hero-art {
    position: relative;
    display: block;
    height: 280px;
    z-index: 0;
  }
  .hero-art img {
    object-position: 58% 60%;
  }
  .hero-header {
    position: relative;
    display: block;
    padding: 1rem var(--gutter);
    background: var(--acid);
  }
  .wordmark {
    width: min(100%, 560px);
  }
  .wordmark svg {
    max-height: 200px;
  }
  .brand-tag {
    font-size: 0.65rem;
    letter-spacing: 0.17em;
  }
  .hero-nav {
    width: 100%;
    display: grid;
    /* Two columns, or one when enlarged text no longer fits. */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10em), 1fr));
    gap: 0 1rem;
    margin-top: 1.2rem;
    padding: 0;
    min-width: 0;
  }
  .hero-nav a {
    font-size: 1.6rem;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(32, 6, 43, 0.5);
  }
  .hero-nav a:last-child {
    border-bottom: 1px solid rgba(32, 6, 43, 0.5);
  }
  .hero-quote {
    position: relative;
    top: auto;
    left: auto;
    max-width: none;
    padding: 1rem var(--gutter);
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .hero-side {
    position: static;
    writing-mode: horizontal-tb;
    transform: none;
    padding: 0.6rem var(--gutter);
    font-size: 1.1rem;
    letter-spacing: 0.04em;
  }
  .intro-strip {
    display: block;
    padding: 1.5rem var(--gutter);
  }
  .intro-strip p {
    margin-top: 1rem;
  }
  .intro-strip .text-link {
    margin-top: 0.5rem;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }
  .memory-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .memory img {
    aspect-ratio: 1.8;
  }
  .memory figcaption {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hello-strip {
    display: block;
  }
  .hello-strip a {
    margin-top: 0.5rem;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-footer nav {
    gap: 0.9rem;
  }
  .inner-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
  .inner-nav {
    gap: 0 1rem;
  }
  .inner-nav a {
    font-size: 1rem;
  }
  .page-intro {
    padding-top: 2rem;
  }
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .about-layout figure {
    max-width: 403px;
  }
  .tracklist {
    columns: 1;
  }
  .tracklist-content {
    padding-left: 1rem;
  }
  .mix-detail summary {
    grid-template-columns: 1.5rem 48px minmax(0, 1fr) 1rem;
    gap: 0.65rem;
  }
  .mix-detail .count {
    grid-column: 3;
    grid-row: 2;
  }
  .mix-detail .toggle {
    grid-column: 4;
    grid-row: 1;
  }
  .mix-detail .genre {
    font-size: 0.65rem;
  }
  .album-grid {
    grid-template-columns: 1fr;
  }
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 0.5rem;
  }
  .toolbar label {
    max-width: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .viewer-nav {
    flex-wrap: wrap;
  }
  .viewer-nav .counter {
    order: -1;
    width: 100%;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
@media (forced-colors: active) {
  .duotone,
  .mono {
    filter: none;
  }
  .hero-quote {
    border: 1px solid CanvasText;
  }
  .hero-nav a {
    border-color: CanvasText;
  }
}
