:root {
  color-scheme: dark;
  --rps-black: #050505;
  --rps-surface: #101012;
  --rps-surface-raised: #17131a;
  --rps-line: #2a252d;
  --rps-text: #f7f3fa;
  --rps-muted: #b9b2bd;
  --rps-violet: #b52cff;
  --rps-magenta: #ed3cff;
  --rps-focus: #e885ff;
  --rps-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --rps-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rps-shell: 1240px;
  --rps-content: 760px;
  --rps-gutter: clamp(1rem, 4vw, 2rem);
  --rps-header-height: 4.5rem;
  --rps-player-safe-mobile: 0px;
  --rps-player-safe-desktop: 0px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: #5d276e var(--rps-black);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--rps-black);
  color: var(--rps-text);
  font-family: var(--rps-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.rps-has-player {
  padding-bottom: calc(var(--rps-player-safe-mobile) + env(safe-area-inset-bottom));
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
  vertical-align: middle;
}

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--rps-violet), transparent 40%);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #e5a0ff;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

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

::selection {
  background: var(--rps-violet);
  color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.65em;
  color: var(--rps-text);
  font-family: var(--rps-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0 0 1.25em;
}

button,
.button,
input[type="submit"] {
  border: 1px solid var(--rps-violet);
  border-radius: 0.35rem;
}

.button,
input[type="submit"] {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  background: var(--rps-violet);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
input[type="submit"]:hover {
  border-color: var(--rps-magenta);
  background: var(--rps-magenta);
  color: #140217;
}

.button--outline {
  background: transparent;
  color: #e5a0ff;
}

.wide-shell,
.content-shell {
  width: min(100% - (2 * var(--rps-gutter)), var(--rps-shell));
  margin-inline: auto;
}

.content-shell {
  max-width: var(--rps-content);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100000;
  display: block;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  border-radius: 0.25rem;
  background: #fff;
  color: #111;
  font-weight: 700;
}

.skip-link {
  position: fixed !important;
}

.site {
  min-height: 100vh;
}

.site-header {
  position: relative;
  z-index: 100;
  min-height: var(--rps-header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.96);
}

.rps-sticky-header .site-header {
  position: sticky;
  top: 0;
}

.admin-bar.rps-sticky-header .site-header {
  top: 46px;
}

.admin-bar .primary-navigation {
  top: calc(var(--rps-header-height) + 46px);
}

.site-header__inner {
  display: flex;
  min-height: var(--rps-header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.site-brand:hover {
  color: #fff;
}

.site-brand__logo {
  display: block;
  width: auto;
  max-width: min(47vw, 210px);
  height: 2.9rem;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: inline-flex;
  min-width: 3rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem;
  border-color: var(--rps-line);
  background: transparent;
  color: var(--rps-text);
}

.nav-toggle svg,
.header-search svg,
.search-submit svg,
.social-links svg,
.text-link svg,
.article-meta svg,
.share-actions svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links .icon-fill,
.share-actions .icon-fill {
  fill: currentColor;
  stroke: none;
}

.nav-toggle__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: inline-flex;
}

.primary-navigation {
  position: fixed;
  inset: var(--rps-header-height) 0 0;
  display: flex;
  overflow-y: auto;
  flex-direction: column;
  padding: 1.5rem var(--rps-gutter) max(2rem, env(safe-area-inset-bottom));
  background: var(--rps-black);
  opacity: 0;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 200ms ease, opacity 200ms ease, visibility 200ms;
}

.nav-open .primary-navigation {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.no-js .nav-toggle {
  display: none;
}

.no-js .primary-navigation {
  position: static;
  display: flex;
  padding: 1rem 0;
  opacity: 1;
  transform: none;
  visibility: visible;
}

.primary-menu,
.primary-menu ul,
.social-links,
.footer-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu > li {
  border-bottom: 1px solid var(--rps-line);
}

.primary-menu a {
  display: block;
  padding: 0.9rem 0;
  font-family: var(--rps-display);
  font-size: clamp(1.4rem, 8vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-menu .sub-menu {
  padding: 0 0 0.75rem 1rem;
}

.primary-menu .sub-menu a {
  padding: 0.55rem 0;
  color: var(--rps-muted);
  font-family: var(--rps-sans);
  font-size: 0.95rem;
  font-weight: 650;
  text-transform: none;
}

.primary-navigation__utilities {
  display: grid;
  gap: 1.25rem;
  margin-top: auto;
  padding-top: 2rem;
}

.header-search summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--rps-text);
  font-size: 0.8rem;
  font-weight: 750;
  list-style: none;
  text-transform: uppercase;
}

.header-search summary::-webkit-details-marker {
  display: none;
}

.header-search__panel {
  margin-top: 0.75rem;
}

.search-form {
  display: flex;
  width: 100%;
  max-width: 34rem;
  border: 1px solid #48404d;
  border-radius: 0.35rem;
  background: #0b0b0c;
}

.search-field {
  min-width: 0;
  flex: 1;
  padding: 0.75rem 0.9rem;
  border: 0;
  background: transparent;
  color: var(--rps-text);
}

.search-field::placeholder {
  color: #817985;
}

.search-submit {
  display: inline-grid;
  width: 3rem;
  border: 0;
  background: transparent;
  color: var(--rps-text);
  place-items: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.social-links a {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--rps-line);
  border-radius: 50%;
  color: var(--rps-muted);
  place-items: center;
  transition: border-color 150ms ease, color 150ms ease;
}

.social-links a:hover {
  border-color: var(--rps-violet);
  color: #e6a4ff;
}

.language-switcher {
  color: var(--rps-muted);
  font-size: 0.82rem;
}

.site-main:not(.site-main--home) {
  padding-block: clamp(3rem, 8vw, 7rem);
}

.eyebrow,
.archive-header__eyebrow,
.content-label {
  display: inline-flex;
  color: #e27aff;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.content-label {
  width: fit-content;
  padding: 0.22rem 0.38rem;
  border-radius: 0.15rem;
  background: #6d178b;
  color: #fff;
  font-size: 0.62rem;
  letter-spacing: 0.055em;
}

.content-label:hover {
  background: var(--rps-violet);
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e5a0ff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  margin-bottom: 0.25rem;
  font-size: clamp(1.55rem, 5vw, 2.2rem);
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.section-heading h2::after {
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 0.55rem;
  background: var(--rps-magenta);
  content: "";
}

.section-heading p {
  max-width: 38rem;
  margin: 0.6rem 0 0;
  color: var(--rps-muted);
  font-size: 0.9rem;
}

.section-heading__link {
  flex: 0 0 auto;
}

.content-card {
  min-width: 0;
}

.content-card__image,
.content-card__placeholder {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0.3rem;
  background: #1d1721;
}

.content-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.content-card:hover .content-card__image img {
  transform: scale(1.025);
}

.content-card__body {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding-top: 0.85rem;
}

.content-card__title {
  margin: 0;
  font-family: var(--rps-sans);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.content-card__title a {
  text-decoration: none;
}

.content-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--rps-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.content-card__date {
  color: #8f8793;
  font-size: 0.72rem;
}

.archive-header {
  max-width: 54rem;
  margin-bottom: clamp(2.25rem, 7vw, 4.5rem);
}

.archive-header h1,
.page-entry__header h1 {
  margin-top: 0.25rem;
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  text-transform: uppercase;
}

.archive-header__description,
.archive-header > p {
  max-width: 42rem;
  color: var(--rps-muted);
  font-size: 1.08rem;
}

.archive-header .search-form {
  margin-top: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem 1.25rem;
}

.navigation.pagination {
  margin-top: 3rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.page-numbers {
  display: grid;
  min-width: 2.6rem;
  min-height: 2.6rem;
  padding: 0.4rem;
  border: 1px solid var(--rps-line);
  border-radius: 0.25rem;
  text-decoration: none;
  place-items: center;
}

.page-numbers.current,
.page-numbers:hover {
  border-color: var(--rps-violet);
  background: #25102d;
  color: #fff;
}

.page-entry__header {
  margin-bottom: 2rem;
}

.page-entry__image {
  width: min(100vw - (2 * var(--rps-gutter)), var(--rps-shell));
  margin: 0 50% 2.5rem;
  transform: translateX(-50%);
}

.page-entry__image img {
  width: 100%;
  max-height: 44rem;
  object-fit: cover;
}

.entry-content {
  color: #e8e2eb;
}

.entry-content > * {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2.15em;
  margin-bottom: 0.65em;
}

.entry-content h2 {
  font-size: clamp(1.8rem, 5vw, 2.75rem);
}

.entry-content h3 {
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.entry-content a {
  color: #dd79ff;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.35rem;
}

.entry-content li + li {
  margin-top: 0.45rem;
}

.entry-content blockquote {
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--rps-magenta);
  margin-inline: 0;
  color: #fff;
  font-size: 1.2rem;
}

.entry-content .is-style-power-quote,
.rps-editorial-callout {
  padding: clamp(1.1rem, 4vw, 1.75rem);
  border: 1px solid #4b2a54;
  border-left: 3px solid var(--rps-magenta);
  border-radius: 0.3rem;
  background: #100b13;
}

.entry-content pre,
.entry-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.entry-content pre {
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid var(--rps-line);
  border-radius: 0.25rem;
  background: var(--rps-surface);
}

.entry-content table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 0.65rem;
  border: 1px solid var(--rps-line);
  text-align: left;
}

.entry-content iframe {
  width: 100%;
}

.wp-caption,
.entry-content figure {
  max-width: 100%;
}

.wp-caption-text,
.entry-content figcaption {
  margin-top: 0.5rem;
  color: var(--rps-muted);
  font-size: 0.78rem;
}

.gallery-caption {
  color: var(--rps-muted);
}

.sticky {
  position: relative;
}

.bypostauthor > .comment-body {
  border-left: 2px solid var(--rps-violet);
  padding-left: 1rem;
}

.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.aligncenter {
  display: block;
  margin-inline: auto;
}

.error-view {
  text-align: center;
}

.error-view__code {
  color: #481653;
  font-family: var(--rps-display);
  font-size: clamp(7rem, 35vw, 18rem);
  font-weight: 900;
  line-height: 0.8;
}

.error-view h1 {
  margin-top: 1rem;
  font-size: clamp(2.2rem, 8vw, 4.5rem);
}

.error-view p {
  color: var(--rps-muted);
}

.error-view .search-form {
  margin: 2rem auto;
}

.no-results {
  padding-block: 2rem;
}

.comments-area {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rps-line);
}

.comment-list {
  padding: 0;
  list-style: none;
}

.comment-list .children {
  padding-left: 1.25rem;
  list-style: none;
}

.comment-body {
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--rps-line);
}

.comment-meta {
  font-size: 0.82rem;
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #49404d;
  border-radius: 0.25rem;
  background: #0c0c0d;
  color: var(--rps-text);
}

.site-footer {
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid var(--rps-line);
  background: #030303;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

.site-footer__brand {
  max-width: 22rem;
}

.site-brand--footer .site-brand__logo {
  height: 3.6rem;
}

.site-footer__brand > p,
.footer-newsletter p {
  margin-top: 1rem;
  color: var(--rps-muted);
  font-size: 0.84rem;
}

.footer-nav h2,
.footer-newsletter h2 {
  margin-bottom: 0.85rem;
  font-family: var(--rps-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-menu {
  display: grid;
  gap: 0.35rem;
}

.footer-menu a {
  color: var(--rps-muted);
  font-size: 0.84rem;
  text-decoration: none;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid #1a181b;
  color: #837b86;
  font-size: 0.7rem;
}

.site-footer__bottom p {
  margin: 0;
}

.rps-player-integration {
  position: relative;
  z-index: 500;
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 783px) {
  .admin-bar.rps-sticky-header .site-header {
    top: 32px;
  }

  .admin-bar .primary-navigation {
    top: calc(var(--rps-header-height) + 32px);
  }
}

@media (min-width: 900px) {
  body.rps-has-player {
    padding-bottom: var(--rps-player-safe-desktop);
  }

  .nav-toggle {
    display: none;
  }

  .primary-navigation {
    position: static;
    inset: auto;
    display: flex;
    overflow: visible;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    background: transparent;
    opacity: 1;
    transform: none;
    visibility: visible;
    top: auto;
  }

  .primary-menu {
    display: flex;
    align-items: center;
    gap: clamp(0.7rem, 1.35vw, 1.35rem);
  }

  .primary-menu > li {
    position: relative;
    border: 0;
  }

  .primary-menu a {
    padding: 1.7rem 0;
    font-family: var(--rps-sans);
    font-size: 0.69rem;
    font-weight: 750;
    letter-spacing: 0.04em;
  }

  .primary-menu .sub-menu {
    position: absolute;
    top: calc(100% - 0.5rem);
    left: -1rem;
    display: none;
    width: 13rem;
    padding: 0.65rem 1rem;
    border: 1px solid var(--rps-line);
    background: #09090a;
  }

  .primary-menu li:hover > .sub-menu,
  .primary-menu li:focus-within > .sub-menu {
    display: block;
  }

  .primary-menu .sub-menu a {
    padding: 0.55rem 0;
    font-size: 0.78rem;
  }

  .primary-navigation__utilities {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0 clamp(0.7rem, 1.5vw, 1.5rem);
    padding: 0 0 0 clamp(0.7rem, 1.5vw, 1.5rem);
    border-left: 1px solid var(--rps-line);
  }

  .header-search {
    position: relative;
  }

  .header-search summary span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .header-search__panel {
    position: absolute;
    top: calc(100% + 1.5rem);
    right: 0;
    width: min(26rem, 70vw);
    padding: 1rem;
    border: 1px solid var(--rps-line);
    background: #09090a;
  }

  .social-links--header {
    flex-wrap: nowrap;
  }

  .social-links--header a {
    width: 2rem;
    height: 2rem;
    border: 0;
  }

  .social-links--header svg {
    width: 1rem;
    height: 1rem;
  }

  .site-footer__grid {
    grid-template-columns: minmax(15rem, 1.6fr) repeat(3, minmax(8rem, 0.75fr));
  }

  .site-footer__grid:has(.footer-newsletter) {
    grid-template-columns: minmax(15rem, 1.5fr) repeat(4, minmax(8rem, 0.75fr));
  }
}

@media (min-width: 1100px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
