.resources-page {
  --resource-sticky-offset: 126px;
  background: var(--paper);
}

.resources-page main {
  overflow: clip;
}

.resources-page h1,
.resources-page h2,
.resources-page h3,
.resources-page h4,
.resources-page p {
  margin-top: 0;
}

.resources-page h1,
.resources-page h2,
.resources-page h3,
.resources-page h4 {
  letter-spacing: 0;
}

.resources-page [id] {
  scroll-margin-top: var(--resource-sticky-offset);
}

.resources-page .language {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 899px) {
  .resources-page .language {
    gap: 0.2rem;
    padding: 0 0.35rem;
  }

  .resources-page .language span:last-child {
    display: none;
  }
}

.resource-hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 116px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
}

.resource-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 2rem 1.25rem 4.5rem;
}

.resource-hero-copy > .pixel {
  margin-bottom: 1.2rem;
}

.resource-hero h1 {
  max-width: 12ch;
  margin-bottom: 1.4rem;
  font-size: 3.4rem;
  line-height: 0.86;
  text-transform: uppercase;
}

.resource-hero-intro {
  max-width: 42rem;
  margin-bottom: 0;
  font-size: 1.12rem;
  line-height: 1.35;
}

.resource-hero-actions {
  display: grid;
  gap: 0.65rem;
  max-width: 36rem;
  margin-top: 1.75rem;
}

.resource-hero-actions .text-button {
  width: 100%;
  margin-top: 0;
}

.resource-hero-system {
  position: relative;
  display: grid;
  min-height: 20rem;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  isolation: isolate;
}

.resource-hero-system::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(251, 250, 245, 0.1), transparent 54%),
    linear-gradient(135deg, rgba(47, 126, 247, 0.16), transparent 56%);
  opacity: 0.82;
  animation: resource-wave-glow 6.6s ease-in-out infinite;
}

.resource-wave-mesh {
  position: absolute;
  inset: -8%;
  z-index: 1;
  width: 116%;
  height: 116%;
  opacity: 0.76;
  transform-origin: 50% 50%;
  animation: resource-mesh-breathe 5.8s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}

.resource-wave-lines {
  fill: none;
  stroke: rgba(251, 250, 245, 0.34);
  stroke-linecap: round;
  stroke-width: 1.05;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
}

.resource-wave-rows {
  animation: resource-wave-rows 7.4s ease-in-out infinite;
}

.resource-wave-columns {
  opacity: 0.86;
  animation: resource-wave-columns 8.6s ease-in-out infinite;
}

.resource-wave-lines use:nth-child(3n) {
  stroke-opacity: 0.72;
}

.resource-orbit {
  position: absolute;
  z-index: 2;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.resource-orbit::before,
.resource-orbit::after {
  content: "";
  position: absolute;
  inset: 15%;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.resource-orbit::after {
  inset: 32%;
}

.resource-orbit-outer {
  width: 17rem;
  aspect-ratio: 1;
  animation: resource-orbit-spin 18s linear infinite;
}

.resource-orbit-inner {
  width: 12rem;
  aspect-ratio: 1;
  border-style: dashed;
  animation: resource-orbit-spin-reverse 11s linear infinite;
}

.resource-orbit-core {
  position: relative;
  z-index: 3;
  width: 17rem;
  aspect-ratio: 1;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.resource-orbit-core span {
  position: absolute;
}

.resource-orbit-core span:nth-child(1) {
  top: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
}

.resource-orbit-core span:nth-child(2) {
  top: 50%;
  right: -0.5rem;
  transform: translateY(-50%) rotate(90deg);
}

.resource-orbit-core span:nth-child(3) {
  bottom: 0.65rem;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
}

.resource-orbit-core span:nth-child(4) {
  top: 50%;
  left: -0.25rem;
  transform: translateY(-50%) rotate(-90deg);
}

.resource-hero-arrow {
  position: absolute;
  z-index: 4;
  width: 5rem;
  height: 5rem;
  animation: resource-arrow-drift 2.4s ease-in-out infinite;
}

.resource-hero-arrow path {
  stroke-width: 2;
}

.resource-scroll-cue {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.resource-scroll-cue span {
  display: inline-grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  border: 1px solid currentColor;
  animation: resource-scroll-drop 1.6s ease-in-out infinite;
}

.resource-progress {
  position: sticky;
  top: 72px;
  z-index: 19;
  height: 5px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.resource-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.resource-chapter-nav {
  position: sticky;
  top: 77px;
  z-index: 18;
  display: flex;
  min-height: 49px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 245, 0.96);
  backdrop-filter: blur(12px);
  scrollbar-width: none;
}

.resource-chapter-nav::-webkit-scrollbar {
  display: none;
}

.resource-chapter-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 9rem;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-right: 1px solid var(--line);
  padding: 0.75rem 1rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.resource-chapter-nav a span {
  color: rgba(9, 9, 9, 0.5);
}

.resource-chapter-nav a:hover,
.resource-chapter-nav a:focus-visible,
.resource-chapter-nav a[aria-current="location"] {
  background: var(--ink);
  color: var(--paper);
  outline: 0;
}

.resource-chapter-nav a[aria-current="location"] span {
  color: var(--yellow);
}

.resource-section {
  border-bottom: 1px solid var(--line);
}

.resource-section-heading {
  padding: 3rem 1.25rem 2.1rem;
  border-bottom: 1px solid var(--line);
}

.resource-section-heading .pixel {
  margin-bottom: 1.2rem;
}

.resource-section-heading h2 {
  max-width: 13ch;
  margin-bottom: 1.4rem;
  font-size: 2.8rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.resource-section-heading > p:last-child,
.resource-section-heading-split > p {
  max-width: 52rem;
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.resource-map-grid {
  display: grid;
}

.resource-map-link {
  position: relative;
  display: grid;
  min-height: 15rem;
  align-content: start;
  gap: 0.7rem;
  border-bottom: 1px solid var(--line);
  padding: 4.75rem 1.25rem 1.25rem;
  overflow: hidden;
  background: rgba(251, 250, 245, 0.86);
  transition: background-color 170ms ease, color 170ms ease;
}

.resource-map-link:last-child {
  border-bottom: 1px solid var(--line);
}

.resource-map-link strong {
  max-width: 15ch;
  font-size: 1.7rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.resource-map-link p {
  max-width: 30rem;
  margin-bottom: 0;
  line-height: 1.35;
}

.resource-map-link > svg {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2rem;
  height: 2rem;
  transition: transform 180ms ease;
}

.resource-map-link:hover,
.resource-map-link:focus-visible {
  background: var(--ink);
  color: var(--paper);
  outline: 0;
}

.resource-map-link:nth-child(3n + 1):hover .pixel,
.resource-map-link:nth-child(3n + 1):focus-visible .pixel {
  color: var(--red);
}

.resource-map-link:nth-child(3n + 2):hover .pixel,
.resource-map-link:nth-child(3n + 2):focus-visible .pixel {
  color: var(--blue);
}

.resource-map-link:nth-child(3n):hover .pixel,
.resource-map-link:nth-child(3n):focus-visible .pixel {
  color: var(--yellow);
}

.resource-map-link:hover > svg,
.resource-map-link:focus-visible > svg {
  transform: translateX(0.35rem);
}

.resource-section-dark {
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(251, 250, 245, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(251, 250, 245, 0.1) 1px, transparent 1px);
  background-size: 72px 72px;
  color: var(--paper);
}

.resource-section-dark .resource-section-heading {
  border-color: rgba(251, 250, 245, 0.36);
}

.resource-checklist-shell {
  border-bottom: 1px solid rgba(251, 250, 245, 0.36);
  background: rgba(9, 9, 9, 0.84);
}

.resource-checklist-head {
  display: grid;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(251, 250, 245, 0.36);
  padding: 1.25rem;
}

.resource-checklist-head h3 {
  margin: 0.65rem 0 0;
  font-size: 1.8rem;
  line-height: 1;
  text-transform: uppercase;
}

.resource-checklist-count {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.resource-checklist-count strong {
  font-size: 3.6rem;
  line-height: 0.8;
}

.resource-checklist-count span {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.resource-checklist {
  display: grid;
}

.resource-checklist label {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  border-bottom: 1px solid rgba(251, 250, 245, 0.22);
  padding: 1rem 1.25rem;
  line-height: 1.35;
  cursor: pointer;
}

.resource-checklist input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.1rem 0 0;
  border-radius: 0;
  accent-color: var(--yellow);
}

.resource-checklist label:has(input:checked) {
  background: var(--paper);
  color: var(--ink);
}

.resource-checklist label:has(input:checked) span {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.resource-reset-button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  gap: 0.7rem;
  margin: 1.25rem;
  border: 1px solid rgba(251, 250, 245, 0.52);
  padding: 0 1rem;
  color: var(--paper);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.resource-reset-button svg {
  width: 1rem;
  height: 1rem;
}

.resource-reset-button:hover,
.resource-reset-button:focus-visible {
  background: var(--paper);
  color: var(--ink);
  outline: 0;
}

.resource-principles {
  display: grid;
}

.resource-principles article {
  min-height: 18rem;
  border-bottom: 1px solid rgba(251, 250, 245, 0.36);
  padding: 1.25rem;
}

.resource-principles article:last-child {
  border-bottom: 0;
}

.resource-principles article:nth-child(1) .pixel {
  color: var(--red);
}

.resource-principles article:nth-child(2) .pixel {
  color: var(--blue);
}

.resource-principles article:nth-child(3) .pixel {
  color: var(--yellow);
}

.resource-principles article:nth-child(4) .pixel {
  color: var(--red);
}

.resource-principles h3 {
  max-width: 18ch;
  margin: 2.8rem 0 1rem;
  font-size: 1.7rem;
  line-height: 0.98;
  text-transform: uppercase;
}

.resource-principles p {
  max-width: 34rem;
  margin-bottom: 0;
  line-height: 1.45;
}

.resource-ticker {
  overflow: hidden;
  border-top: 1px solid rgba(251, 250, 245, 0.36);
  border-bottom: 1px solid rgba(251, 250, 245, 0.36);
  background: var(--yellow);
  color: var(--ink);
}

.resource-ticker-track {
  display: flex;
  width: max-content;
  animation: resource-ticker 20s linear infinite;
  will-change: transform;
}

.resource-ticker-group {
  display: flex;
  flex: 0 0 auto;
  gap: 2.5rem;
  min-width: 100vw;
  padding: 0.9rem 2.5rem 0.9rem 0;
  white-space: nowrap;
}

.resource-ticker-group span {
  flex: 0 0 auto;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.resource-gain-lab {
  display: grid;
  border-bottom: 1px solid var(--line);
}

.resource-gain-copy,
.resource-gain-meter {
  padding: 1.5rem 1.25rem;
}

.resource-gain-copy {
  border-bottom: 1px solid var(--line);
}

.resource-gain-copy h3 {
  max-width: 12ch;
  margin: 1rem 0;
  font-size: 2rem;
  line-height: 0.96;
  text-transform: uppercase;
}

.resource-gain-copy > p:not(.pixel) {
  max-width: 36rem;
  line-height: 1.45;
}

.resource-gain-copy label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.resource-gain-copy output {
  font-family: "Courier New", Courier, monospace;
}

.resource-gain-copy input[type="range"] {
  width: 100%;
  margin: 1rem 0 0;
  accent-color: var(--blue);
}

.resource-gain-meter {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 21rem;
  background: var(--ink);
  color: var(--paper);
}

.resource-gain-zones {
  display: grid;
  grid-template-columns: 40% 40% 20%;
  height: 3.5rem;
  border: 1px solid var(--paper);
}

.resource-gain-zones span {
  border-right: 1px solid var(--paper);
}

.resource-gain-zones span:nth-child(1) {
  background: var(--blue);
}

.resource-gain-zones span:nth-child(2) {
  background: var(--yellow);
}

.resource-gain-zones span:nth-child(3) {
  border-right: 0;
  background: var(--red);
}

.resource-gain-marker {
  position: absolute;
  top: calc(50% - 6.1rem);
  left: var(--gain-position);
  width: 2px;
  height: 5.3rem;
  background: var(--paper);
  box-shadow: 0 0 0 2px var(--ink);
  transform: translateX(-1px);
  transition: left 120ms ease;
}

.resource-gain-marker::before {
  content: "";
  position: absolute;
  top: -0.45rem;
  left: -0.32rem;
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  transform: rotate(45deg);
}

.resource-gain-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.55rem;
}

.resource-gain-status {
  margin-top: 3rem;
}

.resource-gain-status strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
  text-transform: uppercase;
}

.resource-gain-status p {
  max-width: 38rem;
  margin-bottom: 0;
  line-height: 1.45;
}

.resource-fundamentals {
  display: grid;
}

.resource-fundamentals article {
  min-height: 17rem;
  border-bottom: 1px solid var(--line);
  padding: 1.25rem;
}

.resource-fundamentals article:last-child {
  border-bottom: 0;
}

.resource-fundamentals h3 {
  max-width: 18ch;
  margin: 2.8rem 0 1rem;
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
}

.resource-fundamentals p {
  max-width: 32rem;
  margin-bottom: 0;
  line-height: 1.45;
}

.resource-files {
  background: var(--paper);
}

.resource-files > .resource-section-heading {
  border-color: rgba(251, 250, 245, 0.36);
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(251, 250, 245, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(251, 250, 245, 0.1) 1px, transparent 1px);
  background-size: 72px 72px;
  color: var(--paper);
}

.resource-definition-grid {
  display: grid;
}

.resource-definition-grid article {
  min-height: 15rem;
  border-bottom: 1px solid var(--line);
  padding: 1.25rem;
  background: var(--paper);
}

.resource-definition-grid h3 {
  margin: 2.5rem 0 0.9rem;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.resource-definition-grid p {
  margin-bottom: 0;
  line-height: 1.45;
}

.resource-two-bounce {
  display: grid;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.resource-two-bounce-title,
.resource-two-bounce article,
.resource-two-bounce aside {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(251, 250, 245, 0.34);
}

.resource-two-bounce-title h3 {
  max-width: 12ch;
  margin: 1rem 0 0;
  font-size: 2.5rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.resource-two-bounce article {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 1rem;
}

.resource-two-bounce article > span {
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 0.85;
}

.resource-two-bounce article h4 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.resource-two-bounce article p,
.resource-two-bounce aside p:last-child {
  margin-bottom: 0;
  line-height: 1.5;
}

.resource-two-bounce aside {
  border-bottom: 0;
  background: var(--yellow);
  color: var(--ink);
}

.resource-two-bounce aside .pixel {
  margin-bottom: 1.1rem;
}

.resource-folder-system {
  display: grid;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
}

.resource-folder-copy {
  padding: 2rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.resource-folder-copy h3 {
  max-width: 13ch;
  margin: 1rem 0;
  font-size: 2.2rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.resource-folder-copy p:last-child {
  max-width: 34rem;
  margin-bottom: 0;
  line-height: 1.45;
}

.resource-folder-system pre {
  margin: 0;
  overflow-x: auto;
  padding: 2rem 1.25rem;
  background: rgba(251, 250, 245, 0.76);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.75rem;
  line-height: 1.7;
}

.resource-export-standard {
  display: grid;
  grid-auto-rows: 1fr;
}

.resource-export-standard > div {
  min-height: 12rem;
  border-bottom: 1px solid var(--line);
  padding: 1.25rem;
  background: var(--paper);
}

.resource-export-standard > div:last-child {
  border-bottom: 1px solid var(--line);
}

.resource-export-standard strong {
  display: block;
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.resource-export-standard p {
  margin-bottom: 0;
  line-height: 1.4;
}

.resource-export-lab {
  background: var(--paper);
}

.resource-export-lab > .resource-section-heading {
  background-image:
    linear-gradient(to right, rgba(9, 9, 9, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 9, 9, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
}

.resource-daw-tabs {
  display: grid;
  border-bottom: 1px solid var(--line);
}

.resource-daw-tabs button {
  display: flex;
  min-height: 4.2rem;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0 1.25rem;
  text-align: left;
  text-transform: uppercase;
}

.resource-daw-tabs button:last-child {
  border-bottom: 0;
}

.resource-daw-tabs button span {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.66rem;
  font-weight: 700;
}

.resource-daw-tabs button:hover,
.resource-daw-tabs button:focus-visible,
.resource-daw-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
  outline: 0;
}

.resource-daw-tabs button[aria-selected="true"] span {
  color: var(--yellow);
}

.resource-daw-panel[hidden] {
  display: none;
}

.resource-daw-heading {
  padding: 2.4rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(251, 250, 245, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(251, 250, 245, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--paper);
}

.resource-daw-heading .pixel {
  color: var(--yellow);
}

.resource-daw-heading h3 {
  max-width: 16ch;
  margin: 1.2rem 0;
  font-size: 2.3rem;
  line-height: 0.92;
  text-transform: uppercase;
}

.resource-daw-heading p:last-child {
  max-width: 52rem;
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.resource-step-list {
  margin: 0;
  padding: 0;
  counter-reset: resource-step;
  list-style: none;
}

.resource-step-list li {
  position: relative;
  min-height: 11rem;
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 1.25rem 1.25rem 5rem;
  counter-increment: resource-step;
}

.resource-step-list li::before {
  content: counter(resource-step, decimal-leading-zero);
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.35rem;
  font-weight: 700;
}

.resource-step-list li::after {
  content: "";
  position: absolute;
  top: 3.25rem;
  left: 1.25rem;
  width: 2rem;
  height: 3px;
  background: var(--red);
}

.resource-step-list li:nth-child(3n + 2)::after {
  background: var(--blue);
}

.resource-step-list li:nth-child(3n)::after {
  background: var(--yellow);
}

.resource-step-list strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.resource-step-list p {
  max-width: 58rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.resource-method-note {
  border-bottom: 1px solid var(--line);
  background: var(--yellow);
}

.resource-method-note summary {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.resource-method-note summary::-webkit-details-marker {
  display: none;
}

.resource-method-note summary::after {
  content: "+";
  font-size: 1.6rem;
  transition: transform 160ms ease;
}

.resource-method-note[open] summary::after {
  transform: rotate(45deg);
}

.resource-method-note > div {
  border-top: 1px solid var(--line);
  padding: 1.25rem;
}

.resource-method-note p {
  max-width: 56rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.resource-figure-grid {
  display: grid;
  border-bottom: 1px solid var(--line);
}

.resource-figure-grid figure {
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.resource-figure-grid figure:last-child {
  border-bottom: 0;
}

.resource-image-button {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.resource-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 220ms ease;
}

.resource-image-button > span {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
}

.resource-image-button > span svg {
  width: 1rem;
  height: 1rem;
}

.resource-image-button:hover img,
.resource-image-button:focus-visible img {
  transform: scale(1.025);
}

.resource-image-button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.resource-figure-grid figcaption {
  min-height: 6.5rem;
  padding: 1rem 1.25rem;
  line-height: 1.4;
}

.resource-figure-grid figcaption .pixel {
  display: block;
  margin-bottom: 0.65rem;
}

.resource-official-link {
  display: inline-flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.resource-official-link svg {
  flex: 0 0 auto;
}

.resource-official-link:hover,
.resource-official-link:focus-visible {
  background: var(--blue);
  color: var(--paper);
  outline: 0;
}

.resource-delivery {
  background-color: var(--paper);
}

.resource-delivery-columns {
  display: grid;
}

.resource-delivery-columns > section {
  border-bottom: 1px solid var(--line);
}

.resource-delivery-columns header {
  display: grid;
  gap: 0.85rem;
  min-height: 9rem;
  align-content: end;
  border-bottom: 1px solid var(--line);
  padding: 1.25rem;
  background: var(--ink);
  color: var(--paper);
}

.resource-delivery-columns > section:nth-child(2) header {
  background: var(--blue);
  color: var(--paper);
}

.resource-delivery-columns header strong {
  font-size: 1.45rem;
  text-transform: uppercase;
}

.resource-delivery-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-delivery-columns li {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem 1rem 3.35rem;
  line-height: 1.4;
}

.resource-delivery-columns li:last-child {
  border-bottom: 0;
}

.resource-delivery-columns li::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 1.25rem;
  width: 0.8rem;
  height: 0.8rem;
  border: 1px solid var(--line);
  background: var(--yellow);
}

.resource-delivery-columns > section:nth-child(2) li::before {
  background: var(--blue);
}

.resource-upload-flow {
  display: grid;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.resource-upload-flow article {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.5rem 1.25rem;
}

.resource-upload-flow article > span {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 0.85;
}

.resource-upload-flow h3 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.resource-upload-flow p {
  margin-bottom: 0;
  line-height: 1.4;
}

.resource-upload-flow > svg {
  width: 100%;
  height: 2rem;
  color: var(--yellow);
  transform: rotate(90deg);
}

.resource-delivery-actions {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
}

.resource-delivery-actions .text-button {
  width: 100%;
  margin-top: 0;
}

.resource-glossary {
  background: var(--ink);
  color: var(--paper);
}

.resource-glossary .resource-section-heading {
  border-color: rgba(251, 250, 245, 0.35);
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(251, 250, 245, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(251, 250, 245, 0.1) 1px, transparent 1px);
  background-size: 72px 72px;
}

.resource-glossary-search {
  display: grid;
  gap: 0.7rem;
  align-content: end;
}

.resource-glossary-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3rem;
  min-height: 3.25rem;
  border: 1px solid rgba(251, 250, 245, 0.5);
}

.resource-glossary-search input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  font: inherit;
  padding: 0 0.85rem;
}

.resource-glossary-search input::placeholder {
  color: rgba(251, 250, 245, 0.55);
}

.resource-glossary-search > div svg {
  place-self: center;
}

.resource-glossary-search > p {
  margin-bottom: 0;
  color: rgba(251, 250, 245, 0.62);
}

.resource-glossary-grid {
  display: grid;
}

.resource-glossary-grid details {
  border-bottom: 1px solid rgba(251, 250, 245, 0.26);
}

.resource-glossary-grid details[hidden] {
  display: none;
}

.resource-glossary-grid summary {
  position: relative;
  display: grid;
  gap: 0.4rem;
  min-height: 5.75rem;
  align-content: center;
  padding: 1rem 4rem 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
}

.resource-glossary-grid summary::-webkit-details-marker {
  display: none;
}

.resource-glossary-grid summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.25rem;
  font-size: 1.5rem;
  transform: translateY(-50%);
  transition: transform 160ms ease;
}

.resource-glossary-grid details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.resource-glossary-grid summary strong {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.resource-glossary-grid summary span {
  color: rgba(251, 250, 245, 0.58);
  font-size: 0.82rem;
}

.resource-glossary-grid details:hover summary,
.resource-glossary-grid details[open] summary {
  background: var(--paper);
  color: var(--ink);
}

.resource-glossary-grid details:hover summary span,
.resource-glossary-grid details[open] summary span {
  color: rgba(9, 9, 9, 0.6);
}

.resource-glossary-grid details > div {
  border-top: 1px solid rgba(251, 250, 245, 0.26);
  padding: 1.25rem;
  background: var(--ink);
}

.resource-glossary-grid details > div p {
  max-width: 45rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.resource-glossary-empty {
  margin: 0;
  padding: 2rem 1.25rem;
  color: var(--yellow);
}

.resource-final-cta {
  display: grid;
  border-bottom: 1px solid var(--line);
  background: var(--yellow);
}

.resource-final-cta > div {
  padding: 2rem 1.25rem;
}

.resource-final-cta > div:first-child {
  border-bottom: 1px solid var(--line);
}

.resource-final-cta h2 {
  margin: 1.2rem 0 0;
  font-size: 2.8rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.resource-final-cta > div:last-child > p {
  max-width: 38rem;
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.45;
}

.resource-final-cta .text-button {
  width: 100%;
  margin-top: 1.5rem;
}

.resource-lightbox {
  width: min(92vw, 72rem);
  max-width: none;
  max-height: 92vh;
  margin: auto;
  border: 1px solid var(--paper);
  border-radius: 0;
  padding: 3.5rem 1rem 1rem;
  background: var(--ink);
  color: var(--paper);
}

.resource-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.86);
}

.resource-lightbox img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 5rem);
  object-fit: contain;
  background: var(--paper);
}

.resource-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--paper);
  color: var(--paper);
}

.resource-lightbox-close:hover,
.resource-lightbox-close:focus-visible {
  background: var(--paper);
  color: var(--ink);
  outline: 0;
}

.resources-motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity 520ms ease, transform 520ms ease;
}

.resources-motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes resource-orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes resource-orbit-spin-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes resource-wave-glow {
  0%, 100% {
    opacity: 0.68;
    transform: scale(1);
  }

  50% {
    opacity: 0.96;
    transform: scale(1.04);
  }
}

@keyframes resource-mesh-breathe {
  0%, 100% {
    opacity: 0.66;
    transform: scale(1) rotate(-0.25deg);
  }

  50% {
    opacity: 0.92;
    transform: scale(1.035) rotate(0.25deg);
  }
}

@keyframes resource-wave-rows {
  0%, 100% {
    transform: translate3d(-1.3rem, -0.2rem, 0) scaleY(0.96);
  }

  50% {
    transform: translate3d(1.2rem, 0.55rem, 0) scaleY(1.04);
  }
}

@keyframes resource-wave-columns {
  0%, 100% {
    transform: translate3d(0.45rem, -1rem, 0) scaleX(1.035);
  }

  50% {
    transform: translate3d(-0.55rem, 1.1rem, 0) scaleX(0.965);
  }
}

@keyframes resource-arrow-drift {
  0%, 100% { transform: translateX(-0.35rem); }
  50% { transform: translateX(0.5rem); }
}

@keyframes resource-scroll-drop {
  0%, 100% { transform: translateY(-0.12rem); }
  50% { transform: translateY(0.3rem); }
}

@keyframes resource-ticker {
  to { transform: translateX(-50%); }
}

@media (min-width: 760px) {
  .resource-hero-actions,
  .resource-delivery-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-map-grid,
  .resource-principles,
  .resource-fundamentals,
  .resource-definition-grid,
  .resource-export-standard,
  .resource-figure-grid,
  .resource-glossary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-map-link,
  .resource-principles article,
  .resource-fundamentals article,
  .resource-definition-grid article,
  .resource-export-standard > div,
  .resource-figure-grid figure,
  .resource-glossary-grid details {
    border-right: 1px solid var(--line);
  }

  .resource-map-link:nth-child(2n),
  .resource-principles article:nth-child(2n),
  .resource-fundamentals article:nth-child(2n),
  .resource-definition-grid article:nth-child(2n),
  .resource-export-standard > div:nth-child(2n),
  .resource-figure-grid figure:nth-child(2n) {
    border-right: 0;
  }

  .resource-principles article:nth-last-child(-n + 2),
  .resource-fundamentals article:nth-last-child(-n + 2),
  .resource-definition-grid article:nth-last-child(-n + 2),
  .resource-figure-grid figure:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .resource-glossary-grid details:nth-child(2n) {
    border-right: 0;
  }

  .resource-checklist-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .resource-gain-lab,
  .resource-folder-system,
  .resource-final-cta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-gain-copy,
  .resource-folder-copy,
  .resource-final-cta > div:first-child {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .resource-two-bounce {
    grid-template-columns: minmax(13rem, 0.55fr) repeat(2, minmax(0, 1fr));
  }

  .resource-two-bounce-title,
  .resource-two-bounce article {
    border-right: 1px solid rgba(251, 250, 245, 0.34);
    border-bottom: 0;
  }

  .resource-two-bounce aside {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(251, 250, 245, 0.34);
  }

  .resource-daw-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .resource-daw-tabs button {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .resource-daw-tabs button:last-child {
    border-right: 0;
  }

  .resource-step-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-step-list li {
    border-right: 1px solid var(--line);
  }

  .resource-step-list li:nth-child(2n) {
    border-right: 0;
  }

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

  .resource-delivery-columns > section:first-child {
    border-right: 1px solid var(--line);
  }

  .resource-upload-flow {
    grid-template-columns: minmax(0, 1fr) 5rem minmax(0, 1fr) 5rem minmax(0, 1fr);
    align-items: center;
  }

  .resource-upload-flow > svg {
    width: 5rem;
    transform: none;
  }

  .resource-final-cta .text-button {
    max-width: 24rem;
  }
}

@media (min-width: 980px) {
  .resources-page {
    --resource-sticky-offset: 130px;
  }

  .resource-hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(28rem, 0.7fr);
    min-height: min(48rem, calc(100svh - 94px));
  }

  .resource-hero-copy {
    padding: 4rem 3.5rem 5rem;
  }

  .resource-hero h1 {
    font-size: 6.4rem;
  }

  .resource-hero-intro {
    font-size: 1.32rem;
  }

  .resource-hero-system {
    min-height: auto;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .resource-orbit-outer,
  .resource-orbit-core {
    width: 25rem;
  }

  .resource-orbit-inner {
    width: 18rem;
  }

  .resource-scroll-cue {
    left: 3.5rem;
    bottom: 1.5rem;
  }

  .resource-chapter-nav a {
    flex: 1 1 0;
    min-width: 0;
  }

  .resource-section-heading {
    padding: 4.5rem 3.5rem 3rem;
  }

  .resource-section-heading h2 {
    font-size: 4.7rem;
  }

  .resource-section-heading-wide {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(24rem, 0.8fr);
    column-gap: 4rem;
    align-items: end;
  }

  .resource-section-heading-wide .pixel {
    grid-column: 1 / -1;
  }

  .resource-section-heading-wide h2,
  .resource-section-heading-wide > p:last-child {
    margin-bottom: 0;
  }

  .resource-section-heading-split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(24rem, 0.8fr);
    gap: 4rem;
    align-items: end;
  }

  .resource-section-heading-split > div .pixel {
    margin-bottom: 1.2rem;
  }

  .resource-section-heading-split h2,
  .resource-section-heading-split > p {
    margin-bottom: 0;
  }

  .resource-map-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .resource-map-link {
    min-height: 16rem;
    border-right: 1px solid var(--line);
    padding-top: 5.25rem;
  }

  .resource-map-link:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .resource-map-link:nth-child(3n) {
    border-right: 0;
  }

  .resource-map-link:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .resource-checklist-shell {
    display: grid;
    grid-template-columns: minmax(18rem, 0.35fr) minmax(0, 0.65fr);
  }

  .resource-checklist-head {
    grid-template-columns: 1fr;
    align-content: space-between;
    border-right: 1px solid rgba(251, 250, 245, 0.36);
    border-bottom: 0;
    padding: 2rem 2.25rem;
  }

  .resource-checklist,
  .resource-reset-button {
    grid-column: 2;
  }

  .resource-checklist {
    grid-row: 1;
  }

  .resource-reset-button {
    grid-row: 2;
    width: fit-content;
  }

  .resource-principles,
  .resource-fundamentals,
  .resource-definition-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .resource-principles article,
  .resource-fundamentals article,
  .resource-definition-grid article {
    border-right: 1px solid currentColor;
    border-bottom: 0;
  }

  .resource-principles article:nth-child(2n),
  .resource-fundamentals article:nth-child(2n),
  .resource-definition-grid article:nth-child(2n) {
    border-right: 1px solid currentColor;
  }

  .resource-principles article:last-child,
  .resource-fundamentals article:nth-child(4n),
  .resource-definition-grid article:last-child {
    border-right: 0;
  }

  .resource-fundamentals article:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .resource-fundamentals article:nth-child(4) {
    border-right: 0;
  }

  .resource-gain-copy,
  .resource-gain-meter,
  .resource-folder-copy,
  .resource-folder-system pre {
    padding: 3rem 3.5rem;
  }

  .resource-gain-copy h3 {
    font-size: 3rem;
  }

  .resource-export-standard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .resource-export-standard > div {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .resource-export-standard > div:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .resource-export-standard > div:nth-child(3n) {
    border-right: 0;
  }

  .resource-export-standard > div:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .resource-daw-heading {
    padding: 4rem 3.5rem;
  }

  .resource-daw-heading h3 {
    font-size: 3.8rem;
  }

  .resource-step-list li {
    padding: 2rem 2.25rem 2rem 6.5rem;
  }

  .resource-step-list li::before,
  .resource-step-list li::after {
    left: 2.25rem;
  }

  .resource-figure-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .resource-figure-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-figure-grid figure {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .resource-figure-grid figure:nth-child(3n),
  .resource-figure-grid-two figure:nth-child(2n) {
    border-right: 0;
  }

  .resource-figure-grid figure:nth-last-child(-n + 3) {
    border-bottom: 0;
  }

  .resource-delivery-columns header {
    min-height: 13rem;
    padding: 2rem 2.25rem;
  }

  .resource-delivery-columns li {
    padding: 1.2rem 2.25rem 1.2rem 4.75rem;
  }

  .resource-delivery-columns li::before {
    left: 2.25rem;
  }

  .resource-upload-flow article {
    padding: 2.25rem;
  }

  .resource-delivery-actions {
    padding: 2rem 2.25rem;
  }

  .resource-glossary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .resource-glossary-grid details {
    border-right: 1px solid rgba(251, 250, 245, 0.26);
  }

  .resource-glossary-grid details:nth-child(2n) {
    border-right: 1px solid rgba(251, 250, 245, 0.26);
  }

  .resource-glossary-grid details:nth-child(3n) {
    border-right: 0;
  }

  .resource-final-cta > div {
    padding: 3.5rem;
  }

  .resource-final-cta h2 {
    font-size: 4.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resource-hero-system::before,
  .resource-wave-mesh,
  .resource-wave-rows,
  .resource-wave-columns,
  .resource-orbit,
  .resource-hero-arrow,
  .resource-scroll-cue span,
  .resource-ticker-track {
    animation: none;
  }

  .resources-motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .resource-image-button img,
  .resource-map-link > svg {
    transition: none;
  }
}
