@font-face {
  font-family: "Figtree";
  src: url("assets/figtree.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300 900;
}

:root {
  --ink: #f4f2eb;
  --muted: rgba(244, 242, 235, 0.55);
  --line: rgba(244, 242, 235, 0.16);
  --acid: #c657d9;
  --purple: #c657d9;
  --black: #000;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--ink);
  font-family: "Figtree", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.page {
  isolation: isolate;
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-mark {
  color: var(--ink);
  text-decoration: none;
}

.site-mark span {
  color: var(--acid);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
}

.site-nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-toggle__icon {
  position: relative;
  width: 18px;
  height: 10px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.menu-toggle__icon::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  border-top: 1px solid currentColor;
  transition: transform 180ms ease;
}

/* Soft centre lift so the black reads as depth rather than a dead flat field. */
.page__glow {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: radial-gradient(
    62% 52% at 50% 38%,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.025) 42%,
    transparent 72%
  );
}

.page__grain {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 5vh, 52px);
  text-align: center;
}

.logo {
  width: 100%;
  margin: 0;
  animation: fade-up 1s cubic-bezier(.2, .7, .2, 1) both;
}

.logo img {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 0 auto;
}

.rule {
  width: min(100%, 300px);
  height: 1px;
  margin: 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line) 22%, var(--line) 78%, transparent);
  animation: fade-up 1s 0.2s cubic-bezier(.2, .7, .2, 1) both;
}

.signup {
  width: min(100%, 370px);
  animation: fade-up 1s 0.35s cubic-bezier(.2, .7, .2, 1) both;
}

.signup__title {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.signup__copy {
  margin: 10px 0 30px;
  color: var(--muted);
  font-size: 15px;
}

.signup__field {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(244, 242, 235, 0.38);
  transition: border-color 200ms ease;
}

.signup__field:focus-within {
  border-color: var(--purple);
}

.signup__field input {
  width: 100%;
  min-width: 0;
  padding: 12px 8px 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  text-align: left;
}

.signup__field input::placeholder {
  color: rgba(244, 242, 235, 0.35);
}

.signup__field button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 10px 0 10px 18px;
  border: 0;
  background: transparent;
  color: var(--purple);
  cursor: pointer;
  transition: color 180ms ease;
}

.signup__field button:hover,
.signup__field button:focus-visible {
  color: #dc8aea;
}

.signup__field button svg,
.socials svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.signup__field button:hover svg,
.signup__field button:focus-visible svg,
.socials a:hover svg,
.socials a:focus-visible svg {
  transform: translate(3px, -3px);
}

.honeypot {
  position: absolute;
  left: -5000px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.funding {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 200ms ease;
}

.funding:hover,
.funding:focus-visible {
  opacity: 1;
}

.funding__label {
  max-width: 190px;
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.55;
  text-align: right;
}

.funding img {
  display: block;
  width: clamp(54px, 4.6vw, 70px);
  height: auto;
}

.site-footer p {
  margin: 0;
}

.site-footer p span {
  margin: 0 6px;
}

.site-footer p .no-gap {
  margin: 0;
}

.lang-switch {
  display: inline-flex;
  gap: 12px;
}

.lang-switch button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: color 180ms ease;
}

.lang-switch button:hover,
.lang-switch button:focus-visible {
  color: var(--ink);
}

.lang-switch button[aria-pressed="true"] {
  color: var(--purple);
}

.lang-switch--legal {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer a {
  text-underline-offset: 4px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
}

.socials {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.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;
}

.legal-page {
  grid-template-rows: auto 1fr;
}

.legal-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 52%, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.58) 72%, rgba(0, 0, 0, 0.72)),
    url("assets/teaser-still.jpg") center / cover no-repeat;
  background:
    radial-gradient(ellipse 70% 60% at 50% 52%, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.58) 72%, rgba(0, 0, 0, 0.72)),
    image-set(url("assets/teaser-still.webp") type("image/webp"), url("assets/teaser-still.jpg") type("image/jpeg")) center / cover no-repeat;
}

.legal {
  align-self: center;
  justify-self: center;
  width: min(100%, 520px);
  animation: fade-up 0.8s cubic-bezier(.2, .7, .2, 1) both;
}

.legal__brand {
  margin: 0 0 44px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal h1 {
  margin: 0 0 28px;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 300;
  letter-spacing: -0.04em;
}

.legal address {
  margin-bottom: 18px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.65;
}

.legal:first-child {
  grid-row: 1 / -1;
}

.legal__label {
  color: var(--ink);
}

.legal__link {
  display: block;
  width: fit-content;
  margin-top: 8px;
}

.legal--wide {
  width: min(100%, 680px);
  padding-block: 40px;
}

.legal--wide h2 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal--wide p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.legal--wide p a {
  color: var(--ink);
  text-underline-offset: 4px;
}

.legal--wide .legal__stand {
  margin-top: 30px;
  font-size: 11px;
}

[data-lang-only] {
  display: none;
}

html[lang="de"] [data-lang-only="de"],
html[lang="en"] [data-lang-only="en"] {
  display: block;
}

.signup__legal {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.error-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.legal > a {
  text-underline-offset: 4px;
}

.legal__back {
  display: block;
  width: fit-content;
  margin-top: 64px;
  color: var(--purple);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.content-page {
  overflow: visible;
}

.content {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 140px) 0;
}

.content-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(52px, 8vw, 100px);
}

.kicker {
  margin: 0 0 18px;
  color: var(--acid);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.content-heading h1 {
  margin: 0;
  font-size: clamp(58px, 11vw, 150px);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.065em;
}

.content-heading__copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
}

.featured-video {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 0.7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090a09;
  border: 1px solid var(--line);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.featured-video__meta {
  padding-bottom: 4px;
}

.featured-video__meta h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.video-date {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-archive {
  margin-top: clamp(80px, 12vw, 160px);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 30px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 42px);
}

.media-card {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.media-card__image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 18px;
  background: #0c0d0c;
  border: 1px solid var(--line);
}

.media-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter 220ms ease, opacity 220ms ease, transform 350ms ease;
}

.media-card__placeholder {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.media-card__play {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.media-card__play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--ink);
}

.media-card:hover img,
.media-card:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.025);
}

.media-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 300;
}

.empty-state {
  padding: clamp(50px, 9vw, 110px) 24px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.empty-state strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 300;
}

.shop-stage {
  display: grid;
  min-height: min(620px, 65vh);
  place-items: center;
  text-align: center;
}

.shop-stage__inner {
  width: min(100%, 720px);
}

.shop-stage h1 {
  margin: 0 0 28px;
  font-size: clamp(76px, 16vw, 210px);
  font-weight: 300;
  line-height: 0.78;
  letter-spacing: -0.07em;
}

.shop-stage p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 21px);
}

.shop-stage--credits h1 {
  font-size: clamp(56px, 10vw, 120px);
}

.credits {
  display: grid;
  gap: 26px;
  margin: 30px 0 0;
}

.credits dt {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.credits dd {
  margin: 0;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 300;
}

.credits a {
  text-underline-offset: 5px;
}

.admin-page {
  min-height: 100svh;
  padding: clamp(24px, 5vw, 72px);
}

.admin-shell {
  width: min(100%, 960px);
  margin: 0 auto;
}

.admin-header,
.admin-actions,
.admin-video {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-header {
  margin-bottom: 64px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.admin-header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 300;
}

.admin-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
}

.admin-form--login {
  grid-template-columns: 1fr;
  width: min(100%, 440px);
  margin: 16vh auto 0;
}

.admin-field {
  display: grid;
  gap: 9px;
}

.admin-field--wide {
  grid-column: 1 / -1;
}

.admin-field label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-field input {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(244, 242, 235, 0.35);
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.admin-field select {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(244, 242, 235, 0.35);
  border-radius: 0;
  outline: 0;
  background: var(--black);
  color: var(--ink);
}

.admin-field input:focus {
  border-color: var(--acid);
}

.admin-field select:focus {
  border-color: var(--acid);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.button--primary {
  border-color: var(--acid);
  color: var(--acid);
}

.button--danger {
  color: #ff8b8b;
}

.admin-message {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.admin-message--error {
  border-color: rgba(255, 139, 139, 0.55);
  color: #ffb3b3;
  white-space: pre-line;
}

.admin-message--success {
  border-color: rgba(198, 87, 217, 0.42);
  color: var(--acid);
}

.admin-list {
  display: grid;
  gap: 1px;
  margin-top: 52px;
  background: var(--line);
  border: 1px solid var(--line);
}

.admin-video {
  padding: 18px;
  background: var(--black);
}

.admin-video strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 300;
}

.admin-video span {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-body .admin-page {
  padding: 0;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100svh;
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  align-self: start;
  min-height: 100svh;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}

.dashboard-brand {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.dashboard-brand span {
  color: var(--acid);
}

.dashboard-sidebar > div:first-child p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.dashboard-nav {
  display: grid;
  gap: 4px;
  margin-top: 68px;
}

.dashboard-nav a {
  padding: 12px 14px;
  border-left: 1px solid transparent;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.dashboard-nav a:hover,
.dashboard-nav a:focus-visible,
.dashboard-nav a[aria-current="page"] {
  border-color: var(--acid);
  background: rgba(198, 87, 217, 0.05);
  color: var(--ink);
}

.dashboard-sidebar__footer {
  display: grid;
  justify-items: start;
  gap: 18px;
  margin-top: auto;
  color: var(--muted);
  font-size: 11px;
}

.dashboard-sidebar__footer > a {
  color: inherit;
  text-decoration: none;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-pill--local {
  border-color: rgba(198, 87, 217, 0.45);
  color: var(--purple);
}

.dashboard-main {
  width: min(100%, 1280px);
  padding: clamp(28px, 5vw, 72px);
}

.dashboard-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.dashboard-header .kicker,
.dashboard-panel .kicker {
  margin-bottom: 12px;
}

.dashboard-header h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 82px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.dashboard-date {
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 42px;
  border: 1px solid var(--line);
  background: var(--line);
}

.dashboard-stats article {
  display: grid;
  min-height: 190px;
  padding: 24px;
  background: var(--black);
}

.dashboard-stats span,
.dashboard-stats small {
  color: var(--muted);
  font-size: 11px;
}

.dashboard-stats span {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dashboard-stats strong {
  align-self: center;
  font-size: 58px;
  font-weight: 300;
  line-height: 1;
}

.dashboard-stats small {
  align-self: end;
}

.dashboard-panel {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
}

.dashboard-panel + .admin-list {
  margin-top: 28px;
}

.dashboard-panel__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.dashboard-panel__heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 300;
  letter-spacing: -0.035em;
}

.dashboard-panel__heading > span {
  color: var(--muted);
  font-size: 11px;
}

.dashboard-panel .admin-form {
  padding: 0;
  border: 0;
}

.dashboard-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
}

.dashboard-actions-grid a {
  display: grid;
  min-height: 190px;
  padding: 22px;
  background: var(--black);
  color: inherit;
  text-decoration: none;
}

.dashboard-actions-grid span,
.dashboard-actions-grid small {
  color: var(--muted);
  font-size: 11px;
}

.dashboard-actions-grid strong {
  align-self: center;
  font-size: 19px;
  font-weight: 300;
}

.dashboard-actions-grid small {
  align-self: end;
  line-height: 1.5;
}

.dashboard-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.admin-row-actions {
  display: flex;
  gap: 10px;
}

.status-list {
  display: grid;
}

.status-list > div {
  display: grid;
  grid-template-columns: 12px minmax(120px, 1fr) minmax(160px, 1.2fr) auto;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.status-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

.status-list strong {
  font-weight: 300;
}

.status-list code,
.status-list small {
  color: var(--muted);
  font-size: 11px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(198, 87, 217, 0.5);
}

.status-dot--error {
  background: #ff8b8b;
  box-shadow: none;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 540px) {
  .page {
    padding: 22px;
  }

  .stack {
    gap: 32px;
  }

  .logo img {
    width: min(100%, 320px);
  }

  .signup__copy {
    margin-bottom: 24px;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    font-size: 10px;
  }

  .socials {
    gap: 24px;
  }

  .funding {
    flex-direction: column;
    gap: 8px;
  }

  .funding img {
    width: 58px;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    display: grid;
    width: 100%;
    gap: 0;
  }

  .has-menu .menu-toggle {
    display: inline-flex;
  }

  .has-menu .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.96);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .has-menu .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
  }

  .site-nav a::after {
    display: none;
  }

  .content-heading,
  .featured-video {
    grid-template-columns: 1fr;
  }

  .content-heading {
    gap: 32px;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .admin-form {
    grid-template-columns: 1fr;
  }

  .admin-field--wide {
    grid-column: auto;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    min-height: auto;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dashboard-nav {
    grid-template-columns: repeat(4, max-content);
    gap: 0;
    margin-top: 24px;
    overflow-x: auto;
  }

  .dashboard-nav a {
    border-bottom: 1px solid transparent;
    border-left: 0;
  }

  .dashboard-nav a:hover,
  .dashboard-nav a:focus-visible,
  .dashboard-nav a[aria-current="page"] {
    border-bottom-color: var(--acid);
  }

  .dashboard-sidebar__footer {
    display: none;
  }

  .dashboard-main {
    padding: 32px 22px 48px;
  }

  .dashboard-header {
    align-items: start;
  }

  .dashboard-date {
    display: none;
  }

  .dashboard-stats,
  .dashboard-actions-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-stats article,
  .dashboard-actions-grid a {
    min-height: 150px;
  }

  .dashboard-panel__heading {
    align-items: start;
    flex-direction: column;
  }

  .admin-video {
    align-items: start;
    flex-direction: column;
  }

  .status-list > div {
    grid-template-columns: 12px 1fr auto;
  }

  .status-list code {
    display: none;
  }
}

.reel-stack,
#reel-form {
  display: grid;
  gap: 28px;
}

.reel-folder {
  margin-top: 20px;
}

.reel-pick {
  display: grid;
}

.reel-pick__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.reel-pick__row:last-child {
  border-bottom: 1px solid var(--line);
}

.reel-pick__row label {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 14px;
  min-width: 0;
  cursor: pointer;
}

.reel-pick__row input {
  flex: none;
  width: 18px;
  height: 18px;
  accent-color: var(--acid);
}

.reel-pick__row span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.reel-pick__row strong {
  overflow: hidden;
  font-weight: 300;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reel-pick__row small,
.reel-empty,
.reel-card small {
  color: var(--muted);
  font-size: 11px;
}

.admin-field input[type="range"] {
  padding: 8px 0;
  accent-color: var(--acid);
}

.reel-check label {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.reel-check input {
  width: auto;
  accent-color: var(--acid);
}

.reel-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.reel-card {
  display: grid;
  gap: 8px;
  align-content: start;
}

.reel-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  object-fit: contain;
  border: 1px solid var(--line);
}

.reel-card strong {
  overflow: hidden;
  font-weight: 300;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reel-card .admin-row-actions {
  margin-top: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
