/* =========================================================
   Lamia Nageb — Minimal Editorial Portfolio Design System
   ========================================================= */

@font-face {
  font-family: "Aime";
  src: url("/assets/RK4X2PXO.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aime";
  src: url("/assets/KZYIEKM3.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aime";
  src: url("/assets/E34RMFMI.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aime";
  src: url("/assets/DCUCO6EG.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "KMR Melange Grotesk";
  src: url("/assets/WM77GZQE.ttf") format("truetype");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "KMR Melange Grotesk";
  src: url("/assets/EDUFJISK.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "KMR Melange Grotesk";
  src: url("/assets/ESVYJHOG.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "KMR Melange Grotesk";
  src: url("/assets/PQNVRRKH.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ===== Color Tokens (Light Default + Dark Toggle) ===== */
:root {
  --bg: #FFFFFF;
  --bg-subtle: #F7F6F3;
  --surface: #FFFFFF;
  --ink: #16131D;
  --ink-2: #4A4553;
  --ink-3: #8A8592;
  --line: #E8E6EC;
  --accent: #5B3BA3;
  --accent-hover: #4A2F87;
  --accent-soft: #F1EDFA;
  --on-accent: #FFFFFF;
  --header-bg: rgba(255, 255, 255, 0.9);
  --wave-track: #DFDCE6;
  --input-bg: var(--bg-subtle);
  --social-filter: brightness(0);

  --font-en-display: "Aime", Georgia, "Times New Roman", serif;
  --font-en: "KMR Melange Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --bg: #0F0E13;
  --bg-subtle: #15131B;
  --surface: #1A1822;
  --ink: #F4F2F8;
  --ink-2: #B7B2C2;
  --ink-3: #7E7889;
  --line: #2A2733;
  --accent: #A68BF0;
  --accent-hover: #B9A3F5;
  --accent-soft: rgba(166, 139, 240, 0.14);
  --on-accent: #0F0E13;
  --header-bg: rgba(15, 14, 19, 0.9);
  --wave-track: #2E2B38;
  --input-bg: var(--bg);
  --social-filter: brightness(0) invert(1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease, padding-bottom 0.25s var(--ease);
}

body.has-player {
  padding-bottom: 84px;
}

html[lang="en"] body {
  font-family: var(--font-en);
}

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

button, input, textarea {
  font-family: inherit;
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ===== Typography Scale ===== */
.section-title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

html[lang="ar"] .section-title {
  letter-spacing: 0;
}

.section-sub {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 560px;
}

.section-head {
  margin-bottom: 36px;
}

/* ===== Buttons & Links ===== */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding-inline: 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: var(--ink-3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  height: 44px;
  padding-inline: 6px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--accent);
}

/* ===== Minimal Sticky Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand-wordmark {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

html[lang="en"] .brand-wordmark {
  font-size: 18px;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--bg-subtle);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.icon-btn:hover {
  color: var(--ink);
  border-color: var(--ink-3);
  background: var(--bg-subtle);
}

.lang-btn {
  height: 38px;
  min-width: 38px;
  padding-inline: 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.lang-btn:hover {
  border-color: var(--ink-3);
  background: var(--bg-subtle);
}

.header-cta {
  height: 38px;
  padding-inline: 18px;
  font-size: 13.5px;
}

.menu-btn {
  display: none;
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer .nav-link {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 15px;
}

.mobile-drawer .btn-primary {
  margin-top: 8px;
  width: 100%;
}

/* ===== Hero Section ===== */
.hero-band {
  background: var(--bg);
  padding-block: 72px 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 56px;
  align-items: center;
}

.hero-overline {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
  transition: opacity 0.18s ease;
}

.hero-overline:hover {
  opacity: 0.8;
}

.hero-title {
  margin: 0;
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

html[lang="en"] .hero-title {
  font-family: var(--font-en-display);
  letter-spacing: -0.025em;
}

.hero-role {
  margin: 12px 0 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-2);
}

.hero-bio {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 540px;
}

/* Hero Player Card */
.hero-player {
  margin-top: 28px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-player:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.hero-player.is-playing {
  border-color: var(--accent);
}

.hero-player-info {
  min-width: 0;
  flex: 1;
}

.hero-player-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-player-meta {
  font-size: 13px;
  color: var(--ink-3);
}

.hero-player .waveform {
  width: 150px;
  flex: none;
}

.hero-reels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.hero-reel-chip {
  height: 34px;
  padding-inline: 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.hero-reel-chip:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}

.hero-reel-chip.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.hero-portrait-wrap {
  display: flex;
  justify-content: flex-end;
}

.hero-portrait {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1.06;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
}

/* ===== Award Card Band ===== */
.award-band {
  background: var(--bg);
  padding-bottom: 56px;
}

.award-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.award-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.award-img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  flex: none;
}

.award-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.award-desc {
  margin: 4px 0 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.65;
}

/* ===== Clients Strip ===== */
.clients-band {
  background: var(--bg);
  padding-block: 16px 72px;
}

.clients-heading {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  margin: 0 0 24px;
}

.marquee {
  position: relative;
  overflow: hidden;
  direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
}

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

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

.client-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.25s ease, opacity 0.25s ease;
  flex: none;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===== Demos Section (#samples) ===== */
.demos-band {
  background: var(--bg-subtle);
  padding-block: 96px;
}

.tabs-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-bar::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  position: relative;
  background: none;
  border: none;
  padding: 12px 2px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-3);
  cursor: pointer;
  white-space: nowrap;
  flex: none;
  transition: color 0.18s ease;
}

.tab-btn:hover {
  color: var(--ink);
}

.tab-btn.is-active {
  color: var(--ink);
  font-weight: 600;
}

.tab-btn.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
}

.tracklist-card {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.track-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1.2fr) minmax(140px, 0.8fr) 64px;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.18s ease;
}

.track-row:last-child {
  border-bottom: none;
}

.track-row:hover {
  background: var(--bg-subtle);
}

.track-row.is-playing {
  background: var(--accent-soft);
}

.play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.play-btn:hover,
.is-playing .play-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.track-info {
  min-width: 0;
}

.track-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.is-playing .track-title {
  color: var(--accent);
}

.track-meta {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}

.waveform {
  width: 100%;
  min-width: 0;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  direction: ltr;
}

.wf-bar {
  flex: 1;
  min-width: 1px;
  border-radius: 99px;
  background: var(--wave-track);
  transition: background-color 0.12s ease;
}

.wf-bar.is-played {
  background: var(--accent);
}

.audio-time {
  flex: none;
  min-width: max-content;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  text-align: end;
  white-space: nowrap;
  direction: ltr;
}

.is-playing .audio-time {
  color: var(--accent);
  font-weight: 600;
}

.demos-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

/* ===== Work Section (#work) ===== */
.work-band {
  background: var(--bg);
  padding-block: 96px;
}

.spotlight-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 24px;
  transition: box-shadow 0.2s ease;
}

.spotlight-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.spotlight-media {
  min-width: 0;
  background: #111;
  direction: ltr;
}

.spotlight-thumb-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: none;
  background: #111;
  cursor: pointer;
  overflow: hidden;
}

.spotlight-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.spotlight-thumb-btn:hover img {
  transform: scale(1.03);
}

.spotlight-thumb-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.24);
}

.spotlight-info {
  min-width: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.spotlight-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.spotlight-desc {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}

.spotlight-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.media-play-badge {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #16131D;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease), background-color 0.2s ease, color 0.2s ease;
}

.spotlight-thumb-btn .media-play-badge,
.media-thumb-btn .media-play-badge {
  position: absolute;
  inset: 0;
  margin: auto;
}

.spotlight-thumb-btn:hover .media-play-badge,
.media-card:hover .media-play-badge {
  transform: scale(1.06);
  background: var(--accent);
  color: var(--on-accent);
}

/* Studio Video Player (Neutral #111 + Accent Progress) */
.studio-video-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #111111;
  direction: ltr;
}

.studio-video-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111111;
  overflow: hidden;
  direction: ltr;
}

#yt-studio-target,
.studio-video-viewport iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.studio-video-shield {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
}

.studio-video-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.studio-video-wrap.is-paused .studio-video-cover {
  opacity: 1;
  pointer-events: auto;
}

.studio-video-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  pointer-events: none;
}

.studio-video-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  direction: ltr;
}

.sv-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
  transition: background-color 0.18s ease;
}

.sv-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sv-btn.is-play {
  background: var(--accent);
  color: var(--on-accent);
}

.sv-progress {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  overflow: hidden;
}

.sv-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: var(--accent);
  transition: width 0.12s linear;
}

.sv-time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

/* 2-Col Audio Drama Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.media-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.media-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.media-card.is-playing {
  border-color: var(--accent);
}

.media-thumb-btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: none;
  overflow: hidden;
  background: var(--bg-subtle);
  cursor: pointer;
}

.media-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.media-card:hover .media-thumb-btn img {
  transform: scale(1.03);
}

.media-thumb-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.media-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.media-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.media-desc {
  margin: 6px 0 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.65;
}

.media-audio-slot {
  margin-top: auto;
  padding-top: 16px;
}

.audio-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  direction: ltr;
}

/* ===== Theater Modal ===== */
.theater-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 14, 19, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.theater-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.theater-dialog {
  width: 100%;
  max-width: 920px;
  border-radius: 16px;
  overflow: hidden;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.theater-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.theater-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theater-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}

.theater-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.theater-frame {
  width: 100%;
  background: #111111;
}

/* ===== Reviews Masonry Band (#reviews) ===== */
.reviews-band {
  background: var(--bg-subtle);
  padding-block: 96px;
}

.reviews-grid {
  columns: 3;
  column-gap: 20px;
}

.review {
  margin: 0 0 20px;
  padding: 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  break-inside: avoid;
  transition: box-shadow 0.2s ease;
}

.review:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.review blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  direction: rtl;
  text-align: right;
}

.review figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex: none;
}

.review-avatar.is-contain {
  object-fit: contain;
  background: #5B3BA3;
  padding: 5px;
}

.review-avatar-fallback {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.review-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* ===== Contact Band (#contact) ===== */
.contact-band {
  background: var(--bg);
  padding-block: 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.contact-desc {
  margin: 12px 0 28px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  width: fit-content;
  transition: color 0.18s ease;
}

.contact-row:hover {
  color: var(--accent);
}

.contact-icon {
  width: 18px;
  height: 18px;
  filter: var(--social-filter);
  opacity: 0.75;
  flex: none;
}

.brief-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.brief-group {
  margin-bottom: 20px;
}

.brief-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.chip-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.opt-chip {
  height: 36px;
  padding-inline: 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.opt-chip:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}

.opt-chip.is-selected {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.brief-textarea {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--input-bg);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.65;
  resize: vertical;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.brief-textarea::placeholder {
  color: var(--ink-3);
  opacity: 1;
}

.brief-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
}

.brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding-inline: 22px;
  border-radius: 999px;
  border: none;
  background: #1EA855;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex: 1 1 auto;
  transition: background-color 0.18s ease, box-shadow 0.2s ease;
}

.btn-whatsapp:hover {
  background: #189148;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ===== Single-Row Minimal Footer ===== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: 28px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 13.5px;
  color: var(--ink-3);
}

.footer-brand {
  font-weight: 700;
  color: var(--ink);
}

.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.footer-social-btn img {
  width: 15px;
  height: 15px;
  filter: var(--social-filter);
  opacity: 0.72;
  transition: opacity 0.18s ease;
}

.footer-social-btn:hover {
  border-color: var(--ink-3);
  background: var(--bg-subtle);
}

.footer-social-btn:hover img {
  opacity: 1;
}

.back-top-btn {
  background: none;
  border: none;
  padding: 6px 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.18s ease;
}

.back-top-btn:hover {
  color: var(--accent);
}

/* ===== Neutral Floating Player ===== */
.floating-player {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 760px;
  margin-inline: auto;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  padding: 10px 14px;
  transform: translateY(145%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.25s ease;
}

.floating-player.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.fp-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
}

.fp-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: var(--on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}

.fp-play-btn:hover {
  background: var(--accent-hover);
}

.fp-track {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fp-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.fp-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  flex: none;
}

.fp-bar {
  position: relative;
  height: 5px;
  border-radius: 99px;
  background: var(--wave-track);
  cursor: pointer;
  overflow: hidden;
}

.fp-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: var(--accent);
  transition: width 0.1s linear;
}

.fp-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}

.fp-close-btn:hover {
  color: var(--ink);
  border-color: var(--ink-3);
}

/* ===== Subtle Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive Breakpoints ===== */
@media (max-width: 1024px) {
  .spotlight-card {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    columns: 2;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .header-cta {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .hero-band {
    padding-block: 44px 56px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-portrait-wrap {
    order: -1;
    justify-content: center;
  }
  .hero-portrait {
    max-width: 220px;
  }
  .demos-band,
  .work-band,
  .reviews-band,
  .contact-band {
    padding-block: 64px;
  }
  .track-row {
    grid-template-columns: 40px minmax(0, 1fr) 56px;
  }
  .track-row .waveform {
    display: none;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 16px;
  }
  .header-inner {
    height: 62px;
  }
  .hero-player {
    flex-wrap: wrap;
  }
  .hero-player .waveform {
    width: 100%;
    order: 4;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-row .btn-primary,
  .hero-cta-row .text-link {
    justify-content: center;
  }
  .award-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .spotlight-info {
    padding: 22px 18px;
  }
  .media-body {
    padding: 18px;
  }
  .reviews-grid {
    columns: 1;
  }
  .brief-card {
    padding: 20px 16px;
  }
  .brief-actions {
    flex-direction: column;
  }
  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-left {
    justify-content: center;
  }
  .floating-player {
    inset-inline: 10px;
    bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== Art direction: a more expressive voice portfolio ===== */
:root {
  --bg-subtle: #f5f3fa;
  --line: #e6e1ed;
  --accent: #6944ae;
  --accent-hover: #50328f;
  --accent-soft: #eee8fa;
}
html[data-theme="dark"] {
  --bg-subtle: #17141e;
  --line: #332c3e;
  --accent: #bb9aff;
  --accent-hover: #ccb6ff;
  --accent-soft: rgba(187,154,255,.14);
}
html { scroll-padding-top: 88px; }
.site-header { box-shadow: 0 8px 30px rgba(33, 20, 54, .035); }
.brand-wordmark { font-size: 19px; }
.nav-link, .icon-btn, .lang-btn { transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.nav-link:hover, .icon-btn:hover, .lang-btn:hover { transform: translateY(-2px); }
.btn-primary, .btn-secondary { min-height: 48px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s ease; }
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(75, 43, 130, .2); }
.header-cta { min-height: 40px; }
.hero-band {
  position: relative;
  overflow: hidden;
  padding-block: 90px 96px;
  background: radial-gradient(ellipse at 13% 36%, rgba(175, 146, 224, .18), transparent 36%), var(--bg);
}
.hero-grid { gap: clamp(40px, 7vw, 96px); }
.hero-content { position: relative; z-index: 1; animation: hero-enter .8s var(--ease) both; }
.hero-overline { padding: 7px 14px; border: 1px solid rgba(105,68,174,.2); border-radius: 999px; background: var(--accent-soft); font-size: 14px; }
.hero-title { font-size: clamp(52px, 6.4vw, 82px); line-height: 1.15; }
.hero-role { font-size: clamp(17px, 1.6vw, 20px); color: var(--accent); }
.hero-bio { max-width: 520px; font-size: 17px; line-height: 1.9; }
.hero-portrait-wrap { position: relative; isolation: isolate; justify-content: center; padding: 18px; animation: portrait-enter 1s .1s var(--ease) both; }
.hero-portrait-wrap::before { content: ''; position: absolute; inset: 2% 4%; border: 1px solid rgba(105,68,174,.26); border-radius: 46% 46% 24px 24px; transform: rotate(-5deg); z-index: -1; }
.hero-portrait-wrap::after { content: ''; position: absolute; width: 100px; height: 100px; inset-inline-end: 0; bottom: 0; border-radius: 50%; background: radial-gradient(circle, var(--accent) 1.5px, transparent 2px) 0 0 / 10px 10px; opacity: .38; z-index: -1; }
.hero-portrait { max-width: 400px; aspect-ratio: .87; border-radius: 46% 46% 22px 22px; object-position: center; box-shadow: 0 25px 60px rgba(46, 28, 67, .16); }
.hero-player { border-radius: 20px; padding: 16px 18px; box-shadow: 0 12px 35px rgba(56, 36, 82, .07); }
.hero-player:hover, .hero-player.is-playing { box-shadow: 0 16px 40px rgba(80, 50, 143, .14); }
.hero-reel-chip, .opt-chip { transition: transform .25s var(--ease), color .2s ease, background-color .2s ease, border-color .2s ease; }
.hero-reel-chip:hover, .opt-chip:hover { transform: translateY(-2px); }
.award-band { padding-bottom: 64px; }
.award-card { border-radius: 22px; background: linear-gradient(120deg, var(--surface), var(--accent-soft)); padding: 24px 28px; }
.award-img { width: 80px; height: 80px; border-radius: 16px; }
.clients-heading { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.client-logo { width: 60px; height: 60px; }
.demos-band, .reviews-band { position: relative; }
.section-title { font-size: clamp(32px, 4vw, 48px); }
.section-head { margin-bottom: 42px; }
.section-head::before { content: ''; display: block; width: 42px; height: 4px; margin-bottom: 18px; border-radius: 10px; background: var(--accent); }
.tracklist-card, .spotlight-card, .media-card, .brief-card, .review { box-shadow: 0 12px 35px rgba(48, 30, 72, .045); }
.review, .media-card, .spotlight-card, .award-card { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease; }
.review:hover, .media-card:hover, .spotlight-card:hover, .award-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(48, 30, 72, .1); border-color: rgba(105,68,174,.3); }
.review blockquote { font-size: 16px; line-height: 1.9; }
.review blockquote::before { content: '“'; display: block; height: 36px; color: var(--accent); font: 56px/1 Georgia, serif; opacity: .65; }
.contact-band { background: radial-gradient(ellipse at 85% 50%, var(--accent-soft), transparent 45%), var(--bg); }
.brief-card { border-radius: 24px; }
.reveal { transform: translateY(24px); transition-duration: .75s; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes portrait-enter { from { opacity: 0; transform: translateY(25px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 820px) {
  .hero-band { padding-block: 44px 60px; }
  .hero-grid { gap: 24px; }
  .hero-portrait-wrap { padding: 12px; }
  .hero-portrait { max-width: 260px; }
  .hero-portrait-wrap::before { inset: 4% calc(50% - 140px); }
  .hero-portrait-wrap::after { inset-inline-end: calc(50% - 150px); width: 70px; height: 70px; }
}
@media (max-width: 640px) {
  .hero-title { font-size: clamp(44px, 12vw, 60px); }
  .hero-bio { font-size: 16px; }
  .hero-portrait { max-width: 220px; }
  .hero-portrait-wrap::before { inset-inline: calc(50% - 120px); }
  .hero-portrait-wrap::after { inset-inline-end: calc(50% - 130px); }
  .award-card { flex-direction: row; align-items: center; padding: 20px; }
  .award-img { width: 64px; height: 64px; }
  .award-title { font-size: 16px; }
  .section-head { margin-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content, .hero-portrait-wrap { animation: none; }
}

/* A quieter, more personal presentation for the nomination. */
.award-card {
  gap: clamp(20px, 4vw, 42px);
  padding: clamp(24px, 4vw, 42px);
  background: var(--surface);
  border-inline-start: 4px solid var(--accent);
  box-shadow: 0 16px 45px rgba(48, 30, 72, .06);
}
.award-card:hover { transform: none; }
.award-img { width: clamp(80px, 11vw, 120px); height: clamp(80px, 11vw, 120px); }
.award-copy { max-width: 680px; }
.award-label { margin: 0 0 4px; color: var(--accent); font-size: 14px; font-weight: 600; }
.award-title { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.35; }
.award-desc { margin-top: 8px; font-size: 16px; line-height: 1.8; }
@media (max-width: 640px) {
  .award-card { align-items: flex-start; gap: 16px; padding: 22px 18px; }
  .award-img { width: 64px; height: 64px; }
  .award-title { font-size: 21px; }
  .award-desc { font-size: 15px; }
}

/* Keep the nomination in the page flow, rather than in a separate card. */
.award-band { padding-block: 0 48px; }
.award-card {
  padding: 32px 0;
  border: 0;
  border-block: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.award-card:hover { border-color: var(--line); box-shadow: none; }
.award-img { width: 76px; height: 76px; border-radius: 12px; }
.award-copy { max-width: 720px; }
.award-label { margin-bottom: 6px; }
.award-title { font-size: clamp(21px, 2.2vw, 27px); }
.clients-band { padding-top: 12px; }
@media (max-width: 640px) {
  .award-band { padding-bottom: 40px; }
  .award-card { padding: 25px 0; }
  .award-img { width: 58px; height: 58px; }
}

/* Sound-led visual refresh */
:root {
  --bg: #fbf9ff;
  --bg-subtle: #f0ebf9;
  --header-bg: rgba(251, 249, 255, .88);
  --surface: #fff;
  --wave-track: #d6cde6;
}
html[data-theme="dark"] {
  --bg: #0f0e13;
  --bg-subtle: #17141e;
  --header-bg: rgba(15, 14, 19, .9);
  --surface: #1a1822;
  --wave-track: #474050;
}
body { background: var(--bg); }
.brand-wordmark { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; gap: 2px; width: 34px; height: 34px; flex: none; border-radius: 11px; background: var(--accent); color: var(--on-accent); }
.brand-mark span { width: 2px; border-radius: 3px; background: currentColor; height: 9px; }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(4) { height: 15px; }
.brand-mark span:nth-child(3) { height: 21px; }
.reading-progress { position: absolute; bottom: -2px; inset-inline: 0; height: 3px; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #a177e8, #6944ae, #d483a9); }
html[dir="rtl"] .reading-progress span { transform-origin: right; }
.hero-band { background: radial-gradient(ellipse at 13% 36%, rgba(166, 125, 220, .22), transparent 38%), radial-gradient(ellipse at 80% 10%, rgba(247, 206, 220, .22), transparent 42%), var(--bg); }
.hero-soundscape { position: absolute; inset: 0; overflow: hidden; pointer-events: none; color: var(--accent); }
.sound-icon { position: absolute; display: grid; place-items: center; opacity: .25; animation: sound-float 6s ease-in-out infinite; }
.sound-icon svg { width: 100%; height: 100%; }
.sound-icon-mic { width: 34px; height: 34px; top: 12%; left: 5%; transform: rotate(-15deg); }
.sound-icon-note { font: 42px/1 Georgia, serif; top: 18%; left: 44%; animation-delay: -2s; }
.sound-icon-wave { width: 34px; height: 34px; bottom: 12%; left: 46%; animation-delay: -3s; }
.sound-icon-spark { font-size: 28px; bottom: 16%; right: 3%; animation-delay: -1s; }
@keyframes sound-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
html[data-theme="dark"] .hero-band { background: radial-gradient(ellipse at 13% 36%, rgba(132, 93, 184, .16), transparent 38%), var(--bg); }
.demos-band { overflow: hidden; background: radial-gradient(ellipse at 90% 5%, rgba(184, 151, 229, .28), transparent 38%), linear-gradient(145deg, #eee8f8, #f8f5fd 65%); }
html[data-theme="dark"] .demos-band { background: radial-gradient(ellipse at 90% 5%, rgba(126, 92, 182, .2), transparent 38%), linear-gradient(145deg, #1c1728, #14121b); }
.demos-band .section-head { max-width: 650px; }
.tabs-bar { gap: 10px; border: 0; padding: 3px 2px 12px; margin-bottom: 20px; scrollbar-width: thin; }
.tab-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink-2); transition: transform .2s var(--ease), background .2s ease, color .2s ease, border-color .2s ease; }
.tab-btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.tab-btn.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tab-btn.is-active::after { display: none; }
.category-icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 19px; line-height: 1; }
.tab-btn.is-active .category-icon { background: rgba(255,255,255,.22); color: inherit; }
.tracklist-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; border: 0; overflow: visible; background: transparent; box-shadow: none; }
.track-row { grid-template-columns: 42px 46px minmax(0, 1fr) 70px; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 8px 24px rgba(54, 35, 85, .045); transition: transform .25s var(--ease), border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.track-row:last-child { border-bottom: 1px solid var(--line); }
.track-row:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--surface); box-shadow: 0 14px 30px rgba(54, 35, 85, .1); }
.track-row.is-playing { border-color: var(--accent); background: var(--accent-soft); }
.track-row.is-playing:last-child { border-color: var(--accent); }
.track-art { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--accent); background: linear-gradient(145deg, var(--accent-soft), var(--bg-subtle)); font-size: 26px; line-height: 1; }
.track-row .waveform { grid-column: 2 / 4; grid-row: 2; height: 20px; }
.track-row .audio-time { grid-column: 4; grid-row: 2; }
.track-row .play-btn { grid-row: 1 / 3; }
.track-row .track-art { grid-column: 2; grid-row: 1; }
.track-row .track-info { grid-column: 3 / 5; grid-row: 1; }
.track-row .play-btn { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.track-row .play-btn:hover, .track-row.is-playing .play-btn { background: var(--accent); color: var(--on-accent); }
.track-row.is-playing .wf-bar { animation: wave-breathe 1.3s ease-in-out infinite alternate; }
.track-row.is-playing .wf-bar:nth-child(3n) { animation-delay: -.7s; }
.track-row.is-playing .wf-bar:nth-child(3n + 1) { animation-delay: -.3s; }
@keyframes wave-breathe { from { opacity: .65; } to { opacity: 1; } }
@media (max-width: 820px) {
  .tracklist-card { grid-template-columns: 1fr; }
  .track-row { grid-template-columns: 42px 46px minmax(0, 1fr) 70px; }
  .track-row .waveform { display: flex; }
  .sound-icon-note { left: 12%; top: 30%; }
  .sound-icon-wave { left: auto; right: 8%; top: 20%; bottom: auto; }
}
@media (max-width: 640px) {
  .track-row { gap: 10px; padding: 13px; grid-template-columns: 40px 42px minmax(0, 1fr) 60px; }
  .track-art { width: 42px; height: 42px; }
  .tab-btn { min-height: 44px; }
  .sound-icon { opacity: .17; }
}
@media (prefers-reduced-motion: reduce) {
  .sound-icon, .track-row.is-playing .wf-bar { animation: none; }
}
.tabs-bar { scrollbar-color: rgba(105, 68, 174, .4) transparent; scrollbar-width: thin; }
.tabs-bar::-webkit-scrollbar { display: block; height: 4px; }
.tabs-bar::-webkit-scrollbar-track { background: transparent; }
.tabs-bar::-webkit-scrollbar-thumb { background: rgba(105, 68, 174, .4); border-radius: 99px; }

/* Client voices */
.reviews-band {
  background: radial-gradient(ellipse at 85% 8%, rgba(180, 150, 221, .16), transparent 35%), var(--bg-subtle);
}
.reviews-band .section-head { max-width: 620px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; columns: auto; align-items: stretch; }
.review {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 27px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(48, 30, 72, .04);
}
.review-featured {
  grid-column: span 2;
  padding: clamp(28px, 3.5vw, 42px);
  background: linear-gradient(135deg, var(--surface), var(--accent-soft));
  border-color: rgba(105, 68, 174, .17);
}
.review blockquote { flex: 1; line-height: 1.95; }
.review-featured blockquote { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.95; }
.review blockquote::before { height: 40px; font-size: 62px; opacity: .5; }
.review figcaption { margin-top: 24px; padding-top: 18px; }
.review-avatar, .review-avatar-fallback { width: 44px; height: 44px; }
.review-author { font-size: 15px; }
html[data-theme="dark"] .reviews-band { background: radial-gradient(ellipse at 85% 8%, rgba(150, 113, 203, .13), transparent 35%), var(--bg-subtle); }
@media (max-width: 820px) {
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 12px; }
  .review-featured { grid-column: auto; }
  .review { padding: 23px; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* A calm carousel for the voices behind the work. */
.reviews-band { position: relative; overflow: hidden; }
.reviews-container { position: relative; z-index: 1; }
.review-stickers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; color: var(--accent); }
.review-sticker { position: absolute; display: grid; place-items: center; opacity: .2; animation: review-float 7s ease-in-out infinite; }
.sticker-quote { top: 12%; left: 9%; font: 110px/.8 Georgia, serif; transform: rotate(-12deg); }
.sticker-heart { bottom: 14%; right: 7%; font: 64px/1 Georgia, serif; transform: rotate(14deg); animation-delay: -2s; }
.sticker-spark { top: 18%; left: 40%; font-size: 27px; animation-delay: -4s; }
.sticker-chat { bottom: 12%; left: 8%; width: 44px; height: 44px; transform: rotate(-10deg); animation-delay: -1s; }
.sticker-chat svg { width: 100%; height: 100%; }
@keyframes review-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.reviews-carousel { max-width: 900px; margin-inline: auto; }
.reviews-grid { display: block; }
.review[hidden] { display: none; }
.review.is-current { display: flex; min-height: 300px; padding: clamp(28px, 4vw, 48px); background: linear-gradient(135deg, var(--surface), var(--accent-soft)); border-color: rgba(105, 68, 174, .17); animation: review-enter .55s var(--ease) both; }
.review.is-current:hover { transform: none; }
.review blockquote { font-size: clamp(17px, 1.7vw, 21px); line-height: 2; }
.review figcaption {
  margin-top: 24px;
  min-height: 56px;
}
.review-logo {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(22, 19, 29, 0.06);
  flex: none;
}
.review-logo.is-contain {
  width: auto;
  max-width: 148px;
  padding: 10px 18px;
  object-fit: contain;
  background: #5B3BA3;
  border-color: transparent;
}
html[data-theme="dark"] .review-logo.is-contain {
  background: #2C2440;
  border-color: rgba(166, 139, 240, 0.28);
}
.review figcaption.is-name-only .review-author {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.reviews-controls { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.reviews-nav { display: flex; gap: 8px; }
.review-nav-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--accent); font-size: 21px; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.review-nav-btn:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.review-counter { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.review-dots { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.review-dot { width: 6px; height: 6px; border-radius: 99px; background: var(--ink-3); opacity: .35; transition: width .3s ease, background .3s ease, opacity .3s ease; }
.review-dot.is-current { width: 22px; background: var(--accent); opacity: 1; }
@keyframes review-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 640px) {
  .review.is-current { min-height: 0; padding: 24px; }
  .review blockquote { font-size: 16px; }
  .review-sticker { opacity: .13; }
  .sticker-quote { left: 5%; }
  .sticker-heart { right: 3%; }
}
@media (prefers-reduced-motion: reduce) {
  .review-sticker, .review.is-current { animation: none; }
}

/* Published work: a soft stage for video and sound. */
.work-band {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 8% 20%, rgba(202, 177, 235, .2), transparent 34%), radial-gradient(ellipse at 95% 78%, rgba(239, 190, 211, .16), transparent 37%), var(--bg);
}
html[data-theme="dark"] .work-band {
  background: radial-gradient(ellipse at 8% 20%, rgba(147, 108, 198, .13), transparent 34%), radial-gradient(ellipse at 95% 78%, rgba(173, 101, 145, .08), transparent 37%), var(--bg);
}
.work-container { position: relative; z-index: 1; }
.work-stickers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; color: var(--accent); }
.work-sticker { position: absolute; display: grid; place-items: center; opacity: .19; animation: work-float 7s ease-in-out infinite; }
.work-sticker svg { width: 100%; height: 100%; }
.work-sticker-play { top: 7%; left: 9%; width: 48px; height: 48px; transform: rotate(-12deg); }
.work-sticker-note { top: 20%; right: 4%; font: 44px/1 Georgia, serif; animation-delay: -2s; }
.work-sticker-spark { bottom: 8%; right: 7%; font-size: 28px; animation-delay: -4s; }
.work-sticker-wave { bottom: 12%; left: 5%; width: 43px; height: 43px; transform: rotate(12deg); animation-delay: -1s; }
@keyframes work-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 640px) {
  .work-sticker { opacity: .13; }
  .work-sticker-play { left: 5%; width: 38px; height: 38px; }
  .work-sticker-note { right: 3%; }
}
@media (prefers-reduced-motion: reduce) { .work-sticker { animation: none; } }

/* Little sound details around the listening library. */
.demos-container { position: relative; z-index: 1; }
.demos-stickers { position: absolute; inset: 0; overflow: hidden; color: var(--accent); pointer-events: none; }
.demos-sticker { position: absolute; display: grid; place-items: center; opacity: .16; animation: demo-float 7s ease-in-out infinite; }
.demos-sticker svg { width: 100%; height: 100%; }
.demos-sticker-headphones { top: 5%; left: 10%; width: 50px; height: 50px; transform: rotate(-12deg); }
.demos-sticker-note { top: 14%; right: 4%; font: 42px/1 Georgia, serif; animation-delay: -2s; }
.demos-sticker-spark { bottom: 8%; left: 7%; font-size: 29px; animation-delay: -4s; }
.demos-sticker-wave { bottom: 7%; right: 5%; width: 43px; height: 43px; transform: rotate(12deg); animation-delay: -1s; }
@keyframes demo-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 640px) {
  .demos-sticker { opacity: .1; }
  .demos-sticker-headphones { left: 5%; width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .demos-sticker { animation: none; } }

/* Pagination keeps the listening library compact. */
.track-number { display: inline-block; margin-inline-end: 8px; color: var(--accent); font-size: 12px; font-variant-numeric: tabular-nums; opacity: .8; }
.samples-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; }
.samples-page-arrow, .samples-page-number { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--ink-2); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.samples-page-arrow { font-size: 20px; }
.samples-page-arrow:hover:not(:disabled), .samples-page-number:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.samples-page-number.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.samples-page-arrow:disabled { opacity: .35; cursor: default; }

/* A personal mark in the header, using Lamia’s existing portrait. */
.brand-portrait { display: block; width: 39px; height: 39px; flex: none; padding: 2px; border: 1px solid rgba(105, 68, 174, .45); border-radius: 50%; background: var(--accent-soft); transition: transform .3s var(--ease), border-color .3s ease; }
.brand-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; border-radius: 50%; }
.brand-wordmark:hover .brand-portrait { transform: rotate(-6deg) scale(1.06); border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .brand-wordmark:hover .brand-portrait { transform: none; } }

/* Animate the portrait and name as one wordmark. */
.brand-wordmark > span:last-child { position: relative; }
.brand-wordmark > span:last-child::after { content: ''; position: absolute; inset-inline-start: 0; bottom: -3px; width: 100%; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
html[dir="ltr"] .brand-wordmark > span:last-child::after { transform-origin: left; }
.brand-wordmark:hover .brand-portrait, .brand-wordmark:focus-visible .brand-portrait { transform: translateY(-3px); border-color: var(--accent); }
.brand-wordmark:hover > span:last-child::after, .brand-wordmark:focus-visible > span:last-child::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .brand-wordmark:hover .brand-portrait, .brand-wordmark:focus-visible .brand-portrait { transform: none; }
  .brand-wordmark > span:last-child::after { transition: none; }
}
@media (max-width: 640px) {
  .samples-pagination { gap: 3px; }
  .samples-page-arrow, .samples-page-number { width: 32px; height: 44px; border-radius: 11px; }
}

/* Make the sample type a quiet detail at the end of each card. */
.track-row { grid-template-columns: 42px minmax(0, 1fr) 32px 70px; }
.track-row .track-art { grid-column: 4; grid-row: 1; justify-self: end; width: 28px; height: 28px; border-radius: 9px; font-size: 17px; }
.track-row .track-info { grid-column: 2 / 4; grid-row: 1; }
.track-row .waveform { grid-column: 2 / 4; }
@media (max-width: 640px) {
  .track-row { grid-template-columns: 40px minmax(0, 1fr) 24px 60px; }
  .track-row .track-art { width: 26px; height: 26px; font-size: 16px; }
}

/* Native page scrollbar: no scroll interception or JavaScript animation. */
html {
  --page-scroll-track: #f1ebf8;
  --page-scroll-thumb: #9679c1;
  --page-scroll-hover: #6944ae;
  scrollbar-color: var(--page-scroll-thumb) var(--page-scroll-track);
  scrollbar-width: thin;
}
html[data-theme="dark"] {
  --page-scroll-track: #17131d;
  --page-scroll-thumb: #80689e;
  --page-scroll-hover: #bb9aff;
}
@supports not (scrollbar-color: auto) {
  html::-webkit-scrollbar { width: 11px; }
  html::-webkit-scrollbar-track { background: var(--page-scroll-track); }
  html::-webkit-scrollbar-thumb { background: var(--page-scroll-thumb); border: 3px solid var(--page-scroll-track); border-radius: 999px; }
  html::-webkit-scrollbar-thumb:hover { background: var(--page-scroll-hover); }
}
@media (forced-colors: active) {
  html { scrollbar-color: auto; }
}

/* Keep the sample type icon light and integrated with the card. */
.track-row .track-art { background: transparent; }
.category-icon, .tab-btn.is-active .category-icon { background: transparent; }

/* A visual identity built around Lamia's original logo. */
.brand-logo { display: block; width: 42px; height: 42px; flex: none; overflow: hidden; border-radius: 12px; background: #50378a; transition: transform .3s var(--ease); }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-wordmark:hover .brand-logo, .brand-wordmark:focus-visible .brand-logo { transform: translateY(-3px); }
.hero-tagline { width: fit-content; margin: 12px 0 0; color: var(--accent); font-family: var(--font-en-display); font-size: clamp(20px, 2.2vw, 27px); font-weight: 700; line-height: 1.3; }
.hero-logo-art { position: relative; display: grid; place-items: center; isolation: isolate; padding: 30px; animation: portrait-enter 1s .1s var(--ease) both; }
.hero-logo-orbit { position: absolute; width: 92%; aspect-ratio: 1; border: 1px solid rgba(105,68,174,.22); border-radius: 50%; transform: rotate(-12deg); }
.hero-logo-orbit::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(105,68,174,.1); border-radius: 50%; }
.hero-logo-frame { position: relative; width: 100%; max-width: 370px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #50378a; box-shadow: 0 24px 60px rgba(65,42,110,.2); }
.hero-logo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-logo-accent { position: absolute; right: 7%; top: 12%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; color: var(--accent); background: var(--surface); box-shadow: 0 8px 25px rgba(65,42,110,.12); font-size: 22px; animation: sound-float 6s ease-in-out infinite; }
@media (max-width: 820px) {
  .hero-logo-art { order: -1; padding: 22px; }
  .hero-logo-frame { max-width: 240px; }
  .hero-logo-orbit { width: 270px; max-width: 85%; }
  .hero-logo-accent { right: calc(50% - 145px); width: 38px; height: 38px; }
}
@media (max-width: 640px) {
  .hero-logo-frame { max-width: 205px; }
  .hero-logo-orbit { width: 230px; }
  .hero-logo-accent { right: calc(50% - 125px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo-art, .hero-logo-accent { animation: none; }
  .brand-wordmark:hover .brand-logo, .brand-wordmark:focus-visible .brand-logo { transform: none; }
}
.hero-logo-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.hero-logo-frame video.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-logo-frame video { display: none; } }

/* Give the original wordmark room to read in the navigation. */
.brand-logo { width: 116px; height: 44px; border-radius: 10px; }
.brand-logo img { object-fit: cover; }
.brand-wordmark > .brand-logo::after { content: none; }
@media (max-width: 640px) { .brand-logo { width: 100px; height: 40px; } }
.brand-logo { width: 104px; height: 50px; }
.brand-logo img { object-position: 50% 45%; }
@media (max-width: 640px) { .brand-logo { width: 92px; height: 46px; } }

/* True transparent brand wordmarks preserving original purple/ivory ink & coral diacritics. */
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 46px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
}
html[data-theme="dark"] .brand-logo img { filter: none; }
.brand-logo.brand-logo-en { width: 132px; height: 42px; }
html[data-theme="dark"] .brand-logo.brand-logo-en img { filter: none; }
@media (max-width: 640px) {
  .brand-logo { width: 82px; height: 40px; }
  .brand-logo.brand-logo-en { width: 112px; height: 36px; }
}

/* Frameless, organically integrated hero brand mark with silky motion. */
.hero-logo-art {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: 12px;
  animation: none;
  opacity: 0;
  transform: translateY(14px) scale(.96);
  transition: opacity .85s var(--ease), transform .95s var(--ease);
}
.hero-logo-art.is-entered {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hero-logo-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  transition: transform .4s var(--ease);
}
.hero-logo-frame:hover {
  transform: scale(1.022);
}
.hero-logo-frame.is-replaying {
  cursor: default;
}
.hero-logo-frame.is-replaying:hover {
  transform: none;
}
.hero-logo-frame:focus {
  outline: none;
}
.hero-logo-frame:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 12px rgba(91, 59, 163, 0.35));
}
.hero-logo-frame .hero-brand-image {
  position: relative;
  z-index: 2;
  width: 64.32%;
  height: auto;
  max-height: 92%;
  object-fit: contain;
  object-position: center;
  filter: none;
  transform: none;
  opacity: 1;
  transition: opacity .22s ease, transform .65s var(--ease);
  animation: hero-logo-breathe 7s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}
.hero-logo-frame .hero-brand-image.hero-brand-image-en {
  width: 78%;
  padding: 0;
  filter: none;
}
html[data-theme="dark"] .hero-logo-frame .hero-brand-image,
html[data-theme="dark"] .hero-logo-frame .hero-brand-image.hero-brand-image-en {
  filter: none;
}
.hero-logo-frame .hero-logo-video {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  filter: none;
  transform: none;
  pointer-events: none;
}
.hero-logo-frame .hero-logo-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.34) translate(0.625%, 6.181%);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--ease);
}
.hero-logo-frame.is-playing-video .hero-brand-image {
  opacity: 0;
  transition: opacity .18s ease;
  animation: none;
}
.hero-logo-frame.is-playing-video .hero-logo-canvas {
  opacity: 1;
}

/* Smooth English logo choreography: Mic + Soundwaves + Coral Spark -> Left-to-Right Ink Sweep. */
.hero-en-motion {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  color: #4E3191;
  opacity: 0;
  pointer-events: none;
}
html[data-theme="dark"] .hero-en-motion {
  color: #D8CBFF;
}
.hero-en-mic { width: 62px; height: 76px; }
.hero-en-wave {
  position: absolute;
  width: 104px;
  aspect-ratio: 1;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  opacity: 0;
}
.hero-en-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E56044;
  transform: translate(32px, -28px) scale(0);
  opacity: 0;
}
html[data-theme="dark"] .hero-en-spark {
  background: #F67A5C;
}

/* Replay on click (starts from visible logo -> fades out cleanly -> mic -> ink sweep) */
.hero-logo-frame.is-animating-en .hero-brand-image.hero-brand-image-en {
  animation: hero-en-logo-replay 2.65s var(--ease) both;
}
.hero-logo-frame.is-animating-en .hero-en-motion {
  animation: hero-en-mic-stage 1.4s .22s var(--ease) both;
}
.hero-logo-frame.is-animating-en .hero-en-wave-one {
  animation: hero-en-wave-out 1.15s .36s var(--ease) both;
}
.hero-logo-frame.is-animating-en .hero-en-wave-two {
  animation: hero-en-wave-out 1.15s .6s var(--ease) both;
}
.hero-logo-frame.is-animating-en .hero-en-spark {
  animation: hero-en-spark-pop 1.1s .42s var(--ease) both;
}

/* First entrance when switching AR -> EN (starts hidden -> mic -> ink sweep, zero flash) */
.hero-logo-frame.is-entering-en .hero-brand-image.hero-brand-image-en {
  animation: hero-en-logo-enter 2.4s var(--ease) both;
}
.hero-logo-frame.is-entering-en .hero-en-motion {
  animation: hero-en-mic-stage 1.4s 0s var(--ease) both;
}
.hero-logo-frame.is-entering-en .hero-en-wave-one {
  animation: hero-en-wave-out 1.15s .14s var(--ease) both;
}
.hero-logo-frame.is-entering-en .hero-en-wave-two {
  animation: hero-en-wave-out 1.15s .38s var(--ease) both;
}
.hero-logo-frame.is-entering-en .hero-en-spark {
  animation: hero-en-spark-pop 1.1s .2s var(--ease) both;
}

@keyframes hero-logo-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes hero-en-logo-replay {
  0% { opacity: 1; transform: translateX(0) scale(1); clip-path: inset(0 0% 0 0); }
  9% { opacity: 0; transform: translateX(0) scale(.96); clip-path: inset(0 0% 0 0); }
  10%, 56% { opacity: 0; transform: translateX(-10px) scale(.97); clip-path: inset(0 100% 0 0); }
  63% { opacity: 1; }
  100% { opacity: 1; transform: translateX(0) scale(1); clip-path: inset(0 0% 0 0); }
}
@keyframes hero-en-logo-enter {
  0%, 52% { opacity: 0; transform: translateX(-10px) scale(.97); clip-path: inset(0 100% 0 0); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateX(0) scale(1); clip-path: inset(0 0% 0 0); }
}
@keyframes hero-en-mic-stage {
  0% { opacity: 0; transform: scale(.84); }
  24% { opacity: 1; transform: scale(1); }
  70% { opacity: .95; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.12); }
}
@keyframes hero-en-wave-out {
  0% { opacity: .48; transform: scale(.66); }
  100% { opacity: 0; transform: scale(1.92); }
}
@keyframes hero-en-spark-pop {
  0% { opacity: 0; transform: translate(24px, -20px) scale(0); }
  35% { opacity: 1; transform: translate(34px, -30px) scale(1.1); }
  75% { opacity: .85; transform: translate(36px, -32px) scale(.95); }
  100% { opacity: 0; transform: translate(42px, -38px) scale(.4); }
}

@media (max-width: 820px) {
  .hero-logo-art { order: -1; padding: 6px 12px; }
  .hero-logo-frame { max-width: 310px; }
}
@media (max-width: 640px) {
  .hero-logo-frame { max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo-art { opacity: 1; transform: none; transition: none; }
  .hero-logo-frame .hero-brand-image,
  .hero-logo-frame.is-animating-en .hero-brand-image.hero-brand-image-en,
  .hero-logo-frame.is-animating-en .hero-en-motion,
  .hero-logo-frame.is-animating-en .hero-en-wave,
  .hero-logo-frame.is-animating-en .hero-en-spark,
  .hero-logo-frame.is-entering-en .hero-brand-image.hero-brand-image-en,
  .hero-logo-frame.is-entering-en .hero-en-motion,
  .hero-logo-frame.is-entering-en .hero-en-wave,
  .hero-logo-frame.is-entering-en .hero-en-spark { animation: none; }
}

/* Let the logo carry the name while the tagline leads the copy. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero-intro-title { line-height: 1.18; }
.hero-intro-title .hero-tagline { display: block; margin: 0; max-width: 540px; font-size: clamp(32px, 4vw, 50px); line-height: 1.16; letter-spacing: -.025em; }
@media (max-width: 640px) { .hero-intro-title .hero-tagline { font-size: clamp(30px, 8vw, 40px); } }
html[lang="ar"] .hero-intro-title .hero-tagline { font-family: var(--font-ar); font-size: clamp(29px, 3.6vw, 44px); line-height: 1.5; letter-spacing: 0; }
@media (max-width: 640px) { html[lang="ar"] .hero-intro-title .hero-tagline { font-size: clamp(27px, 7vw, 34px); } }

.work-release { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 10px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.work-release time { font-variant-numeric: tabular-nums; }

/* Keep experience and recording details easy to scan without a modal. */
.hero-credentials { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 15px; color: var(--ink-2); font-size: 14px; font-weight: 500; line-height: 1.6; }
.hero-credentials span { display: inline-flex; align-items: center; gap: 7px; }
.hero-credentials span::before { content: ''; width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--accent); }

/* Keep the introduction compact on smaller screens. */
@media (max-width: 820px) {
  .hero-band { padding-top: 24px; }
  .hero-logo-art { align-self: start; padding: 0 12px; }
  .hero-logo-frame { max-width: 235px; }
}
@media (max-width: 640px) {
  .hero-logo-frame { max-width: 205px; }
  .hero-grid { gap: 12px; }
}

/* Small, non-interactive highlights beneath the logo. */
@media (min-width: 821px) {
  .hero-logo-art { top: -48px; }
}
.hero-facts { display: flex; align-items: stretch; justify-content: center; width: max-content; max-width: 100%; padding: 0; margin: -8px 0 0; list-style: none; }
.hero-facts li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 14px; text-align: center; line-height: 1.5; }
.hero-facts li + li { border-inline-start: 1px solid var(--line); }
.hero-fact-label { color: var(--ink-3); font-size: 12px; font-weight: 500; }
.hero-fact-value { color: var(--ink-2); font-size: 13px; font-weight: 600; white-space: nowrap; }
.hero-bio-mobile { display: none; }
@media (max-width: 820px) {
  .hero-facts, .hero-bio-desktop { display: none; }
  .hero-bio-mobile { display: inline; }
}

/* Studio preview */
.studio-open { border: 0; padding: 5px 0; background: none; color: var(--accent); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.studio-open:hover { text-decoration: underline; }
.studio-open:focus-visible, .studio-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.studio-open-desktop { margin-top: 14px; }
.studio-open-mobile { display: none; }
.studio-dialog { width: min(780px, calc(100% - 32px)); max-height: min(90dvh, 850px); overflow: auto; border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 4vw, 32px); color: var(--ink); background: var(--surface); box-shadow: 0 30px 100px rgba(18, 10, 35, .35); }
.studio-dialog { background: radial-gradient(ellipse at 13% 36%, rgba(166, 125, 220, .22), transparent 48%), radial-gradient(ellipse at 80% 10%, rgba(247, 206, 220, .22), transparent 48%), var(--bg); }
html[data-theme="dark"] .studio-dialog { background: radial-gradient(ellipse at 13% 36%, rgba(132, 93, 184, .2), transparent 48%), var(--bg); }
.studio-dialog::backdrop { background: rgba(20, 14, 32, .68); }
.studio-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.studio-dialog h2 { margin: 2px 0 0; font-size: clamp(23px, 3vw, 32px); }
.studio-kicker { margin: 0; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.studio-description { margin: 8px 0 20px; color: var(--ink-2); }
.studio-close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg-subtle); color: var(--ink); cursor: pointer; }
.studio-close svg { width: 16px; height: 16px; }
.studio-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.studio-gallery figure { min-width: 0; margin: 0; }
.studio-gallery img { display: block; width: 100%; height: 280px; object-fit: cover; border-radius: 16px; }
.studio-gallery figcaption { margin-top: 8px; color: var(--ink-2); font-size: 13px; }
@media (max-width: 820px) {
  .studio-open-desktop { display: none; }
  .studio-open-mobile { display: inline-block; margin-top: 8px; }
}
@media (max-width: 480px) {
  .studio-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .studio-gallery figure:last-child { grid-column: 1 / -1; }
  .studio-gallery img { height: 200px; border-radius: 12px; }
}
