@font-face {
  font-family: 'DMSans Light';
  src: url(fonts/DMSans-Light.ttf);
  font-display: swap;
}

@font-face {
  font-family: 'DMSans Bold';
  src: url(fonts/DMSans-Bold.ttf);
  font-display: swap;
}

@font-face {
  font-family: 'DMSans Medium';
  src: url(fonts/DMSans-Medium.ttf);
  font-display: swap;
}

@font-face {
  font-family: 'Caudex Regular';
  src: url(fonts/Caudex-Regular.ttf);
  font-display: swap;
}

@keyframes bg-noise-animation {
  0% { transform: translate(0,0) }
  10% { transform: translate(-5%,-5%) }
  20% { transform: translate(-10%,5%) }
  30% { transform: translate(5%,-10%) }
  40% { transform: translate(-5%,15%) }
  50% { transform: translate(-10%,5%) }
  60% { transform: translate(15%,0) }
  70% { transform: translate(0,10%) }
  80% { transform: translate(-15%,0) }
  90% { transform: translate(10%,5%) }
  100% { transform: translate(5%,0) }
}

@keyframes hero-gradient-animation {
  0% {
      --x-0: 91%;
      --s-start-0: 1%;
      --s-end-0: 61%;
      --c-0: hsla(232.5, 0%, 0%, 1);
      --y-0: 90%;
      --y-1: 24%;
      --c-1: hsla(75, 0%, 0%, 1);
      --x-1: 17%;
      --s-start-1: 0%;
      --s-end-1: 55%;
      --c-2: hsla(232.5, 25%, 12%, 1);
      --x-2: 11%;
      --s-start-2: 19%;
      --s-end-2: 54%;
      --y-2: 32%;
      --x-3: 2%;
      --y-3: 31%;
      --s-start-3: 0%;
      --s-end-3: 67%;
      --c-3: hsla(254.00000000000034, 4%, 40%, 1);
      --y-4: 93%;
      --x-4: 74%;
      --s-start-4: 12%;
      --s-end-4: 82%;
      --c-4: hsla(349, 0%, 0%, 1);
  }
  100% {
      --x-0: 49%;
      --s-start-0: 19%;
      --s-end-0: 69%;
      --c-0: hsla(232.50000000000048, 9%, 28%, 1);
      --y-0: 25%;
      --y-1: 41%;
      --c-1: hsla(241.99999999999886, 10%, 23%, 1);
      --x-1: 1%;
      --s-start-1: 3%;
      --s-end-1: 77%;
      --c-2: hsla(321, 0%, 0%, 1);
      --x-2: 44%;
      --s-start-2: 6%;
      --s-end-2: 73%;
      --y-2: 93%;
      --x-3: 97%;
      --y-3: 51%;
      --s-start-3: 8%;
      --s-end-3: 86%;
      --c-3: hsla(246.17647058823542, 10%, 23%, 1);
      --y-4: 69%;
      --x-4: 10%;
      --s-start-4: 20%;
      --s-end-4: 75%;
      --c-4: hsla(232.5, 19%, 16%, 1);
  }
}

@property --x-0 { syntax: '<percentage>'; inherits: false; initial-value: 91% }
@property --s-start-0 { syntax: '<percentage>'; inherits: false; initial-value: 1% }
@property --s-end-0 { syntax: '<percentage>'; inherits: false; initial-value: 61% }
@property --c-0 { syntax: '<color>'; inherits: false; initial-value: hsla(232.5, 0%, 0%, 1) }
@property --y-0 { syntax: '<percentage>'; inherits: false; initial-value: 90% }
@property --y-1 { syntax: '<percentage>'; inherits: false; initial-value: 24% }
@property --c-1 { syntax: '<color>'; inherits: false; initial-value: hsla(75, 0%, 0%, 1) }
@property --x-1 { syntax: '<percentage>'; inherits: false; initial-value: 17% }
@property --s-start-1 { syntax: '<percentage>'; inherits: false; initial-value: 0% }
@property --s-end-1 { syntax: '<percentage>'; inherits: false; initial-value: 55% }
@property --c-2 { syntax: '<color>'; inherits: false; initial-value: hsla(232.5, 25%, 12%, 1) }
@property --x-2 { syntax: '<percentage>'; inherits: false; initial-value: 11% }
@property --s-start-2 { syntax: '<percentage>'; inherits: false; initial-value: 19% }
@property --s-end-2 { syntax: '<percentage>'; inherits: false; initial-value: 54% }
@property --y-2 { syntax: '<percentage>'; inherits: false; initial-value: 32% }
@property --x-3 { syntax: '<percentage>'; inherits: false; initial-value: 2% }
@property --y-3 { syntax: '<percentage>'; inherits: false; initial-value: 31% }
@property --s-start-3 { syntax: '<percentage>'; inherits: false; initial-value: 0% }
@property --s-end-3 { syntax: '<percentage>'; inherits: false; initial-value: 67% }
@property --c-3 { syntax: '<color>'; inherits: false; initial-value: hsla(254.00000000000034, 4%, 40%, 1) }
@property --y-4 { syntax: '<percentage>'; inherits: false; initial-value: 93% }
@property --x-4 { syntax: '<percentage>'; inherits: false; initial-value: 74% }
@property --s-start-4 { syntax: '<percentage>'; inherits: false; initial-value: 12% }
@property --s-end-4 { syntax: '<percentage>'; inherits: false; initial-value: 82% }
@property --c-4 { syntax: '<color>'; inherits: false; initial-value: hsla(349, 0%, 0%, 1) }

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DMSans Light', sans-serif;
  background-color: transparent;
  color: #ecebea;
  overflow-x: hidden;
  line-height: 1.6;
  height: 100vh;
}

a {
  text-decoration: none;
}

.paragraph a,
.about-description a,
.portfolio-description a,
p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: all 0.3s ease;
}


/* Background Styles */
.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}

.bg-noise {
  position: fixed;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  width: 200%;
  height: 200vh;
  background: transparent url('http://assets.iceable.com/img/noise-transparent.png') repeat 0 0;
  background-repeat: repeat;
  animation: bg-noise-animation .2s infinite;
  opacity: 0.45;
  visibility: visible;
}

.bg-gradient {
  --x-0: 91%;
  --c-0: hsla(232.5, 0%, 0%, 1);
  --y-0: 90%;
  --y-1: 24%;
  --c-1: hsla(75, 0%, 0%, 1);
  --x-1: 17%;
  --c-2: hsla(232.5, 25%, 12%, 1);
  --x-2: 11%;
  --y-2: 32%;
  --x-3: 2%;
  --y-3: 31%;
  --c-3: hsla(254.00000000000034, 4%, 40%, 1);
  --y-4: 93%;
  --x-4: 74%;
  --c-4: hsla(349, 0%, 0%, 1);
  width: 100%;
  height: 100%;
  background-color: hsla(232.5, 0%, 0%, 1);
  background-image: radial-gradient(circle at var(--x-0) var(--y-0), var(--c-0) var(--s-start-0), transparent var(--s-end-0)), radial-gradient(circle at var(--x-1) var(--y-1), var(--c-1) var(--s-start-1), transparent var(--s-end-1)), radial-gradient(circle at var(--x-2) var(--y-2), var(--c-2) var(--s-start-2), transparent var(--s-end-2)), radial-gradient(circle at var(--x-3) var(--y-3), var(--c-3) var(--s-start-3), transparent var(--s-end-3)), radial-gradient(circle at var(--x-4) var(--y-4), var(--c-4) var(--s-start-4), transparent var(--s-end-4));
  animation: hero-gradient-animation 20s linear infinite alternate;
  background-blend-mode: normal, normal, normal, normal, normal;
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(1.25rem * 1.618) calc(4rem * 1.618);
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: all 0.3s ease;
  height: calc(60px * 1.618);
  min-height: 80px;
}

.main-nav.scrolled {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px) saturate(100%) contrast(105%);
  -webkit-backdrop-filter: blur(10px) saturate(200%) contrast(105%);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
  height: calc(30px * 1.618);
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  left: -2rem;
}

.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: filter 0.3s ease;
}

body:not(.home-page) .nav-logo a {
  transition: filter 0.3s ease;
}

body:not(.home-page) .nav-logo a:hover {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(236, 235, 234, 0.3)) drop-shadow(0 0 16px rgba(236, 235, 234, 0.2));
}

.nav-logo img {
  height: 40px;
  width: auto;
  max-width: 200px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 1;
  visibility: visible;
  flex-shrink: 0;
  transition: filter 0.3s ease;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 3rem;
  transition: gap 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  align-items: center;
}

.nav-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu.email-expanded {
  gap: 2rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #ecebea;
  transition: width 0.3s ease;
}

.nav-link {
  color: #ecebea;
  text-decoration: none;
  font-family: 'DMSans Light', sans-serif;
  font-size: calc(1rem * 1.618);
  letter-spacing: calc(0.5px * 1.618);
  transition: all 0.3s ease;
  position: relative;
  padding: calc(0.5rem * 1.618) 0;
  display: flex;
  align-items: center;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #ecebea;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #ecebea;
  transform: translateY(-2px);
}

.nav-icon {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-nav-link:hover .nav-icon {
  filter: brightness(0) invert(1);
}

/* Email Container */
.email-container {
  position: relative;
  overflow: hidden;
}

.email-container.expanded .email-link {
  pointer-events: auto;
}

.email-container.expanded .email-text {
  pointer-events: auto;
}

.email-link {
  display: flex;
  align-items: center;
  gap: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  pointer-events: auto;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

.email-icon {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.email-text {
  color: #ecebea;
  font-family: 'DMSans Light', sans-serif;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  cursor: text;
  pointer-events: auto;
}

/* Email Expanded State */
.email-container.expanded .email-link {
  gap: 0.75rem;
}

.email-container.expanded .email-icon {
  transform: scale(0.8);
}

.email-container.expanded .email-text {
  opacity: 1;
  transform: translateX(0);
  max-width: 250px;
}

.email-text::selection {
  background: rgba(255, 255, 255, 0.3);
  color: #ecebea;
}

.email-text::-moz-selection {
  background: rgba(255, 255, 255, 0.3);
  color: #ecebea;
}

/* Main Content */
.main-container {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 2rem 2rem;
  position: relative;
  z-index: 10;
  margin-top: 0;
  box-sizing: border-box;
}

.about-container {
  min-height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 4rem;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 200px 4rem 4rem;
  position: relative;
  z-index: 10;
}

.about-description {
  font-size: 1.1rem;
  color: #ecebea;
  font-family: "DMSans Light", sans-serif;
  padding: 0;
  max-width: none;
  text-align: left;
  opacity: 0.95;
  line-height: 1.7;
}

.about-img {
  width: 110%;
  height: 70vh;
  min-height: 400px;
  max-height: 600px;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
  opacity: 0.95;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  transition: all 0.3s ease;
  justify-self: center;
  align-self: center;
}

.paragraph {
  font-size: 1.1rem;
  color: #ecebea;
  font-family: "DMSans Light", sans-serif;
  padding: 0;
  margin: 0 0 1.5rem 0;
  max-width: none;
  text-align: left;
  opacity: 0.95;
  line-height: 1.7;
}

.title-text {
  color: #ecebea;
  font-family: 'Caudex Regular', serif;
  font-size: 5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.logotype {
  max-width: 100%;
  height: auto;
  max-height: clamp(70px, 12vw, 150px);
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  margin-bottom: clamp(1.25rem, 3vh, 2rem);
  margin-top: clamp(1.25rem, 3vh, 2rem);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  transition: max-height 0.3s ease;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 90vw;
}

.hero-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(1rem * 1.618);
  width: 100%;
  margin: 0 auto;
}

.link-button {
  color: #ecebea;
  font-family: 'Caudex Regular', serif;
  font-size: clamp(1rem, 3.3vw, 1.6rem);
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.5rem 0;
  display: block;
  flex-shrink: 0;
}

.link-button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: #ecebea;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.link-button:hover {
  transform: translateY(-3px);
  color: #ecebea;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.link-button:hover::after {
  width: 90%;
}

.landing-img-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.landing-img {
  max-width: 100%;
  height: auto;
  max-height: clamp(150px, 50vh, 500px);
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  transition: max-height 0.3s ease;
}

/* Live */
.live-header {
  text-align: center;
  margin-bottom: 1rem;
}

.live-year {
  font-family: 'Caudex Regular', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ecebea, #cccccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.live-date {
  color: #aaaaaa;
  font-size: 0.9rem;
  display: inline-block;
  margin-left: 20px;
}

.live-venue {
  font-size: calc(1.1rem * 1.168);
  color: #ecebea;
  font-family: 'Caudex Regular', sans-serif;
  display: inline-block;
}

/* Releases */
.music-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 2rem 4rem;
  position: relative;
  z-index: 10;
}

.music-header {
  text-align: center;
  margin-bottom: 3rem;
}

.music-title {
  font-family: 'Caudex Regular', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ecebea, #cccccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.music-subtitle {
  font-size: calc(1.1rem * 1.168);
  color: #ecebea;
  font-family: 'DMSans Light', sans-serif;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.music-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.music-item:hover {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.album-cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
}

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

.music-item:hover .album-cover img {
  transform: scale(1.05);
}

.music-info {
  text-align: center;
}

.release-year {
  color: #ecebea;
  font-size: 0.9rem;
  font-family: 'DMSans Light', sans-serif;
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
}

.music-item:hover .release-year {
  color: #ffffff;
  opacity: 0.9;
}

.album-type {
  color: #ecebea;
  opacity: 80%;
  font-size: 0.9rem;
  font-family: 'DMSans Light', sans-serif;
  margin-top: 0.25rem;
  transition: all 0.3s ease;
}

.album-title {
  font-family: 'DMSans Light', sans-serif;
  font-size: 1.1rem;
  color: #ecebea;
  transition: all 0.3s ease;
  margin: 0;
  line-height: 1.3;
}

.music-item:hover .album-title {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Portfolio */

.portfolio-main {
  height: auto;
  min-height: 100vh;
  justify-content: flex-start;
  padding-top: 120px;
}

.portfolio-header {
  text-align: center;
}

.portfolio-title {
  font-family: 'Caudex Regular', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ecebea, #cccccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.filter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 1rem;
  margin: 2rem auto;
}

.filter-tabs {
  display: inline-flex;
  background: rgba(236, 235, 234, 0.05);
  border-radius: 12px;
  padding: 0.25rem;
  gap: 0.25rem;
  border: 1px solid rgba(236, 235, 234, 0.1);
  backdrop-filter: blur(10px);
  overflow-x: auto;
  min-width: 0;
  max-width: 100%;
  width: fit-content;
}

.filter-tab {
  background: transparent;
  border: none;
  color: rgba(236, 235, 234, 0.6);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 400;
  font-size: 0.9rem;
  font-family: 'DMSans Light', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-tab:hover {
  color: #ecebea;
  background: rgba(236, 235, 234, 0.08);
}

.filter-tab.active {
  background: rgba(236, 235, 234, 0.12);
  color: #ecebea;
  font-weight: 500;
}

.portfolio-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  position: relative;
  z-index: 10;
}

.portfolio-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.portfolio-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  max-height: none;
  overflow: hidden;
  margin: 0;
  position: relative;
}

.portfolio-item.hidden {
  opacity: 0;
  max-height: 0;
  padding: 0;
  margin: 0;
  border: none;
  transform: translateY(-20px);
}

.portfolio-item:hover .portfolio-header-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover .portfolio-title-card {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.portfolio-item:hover .portfolio-date {
  color: #ffffff;
  opacity: 0.9;
}

.portfolio-item:hover .portfolio-category {
  background: rgba(255, 255, 255, 0.1);
  color: #ecebea;
  box-shadow: none;
}

.portfolio-header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.portfolio-header-card {
  padding: 1rem;
  cursor: pointer;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  min-height: 60px;
}

.portfolio-header-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.portfolio-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  font-size: 0.8rem;
  backdrop-filter: blur(5px);
  transition: none;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.05);
  justify-self: center;
  color: #ecebea;
}

.portfolio-category:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ecebea;
  box-shadow: none;
  transform: none;
}

.category-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.portfolio-date {
  color: #aaaaaa;
  font-size: 0.9rem;
}

.live-header {
  text-align: center;
  margin-bottom: 1rem;
}

.portfolio-expand-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(236, 235, 234, 0.4);
  transition: all 0.3s ease;
  font-size: 16px;
  flex-shrink: 0;
  justify-self: end;
}

.portfolio-item.expanded .portfolio-expand-icon {
  color: rgba(236, 235, 234, 0.7);
}

.portfolio-header-card:hover .portfolio-expand-icon {
  color: rgba(236, 235, 234, 0.8);
}

.portfolio-title-section {
  display: flex;
  align-items: center;
  justify-self: start;
  height: 100%;
}

.portfolio-title-card {
  font-family: 'DMSans Medium', serif;
  font-size: 1rem;
  color: #ecebea;
  transition: all 0.3s ease;
  margin: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
}

.portfolio-description-preview {
  color: #cccccc;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.8;
}

.portfolio-date {
  color: #aaaaaa;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  justify-self: end;
  display: flex;
  align-items: center;
  height: 100%;
}

.portfolio-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  padding: 0;
}

.portfolio-item.expanded .portfolio-content {
  max-height: none;
  opacity: 1;
  padding: 0;
}

.portfolio-content-inner {
  padding: calc(1rem * 1.168);
  margin-top: 0;
  position: relative;
  overflow: visible;
}

.portfolio-media {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: visible;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  transition: min-height 0.4s ease;
}

.portfolio-media img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
}

.portfolio-media img:not(.expanded) {
  position: relative;
}

.portfolio-media img.expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw !important;
  max-width: 70vw !important;
  max-height: 70vh !important;
  height: auto !important;
  z-index: 1000;
  border-radius: 12px;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-media.has-expanded {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.5rem;
  display: block;
}

.portfolio-media.has-expanded img:not(.expanded) {
  width: 150px;
  height: 150px;
}

.portfolio-media.has-expanded::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px) saturate(100%) contrast(110%);
  -webkit-backdrop-filter: blur(10px) saturate(200%) contrast(110%);
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-media iframe {
  width: 100%;
  max-width: 760px;
  height: 515px;
  border-radius: 8px;
  border: none;
}

.portfolio-media video {
  width: 200px;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.portfolio-media video:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.portfolio-media video.expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw !important;
  max-width: 70vw !important;
  max-height: 70vh !important;
  height: auto !important;
  z-index: 1000;
  border-radius: 12px;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-media video:not(.expanded) {
  position: relative;
}

.portfolio-description {
  color: #dddddd;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.portfolio-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 5px;
}

.portfolio-link {
  display: inline-block;
  padding: 0.8rem 1rem;
  font-family: 'DMSans Light';
  font-size: 1rem;
  text-decoration: none;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px) saturate(100%) contrast(105%);
  -webkit-backdrop-filter: blur(10px) saturate(200%) contrast(105%);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.portfolio-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.link-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

/* Responsive Design */
@media only screen and (max-width: 1024px) {
  .logotype {
    max-height: 100px;
  }

  .link-button {
    font-size: 1.6rem;
  }
  
  .landing-image {
    max-height: 250px;
  }

  .about-container {
    grid-template-columns: 1.8fr 1fr;
    gap: 3rem;
    padding: 120px 3rem 4rem;
    align-items: start;
  }
  
  .about-img {
    height: 60vh;
    min-height: 350px;
    max-height: 500px;
  }
  
  .paragraph {
    font-size: 1.05rem;
    line-height: 1.65;
  }
}

@media only screen and (max-width: 768px) {
  .main-nav {
    padding: 2rem 2rem;
    height: 70px;
    min-height: 70px;
  }

  .main-container {
    padding: 120px 1.5rem 1.5rem;
  }

  .main-nav.email-expanded .nav-logo {
    opacity: 0;
    transform: translateX(-100%);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .main-nav .nav-logo {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .main-nav.email-expanded .nav-menu {
    transform: translateX(-60px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .main-nav .nav-menu {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .main-nav.email-expanded .email-text {
    max-width: 200px;
    white-space: nowrap;
  }

  .nav-menu {
    gap: calc(2rem * 1.618);
  }
  
  .nav-icon {
    width: 28px;
    height: 28px;
  }
  
  .nav-logo {
    left: 0;
  }
  
  .logotype {
    max-height: 80px;
    margin-bottom: 1.5rem;
  }
  
  .live-header:first-child {
    margin-top: 20px;
  }

  .hero-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem 3rem;
    max-width: 400px;
    padding: calc(1.5rem * 1.618);
    margin: 2rem auto 1rem;
    width: auto !important;
  }

  .link-button {
    font-size: 1.8rem;
    padding: 1rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .link-button:nth-child(1) { /* Releases - top left */
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
    padding-left: 1rem;
  }

  .link-button:nth-child(2) { /* Works - top right */
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    padding-right: 1rem;
  }

  .link-button:nth-child(3) { /* Live - bottom left */
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
    padding-left: 1rem;
  }

  .link-button:nth-child(4) { /* About - bottom right */
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-end;
    padding-right: 1rem;
  }

  .link-button::after {
    display: none;
  }
  
  .link-button:hover::after {
    display: none;
  }
  
  .landing-image {
    max-height: 200px;
  }

  .about-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: auto;
    gap: 2rem;
    padding: 120px 2rem 4rem;
    justify-content: flex-start;
    align-items: stretch;
  }
  
  .about-img {
    order: -1;
    width: 100%;
    height: 35vh;
    min-height: 200px;
    max-height: 300px;
    object-fit: cover;
    object-position: center;
    margin: 0;
    border-radius: 6px;
    justify-self: stretch;
    align-self: stretch;
  }
  
  .about-description {
    width: 100%;
    text-align: left;
    order: 1;
  }
  
  .paragraph {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .music-container {
    padding: 100px 1.5rem 2rem;
  }

  .music-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .music-item {
    padding: 1.25rem;
  }

  .portfolio-container {
    padding: 0 1rem 2rem;
  }

  .filter-container {
    padding: 0 0.5rem;
    margin: 0 auto 2rem;
  }

  .filter-tabs {
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    width: auto;
    overflow: visible;
    padding: 0.5rem;
    gap: 0.5rem;
  }
  
  .filter-tab {
    flex: 0 0 auto;
    min-width: auto;
  }

  .portfolio-main {
    padding-top: 120px;
  }

  .portfolio-header-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: left;
    align-items: stretch;
  }

  .portfolio-header-card {
    padding: 1.5rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    min-height: auto;
  }

  .portfolio-media img.expanded {
    width: 85vw !important;
    max-width: 85vw !important;
    max-height: 75vh !important;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .portfolio-media.has-expanded {
    margin-left: 0;
    margin-right: 0;
  }

  .portfolio-media.has-expanded img:not(.expanded) {
    width: 120px;
    height: 120px;
  }

  .portfolio-media iframe {
    height: 250px;
  }

  .portfolio-media video {
    width: 120px;
    height: 120px;
  }

  .portfolio-media video.expanded {
    width: 85vw !important;
    max-width: 85vw !important;
    max-height: 75vh !important;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .portfolio-media.has-expanded video:not(.expanded) {
    width: 120px;
    height: 120px;
  }

  .portfolio-title-section {
    width: 100%;
    order: 1;
    height: auto;
    justify-self: start;
  }

  .portfolio-title-card {
    font-size: 1.2rem;
    line-height: 1.3;
    height: auto;
    align-items: flex-start;
  }

  .portfolio-date {
    order: 2;
    font-size: 0.85rem;
    align-self: flex-end;
    margin-top: -0.5rem;
    height: auto;
    justify-self: end;
  }

  .portfolio-category {
    order: 3;
    align-self: flex-start;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    margin-top: 0.25rem;
  }

  .portfolio-content-inner {
    padding: 1.5rem 1rem;
    position: relative;
    overflow: visible;
  }

  .portfolio-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .portfolio-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .portfolio-link {
    justify-content: center;
    padding: 1rem 1.25rem;
    text-align: center;
  }

  .nav-menu.email-expanded {
    gap: 1rem;
  }

  .nav-menu.email-expanded .nav-menu li:not(.email-container) {
    display: none;
  }

  .email-container.expanded .email-text {
    font-size: 0.8rem;
    max-width: 180px;
  }
}

@media only screen and (max-width: 480px) {
  .main-nav {
    padding: 1rem 1rem;
    height: 60px;
    min-height: 60px;
  }
  
  .nav-menu {
    gap: calc(1.5rem * 1.618);
  }
  
  .nav-icon {
    width: 24px;
    height: 24px;
  }
  
  .main-container {
    padding: 110px 1rem 1rem;
  }
  
  .live-header:first-child {
    margin-top: 30px;
  }

  .hero-links {
    max-width: 350px;
    padding: calc(1.25rem * 1.618);
  }
  
  .link-button {
    font-size: 1.6rem;
    padding: 0.875rem 0;
  }

  .about-container {
    padding: 100px 1.5rem 3rem;
    gap: 1.5rem;
  }
  
  .about-img {
    height: 30vh;
    min-height: 180px;
    max-height: 250px;
    border-radius: 8px;
  }
  
  .paragraph {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1rem;
  }

  .music-container {
    padding: 80px 1rem 2rem;
  }

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

  .music-item {
    padding: 1rem;
  }

  .album-title {
    font-size: 1rem;
  }

  .release-year {
    font-size: 0.85rem;
  }

  .portfolio-main {
    padding-top: 100px;
  }
  
  .portfolio-container {
    padding: 0 0.75rem 2rem;
  }

  .portfolio-media img {
    width: 120px;
    height: 120px;
  }

  .portfolio-media img.expanded {
    padding: 4px;
  }
  
  .portfolio-media.has-expanded {
    margin-left: 0;
    margin-right: 0;
  }

  .portfolio-media.has-expanded img:not(.expanded) {
    width: 100px;
    height: 100px;
  }

  .portfolio-media iframe {
    height: 200px;
  }

  .portfolio-media video {
    width: 120px;
    height: 120px;
  }

  .portfolio-media video.expanded {
    padding: 4px;
  }
  
  .portfolio-media.has-expanded video:not(.expanded) {
    width: 100px;
    height: 100px;
  }

  .filter-container {
    padding: 0 0.25rem;
  }

  .filter-tabs {
    padding: 0.375rem;
    gap: 0.375rem;
  }

  .filter-tab {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
  }

  .portfolio-header-card {
    padding: 1.25rem 0.75rem;
    gap: 0.5rem;
  }

  .portfolio-title-card {
    font-size: 1.1rem;
  }

  .portfolio-date {
    font-size: 0.8rem;
  }

  .portfolio-category {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 1rem;
  }

  .portfolio-content-inner {
    padding: 1.25rem 0.75rem;
  }

  .portfolio-description {
    font-size: 0.9rem;
  }

  .portfolio-link {
    padding: 0.875rem 1rem;
    font-size: 0.85rem;
  }

  .main-nav.email-expanded .nav-menu {
    transform: translateX(-80px);
  }
  
  .main-nav.email-expanded .email-text {
    max-width: 180px;
  }

  .nav-menu.email-expanded {
    gap: 0.5rem;
  }

  .email-container.expanded .email-text {
    font-size: 0.75rem;
    max-width: 160px;
  }
}