:root {
  --bg: #0c0c0b;
  --bg-strong: #141312;
  --panel: rgba(22, 20, 18, 0.78);
  --panel-strong: rgba(28, 25, 22, 0.95);
  --line: rgba(255, 255, 255, 0.025);
  --text: #f3efe7;
  --muted: rgba(243, 239, 231, 0.68);
  --shadow: rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 211, 120, 0.14), transparent 35%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.04), transparent 30%),
    var(--bg);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.theme-yellow {
  --accent: #e3b75a;
  --accent-soft: rgba(227, 183, 90, 0.18);
  --accent-strong: #f5cf74;
  --line: rgba(227, 183, 90, 0.1);
  --panel: rgba(26, 22, 14, 0.82);
  --bg: #0d0c0a;
}

body.theme-red {
  --accent: #d66a54;
  --accent-soft: rgba(214, 106, 84, 0.14);
  --accent-strong: #ed8268;
  --line: rgba(214, 106, 84, 0.08);
  --panel: rgba(23, 17, 16, 0.82);
  --bg: #120d0b;
}

body.theme-green {
  --accent: #7cba91;
  --accent-soft: rgba(124, 186, 145, 0.14);
  --accent-strong: #99d0a7;
  --line: rgba(124, 186, 145, 0.08);
  --panel: rgba(12, 20, 16, 0.82);
  --bg: #09130d;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.025), transparent 34%, rgba(255,255,255,0.015)),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.06), transparent 36%);
  pointer-events: none;
  opacity: 0.7;
  filter: blur(30px);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 28px auto;
  background: linear-gradient(180deg, rgba(18, 17, 16, 0.82), rgba(8, 8, 8, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.012);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  position: relative;
  backdrop-filter: blur(2px);
  overflow: hidden;
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.018), transparent 38%, transparent 76%, rgba(255,255,255,0.01));
  pointer-events: none;
}

.site-header,
.site-footer,
main {
  width: min(1090px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 16px;
  border-bottom: 1px solid var(--line);
  z-index: 25;
}

body.lightbox-open .site-header,
body.lightbox-open .site-footer,
body.lightbox-open main {
  z-index: 1;
}

.site-footer {
  z-index: 1;
}

main {
  z-index: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding-left: 10px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  color: var(--accent-strong);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.social-link svg {
  width: 16px;
  height: 16px;
  display: block;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 88px;
  height: 88px;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.logo-spin-mark {
  display: grid;
  place-items: center;
  background: transparent;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
  transform: scale(1.1);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name,
.eyebrow,
.card-index,
.card-tag {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-name {
  font-size: 1rem;
  color: var(--accent-strong);
}

.brand-slogan {
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: none;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 40;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  z-index: 50;
}

.nav-trigger {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 36px 10px 14px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}

.nav-trigger::after {
  content: "▾";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-strong);
  font-size: 0.8rem;
  pointer-events: none;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  z-index: 999;
}

.nav-dropdown.is-open .nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu-item {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.nav-menu-item:last-child {
  border-bottom: 0;
}

.nav-menu-item:hover,
.nav-menu-item:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-link {
  position: relative;
  padding: 10px 14px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

main {
  padding: 22px 0 12px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 28px;
  min-height: 500px;
}

.hero-copy {
  display: none;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.hero-meta-panel {
  padding: 0 2px;
}

.hero-label-left,
.hero-label-right {
  display: inline-block;
  margin: 0;
  color: var(--accent);
  font-size: 0.66rem;
}

.hero-label-left {
  text-align: left;
}

.hero-label-right {
  text-align: right;
}

.hero-summary {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.66rem;
}

.lede.subtle {
  margin-top: 0;
  opacity: 0.92;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1;
}

h1 {
  max-width: 700px;
  font-size: clamp(3rem, 5vw, 5.4rem);
}

h2 {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  line-height: 1;
}

.lede {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 0.9rem 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: var(--accent);
  border-color: transparent;
  color: #0a0a0a;
  font-weight: 700;
}

.contact-form .button.is-sending {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.16em;
  background: var(--accent-strong);
  box-shadow: 0 0 0 1px var(--accent), 0 0 24px var(--accent-soft);
  animation: uplink-pulse 1.4s ease-in-out infinite;
}

@keyframes uplink-pulse {
  0%, 100% {
    opacity: 0.72;
    transform: translateY(0) skewX(0deg);
  }
  45% {
    opacity: 1;
    transform: translateY(-1px) skewX(-2deg);
  }
  55% {
    transform: translateY(1px) skewX(2deg);
  }
}

.button:hover {
  transform: translateY(-2px);
}

.hero-frame {
  position: relative;
  min-height: 420px;
  height: 100%;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01)),
    radial-gradient(circle at center, rgba(255,255,255,0.02), transparent 65%);
  overflow: visible;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  display: grid;
  place-items: center;
  padding: 22px;
}

.hero-frame-full {
  width: min(68%, 760px);
  min-height: 380px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

.video-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.video-placeholder {
  width: min(100%, 420px);
  min-height: 300px;
  height: 100%;
  max-height: 420px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01) 30%, var(--accent-soft)),
    rgba(18, 18, 18, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.2);
}

.video-placeholder-full {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  height: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
}

.video-mark {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-size: clamp(1.1rem, 2vw, 1.8rem);
}

.video-caption {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 28px 30px;
  margin-top: 18px;
  align-items: start;
}

.feature-card,
.project-card,
.contact-form {
  background: rgba(255,255,255,0.018);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.feature-card {
  padding: 18px 18px 16px;
  min-height: 222px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

.card-toggle {
  appearance: none;
  border: none;
  background: transparent;
  color: inherit;
  width: 100%;
  position: relative;
  padding: 0 42px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
}

.card-header {
  display: block;
  flex: 1;
  min-width: 0;
}

.card-index {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.62rem;
}

.card-arrow {
  position: absolute;
  right: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.2s ease, background 0.2s ease;
}

.feature-card.is-open .card-arrow {
  transform: rotate(45deg);
  background: var(--accent-soft);
}

.card-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.3s ease;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scrollbar-color: transparent transparent;
}

.card-body::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}

.card-body::-webkit-scrollbar-thumb {
  background: transparent;
}

.card-body::-webkit-scrollbar-track {
  background: transparent;
}

.feature-card.is-open .card-body {
  opacity: 1;
  margin-top: 16px;
}

.feature-card p,
.project-card p,
.contact-copy p,
.contact-list,
.site-footer,
.footer-links a {
  color: var(--muted);
  line-height: 1.7;
}

.card-body p {
  margin: 0 0 10px;
}

.card-body p:last-child {
  margin-bottom: 0;
}

.sub-accordion {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.sub-item {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.sub-toggle {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  text-align: left;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

.sub-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 1rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.sub-item.is-open .sub-arrow {
  transform: rotate(45deg);
}

.sub-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  padding: 0 0.9rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scrollbar-color: transparent transparent;
}

.sub-body::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}

.sub-body::-webkit-scrollbar-thumb {
  background: transparent;
}

.sub-body::-webkit-scrollbar-track {
  background: transparent;
}

.sub-item.is-open .sub-body {
  opacity: 1;
  padding-bottom: 0.9rem;
}

.sub-body p {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.sub-body p:last-child {
  margin-bottom: 0;
}

.sub-item {
  overflow: hidden;
}

.page-hero {
  padding: 28px 28px 22px;
  margin-bottom: 18px;
}

.page-hero h1 {
  max-width: 760px;
}

.album-art-hero {
  padding-bottom: 28px;
}

.album-gallery {
  position: relative;
  margin-top: 24px;
}

.album-view-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(8, 7, 7, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 999px;
}

.album-view-button {
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted, rgba(255, 255, 255, 0.7));
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.album-view-button.is-active {
  background: var(--accent);
  color: #0c0c0c;
}

.album-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 380px;
}

.carousel-hint {
  display: none;
}

.album-grid {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  padding-top: 58px;
}

.album-gallery.is-grid .album-carousel {
  display: none;
}

.album-gallery.is-grid .album-grid {
  display: grid;
}

.album-carousel-viewport {
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: none;
}

.album-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.album-carousel-track {
  display: flex;
  gap: 0;
  width: max-content;
  padding: 2px;
  animation: album-art-marquee 195s linear infinite;
}

.album-carousel:hover .album-carousel-track {
  animation-play-state: paused;
}

@keyframes album-art-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.album-art-slot {
  position: relative;
  display: flex;
  flex: 0 0 clamp(220px, 34vw, 420px);
  aspect-ratio: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  overflow: hidden;
  scroll-snap-align: center;
  margin-right: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 42%),
    radial-gradient(circle at 80% 18%, var(--accent-soft), transparent 42%),
    var(--bg-strong);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.album-art-slot:hover,
.album-art-slot:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  transform: translateY(-6px) scale(1.015);
}

.album-art-slot::after {
  position: absolute;
  right: -18%;
  bottom: 12%;
  width: 68%;
  height: 68%;
  border: 1px solid var(--accent-soft);
  content: "";
  transform: rotate(38deg);
}

.album-art-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-grid-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-strong);
  cursor: pointer;
  padding: 0;
}

.album-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.album-grid-item:hover img,
.album-grid-item:focus-visible img {
  transform: scale(1.04);
}

.album-art-number,
.album-art-label,
.carousel-position {
  position: relative;
  z-index: 1;
  color: var(--accent-strong);
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.album-art-number {
  font-size: 0.68rem;
}

.album-art-label {
  color: var(--text);
  font-size: 0.72rem;
}

.carousel-control {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--accent-strong);
  font-size: 1.1rem;
  cursor: pointer;
}

.carousel-control:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.carousel-control:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.carousel-position {
  grid-column: 2;
  justify-self: center;
  margin: 4px 0 0;
  font-size: 0.6rem;
}

body.lightbox-open {
  overflow: hidden;
}

.album-lightbox[hidden] {
  display: none;
}

.album-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.album-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 4, 0.88);
  backdrop-filter: blur(8px);
}

.album-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, min(78vw, 760px)) auto;
  align-items: center;
  gap: 14px;
  width: min(100%, 900px);
}

.lightbox-art-viewport {
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: none;
}

.lightbox-art-viewport::-webkit-scrollbar {
  display: none;
}

.lightbox-art-track {
  display: flex;
  gap: 18px;
  width: max-content;
}

.lightbox-art-slot {
  position: relative;
  flex: 0 0 min(78vw, 760px);
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: center;
  border: 1px solid var(--accent);
  background: var(--bg-strong);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.lightbox-art-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  z-index: 2;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  color: var(--accent-strong);
}

.lightbox-position {
  position: absolute;
  right: 50%;
  bottom: -28px;
  transform: translateX(50%);
}

.commercial-hero {
  padding-top: 24px;
  margin-bottom: 18px;
}

.commercial-hero .embed-shell {
  display: grid;
  gap: 12px;
  width: min(100%, 980px);
  margin: 0 auto;
}

.commercial-hero iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--bg-strong);
}

.music-video-hero .project-grid {
  padding-left: 0;
  padding-right: 0;
}

.music-hero .album-layout {
  padding-left: 0;
  padding-right: 0;
}

.featured-song-grid {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.featured-song-card {
  padding: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  overflow: hidden;
}

.featured-song-card-full {
  width: 100%;
}

.artist-directory {
  padding: 24px 28px 28px;
  margin-top: 18px;
}

.artist-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.artist-list li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
}

.artist-list a {
  display: block;
  padding: 14px 16px;
  color: var(--text);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.artist-list a:hover,
.artist-list a:focus-visible {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.artist-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.artist-back-link:hover,
.artist-back-link:focus-visible {
  opacity: 0.9;
  transform: translateX(-2px);
}

.artist-subtitle {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--accent-strong);
  font-family: "Orbitron", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.artist-genre-label {
  color: var(--text-soft);
  font-family: "Inter", sans-serif;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.artist-audio-collapse,
.artist-video-collapse {
  display: block;
  margin-top: 12px;
}

.artist-audio-toggle,
.artist-video-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(31, 16, 16, 0.9);
  color: var(--text);
  font-family: "Orbitron", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.artist-audio-toggle:hover,
.artist-audio-toggle:focus-visible,
.artist-video-toggle:hover,
.artist-video-toggle:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.artist-audio-toggle-icon,
.artist-video-toggle-icon {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.artist-audio-toggle.is-open .artist-audio-toggle-icon,
.artist-video-toggle.is-open .artist-video-toggle-icon {
  transform: rotate(45deg);
}

.artist-audio-panel,
.artist-video-panel {
  padding-top: 12px;
}

.audio-player-frame-weston {
  width: 100%;
}

.audio-player-frame-weston iframe {
  display: block;
  width: 100%;
  aspect-ratio: 500 / 235;
  min-height: 235px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #171110;
}

.artist-embed-item {
  padding: 0;
  border: none;
  background: transparent;
}

.artist-embed-item iframe,
.artist-video-item iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 420px;
  height: clamp(420px, 38vw, 520px);
  aspect-ratio: auto;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 12px;
}

.artist-embed-item iframe {
  filter: sepia(0.75) saturate(1.55) hue-rotate(-18deg) brightness(0.95) contrast(1.08);
  box-shadow: inset 0 0 0 1px rgba(214, 106, 84, 0.08);
}

.artist-video-thumb-link {
  display: block;
  width: 100%;
  text-decoration: none;
}

.artist-video-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0f0f0f;
}

.artist-video-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
  align-items: start;
}

.artist-video-item {
  display: block;
  width: 100%;
  min-width: 0;
}

.artist-hero-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.artist-presave {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 28px 28px;
}

.project-card {
  padding: 20px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.project-card:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  color: var(--accent-strong);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-cta span {
  font-size: 0.95rem;
  line-height: 0.7;
  transition: transform 0.2s ease;
}

.project-card:hover .card-cta span {
  transform: translate(2px, -2px);
}

.card-tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.62rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  padding: 24px 28px 28px;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}

.contact-list li {
  position: relative;
  padding-left: 18px;
}

.contact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.marketing-optin {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
  cursor: pointer;
  padding: 0.4rem 0;
}

.marketing-optin input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-switch {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.marketing-optin input:checked + .toggle-switch {
  background: linear-gradient(90deg, rgba(144, 204, 146, 0.9), rgba(174, 218, 174, 0.96));
  border-color: rgba(215, 242, 210, 0.95);
  box-shadow: 0 0 0 3px rgba(144, 204, 146, 0.2), inset 0 0 12px rgba(255, 255, 255, 0.18);
}

.marketing-optin input:checked + .toggle-switch::after {
  transform: translateX(16px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(233, 245, 229, 0.96));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.marketing-optin-text {
  flex: 1;
  color: var(--muted);
}

.form-turnstile-wrap {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}

.form-turnstile-wrap .cf-turnstile {
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.5rem;
  display: flex;
  justify-content: flex-start;
}

.form-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.form-disclaimer a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  padding: 0.9rem 0.95rem;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  background: rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  cursor: pointer;
  box-shadow: none;
}

.contact-form select:disabled {
  background: rgba(255, 255, 255, 0.012);
  background-image: none;
  border-color: rgba(255, 255, 255, 0.06);
  color: rgba(243, 239, 231, 0.38);
  cursor: not-allowed;
  opacity: 0.72;
}

.contact-form select option {
  background: rgba(17, 17, 17, 0.72);
  color: #f3efe7;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(4px);
  color: var(--text);
  padding: 0.9rem 2.75rem 0.9rem 0.95rem;
  font: inherit;
  text-align: left;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: none;
}

.custom-select-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.custom-select-label {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.95rem;
}

.custom-select-trigger.has-value .custom-select-label {
  color: var(--text);
}

.custom-select-caret {
  color: var(--accent-strong);
  font-size: 0.9rem;
  line-height: 1;
  margin-left: auto;
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 17, 17, 0.18);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  z-index: 30;
}

.custom-select.is-open .custom-select-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.custom-select-option {
  appearance: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  color: var(--text);
  padding: 0.8rem 0.9rem;
  font: inherit;
  text-align: left;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.custom-select-option:last-child {
  border-bottom: 0;
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  background: rgba(255, 255, 255, 0.04);
}

.audio-player-frame {
  width: min(100%, 1000px);
}

.audio-player-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 500 / 235;
  min-height: 235px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
}

.spotify-player-frame {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
  overflow: hidden;
}

.spotify-player-frame iframe,
.artist-embed-item iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
  background: var(--bg);
}

.spotify-player-frame iframe,
.artist-embed-item iframe {
  filter: sepia(0.72) saturate(1.6) hue-rotate(-18deg) brightness(0.92) contrast(1.08);
  box-shadow: inset 0 0 0 1px rgba(214, 106, 84, 0.08);
}

.audio-player-credit {
  display: block;
  margin-top: 7px;
  padding-left: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-player-credit:hover {
  color: var(--accent-strong);
}

.form-status {
  min-height: 1.2em;
  margin: 0;
  color: var(--accent-strong);
  line-height: 1.5;
}

.form-status-follow-up {
  display: block;
  margin-top: 4px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-policy-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-policy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-policy-link:hover,
.footer-policy-link:focus-visible {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.privacy-policy-page {
  padding: 28px 32px 18px;
}

.privacy-policy-page h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

.privacy-policy-page h2 {
  margin: 24px 0 10px;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-policy-page p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.8;
}

.privacy-effective-date {
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.privacy-policy-content a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.page-transition {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(0,0,0,0.97));
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transform-origin: top center;
  transition: opacity 0.24s ease, transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 50;
}

body.transitioning .page-transition {
  opacity: 1;
  transform: translateY(0%);
}

@media (max-width: 900px) {
  .hero,
  .contact-layout,
  .project-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-shell {
    width: min(100%, 560px);
    max-width: 100%;
    overflow: hidden;
  }

  .artist-list {
    gap: 16px;
  }

  .artist-embed-item iframe,
  .spotify-player-frame iframe {
    width: 100%;
    min-height: 440px;
    height: clamp(440px, 62vw, 560px);
    aspect-ratio: auto;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    gap: 10px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    width: 100%;
  }

  .footer-policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-links a {
    font-size: 0.62rem;
    line-height: 1.5;
  }

  .footer-policy-link {
    padding: 0.5rem 0.7rem;
    letter-spacing: 0.05em;
  }

  .footer-social {
    width: 100%;
    justify-content: flex-start;
  }

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

  .hero,
  .page-hero,
  .project-grid,
  .contact-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .album-carousel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .carousel-hint {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.015);
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    white-space: nowrap;
  }

  .carousel-hint-arrows {
    color: var(--accent-strong);
    letter-spacing: 0.06em;
    font-size: 0.74rem;
    opacity: 0.9;
  }

  .album-carousel-track {
    animation: none !important;
    transform: none !important;
  }

  .album-carousel-viewport {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .album-art-slot {
    flex-basis: min(72vw, 340px);
    margin-right: 12px;
  }

  .carousel-control {
    display: none;
  }

  .album-lightbox {
    padding: 18px 12px;
  }

  .album-lightbox-dialog {
    grid-template-columns: 1fr;
    width: min(100%, 86vw);
  }

  .lightbox-art-viewport {
    width: min(100%, 86vw);
  }

  .lightbox-art-slot {
    flex-basis: min(86vw, 420px);
  }

  .lightbox-close {
    top: -30px;
    right: 0;
    font-size: 1.8rem;
  }

  .lightbox-control-prev,
  .lightbox-control-next {
    display: none;
  }

  .project-card > div > iframe {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }

  .project-card > div {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    box-sizing: border-box;
  }

  .project-card {
    padding: 12px;
    min-height: auto;
    overflow: hidden;
  }

  .project-card h3 {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .project-grid {
    gap: 12px;
  }
}
