/* Cormorant Garamond for cinematic display headings */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&display=swap");

/* Basic reset so spacing behaves consistently across browsers */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Color and spacing variables make the design easier to update */
:root {
  --bg-dark: #050505;
  --bg-soft: rgba(12, 12, 12, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --text-main: #f4f1ea;
  --text-soft: rgba(244, 241, 234, 0.78);
  --accent: #d3b98a;
  --accent-soft: rgba(211, 185, 138, 0.24);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --max-width: 1200px;
}

/* Shared body styles for the whole site */
body {
  min-height: 100vh;
  font-family: "Georgia", "Times New Roman", serif;
  background:
    radial-gradient(circle at top, rgba(64, 45, 21, 0.2), transparent 35%),
    linear-gradient(180deg, #080808, #020202);
  color: var(--text-main);
  letter-spacing: 0.01em;
}

/* Cinematic display font for all h1 headings */
h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

/* Hide the transition overlay permanently */
.page-transition-overlay {
  display: none;
}

/* The homepage keeps content layered over the video */
.home-page {
  position: relative;
  overflow: hidden;
}

/* Inner pages use a calmer layout without the background video */
.inner-page {
  display: flex;
  flex-direction: column;
}

.music-page {
  position: relative;
}

/* Soft dark gradient behind bio and music pages to improve text legibility over video */
.bio-page::before,
.music-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(170deg,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.55) 50%,
      rgba(0, 0, 0, 0.8) 100%);
  z-index: 0;
  pointer-events: none;
}

.home-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 0;
  pointer-events: none;
}

.design-page {
  position: relative;
}

.design-page .site-nav a {
  font-family: inherit;
  color: rgba(230, 120, 210, 0.9);
}

.design-page .site-nav a::after {
  background-color: rgba(230, 120, 210, 0.9);
}

.design-page .site-nav a.active {
  color: #ffffff;
}

.design-page .site-nav a.active::after {
  background-color: #ffffff;
}

/* Header sits above the content and video */
.site-header {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 28px 4px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo-link {
  margin-top: 10px;
  margin-left: -10px;
  flex-shrink: 0;
}

.site-logo {
  width: 112px;
  height: auto;
  display: block;
}

.nav-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
  align-self: center;
  flex-shrink: 0;
}

.nav-social::after {
  display: none;
}

.nav-social i {
  font-size: 1.05rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 5px;
  padding-top: 5px;
  opacity: 0.82;
  transition: opacity 0.3s ease, color 0.3s ease, letter-spacing 0.3s ease;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  width: 100%;
  height: 2px;
  background-color: rgba(230, 120, 210, 0.9);
  transition: transform 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: translateY(-50%) scaleX(1);
}

.site-nav a:hover,
.site-nav a.active {
  opacity: 1;
  color: rgba(230, 120, 210, 0.9);
  letter-spacing: 0.2em;
}

/* Hero section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  margin-top: -120px;
  position: relative;
}

/* Video fills the full screen behind the page content */
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.music-bg-video {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25);
  z-index: -2;
}

.design-bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  text-align: center;
  padding: 0;
  opacity: 0;
  animation: pageFadeIn 0.8s ease forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: -250px;
}

.home-title-img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto 16px;
  position: relative;
  top: 120px;
}

.video-overlay {
  display: none;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  margin-bottom: 20px;
}

.brand-line-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.hero-tagline {
  color: #ffffff;
  font-size: 2.16rem;
  text-align: center;
}

.hero-content h1,
.content-card h1 {
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-text,
.content-card p,
.info-grid p {
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.9;
}

.hero-text {
  max-width: 600px;
  margin: 0 auto 12px;
}

.arrow-hint {
  color: rgba(244, 241, 234, 0.58);
  font-size: 0.82rem;
  opacity: 0.65;
  letter-spacing: 0.3em;
  margin-bottom: 26px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Subscribe form styles */
.subscribe-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.subscribe-form input,
.subscribe-form button {
  border: 1px solid transparent;
  color: #ffffff;
  padding: 15px 18px;
  font: inherit;
  min-height: 54px;
}

.subscribe-form input {
  flex: 1 1 280px;
  background-color: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.subscribe-form input::placeholder {
  color: rgba(244, 241, 234, 0.55);
}

.subscribe-form input:focus {
  outline: none;
  border-color: var(--accent-soft);
  background-color: rgba(255, 255, 255, 0.06);
}

.subscribe-form button {
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.65);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}

.subscribe-form button:hover {
  background-color: rgba(211, 185, 138, 0.24);
  border-color: rgba(211, 185, 138, 0.42);
  transform: translateY(-1px);
}

/* Shared layout for the inner pages */
.content-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 52px 0 88px;
  opacity: 0;
  animation: pageFadeIn 0.8s ease forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.bio-shell {
  position: relative;
  z-index: 2;
  margin-top: -50px;
  min-height: calc(100vh - 120px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 8px;
}

.content-card {
  background-color: var(--bg-soft);
  border: 1px solid var(--line);
  padding: clamp(32px, 4vw, 60px);
  box-shadow: var(--shadow);
}

.bio-card {
  width: min(100%, 760px);
  max-width: 900px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.bio-highlight {
  display: block;
  position: relative;
  min-height: 800px;
}

.bio-highlight p {
  display: block;
  color: var(--text-main);
  font-family: "Times New Roman", Times, serif;
  font-size: 2.05rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
  background: none;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.bio-highlight p.bio-active {
  opacity: 1;
}

@keyframes bioUnderline {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.content-card p+p {
  margin-top: 18px;
}

.music-card {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.design-shell {
  padding-top: 80px;
}

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

.design-flyer {
  width: 100%;
  height: auto;
  display: block;
  transition:
    transform 0.3s ease,
    filter 0.3s ease,
    box-shadow 0.3s ease;
}

.design-flyer:hover {
  transform: scale(1.02);
  filter: brightness(1.06);
  box-shadow: 0 0 28px rgba(255, 80, 150, 0.18);
}

.music-sections {
  display: grid;
  gap: 34px;
  margin-top: 42px;
}

.music-block {
  display: grid;
  gap: 18px;
}

.music-block h2 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ffffff;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.media-card {
  position: relative;
  display: grid;
  gap: 0;
  color: var(--text-main);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 8, 8, 0.5);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.media-card:hover {
  transform: translateY(-2px);
  border-color: rgba(211, 185, 138, 0.4);
  background: rgba(12, 12, 12, 0.62);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.media-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 38%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
  z-index: 1;
}

.media-hover-icon {
  position: absolute;
  top: 34%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.55rem;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 2;
}

.soundcloud-icon {
  font-size: 1.7rem;
}

.media-card:hover .media-hover-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.03);
}

.media-card-body {
  display: grid;
  gap: 10px;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.media-card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 80, 150, 0.85);
  display: none;
}

.media-card-title {
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--text-main);
}

.edits-list {
  display: grid;
  gap: 16px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.info-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  background-color: rgba(255, 255, 255, 0.03);
}

.info-grid h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: var(--text-main);
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.bio-logo-flash {
  display: block;
  width: min(100%, 3000px);
  height: auto;
  position: relative;
  top: 50px;
  z-index: 3;
  margin: 0 auto 40px;
  animation: analogFlicker 0.1s infinite;
}

@keyframes analogFlicker {
  0% {
    opacity: 0.92;
  }

  10% {
    opacity: 0.78;
  }

  20% {
    opacity: 0.95;
  }

  30% {
    opacity: 0.7;
  }

  40% {
    opacity: 0.88;
  }

  50% {
    opacity: 0.6;
  }

  60% {
    opacity: 0.93;
  }

  70% {
    opacity: 0.75;
  }

  80% {
    opacity: 0.89;
  }

  90% {
    opacity: 0.65;
  }

  100% {
    opacity: 0.91;
  }
}

.site-footer {
  text-align: center;
  padding: 32px 0;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  opacity: 0.4;
  color: var(--text-main);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .site-header {
    width: min(calc(100% - 32px), var(--max-width));
    padding: 16px 0 10px;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .logo-link {
    margin-top: 0;
    margin-left: 0;
    flex-shrink: 0;
  }

  .site-logo {
    width: 72px;
  }

  .site-nav {
    gap: 8px 10px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    overflow: hidden;
  }

  .site-nav a {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    padding-bottom: 6px;
    white-space: nowrap;
  }

  .nav-divider {
    display: none;
  }

  .brand-line-wrap {
    display: flex;
    margin-top: 8px;
    margin-bottom: 0;
  }

  .hero-tagline {
    font-size: 1rem;
    letter-spacing: 0.18em;
  }

  .hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 16px;
    margin-top: 0;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, 760px);
    text-align: center;
    padding: 0;
    opacity: 0;
    animation: pageFadeIn 0.8s ease forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
  }

  .home-title-img {
    max-width: 85%;
    height: auto;
    display: block;
    margin: 0 auto;
    position: relative;
    top: 0;
    transform: scale(1.4);
  }

  .hero-text {
    font-size: 0.9rem;
    margin: 0 auto;
  }

  .arrow-hint {
    font-size: 0.7rem;
    margin-bottom: 0;
  }

  .subscribe-form {
    flex-direction: column;
    padding: 6px;
    width: 100%;
    gap: 8px;
  }

  .subscribe-form input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.85rem;
    flex: none;
  }

  .subscribe-form button {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.75rem;
  }

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

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

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

  .bio-highlight {
    min-height: 400px;
  }

  .bio-highlight p {
    font-size: 1.4rem;
  }

  .bio-shell {
    margin-top: 50px;
  }
}

.bio-logo-flash {
  top: 0px;
}