/* Typography */
@font-face {
  font-family: 'Proxima Soft';
  src: url('assets/fonts/ProximaSoft-Black.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #04070b;
  --color-surface: rgba(8, 15, 24, 0.78);
  --color-panel: #0c111b;
  --color-text: #f8f9fb;
  --color-muted: #9aa7b8;
  --color-accent: #329463;
  --color-accent-soft: rgba(0, 245, 212, 0.15);
  --color-border: rgba(255, 255, 255, 0.12);
  --font-display: 'Proxima Soft', 'Montserrat', 'Avenir', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-hard: 0 8px 32px rgba(0, 0, 0, 0.6);
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

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

a:hover,
a:focus {
  color: var(--color-accent);
}

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

p {
  line-height: 1.7;
  color: var(--color-muted);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(3rem, 6vw + 0.4rem, 5.5rem);
  line-height: 1.05;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3rem);
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.3rem, 1.5vw + 1rem, 1.75rem);
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 1rem;
}

.lead {
  font-size: clamp(1rem, 1.2vw + 1rem, 1.4rem);
  max-width: 50ch;
  color: #f8f9fb;
}

.constraint {
  width: min(100% - 2 * var(--gutter), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: clamp(70px, 12vw, 140px) 0;
  position: relative;
}

.section__header {
  max-width: 620px;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section__header p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(248, 249, 251, 0.98);
  color: #050d19;
  border-bottom: 1px solid rgba(5, 13, 25, 0.1);
  box-shadow: 0 8px 30px rgba(4, 7, 11, 0.06);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem var(--gutter);
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: clamp(1rem, 4vw, 2rem);
}

.brand img {
  width: clamp(170px, 20vw, 440px);
}

.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  margin-left: clamp(1rem, 8vw, 5rem);
}

.site-header .main-nav,
.site-header .nav-bar a {
  color: inherit;
}

.main-nav ul {
  display: flex;
  gap: clamp(0.9rem, 2.5vw, 2rem);
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-item--dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
  pointer-events: auto;
}

.nav-item--dropdown > .nav-link::after {
  content: '›';
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 1.1em;
  font-weight: 400;
  transition: transform 0.3s ease;
  transform: rotate(90deg);
  opacity: 0.7;
}

.nav-item--dropdown:hover > .nav-link::after {
  opacity: 1;
  transform: rotate(90deg) translateY(2px);
}


.dropdown-menu {
  display: flex;
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  min-width: auto;
  width: max-content;
  padding: 0.5rem 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.8125);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0.35s;
  color: #ffffff;
}

.nav-item--dropdown:hover > .dropdown-menu,
.nav-item--dropdown:focus-within > .dropdown-menu,
.dropdown-menu:hover,
.dropdown-menu:focus-within {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s, 0s, 0s;
}

.dropdown-menu li {
  text-align: left;
  display: block;
  width: 100%;
}

.dropdown-menu li:first-child {
  padding-top: 1rem;
}

.dropdown-menu li:last-child {
  padding-bottom: 1rem;
}

.dropdown-menu a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: left;
  padding: 0.55rem 1.5rem;
  margin: 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  display: block;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
  text-shadow: none;
  position: relative;
  white-space: nowrap;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  color: #ffffff;
  background: transparent;
  transform: translateX(4px);
}

.dropdown-menu a[aria-current="page"] {
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  font-weight: 400;
}


.main-nav a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
}


.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(5, 13, 25, 0.04);
  border: 1px solid rgba(5, 13, 25, 0.16);
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #050d19;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(120px, 18vw, 180px) var(--gutter);
  background: url('assets/images/hero.jpg') center / cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(4, 7, 11, 0.88) 10%, rgba(4, 7, 11, 0.45) 50%, rgba(4, 7, 11, 0.9) 100%);
  mix-blend-mode: multiply;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.hero__content h1 {
  color: #f8f9fb;
  margin-bottom: 0.25rem;
}

.studio-hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
}

.hero--studio .lead {
  color: rgba(248, 249, 251, 0.85);
}

.hero--press {
  background: url('assets/images/IMG_9670.JPG') center / cover no-repeat;
}

.hero--bay {
  background: url('assets/images/IMG_9688.JPG') center / cover no-repeat;
}

.hero--lab {
  background: url('assets/images/IMG_9721.JPG') center / cover no-repeat;
}

.hero--studio {
  padding-top: clamp(60px, 9vw, 90px);
  padding-bottom: clamp(60px, 9vw, 90px);
}

.hero--studio .hero__overlay {
  background: linear-gradient(130deg, rgba(4, 7, 11, 0.92) 10%, rgba(4, 7, 11, 0.6) 60%, rgba(4, 7, 11, 0.9) 100%);
}

.hero--film {
  overflow: visible;
  padding-top: clamp(80px, 10vw, 100px);
  padding-left: clamp(32px, 6vw, 80px);
  padding-right: clamp(32px, 6vw, 80px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  justify-content: center;
}

.hero__content--with-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.8rem, 5vw, 3.6rem);
  max-width: min(1500px, 100%);
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.hero__title-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
}

.hero__video {
  width: 100%;
  max-width: clamp(760px, 78vw, 1440px);
  min-width: 0;
  margin: 0 auto;
}

.hero__video .video-wrapper {
  width: 100%;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.video-gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.6rem);
}

.video-gallery__player {
  position: relative;
  width: 100%;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.85));
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.video-gallery__player::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

.video-gallery__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-gallery__status {
  display: grid;
  place-items: center;
  min-height: clamp(240px, 40vw, 380px);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 249, 251, 0.8);
}

.video-gallery__list {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.3rem);
  overflow-x: auto;
  padding: 0.2rem;
  scrollbar-width: thin;
}

.video-gallery__list::-webkit-scrollbar {
  height: 6px;
}

.video-gallery__list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.video-gallery__item {
  flex: 0 0 clamp(160px, 28vw, 280px);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.video-gallery__item[aria-current='true'] {
  border-color: rgba(252, 206, 90, 0.8);
  box-shadow: 0 12px 32px rgba(252, 206, 90, 0.25);
}

.video-gallery__item:hover,
.video-gallery__item:focus {
  transform: translateY(-4px);
  border-color: rgba(252, 206, 90, 0.6);
}

.video-gallery__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-gallery__meta {
  padding: 0.85rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.video-gallery__title {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-gallery__desc {
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  line-height: 1.45;
  color: rgba(248, 249, 251, 0.75);
}

@media (max-width: 768px) {
  .video-gallery__list {
    padding-bottom: 0.8rem;
  }

  .video-gallery__item {
    flex-basis: clamp(200px, 70vw, 240px);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.button--primary {
  background: var(--color-accent);
  color: #f8f9fb;
  box-shadow: 0 12px 30px rgba(50, 148, 99, 0.35);
}

.button--primary:hover,
.button--primary:focus {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 36px rgba(50, 148, 99, 0.45);
  color: #f8f9fb;
}

.button--ghost {
  border-color: transparent;
  color: #f8f9fb;
  background: var(--color-accent);
  box-shadow: 0 12px 30px rgba(50, 148, 99, 0.35);
}

.button--ghost:hover,
.button--ghost:focus {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 36px rgba(50, 148, 99, 0.45);
  color: #f8f9fb;
}

.grid {
  display: grid;
  gap: clamp(2rem, 3vw, 3rem);
}

.grid--about {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
}

.about__copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section--studios {
  background: radial-gradient(circle at top right, rgba(0, 245, 212, 0.08), transparent 55%), var(--color-bg);
}

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

.studio-card {
  background: rgba(10, 14, 21, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: clamp(1.8rem, 2vw + 1rem, 2.4rem);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  backdrop-filter: blur(10px);
}

.studio-card h3 {
  margin: 0;
}

.studio-card__link {
  color: inherit;
  transition: color 0.3s ease;
}

.studio-card__link:hover,
.studio-card__link:focus {
  color: var(--color-accent);
}

.section--team {
  background: linear-gradient(140deg, rgba(6, 12, 20, 0.95), rgba(4, 7, 11, 0.92));
}

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

.team-card {
  padding: clamp(1.8rem, 2vw + 1rem, 2.4rem);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 7, 14, 0.85);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.team-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.25), rgba(0, 245, 212, 0.05));
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.team-card__role {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.team-card__bio {
  margin: 0;
}

.team-card h3 a {
  color: inherit;
  transition: color 0.3s ease;
}

.team-card h3 a:hover,
.team-card h3 a:focus {
  color: var(--color-accent);
}

.team-card__link {
  margin-top: auto;
  color: var(--color-accent);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.team-card__link:hover,
.team-card__link:focus {
  transform: translateX(4px);
}

.studio-card__meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-accent);
}

.studio-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.studio-card li {
  position: relative;
  padding-left: 1.4rem;
}

.studio-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}

.section--services {
  background: var(--color-panel);
}

.grid--services {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-card {
  padding: clamp(1.4rem, 1.6vw + 1rem, 2rem);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: rgba(5, 10, 18, 0.9);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card__icon {
  font-size: 2.5rem;
  line-height: 1;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-accent);
  opacity: 0.9;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 245, 212, 0.5);
}

.section--work {
  background: linear-gradient(160deg, rgba(4, 7, 11, 0.95), rgba(12, 19, 31, 0.92));
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.section--studio-overview {
  background: rgba(6, 12, 20, 0.94);
}

.studio-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.studio-overview__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.studio-overview__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.studio-badge {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.studio-spec-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(3, 6, 12, 0.8);
  padding: clamp(1.8rem, 2vw + 1rem, 2.4rem);
  display: grid;
  gap: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.studio-spec-card h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.studio-spec-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.studio-spec-list li::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--color-accent);
  margin-top: 0.4rem;
}

.section--studio-details {
  background: rgba(2, 5, 11, 0.92);
}

.studio-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.8rem, 3vw, 2.8rem);
}

.studio-detail-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: clamp(1.6rem, 2vw + 1rem, 2.3rem);
  background: rgba(8, 12, 18, 0.85);
  display: grid;
  gap: 0.9rem;
  box-shadow: var(--shadow-soft);
}

.studio-detail-card h3 {
  margin: 0;
}

.studio-detail-card ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
  color: var(--color-muted);
}

.grid--work {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.work-card {
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: clamp(1.6rem, 2vw + 1rem, 2.2rem);
  background: rgba(8, 12, 18, 0.86);
  box-shadow: var(--shadow-soft);
}

.work-card__icon {
  font-size: 2.5rem;
  line-height: 1;
  text-align: center;
  margin-bottom: 1rem;
}

.section--gallery {
  background: radial-gradient(circle at bottom left, rgba(0, 245, 212, 0.08), transparent 45%), rgba(4, 7, 11, 0.96);
}

.gallery-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(200px, 20vw, 280px);
  grid-auto-flow: dense;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  height: 100%;
  margin: 0;
}

.gallery-item img {
  display: block;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(5),
.gallery-item:nth-child(8),
.gallery-item:nth-child(11) {
  grid-row: span 2;
}

.gallery-item:nth-child(3),
.gallery-item:nth-child(9) {
  grid-column: span 2;
}

.gallery-item:nth-child(6) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(4),
.gallery-item:nth-child(10) {
  grid-row: span 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background: rgba(8, 12, 18, 0.8);
  color: rgba(248, 249, 251, 0.75);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item::after {
  display: none;
}

.gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 200;
}

.gallery-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.gallery-overlay__container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.gallery-overlay img {
  width: min(90vw, 1400px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.gallery-overlay__caption {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: var(--color-text);
  padding: 0.8rem 1.2rem;
  border-radius: 0;
  font-size: 0.95rem;
  max-width: 400px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-overlay__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(10px);
}

.gallery-overlay__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.gallery-overlay__links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-overlay__links.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay__links {
  justify-content: flex-start;
  width: 100%;
}

.gallery-overlay__link {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.gallery-overlay__link:hover {
  transform: scale(1.1);
}

/* Logo image styling */
.gallery-overlay__link-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-overlay__link-text {
  display: none;
}
}

.hero--albums {
  min-height: auto;
  padding: clamp(80px, 10vw, 120px) var(--gutter) clamp(60px, 8vw, 100px);
}

.hero__content--albums {
  max-width: 100%;
  width: 100%;
}

.hero__content--albums h1 {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section--albums {
  background: var(--color-bg);
}

.albums-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: var(--max-width);
}

.album-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.album-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.album-item:hover img {
  opacity: 0.3;
}

.album-item__info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.album-item:hover .album-item__info {
  opacity: 1;
}

.album-item__artist {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.album-item__title {
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  color: var(--color-muted);
  line-height: 1.4;
}

.albums-grid__status {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--color-muted);
}

.section--testimonials {
  background: #0b2413;
}

.grid--testimonials {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonials__loading {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(0, 135, 72, 0.94), rgba(0, 92, 60, 0.9));
  border-radius: 24px;
  padding: clamp(1.8rem, 2vw + 1rem, 2.6rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  color: #ecfff5;
  display: grid;
  gap: 1.4rem;
}

.testimonial-card__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.testimonial-card__name {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.testimonial-card__time {
  font-size: 0.8rem;
  color: rgba(236, 255, 245, 0.7);
}

.testimonial-card__stars {
  color: #ffe066;
  letter-spacing: 0.22em;
  font-size: 1rem;
}

.testimonial-card__quote {
  margin: 0;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(236, 255, 245, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.testimonial-card__footer svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.section--cta {
  background: radial-gradient(circle at left, rgba(0, 245, 212, 0.18), transparent 60%), rgba(6, 12, 20, 0.95);
}

.cta {
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3.4rem);
  background: rgba(2, 6, 13, 0.8);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  box-shadow: var(--shadow-hard);
  text-align: center;
}

.cta__buttons {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer {
  background: #020308;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(3rem, 6vw, 4rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
}

.footer-logo {
  width: 180px;
  margin-bottom: 1rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.footer-note {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* Team Pages */
.hero--team {
  min-height: auto;
  padding: clamp(40px, 6vw, 60px) var(--gutter) clamp(30px, 4vw, 40px);
  background: rgba(4, 7, 11, 0.96);
}

.hero--team h1 {
  white-space: nowrap;
}

.team-hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
}

.team-hero__role {
  font-size: clamp(1rem, 1.2vw + 1rem, 1.4rem);
  color: rgba(248, 249, 251, 0.85);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 400;
}

.section--team-bio {
  background: rgba(4, 7, 11, 0.96);
  padding: clamp(40px, 8vw, 80px) 0;
}

.team-bio {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 5vw, 5rem);
  align-items: center;
}

.team-bio__photo {
  position: relative;
}

.team-bio__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--color-accent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.team-bio__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-bio__content h2 {
  margin-bottom: 0.5rem;
}

.section--team-playlists {
  background: var(--color-panel);
  text-align: center;
}

.section--team-playlists h2 {
  margin-bottom: 0.5rem;
}

.section--team-playlists .section__subheading {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: var(--color-muted);
}

.team-playlists {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.team-playlist-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: rgba(5, 10, 18, 0.9);
  min-width: 180px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.team-playlist-link:hover,
.team-playlist-link:focus {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: 0 12px 32px rgba(50, 148, 99, 0.25);
}

.team-playlist-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.team-playlist-link span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
}

/* Responsive */
@media (max-width: 1024px) {
  .grid--studios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--about {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .team-bio {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(240px, 35vw, 360px);
  }

.gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .albums-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .hero__content--with-video {
    gap: clamp(1.5rem, 6vw, 2.5rem);
    padding-left: 0;
  }

  .hero__title-stack {
    gap: clamp(1.2rem, 5vw, 2rem);
  }

  .hero__video {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 0 0 auto auto;
    top: 70px;
    right: var(--gutter);
    background: rgba(248, 249, 251, 0.98);
    border: 1px solid rgba(5, 13, 25, 0.12);
    border-radius: 18px;
    padding: 1.6rem;
    transform: scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    color: #050d19;
    box-shadow: 0 18px 40px rgba(4, 7, 11, 0.14);
    margin-left: 0;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
  }

  .nav-item--dropdown > .nav-link::after {
    display: none;
  }

  .nav-item--dropdown {
    width: 100%;
  }

  .dropdown-menu {
    display: none !important;
  }

  .dropdown-menu li:first-child,
  .dropdown-menu li:last-child {
    padding: 0;
  }

  .dropdown-menu a {
    padding: 0;
    margin: 0;
    border-radius: 0;
    font-size: 0.88rem;
    color: #050d19 !important;
    background: transparent;
    opacity: 1;
  }

  .dropdown-menu a:hover,
  .dropdown-menu a:focus {
    color: #050d19 !important;
    background: transparent;
    transform: translateX(2px);
    opacity: 1;
  }

  .dropdown-menu a[aria-current="page"] {
    color: #050d19 !important;
    background: transparent;
    opacity: 1;
  }

  .dropdown-menu a::after {
    display: none;
  }

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

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

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: clamp(240px, 65vw, 420px);
  }

  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .team-playlists {
    flex-direction: column;
    gap: 1.5rem;
  }

  .team-playlist-link {
    width: 100%;
    max-width: 100%;
  }

  .hero--team h1 {
    white-space: normal;
  }

  .hero--team {
    min-height: auto;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 90vh;
    padding-top: 70px;
  }
}

@media (max-width: 540px) {
  .hero__content {
    text-align: left;
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
