/* ==========================================================================
   Koen Janssen — cinematic composer theme
   ========================================================================== */

:root {
  --bg: #070a10;
  --bg-elev: #0d1220;
  --bg-card: #10182a;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eaf1f5;
  --muted: #9fb0bd;
  --muted-dim: #6d7d8a;
  --accent: #35e0cf;
  --accent-2: #4aa8ff;
  --accent-soft: rgba(53, 224, 207, 0.14);
  --white: #ffffff;

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-accent: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light section theme: remaps the design tokens so existing components
   (cards, borders, headings, muted copy) automatically re-theme. */
.section--light {
  --bg-elev: #f2f3ee;
  --bg-card: #ffffff;
  --line: rgba(17, 24, 33, 0.12);
  --text: #2a3138;
  --muted: #566069;
  --muted-dim: #8b949d;
  --white: #10151b;
  --accent: #0e9c8e;
  --accent-soft: rgba(14, 156, 142, 0.12);
  --shadow: 0 24px 60px -28px rgba(16, 22, 33, 0.28);
  background: #f2f3ee;
  color: var(--text);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; color: var(--white); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section shared ---------------------------------------------------------- */
.section__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 14px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: var(--white);
}

.section__lead {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Split header: eyebrow + title on the left, lead on the right. */
.section__head {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  column-gap: clamp(28px, 5vw, 72px);
  align-items: end;
  text-align: left;
  margin: 0 0 56px;
}
.section__head .section__eyebrow { grid-column: 1; grid-row: 1; }
.section__head .section__title { grid-column: 1; grid-row: 2; margin-bottom: 0; }
.section__head .section__lead {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  max-width: 460px;
  text-align: left;
  align-self: end;
}

@media (max-width: 760px) {
  .section__head { grid-template-columns: 1fr; }
  .section__head .section__eyebrow { grid-column: 1; grid-row: auto; }
  .section__head .section__title { grid-column: 1; grid-row: auto; margin-bottom: 16px; }
  .section__head .section__lead { grid-column: 1; grid-row: auto; max-width: 640px; }
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn--primary {
  background: var(--accent);
  color: #04121a;
}
.btn--primary:hover { background: #5eeadb; transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Navigation -------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
  padding: 10px 0;
}
.nav.is-scrolled {
  background: rgba(7, 10, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}
.nav__brand-tag {
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.25s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav__cta {
  margin-left: 10px;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #04121a;
  background: var(--accent);
  transition: transform 0.3s var(--ease), background 0.25s var(--ease);
}
.nav__cta:hover { transform: translateY(-2px); background: #5eeadb; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 130px 0 90px;
  background:
    radial-gradient(60% 70% at 82% 18%, rgba(53, 224, 207, 0.12), transparent 60%),
    radial-gradient(50% 60% at 8% 90%, rgba(74, 168, 255, 0.1), transparent 60%),
    var(--bg);
}
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 80%);
}

/* Hero photo panel: a black-backed wrapper with the image in front of it ----- */
.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  height: 100%;
  background: var(--bg);
  pointer-events: none;
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 22%;
  /* Fade the image's left/bottom edges so it blends into the black behind it. */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 26%),
    linear-gradient(0deg, transparent 0%, #000 22%);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 26%),
    linear-gradient(0deg, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 10, 16, 0) 26%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  width: 100%;
}

.hero__content { max-width: 620px; }
.hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  font-weight: 500;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.4vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
  color: var(--white);
}
.hero__title-accent {
  font-family: var(--font-accent);
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  font-style: italic;
  color: var(--accent);
}
.hero__subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--muted);
  max-width: 500px;
  margin: 0 0 38px;
  font-weight: 300;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 2;
}
.hero__scroll-dot {
  width: 4px; height: 8px;
  border-radius: 4px;
  background: var(--accent);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(12px); opacity: 0.3; } }

/* Marquee / featured-by --------------------------------------------------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 40px;
  background: var(--bg-elev);
}
.marquee__label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.marquee__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  align-items: center;
  justify-content: center;
}
.marquee__logos span,
.marquee__logos a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  opacity: 0.75;
  text-decoration: none;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.marquee__logos span:hover,
.marquee__logos a:hover { opacity: 1; color: var(--white); }

/* Embeds (facade) --------------------------------------------------------- */
.embed { position: relative; }
.embed iframe { display: block; border: 0; width: 100%; border-radius: 12px; }

.embed__play {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 20px 22px;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  text-align: left;
  transition: color 0.25s var(--ease);
}
.embed__play:hover { color: var(--white); }
.embed__play-icon {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  position: relative;
  box-shadow: 0 10px 26px -10px rgba(53, 224, 207, 0.7);
  transition: transform 0.3s var(--ease);
}
.embed__play-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #04121a;
}
.embed__play:hover .embed__play-icon { transform: scale(1.08); }
.embed__play-label { font-weight: 500; letter-spacing: 0.02em; }

/* About ------------------------------------------------------------------- */
.about { padding: clamp(70px, 10vw, 130px) 0; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about__photo { position: relative; }
.about__photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: left center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.about__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--white);
  margin: 0 0 26px;
}
.about__body p { color: var(--muted); margin: 0 0 18px; }
.about__body .section__eyebrow { color: var(--accent); margin: 0 0 14px; }
.about__body p.about__lead {
  font-size: clamp(1.12rem, 1.7vw, 1.32rem);
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
  margin: 0 0 22px;
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__photo img { aspect-ratio: 1 / 1; }
}

/* Music / discography ----------------------------------------------------- */
.music { padding: clamp(70px, 10vw, 130px) 0; background: var(--bg-elev); }

.albums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.album {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.album:hover { transform: translateY(-6px); border-color: rgba(53, 224, 207, 0.35); box-shadow: var(--shadow); }

.album__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.album__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.album:hover .album__media img { transform: scale(1.05); }
.album__media iframe { position: absolute; inset: 0; height: 100% !important; border-radius: 0; }

.embed__play--overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(7,10,16,0.05) 0%, rgba(7,10,16,0.55) 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.album__media:hover .embed__play--overlay,
.embed__play--overlay:focus-visible { opacity: 1; }

.album__info { padding: 16px 18px 20px; }
.album__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 4px; color: var(--white); }
.album__meta { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.album__desc { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* Tracks (soundcloud) ----------------------------------------------------- */
.tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 72px;
}
.tracks__heading {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  margin: 0 0 22px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 14px;
}
.tracks__heading::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tracks__list { display: flex; flex-direction: column; gap: 12px; }

.embed--soundcloud {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.embed--soundcloud:hover { border-color: rgba(53, 224, 207, 0.3); }
.embed__play--bar { padding: 14px 18px; }
.embed__play--bar .embed__play-icon { width: 42px; height: 42px; }
.embed__play--bar .embed__play-icon::after { border-width: 7px 0 7px 12px; }

/* Placements (bento) ------------------------------------------------------ */
.placements { padding: clamp(70px, 10vw, 130px) 0; }
.placements__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 208px;
  gap: 18px;
}
.placement { position: relative; }
.placement--feature { grid-column: span 2; grid-row: span 2; }

.placement__thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #0b1018;
}
.placement__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(var(--crop, 1) * var(--hov, 1)));
  transition: transform 0.6s var(--ease);
}
.placement:hover .placement__thumb img { --hov: 1.05; }
.placement__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 7, 12, 0) 38%, rgba(4, 7, 12, 0.9) 100%);
}
.placement__thumb--fallback {
  background: radial-gradient(120% 120% at 30% 20%, rgba(74, 168, 255, 0.28), transparent 60%), #0b1018;
}

.placement__brand {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(4, 7, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 5px 11px;
  border-radius: 999px;
}
.placement__caption {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  z-index: 2;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.35;
  text-align: left;
}
.placement__caption strong { color: #fff; font-weight: 600; }
.placement--feature .placement__caption {
  right: 22%;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.3;
}
.placement .vid__play { z-index: 2; }

@media (max-width: 860px) {
  .placements__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 172px; }
  .placement--feature { grid-column: span 2; grid-row: span 1; grid-auto-rows: 172px; }
  .placement--feature .placement__caption { right: 16px; }
}
@media (max-width: 560px) {
  .placements__grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .placement--feature { grid-column: span 1; }
}

/* Video ------------------------------------------------------------------- */
.video { padding: clamp(70px, 10vw, 130px) 0; }
.videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vid { display: flex; flex-direction: column; }
.vid__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--bg-card);
}
.vid__thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(var(--crop, 1) * var(--hov, 1))); transition: transform 0.6s var(--ease); }
.vid:hover .vid__thumb img { --hov: 1.06; }

/* Cinematic (wider-than-16:9) sources have baked-in letterbox bars; a small
   zoom-crop pushes those black bars out of frame so the tile fills fully. */
.vid--cinematic, .placement--cinematic { --crop: 1.4; }
.vid__thumb--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 120% at 30% 20%, rgba(74,168,255,0.25), transparent 60%), var(--bg-card);
}
.vid__fallback-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; color: var(--white); }
.vid__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  border-radius: 999px;
  background: rgba(7, 10, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.vid__play::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--white);
}
.vid__thumb:hover .vid__play { transform: translate(-50%, -50%) scale(1.1); background: linear-gradient(120deg, var(--accent), var(--accent-2)); border-color: transparent; }
.vid__thumb:hover .vid__play::after { border-left-color: #04121a; }
.vid iframe { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); }
.vid__caption { margin: 14px 2px 0; font-size: 0.92rem; color: var(--muted); }

/* Contact ----------------------------------------------------------------- */
.contact {
  padding: clamp(80px, 12vw, 150px) 0;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(53, 224, 207, 0.1), transparent 60%),
    var(--bg-elev);
  border-top: 1px solid var(--line);
}
.contact__inner { text-align: center; max-width: 640px; }
.contact__lead { color: var(--muted); margin: 0 auto 28px; max-width: 460px; }
.contact__email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 34px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact__email:hover { color: var(--accent); border-bottom-color: var(--accent); }
.contact__btn { display: block; width: fit-content; margin: 0 auto; }

/* Contact form ------------------------------------------------------------ */
.contact__form {
  max-width: 560px;
  margin: 8px auto 0;
  text-align: left;
}
.contact__honeypot {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}
.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact__field { display: flex; flex-direction: column; margin-bottom: 16px; }
.contact__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 8px;
}
.contact__form input,
.contact__form textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.contact__form textarea { resize: vertical; min-height: 120px; }
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: var(--muted-dim); }
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(53, 224, 207, 0.05);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact__submit { margin-top: 6px; }
.contact__submit[disabled] { opacity: 0.6; cursor: default; }

.contact__status {
  min-height: 1.2em;
  margin: 14px 0 0;
  font-size: 0.92rem;
}
.contact__status.is-success { color: var(--accent); }
.contact__status.is-error { color: #ff8080; }

.contact__alt { color: var(--muted-dim); font-size: 0.9rem; margin: 26px 0 0; }
.contact__alt a { color: var(--muted); border-bottom: 1px solid transparent; transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.contact__alt a:hover { color: var(--accent); border-bottom-color: var(--accent); }

@media (max-width: 560px) {
  .contact__row { grid-template-columns: 1fr; gap: 0; }
}

/* Footer ------------------------------------------------------------------ */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 54px 0 34px; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand { display: flex; flex-direction: column; }
.footer__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; color: var(--white); }
.footer__tag { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-dim); margin-top: 3px; }
.footer__nav, .footer__social { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__nav a, .footer__social a { font-size: 0.9rem; color: var(--muted); transition: color 0.25s var(--ease); }
.footer__nav a:hover, .footer__social a:hover { color: var(--accent); }
.footer__copy { text-align: center; color: var(--muted-dim); font-size: 0.82rem; margin: 40px 0 0; }

/* Active (playing) states ------------------------------------------------- */
.album.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.embed--soundcloud.is-active { border-color: var(--accent); }
.embed--soundcloud.is-active .embed__play-icon { transform: scale(1.05); }

/* Docked audio player (bottom-left) --------------------------------------- */
.dock {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 200;
  width: min(360px, calc(100vw - 40px));
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.dock[hidden] { display: none; }
.dock.is-open { opacity: 1; transform: none; }
.dock__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px 11px 15px;
  border-bottom: 1px solid var(--line);
}
.dock__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.dock__eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.dock__label {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dock__close {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.dock__close:hover { color: var(--white); border-color: var(--accent); background: var(--accent-soft); }
.dock__body iframe { display: block; width: 100%; border: 0; }

/* Video modal ------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  cursor: pointer;
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1000px, 100%);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
}
.modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__close {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 999px;
  background: rgba(16, 24, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.modal.is-open .modal__close { opacity: 1; }
.modal__close:hover { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #04121a; transform: rotate(90deg); }

body.no-scroll { overflow: hidden; }

/* Reveal animation -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .albums { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .albums, .videos { grid-template-columns: repeat(2, 1fr); }

  .hero {
    text-align: center;
    align-items: flex-end;
    padding: 90px 0 70px;
    min-height: 100svh;
  }
  .hero__media {
    top: 0;
    right: 0;
    height: 66%;
  }
  .hero__photo {
    object-position: 62% 20%;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 34%);
    mask-image: linear-gradient(0deg, transparent 0%, #000 34%);
  }
  .hero__scrim {
    background: linear-gradient(180deg, rgba(7, 10, 16, 0) 0%, rgba(7, 10, 16, 0.12) 32%, var(--bg) 62%);
  }
  .hero__inner { justify-content: center; }
  .hero__content { max-width: 640px; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }

  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 80px 32px;
    background: rgba(9, 13, 22, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__link { font-size: 1.15rem; padding: 12px 0; width: 100%; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 14px 0 0; }
  .nav__toggle { display: flex; z-index: 2; }
  .nav.is-open { background: rgba(7, 10, 16, 0.9); }

  .tracks { grid-template-columns: 1fr; gap: 44px; }

  /* Touch: no hover, so always surface the album play affordance. */
  .embed__play--overlay {
    opacity: 1;
    background: linear-gradient(180deg, rgba(7, 10, 16, 0) 45%, rgba(7, 10, 16, 0.55) 100%);
    align-items: flex-end;
    justify-content: flex-end;
    padding: 14px;
  }
  .embed__play--overlay .embed__play-icon { width: 44px; height: 44px; }
  .embed__play--overlay .embed__play-icon::after { border-width: 8px 0 8px 13px; }
}

@media (max-width: 560px) {
  .albums, .videos { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .marquee { flex-direction: column; gap: 16px; }
  .container { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
