﻿main {
  background: #000;
}

#player.player-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 140px;
  background: #000;
}

.player-container {
  width: 100%;
  max-width: 1000px;
  min-height: 720px;
  background: rgba(5, 5, 8, 0.5);
  border: 1px solid rgba(160, 192, 208, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.player-header {
  padding: 24px;
  border-bottom: 1px solid rgba(160, 192, 208, 0.15);
  background: rgba(11, 19, 43, 0.3);
  backdrop-filter: blur(8px);
}

.player-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #e5f6ff;
  margin: 0 0 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.player-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(160, 192, 208, 0.4);
  color: #a0c0d0;
  font-family: 'agoth pixel', serif;
  font-size: 0.85rem;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.player-info-btn:hover {
  background: rgba(160, 192, 208, 0.15);
  border-color: rgba(160, 192, 208, 0.7);
  color: #fff;
}

.player-info-modal__panel {
  width: min(480px, calc(100% - 32px));
}

.player-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(229, 246, 255, 0.85);
}

.player-info-list strong {
  color: #e5f6ff;
}

.player-info-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.player-info-tag--include {
  background: rgba(160, 192, 208, 0.2);
  border: 1px solid rgba(160, 192, 208, 0.55);
  color: #f2f7fb;
}

.player-info-tag--exclude {
  background: rgba(221, 34, 34, 0.2);
  border: 1px solid var(--accent-warn);
  color: #ffdede;
}

.player-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.player-filter-grid {
  display: grid;
  grid-template-columns: minmax(160px, 1.6fr) 130px 70px 150px;
  align-items: end;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(160, 192, 208, 0.12);
}

.filter-status {
  min-height: 56px;
  display: flex;
  align-items: end;
  justify-content: flex-end;
}

.filter-status__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  width: 100%;
  border: none;
  background: transparent;
  color: rgba(160, 192, 208, 0.85);
  padding: 10px 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-sizing: border-box;
}

.search-filter-group,
.key-filter-group,
.bpm-filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.key-filter-controls {
  display: flex;
  gap: 0;
}

.key-filter-controls .filter-select {
  flex: 1 1 0;
  min-width: 0;
}

.key-filter-controls .filter-select:first-child {
  max-width: 75px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

.key-filter-controls .filter-select:last-child {
  max-width: 75px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.filter-label {
  font-family: 'agoth pixel', monospace;
  font-size: 0.78rem;
  color: rgba(160, 192, 208, 0.75);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filter-input,
.filter-select {
  min-width: 100%;
  appearance: none;
  border: 1px solid rgba(160, 192, 208, 0.3);
  background: rgba(11, 19, 43, 0.85);
  color: #dfeff8;
  padding: 10px 12px;
  font-family: 'agoth pixel', monospace;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.filter-input {
  cursor: text;
}

.filter-input::placeholder {
  color: rgba(160, 192, 208, 0.7);
}

.filter-input:focus,
.filter-select:hover,
.filter-select:focus {
  border-color: rgba(160, 192, 208, 0.65);
  background: rgba(11, 19, 43, 0.95);
  outline: none;
}

.filter-select:hover,
.filter-select:focus {
  border-color: rgba(160, 192, 208, 0.65);
  background: rgba(11, 19, 43, 0.95);
}

.mood-toggles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mood-btn,
.tag-btn,
.instrumental-cart-btn,
.license-option {
  font-family: 'agoth pixel', monospace;
}

.mood-btn {
  font-size: 0.85rem;
  color: #a0c0d0;
  background: rgba(160, 192, 208, 0.08);
  border: 1px solid rgba(160, 192, 208, 0.2);
  padding: 8px 12px;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mood-btn:hover,
.tag-btn:hover,
.instrumental-cart-btn:hover,
.license-option:hover {
  color: #fff;
}

.mood-btn:hover,
.tag-btn:hover,
.instrumental-cart-btn:hover {
  background: rgba(160, 192, 208, 0.15);
  border-color: rgba(160, 192, 208, 0.4);
}

.mood-btn.active {
  background: #a0c0d0;
  color: #050508;
  border-color: #a0c0d0;
}

.filter-divider {
  width: 1px;
  height: 40px;
  background: rgba(160, 192, 208, 0.3);
  margin: 0 8px;
}

.tag-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.tag-btn {
  font-size: 0.8rem;
  color: rgba(160, 192, 208, 0.7);
  background: transparent;
  border: 1px solid rgba(160, 192, 208, 0.2);
  padding: 6px 10px;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tag-btn--extra.hidden {
  display: none;
}

.tag-btn--expand {
  margin-left: auto;
  color: rgba(160, 192, 208, 0.9);
  border-style: dashed;
}

.tag-btn--expand[aria-expanded="true"] {
  color: #fff;
  border-color: rgba(160, 192, 208, 0.55);
}

.tag-btn.active {
  background: rgba(160, 192, 208, 0.2);
  border-color: rgba(160, 192, 208, 0.55);
  color: #f2f7fb;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.tag-btn.excluded {
  background: rgba(221, 34, 34, 0.2);
  border-color: var(--accent-warn);
  color: #ffdede;
  box-shadow: inset 0 0 0 1px rgba(221, 34, 34, 0.3);
}

.instrumentals-scroll {
  height: 600px;
  min-height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-bottom: 24px;
  scrollbar-width: thin;
}

/* The row list scrolls (its scrollbar eats ~8px of width the filter bar
   above never loses), so without this the grid columns drift out of
   alignment with the filter controls above them. */
.player-filter-grid {
  padding-right: 8px;
}

.instrumentals-list {
  display: flex;
  flex-direction: column;
}

.instrumental-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.6fr) 130px 70px 150px;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(160, 192, 208, 0.1);
  background: transparent;
  transition: background 0.15s ease;
}

.instrumental-row.hidden {
  display: none;
}

.instrumental-row:hover {
  background: rgba(160, 192, 208, 0.06);
}

.instrumental-row.is-active {
  background: rgba(34, 170, 238, 0.08);
  border-left: 3px solid #22aaee;
  padding-left: 17px;
}

.instrumental-row.is-active .instrumental-title {
  color: #22aaee;
}

.instrumental-row--header {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(160, 192, 208, 0.8);
  border-bottom-color: rgba(160, 192, 208, 0.22);
}

.instrumental-row--header .instrumental-cart-btn {
  opacity: 0.7;
  cursor: default;
}

.instrumental-info {
  min-width: 0;
  display: flex;
  align-items: center;
}

.instrumental-title {
  font-family: var(--font-body) !important;
  font-size: 0.95rem;
  color: #f2f7fb;
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.instrumental-key,
.instrumental-bpm {
  font-family: Inter, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 0.84rem;
  color: #dfeff8;
  white-space: nowrap;
  font-weight: 700;
  padding: 2px 6px;
  background: transparent;
  border: none;
  justify-self: start;
  text-align: left;
}

.instrumental-cart-btn {
  justify-self: start;
}

.instrumental-player {
  display: none;
}

.instrumental-actions {
  display: flex;
  gap: 8px;
  justify-self: end;
}

.instrumental-action-btn {
  font-family: 'agoth pixel', monospace;
  font-size: 0.72rem;
  color: #a0c0d0;
  background: transparent;
  border: 1px solid rgba(160, 192, 208, 0.2);
  padding: 7px 10px;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.instrumental-action-btn:hover {
  background: rgba(160, 192, 208, 0.08);
  border-color: rgba(160, 192, 208, 0.4);
}

.instrumental-action-btn__icon {
  width: 16px;
  height: 16px;
  display: block;
}

.instrumental-action-btn--free {
  color: #8ecff0;
  min-width: 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-size: 0.9rem;
  line-height: 1;
}

.instrumental-action-btn--cart {
  color: #f2f7fb;
  padding: 7px 10px;
}

.instrumental-transport {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 20px 14px;
  background: rgba(3, 7, 16, 0.97);
  border-top: 1px solid rgba(160, 192, 208, 0.2);
  backdrop-filter: blur(10px);
  z-index: 20;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
  will-change: transform, opacity;
}

.instrumental-transport.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.instrumental-transport__progress,
.instrumental-transport__volume {
  display: block;
  margin: 0;
  padding: 0;
  height: 6px;
  min-height: 6px;
  border-radius: 999px;
  background: transparent;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  accent-color: #a0c0d0;
  cursor: pointer;
  outline: none;
  line-height: 1;
}

.instrumental-transport__progress {
  width: 100%;
}

.instrumental-transport__volume {
  width: 120px;
}

.instrumental-transport__progress::-webkit-slider-runnable-track,
.instrumental-transport__volume::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  background: rgba(160, 192, 208, 0.22);
  border-radius: 999px;
}

.instrumental-transport__progress::-webkit-slider-thumb,
.instrumental-transport__volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e5f6ff;
  margin-top: -5px;
  border: none;
  box-shadow: 0 0 0 1px rgba(3, 7, 16, 0.6);
}

.instrumental-transport__progress::-moz-range-track,
.instrumental-transport__volume::-moz-range-track {
  width: 100%;
  height: 6px;
  background: rgba(160, 192, 208, 0.22);
  border-radius: 999px;
  border: none;
}

.instrumental-transport__progress::-moz-range-progress,
.instrumental-transport__volume::-moz-range-progress {
  height: 6px;
  background: #a0c0d0;
  border-radius: 999px;
  border: none;
}

.instrumental-transport__progress::-moz-range-thumb,
.instrumental-transport__volume::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e5f6ff;
  border: none;
  box-shadow: 0 0 0 1px rgba(3, 7, 16, 0.6);
  transform: translateY(-2px);
}

.instrumental-transport__progress::-ms-fill-lower,
.instrumental-transport__volume::-ms-fill-lower,
.instrumental-transport__progress::-ms-fill-upper,
.instrumental-transport__volume::-ms-fill-upper {
  background: rgba(160, 192, 208, 0.22);
  border: none;
  border-radius: 999px;
}

.instrumental-transport__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.instrumental-transport__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  margin-left: 4px;
  margin-right: 8px;
}

.instrumental-transport__title {
  font-family: var(--font-body) !important;
  font-size: 0.8rem;
  color: #e5f6ff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: 0 0 auto;
}

.instrumental-transport__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.instrumental-transport__tag {
  font-family: 'agoth pixel', monospace;
  font-size: 0.68rem;
  color: rgba(160, 192, 208, 0.7);
  background: rgba(160, 192, 208, 0.08);
  border: 1px solid rgba(160, 192, 208, 0.16);
  padding: 3px 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.instrumental-transport__tag.active {
  background: rgba(160, 192, 208, 0.2);
  border-color: rgba(160, 192, 208, 0.55);
  color: #f2f7fb;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.instrumental-transport__tag.excluded {
  background: rgba(221, 34, 34, 0.2);
  border-color: var(--accent-warn);
  color: #ffdede;
  box-shadow: inset 0 0 0 1px rgba(221, 34, 34, 0.3);
}

.instrumental-transport__time {
  font-family: 'agoth pixel', monospace;
  font-size: 0.78rem;
  color: rgba(160, 192, 208, 0.8);
  min-width: 42px;
  text-align: right;
}

.license-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.license-modal.hidden {
  display: none;
}

.presence-deal .presence-deal__panel {
  transform: translateY(0);
  opacity: 1;
  will-change: transform, opacity;
  transition: transform 680ms cubic-bezier(0.18, 0.82, 0.2, 1), opacity 360ms ease;
}

.presence-deal.presence-deal--staged .presence-deal__panel {
  transform: translateY(78vh);
  opacity: 0;
}

.presence-deal.presence-deal--open .presence-deal__panel {
  transform: translateY(0);
  opacity: 1;
}

.license-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  transition: opacity 420ms ease, backdrop-filter 420ms ease, -webkit-backdrop-filter 420ms ease;
}

.presence-deal.presence-deal--open .license-modal__backdrop,
.license-pick:not(.hidden) .license-modal__backdrop {
  opacity: 1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.license-modal__panel {
  position: relative;
  width: min(480px, calc(100% - 32px));
  background: rgba(5, 5, 8, 0.95);
  border: 1px solid rgba(160, 192, 208, 0.25);
  box-shadow: 0 0 40px rgba(160, 192, 208, 0.15);
  padding: 24px;
  z-index: 1;
}

.license-modal--free .license-modal__panel {
  width: min(680px, calc(100% - 32px));
  background: linear-gradient(rgba(11, 8, 5, 0.72), rgba(11, 8, 5, 0.78));
  border: 1px solid rgba(191, 156, 113, 0.42);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(191, 156, 113, 0.18);
  overflow: hidden;
  --pupil-shift-x: 0px;
  --pupil-shift-y: 0px;
  --pupil-tint-color: #dd2222;
}

.license-modal--free .license-modal__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('guardian-pupil.png') center/cover no-repeat;
  z-index: 0;
  opacity: 0.82;
  pointer-events: none;
  transform: translate(var(--pupil-shift-x), var(--pupil-shift-y));
  transition: opacity 0.22s ease, transform 0.06s ease-out;
}

.license-modal--free .license-modal__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.8)),
    url('guardian.png') center/cover no-repeat;
  z-index: 1;
  opacity: 1;
  pointer-events: none;
}

.license-pupil-tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--pupil-tint-color);
  opacity: 0;
  pointer-events: none;
  transform: translate(var(--pupil-shift-x), var(--pupil-shift-y));
  transition: opacity 0.85s ease, background-color 0.85s ease, transform 0.06s ease-out;
  -webkit-mask: url('guardian-pupil.png') center/cover no-repeat;
  mask: url('guardian-pupil.png') center/cover no-repeat;
}

.license-modal--free .license-modal__panel > :not(.license-pupil-tint):not(.license-modal__close) {
  position: relative;
  z-index: 3;
}

.license-modal--pupil-tint-active .license-pupil-tint {
  opacity: 0.62;
}

.license-modal--cart .license-modal__panel {
  width: min(480px, calc(100% - 32px));
  background: rgba(5, 5, 8, 0.95);
  border: 1px solid rgba(160, 192, 208, 0.25);
  box-shadow: 0 0 40px rgba(160, 192, 208, 0.15);
}

.license-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: #a0c0d0;
  font-size: 1.25rem;
  cursor: pointer;
}

.presence-deal .presence-deal__close {
  top: 10px;
  right: 10px;
  z-index: 4;
}

.license-modal__header {
  margin-bottom: 16px;
  text-align: center;
}

.license-modal__title {
  font-family: 'agoth pixel', monospace;
  font-size: 1.1rem;
  color: #e2c9a2;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.license-modal__track {
  font-family: 'agoth pixel', monospace;
  font-size: 0.9rem;
  color: rgba(226, 201, 162, 0.84);
}

.license-modal__checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.license-modal__checklist.is-hidden,
.license-modal__options.is-hidden {
  display: none;
}

.license-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(244, 232, 210, 0.95);
  font-family: 'agoth pixel', monospace;
  font-size: 0.86rem;
  line-height: 1.45;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
}

.license-letter__body {
  color: rgba(244, 232, 210, 0.95);
  font-family: 'agoth pixel', monospace;
  font-size: 0.86rem;
  line-height: 1.55;
}

.license-letter__body p {
  margin: 0 0 14px;
}

.license-letter__body p:last-child {
  margin-bottom: 8px;
}

.license-letter__presence {
  text-align: center;
  font-family: 'agoth pixel', monospace;
  letter-spacing: 0.1em;
  color: #e2c9a2;
  margin-bottom: 12px;
}

.license-letter__legend {
  opacity: 0.95;
}

.license-letter__blue {
  color: #22aaee;
}

.license-letter__red {
  color: #dd2222;
}

.license-letter__body em {
  font-style: italic;
  color: #dd2222;
}

.license-letter__body strong {
  color: #dd2222;
}

.license-check__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.license-check__seal {
  position: relative;
  width: 94px;
  height: 94px;
  flex: 0 0 94px;
  background: url('sacramentum-wax.png') center/contain no-repeat;
  transition: transform 0.2s ease, filter 0.2s ease;
  transform: rotate(15deg);
}

.license-check__seal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('sacramentum-stamp.png') center/contain no-repeat;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.license-check__text {
  display: block;
  max-width: 430px;
}

.license-check__input:checked + .license-check__seal {
  filter: drop-shadow(0 0 6px rgba(221, 34, 34, 0.55));
  transform: rotate(15deg) scale(1.08);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
}

.license-check__input:checked + .license-check__seal::after {
  opacity: 1;
}

.license-check__input:focus-visible + .license-check__seal {
  outline: 2px solid rgba(34, 170, 238, 0.85);
  outline-offset: 2px;
}

.license-modal__actions {
  display: flex;
  justify-content: flex-end;
}

.license-modal--free .license-modal__actions {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  transform: translateY(-54px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.82s cubic-bezier(0.18, 0.8, 0.14, 1), opacity 0.45s ease;
}

.presence-deal .presence-deal__panel {
  z-index: 2;
}

.license-modal--free.license-modal--armed .license-modal__actions {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.license-modal__actions.is-hidden {
  display: none;
}

.license-modal__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.license-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #a0c0d0;
  background: rgba(160, 192, 208, 0.07);
  border: 1px solid rgba(160, 192, 208, 0.18);
  border-radius: 0;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.license-option:hover {
  color: #ff0033;
  border-color: rgba(255, 0, 51, 0.35);
  background: rgba(255, 0, 51, 0.08);
}

.license-download-btn {
  font-family: 'agoth pixel', monospace;
  font-size: 0.85rem;
  color: #f2f7fb;
  background: rgba(34, 170, 238, 0.18);
  border: 1px solid rgba(34, 170, 238, 0.4);
  padding: 10px 24px 10px 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.15s ease;
  border-radius: 0;
}

.license-download-btn::after {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 6px;
  background: url('download.svg') center/contain no-repeat;
  vertical-align: middle;
}

.license-download-btn:hover:not(:disabled) {
  background: rgba(34, 170, 238, 0.3);
  border-color: rgba(34, 170, 238, 0.7);
}

.license-download-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#licenses.licenses-section {
  position: relative;
  background: linear-gradient(180deg, #030712 0%, #050508 100%);
  padding: 80px 20px;
  overflow: hidden;
  min-height: 900px;
}

#licenses.licenses-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

#licenses.licenses-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,150,200,0.08) 0%, transparent 20%),
    linear-gradient(45deg, transparent 30%, rgba(65,120,180,0.06) 50%, transparent 70%),
    radial-gradient(ellipse 800px 400px at 20% 60%, rgba(0,150,200,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(0.5px);
}

.licenses-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.licenses-header {
  font-family: 'Jacquard12', monospace;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #a0c0d0;
  margin: 0 0 40px;
  text-shadow: 0 0 20px rgba(0,200,255,0.2), 0 2px 12px rgba(160,192,208,0.3);
}

.licenses-monolith {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 0 40px rgba(0,200,255,0.2)) drop-shadow(0 0 80px rgba(65,120,180,0.1));
}

.license-pane {
  position: relative;
  background: rgba(11, 19, 43, 0.45);
  backdrop-filter: blur(16px);
  border-radius: 0;
  padding: 0;
  flex: 1;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  border-left: 1px solid rgba(160,192,208,0.3);
  border-top: 1px solid rgba(160,192,208,0.3);
  border-right: none;
  border-bottom: 1px solid rgba(160,192,208,0.3);
  transition: all 0.15s ease;
}

.license-pane-1 {
  margin-top: 40px;
  position: relative;
  top: 40px;
  background: linear-gradient(rgba(11, 8, 5, 0.72), rgba(11, 8, 5, 0.78));
  border: 1px solid rgba(160, 192, 208, 0.3);
  border-left: 1px solid rgba(160, 192, 208, 0.3);
  border-right: none;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(160, 192, 208, 0.18);
  overflow: hidden;
  --pupil-shift-x: 0px;
  --pupil-shift-y: 0px;
  --pupil-tint-color: #dd2222;
}

.license-pane-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('guardian-pupil.png') center/cover no-repeat;
  z-index: 0;
  opacity: 0.82;
  pointer-events: none;
  transform: translate(var(--pupil-shift-x), var(--pupil-shift-y));
  transition: opacity 0.22s ease, transform 0.06s ease-out;
}

.license-pane-1:hover::before {
  opacity: 1 !important;
}

.license-pane-1.pupil-tint-active .license-pupil-tint {
  opacity: 0.62;
}

.license-pane-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.8)),
    url('guardian.png') center/cover no-repeat;
  z-index: 1;
  opacity: 1;
  pointer-events: none;
}

.license-pane-1 .pane-content {
  position: relative;
  z-index: 3;
}

.license-pane-3 {
  border-right: none;
}

.license-pane-4 {
  border-right: 1px solid rgba(160,192,208,0.3);
}

.license-pane--featured {
  min-height: 600px;
  margin-top: -40px;
  margin-bottom: -40px;
  z-index: 10;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.license-pane--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.license-pane--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('cracks.png') right bottom/cover no-repeat;
  background-position: right bottom;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  transform-origin: right bottom;
  transform: scale(1.02);
  clip-path: polygon(68.5% 86.5%, 68.5% 86.5%, 68.5% 86.5%, 68.5% 86.5%);
  -webkit-clip-path: polygon(68.5% 86.5%, 68.5% 86.5%, 68.5% 86.5%, 68.5% 86.5%);
  transition: opacity 0.0267s ease-in, transform 0.0667s ease-in, clip-path 0.0717s ease-in, background-position 0.0717s ease-in;
}

.license-pane--featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(34, 170, 238, 0.2);
}

.license-pane--featured:hover::before,
.license-pane--featured:hover::after {
  opacity: 1;
}

.license-pane--featured:hover::after {
  transform: scale(1);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  background-position: right bottom;
}

.pane-content {
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 2;
}

.pane-badge {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  color: #a0c0d0;
  padding: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'agoth pixel', monospace;
  opacity: 0.6;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.pane-title {
  font-family: 'Jacquard12', monospace;
  font-size: 1.25rem;
  font-weight: 600;
  color: #a0c0d0;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  transition: color 0.15s ease;
}

.license-pane--featured .pane-content {
  padding-top: 60px;
}

.pane-price {
  font-family: 'Jacquard12', monospace;
  font-size: 2.4rem;
  font-weight: 700;
  color: #a0c0d0;
  margin: 12px 0 32px;
  letter-spacing: 0.02em;
}

.pane-features {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pane-features li {
  font-family: 'agoth pixel', monospace;
  font-size: 0.9rem;
  color: #a0c0d0;
  line-height: 1.5;
  opacity: 0.7;
}

.pane-features li::before {
  content: '•';
  margin-right: 4px;
  opacity: 0.5;
}

.license-pane-1 .pane-features-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.license-pane-1 .pane-features-wrap .pane-features {
  flex: none;
  margin: 0;
}

.license-pane-1 .pane-eye-group {
  flex: none;
  margin-top: auto;
  margin-bottom: auto;
}

.pane-features li.pane-feature--eye::before {
  content: '👁';
  margin-right: 4px;
  opacity: 0.7;
}



.pane-cta {
  display: inline-block;
  font-family: 'agoth pixel', monospace;
  font-size: 0.8rem;
  color: #a0c0d0;
  text-decoration: none;
  letter-spacing: 0.06em;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-top: 24px;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

.license-pane:hover {
  border-color: #22aaee;
  background: rgba(11, 19, 43, 0.65);
  box-shadow: inset 0 0 24px rgba(34, 170, 238, 0.12);
}

.license-pane--featured:hover {
  border-color: #ff0033;
  box-shadow: inset 0 0 24px rgba(255, 0, 51, 0.12);
}

.license-pane:hover::before {
  opacity: 0.2;
}

.license-pane:hover .pane-title,
.license-pane:hover .pane-price,
.license-pane:hover .pane-features li {
  color: #22aaee;
}

.license-pane:hover .pane-cta {
  color: #22aaee;
  text-shadow: 0 0 12px rgba(34, 170, 238, 0.35);
}

.license-pane:hover .pane-badge {
  color: #22aaee;
  opacity: 0.9;
}

.license-pane--featured:hover .pane-title,
.license-pane--featured:hover .pane-price,
.license-pane--featured:hover .pane-features li,
.license-pane--featured:hover .pane-cta,
.license-pane--featured:hover .pane-badge {
  color: #ff0033;
}

/* ---------- Non Profit (pane-1) hover: outline & text & price swap ---------- */
.license-pane-1:hover {
  border-color: rgba(226, 201, 162, 0.5) !important;
  box-shadow: none !important;
  background: rgba(11, 8, 5, 0.72) !important;
  transform: translateY(-8px);
}

.license-pane-1:hover .pane-title,
.license-pane-1:hover .pane-features li {
  color: #e2c9a2 !important;
}

.license-pane-1 .pane-price {
  min-width: 8ch;
}

.license-pane-1:hover .pane-price {
  color: #e2c9a2 !important;
}

.license-pane-1:hover .pane-badge,
.license-pane-1:hover .pane-cta {
  color: #e2c9a2 !important;
  text-shadow: none !important;
}
/* ---------------------------------------------------------------- */

.instrumental-transport__play,
.instrumental-transport__repeat,
.instrumental-transport__skip {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(160, 192, 208, 0.25);
  background: rgba(160, 192, 208, 0.12);
  color: #e6f3ff;
  cursor: pointer;
  font-size: 0.75rem;
}

.instrumental-transport__repeat.is-active {
  color: #ff0033;
  border-color: rgba(255, 0, 51, 0.35);
  background: rgba(255, 0, 51, 0.12);
}

.instrumental-transport__skip {
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.instrumental-transport__skip:hover {
  opacity: 1;
}

.instrumental-transport__meta {
  display: flex;
  flex: 1.4;
  min-width: 0;
  align-items: center;
  padding: 0 12px;
}

.instrumental-transport__title {
  font-family: var(--font-body) !important;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.instrumental-transport__volume {
  width: 110px;
  cursor: pointer;
}

.instrumentals-scroll::-webkit-scrollbar {
  width: 8px;
}

.instrumentals-scroll::-webkit-scrollbar-track {
  background: rgba(160, 192, 208, 0.05);
}

.instrumentals-scroll::-webkit-scrollbar-thumb {
  background: rgba(160, 192, 208, 0.2);
  border-radius: 0;
}

.instrumentals-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(160, 192, 208, 0.4);
}

.page-wrap,
.preview-store {
  max-width: var(--max-width);
  margin: 120px auto 80px;
  padding: 0 20px;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 40px 0;
}

.avatar {
  width: 180px;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
}

.bio {
  max-width: 720px;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin: 0;
}

.linktree {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.link-btn,
.btn-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(160, 192, 208, 0.28);
  color: #a0c0d0;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'agoth pixel', monospace;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.link-btn:hover,
.btn-star:hover {
  color: #fff;
  background: rgba(160, 192, 208, 0.1);
  transform: translateY(-1px);
}

.works {
  padding: 60px 0;
}

.works h2,
.posts h1,
.posts h2 {
  margin: 0 0 24px;
  font-family: 'agoth pixel', monospace;
  color: #a0c0d0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.work-card {
  min-height: 180px;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(160, 192, 208, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f2f7fb;
  font-family: 'agoth pixel', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.posts {
  display: grid;
  gap: 24px;
  padding: 40px 0;
}

.post {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(160, 192, 208, 0.12);
  padding: 24px;
  border-radius: 4px;
}

.post h2 {
  margin-top: 0;
  color: #fff;
}

.post p {
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
}

.read-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-1);
  text-decoration: none;
  font-family: 'agoth pixel', monospace;
  letter-spacing: 0.08em;
}

.preview-store {
  text-align: center;
}

.preview-store p {
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  max-width: 720px;
  margin: 16px auto 0;
}

.store-cta {
  margin-top: 46px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.btn-star {
  gap: 10px;
  padding: 14px 22px;
  border-color: rgba(34,170,238,0.35);
}

.btn-star svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: 0.8;
}

.trust {
  color: rgba(255,255,255,0.76);
  max-width: 540px;
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .player-container {
    max-width: 100%;
  }

  .instrumental-info {
    flex: 0 0 140px;
  }
}

@media (max-width: 768px) {
  #player.player-section {
    padding: 60px 16px;
  }

  .player-header {
    padding: 16px;
  }

  .player-filters {
    flex-direction: column;
    gap: 12px;
  }

  .mood-toggles {
    width: 100%;
    flex-direction: row;
    gap: 8px;
  }

  .mood-btn {
    flex: 1;
  }

  .filter-divider {
    display: none;
  }

  .tag-buttons {
    width: 100%;
    gap: 6px;
  }

  .tag-btn {
    font-size: 0.75rem;
    padding: 5px 8px;
  }

  .instrumentals-scroll {
    height: 600px;
  }

  .instrumental-row {
    gap: 10px;
    padding: 8px 12px;
  }

  .instrumental-info {
    flex: 0 0 120px;
  }

  .instrumental-title {
    font-size: 0.9rem;
  }

  .page-wrap,
  .preview-store {
    margin: 100px auto 60px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: 140px;
  }
}

@media (max-width: 768px) {
  #licenses.licenses-section {
    padding: 120px 20px;
    min-height: auto;
  }

  .licenses-monolith {
    flex-direction: column;
  }

  .license-pane {
    min-height: 420px;
    border-right: 1px solid rgba(160,192,208,0.3);
  }

  .license-pane--featured {
    min-height: 420px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .pane-content {
    padding: 40px 28px;
  }

  .pane-badge {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    margin-bottom: 12px;
  }

  .licenses-header {
    font-size: 1.2rem;
    margin-bottom: 60px;
    letter-spacing: 0.22em;
  }

  .pane-title {
    font-size: 1.15rem;
  }

  .pane-price {
    font-size: 1.8rem;
    margin: 10px 0 24px;
  }
}

/* ── Newsletter Section ── */
#newsletter.newsletter-section {
  position: relative;
  background: #000;
  padding: 120px 20px;
  overflow: hidden;
}

#newsletter.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 70% 50%, rgba(34,170,238,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 400px 400px at 30% 50%, rgba(0,102,221,0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.newsletter-container {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-header {
  font-family: 'Jacquard12', monospace;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #a0c0d0;
  margin: 0 0 12px;
  text-shadow: 0 0 20px rgba(0,200,255,0.2), 0 2px 12px rgba(160,192,208,0.3);
}

.newsletter-desc {
  font-family: 'agoth pixel', monospace;
  font-size: 0.9rem;
  color: rgba(160, 192, 208, 0.75);
  margin: 0 0 36px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.newsletter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.newsletter-label {
  font-family: 'agoth pixel', monospace;
  font-size: 0.78rem;
  color: rgba(160, 192, 208, 0.75);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsletter-input {
  appearance: none;
  border: 1px solid rgba(160, 192, 208, 0.3);
  background: rgba(11, 19, 43, 0.85);
  color: #dfeff8;
  padding: 12px 14px;
  font-family: 'agoth pixel', monospace;
  font-size: 0.9rem;
  width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.newsletter-input::placeholder {
  color: rgba(160, 192, 208, 0.5);
}

.newsletter-input:focus {
  border-color: rgba(34, 170, 238, 0.6);
  background: rgba(11, 19, 43, 0.95);
  outline: none;
}

.newsletter-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-top: 4px;
}

.newsletter-check-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.newsletter-check-box {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(160, 192, 208, 0.35);
  background: rgba(11, 19, 43, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.newsletter-check-box::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #22aaee;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.newsletter-check-input:checked + .newsletter-check-box {
  border-color: rgba(34, 170, 238, 0.6);
  background: rgba(11, 19, 43, 0.95);
}

.newsletter-check-input:checked + .newsletter-check-box::after {
  opacity: 1;
}

.newsletter-check-input:focus-visible + .newsletter-check-box {
  outline: 2px solid rgba(34, 170, 238, 0.85);
  outline-offset: 2px;
}

.newsletter-check-text {
  font-family: 'agoth pixel', monospace;
  font-size: 0.82rem;
  color: rgba(160, 192, 208, 0.8);
  line-height: 1.45;
}

.newsletter-btn {
  font-family: 'agoth pixel', monospace;
  font-size: 0.85rem;
  color: #f2f7fb;
  background: rgba(34, 170, 238, 0.18);
  border: 1px solid rgba(34, 170, 238, 0.4);
  padding: 12px 18px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.15s ease;
  width: 100%;
  margin-top: 4px;
}

.newsletter-btn:hover {
  background: rgba(34, 170, 238, 0.3);
  border-color: rgba(34, 170, 238, 0.7);
}

.newsletter-btn:active {
  transform: scale(0.98);
}

.newsletter-footnote {
  font-family: 'agoth pixel', monospace;
  font-size: 0.75rem;
  color: rgba(160, 192, 208, 0.5);
  margin: 20px 0 0;
}

@media (max-width: 600px) {
  #newsletter.newsletter-section {
    padding: 80px 20px;
  }

  .newsletter-header {
    font-size: 1.2rem;
  }

  .newsletter-desc {
    font-size: 0.85rem;
    margin-bottom: 28px;
  }
}

/* ── Portfolio Page ── */

.page-section {
  padding: 100px 20px;
  background: #000;
}

.page-section:nth-child(even) {
  background: linear-gradient(180deg, #000 0%, #050508 100%);
}

.section-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-heading {
  font-family: 'Jacquard12', monospace;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #a0c0d0;
  margin: 0 0 12px;
  text-shadow: 0 0 20px rgba(0,200,255,0.2), 0 2px 12px rgba(160,192,208,0.3);
}

.section-desc {
  font-family: 'agoth pixel', monospace;
  font-size: 0.9rem;
  color: rgba(160, 192, 208, 0.75);
  margin: 0 0 48px;
  line-height: 1.6;
  max-width: 600px;
}

/* ── Hero ── */
.portfolio-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.portfolio-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 30% 40%, rgba(34,170,238,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 70% 60%, rgba(0,102,221,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 300px 300px at 50% 80%, rgba(34,170,238,0.03) 0%, transparent 60%);
  z-index: 0;
}

.portfolio-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(34,170,238,0.015) 2px,
    rgba(34,170,238,0.015) 4px
  );
  pointer-events: none;
}

.portfolio-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
}

.portfolio-hero-title {
  font-family: 'Jacquard12', monospace;
  font-size: 5rem;
  margin: 0 0 8px;
  color: #fff;
  text-shadow: 0 0 40px rgba(34,170,238,0.3), 0 2px 20px rgba(0,0,0,0.5);
  letter-spacing: 0.02em;
}

.portfolio-hero-tag {
  font-family: 'Jacquard12', monospace;
  font-size: 1.2rem;
  color: rgba(160, 192, 208, 0.7);
  margin: 0 0 6px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-hero-sub {
  font-family: 'agoth pixel', monospace;
  font-size: 0.95rem;
  color: rgba(160, 192, 208, 0.55);
  margin: 0 0 40px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.portfolio-hero-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.portfolio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'agoth pixel', monospace;
  font-size: 0.85rem;
  color: #f2f7fb;
  background: rgba(34, 170, 238, 0.18);
  border: 1px solid rgba(34, 170, 238, 0.4);
  padding: 12px 24px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.15s ease;
}

.portfolio-btn:hover {
  background: rgba(34, 170, 238, 0.3);
  border-color: rgba(34, 170, 238, 0.7);
  color: #fff;
}

.portfolio-btn--outline {
  background: transparent;
  border-color: rgba(160, 192, 208, 0.3);
  color: rgba(160, 192, 208, 0.8);
}

.portfolio-btn--outline:hover {
  background: rgba(160, 192, 208, 0.1);
  border-color: rgba(160, 192, 208, 0.5);
  color: #fff;
}

.portfolio-btn--large {
  padding: 14px 32px;
  font-size: 0.95rem;
}

/* ── About ── */
.portfolio-about {
  position: relative;
}

.portfolio-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160,192,208,0.2), transparent);
}

.portfolio-about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

.portfolio-about-image {
  position: relative;
}

.portfolio-about-image img {
  width: 100%;
  display: block;
  border: 1px solid rgba(160,192,208,0.2);
  opacity: 0.9;
}

.portfolio-about-text p {
  font-family: 'agoth pixel', monospace;
  font-size: 0.95rem;
  color: rgba(160, 192, 208, 0.85);
  line-height: 1.75;
  margin: 0 0 16px;
}

.portfolio-about-text p:last-of-type {
  margin-bottom: 32px;
}

.portfolio-about-details {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.portfolio-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portfolio-detail-num {
  font-family: 'Jacquard12', monospace;
  font-size: 2rem;
  color: #22aaee;
  line-height: 1;
}

.portfolio-detail-label {
  font-family: 'agoth pixel', monospace;
  font-size: 0.75rem;
  color: rgba(160, 192, 208, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Featured Beats ── */
.portfolio-featured {
  position: relative;
}

.portfolio-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160,192,208,0.2), transparent);
}

.portfolio-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-feat-card {
  position: relative;
  background: rgba(11, 19, 43, 0.45);
  border: 1px solid rgba(160, 192, 208, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.portfolio-feat-card:hover {
  border-color: rgba(34, 170, 238, 0.4);
  background: rgba(11, 19, 43, 0.65);
}

.portfolio-feat-art {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(160, 192, 208, 0.1);
}

.portfolio-feat-emoji {
  font-size: 2.8rem;
  opacity: 0.5;
  filter: grayscale(0.5);
}

.portfolio-feat-info {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.portfolio-feat-title {
  font-family: 'agoth pixel', monospace;
  font-size: 1rem;
  color: #e5f6ff;
  margin: 0;
  width: 100%;
  margin-bottom: 4px;
}

.portfolio-feat-key,
.portfolio-feat-bpm {
  font-family: 'agoth pixel', monospace;
  font-size: 0.75rem;
  color: rgba(160, 192, 208, 0.6);
  padding: 2px 6px;
  border: 1px solid rgba(160, 192, 208, 0.15);
}

.portfolio-feat-tag {
  font-family: 'agoth pixel', monospace;
  font-size: 0.7rem;
  color: rgba(160, 192, 208, 0.55);
  background: rgba(160, 192, 208, 0.08);
  border: 1px solid rgba(160, 192, 208, 0.12);
  padding: 2px 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-feat-player {
  display: none;
}

.portfolio-feat-play {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(160, 192, 208, 0.3);
  background: rgba(0, 0, 0, 0.7);
  color: #e5f6ff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  z-index: 2;
}

.portfolio-feat-play:hover {
  background: rgba(34, 170, 238, 0.3);
  border-color: rgba(34, 170, 238, 0.6);
}

.portfolio-feat-card--more {
  background: transparent;
  border-style: dashed;
  border-color: rgba(160, 192, 208, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.portfolio-feat-card--more:hover {
  border-color: rgba(34, 170, 238, 0.35);
  background: rgba(11, 19, 43, 0.25);
}

.portfolio-feat-more-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: 'agoth pixel', monospace;
  font-size: 0.85rem;
  color: rgba(160, 192, 208, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 40px 20px;
  transition: color 0.15s ease;
}

.portfolio-feat-card--more:hover .portfolio-feat-more-link {
  color: rgba(34, 170, 238, 0.8);
}

.portfolio-feat-more-icon {
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(160, 192, 208, 0.3);
  transition: color 0.15s ease;
}

.portfolio-feat-card--more:hover .portfolio-feat-more-icon {
  color: rgba(34, 170, 238, 0.6);
}

/* ── Services ── */
.portfolio-services {
  position: relative;
}

.portfolio-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160,192,208,0.2), transparent);
}

.portfolio-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-service-card {
  background: rgba(11, 19, 43, 0.35);
  border: 1px solid rgba(160, 192, 208, 0.15);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.portfolio-service-card:hover {
  border-color: rgba(34, 170, 238, 0.35);
  background: rgba(11, 19, 43, 0.55);
}

.portfolio-service-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  opacity: 0.7;
}

.portfolio-service-title {
  font-family: 'Jacquard12', monospace;
  font-size: 1.05rem;
  color: #a0c0d0;
  margin: 0 0 12px;
  letter-spacing: 0.06em;
}

.portfolio-service-text {
  font-family: 'agoth pixel', monospace;
  font-size: 0.85rem;
  color: rgba(160, 192, 208, 0.7);
  line-height: 1.6;
  margin: 0 0 auto;
  flex: 1;
}

.portfolio-service-link {
  display: inline-block;
  font-family: 'agoth pixel', monospace;
  font-size: 0.8rem;
  color: rgba(34, 170, 238, 0.7);
  text-decoration: none;
  letter-spacing: 0.06em;
  margin-top: 20px;
  transition: color 0.15s ease;
}

.portfolio-service-link:hover {
  color: #22aaee;
}

/* ── Testimonials ── */
.portfolio-testimonials {
  position: relative;
}

.portfolio-testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160,192,208,0.2), transparent);
}

.portfolio-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-testimonial-card {
  background: rgba(11, 19, 43, 0.3);
  border: 1px solid rgba(160, 192, 208, 0.12);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.portfolio-testimonial-text {
  font-family: 'agoth pixel', monospace;
  font-size: 0.85rem;
  color: rgba(160, 192, 208, 0.8);
  line-height: 1.7;
  margin: 0 0 20px;
  flex: 1;
  font-style: italic;
}

.portfolio-testimonial-text::before {
  content: '"';
  color: rgba(34, 170, 238, 0.3);
  font-size: 1.4rem;
  font-style: normal;
}

.portfolio-testimonial-text::after {
  content: '"';
  color: rgba(34, 170, 238, 0.3);
  font-size: 1.4rem;
  font-style: normal;
}

.portfolio-testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portfolio-testimonial-name {
  font-family: 'agoth pixel', monospace;
  font-size: 0.78rem;
  color: rgba(160, 192, 208, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── CTA ── */
.portfolio-cta {
  position: relative;
  text-align: center;
  padding-bottom: 120px;
}

.portfolio-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160,192,208,0.2), transparent);
}

.portfolio-cta .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.portfolio-cta-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.portfolio-cta-links a {
  font-family: 'agoth pixel', monospace;
  font-size: 0.82rem;
  color: rgba(160, 192, 208, 0.5);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.portfolio-cta-links a:hover {
  color: #22aaee;
}

/* ── Portfolio Responsive ── */
@media (max-width: 860px) {
  .portfolio-hero-title {
    font-size: 3.5rem;
  }

  .portfolio-about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .portfolio-about-image {
    max-width: 220px;
    margin: 0 auto;
  }

  .portfolio-featured-grid,
  .portfolio-services-grid,
  .portfolio-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .page-section {
    padding: 70px 20px;
  }

  .section-desc {
    margin-bottom: 32px;
  }
}

/* Typography enforcement layer */
:where(body, main, nav, footer) :where(p, span, a, li, label, button, input, select, textarea, small, strong, em, div):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  font-family: var(--font-body) !important;
}

:where(h1, h2, h3, h4, h5, h6),
.site-nav .nav-links a,
.hero-title,
.player-title,
.licenses-header,
.newsletter-header,
.pane-title,
.pane-price,
.pane-badge,
.license-option strong,
.license-option span,
.license-modal__title,
.portfolio-hero-title,
.page-title,
.section-title,
.hero-title {
  font-family: var(--font-display) !important;
}

@media (max-width: 600px) {
  .portfolio-hero-title {
    font-size: 2.6rem;
  }

  .portfolio-hero-tag {
    font-size: 1rem;
  }

  .portfolio-hero-content {
    padding: 100px 18px 60px;
  }

  .portfolio-about-details {
    gap: 24px;
  }

  .portfolio-detail-num {
    font-size: 1.6rem;
  }

  .portfolio-btn--large {
    width: 100%;
  }
}

/* ── Soundstore Section (wavSyndicate) ── */
#store.store-section {
  position: relative;
  z-index: 1000;
  background: #000;
  padding: 120px 20px;
  overflow: hidden;
}

#store.store-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160, 192, 208, 0.2), transparent);
}

#store.store-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 500px 250px at 30% 50%, rgba(34, 170, 238, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 400px 400px at 70% 50%, rgba(0, 102, 221, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.store-container {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.store-header {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #a0c0d0;
  margin: 0 0 16px;
  text-shadow: 0 0 20px rgba(0, 200, 255, 0.2), 0 2px 12px rgba(160, 192, 208, 0.3);
}

.store-desc {
  font-family: 'agoth pixel', monospace;
  font-size: 0.9rem;
  color: rgba(160, 192, 208, 0.72);
  margin: 0 0 36px;
  line-height: 1.7;
}

.store-btn {
  display: inline-block;
  font-family: 'agoth pixel', monospace;
  font-size: 0.85rem;
  color: #f2f7fb;
  background: rgba(34, 170, 238, 0.15);
  border: 1px solid rgba(34, 170, 238, 0.4);
  padding: 14px 36px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.store-btn:hover {
  background: rgba(34, 170, 238, 0.3);
  border-color: rgba(34, 170, 238, 0.7);
  color: #fff;
  box-shadow: 0 0 24px rgba(34, 170, 238, 0.15);
}

.store-btn:active {
  transform: scale(0.97);
}

@media (max-width: 600px) {
  #store.store-section {
    padding: 70px 20px;
  }

  .store-header {
    font-size: 1.15rem;
  }

  .store-desc {
    font-size: 0.85rem;
    margin-bottom: 28px;
  }

  .store-btn {
    width: 100%;
    padding: 14px 20px;
  }
}
