/* ============================================
   MATTER MOS — mattermosmusic.com
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* --- Variables --- */
:root {
  --bg:           #0c0c0a;
  --surface:      #131310;
  --surface-2:    #1a1a17;
  --text:         #e8e4dc;
  --text-muted:   #6a6660;
  --accent:       #2c5e40;
  --accent-light: #3d7a55;
  --border:       rgba(255, 255, 255, 0.06);
  --nav-height:   72px;
  --font-head:    'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

section { padding: 10rem 0; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(13, 13, 13, 0.96);
  border-bottom-color: var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-logo {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.6; }

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent-light);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0a0a0a; /* fallback if no image */
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.6);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,13,0.0) 0%,
    rgba(13,13,13,0.0) 40%,
    rgba(13,13,13,0.6) 75%,
    rgba(13,13,13,1.0) 100%
  );
}

/* Arabic watermark */
.hero-arabic {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}
.hero-arabic span {
  font-size: clamp(20rem, 65vw, 80rem);
  line-height: 0.8;
  color: var(--text);
  opacity: 0.05;
  user-select: none;
  font-family: 'Scheherazade New', 'Amiri', 'Traditional Arabic', serif;
  letter-spacing: -0.05em;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 2.5rem 5rem;
  width: 100%;
}

.hero-name {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 11vw, 9rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.hero-scroll {
  position: absolute;
  right: 2.5rem;
  bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.4;
}
.hero-scroll span {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.6); }
}

/* ============================================
   FEATURED RELEASE (Home)
   ============================================ */
.featured-release {
  border-top: 1px solid var(--border);
}

.release-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.release-art {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--surface);
}
.release-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.release-art:hover img { transform: scale(1.03); }

.release-art-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.release-art:hover .release-art-overlay { opacity: 1; }

.play-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.play-btn:hover { background: rgba(255,255,255,0.22); transform: scale(1.06); }
.play-btn svg { width: 22px; height: 22px; color: #fff; margin-left: 3px; }

.release-meta { }

.release-type {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.release-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}

.release-feat {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.release-desc {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.btn:hover { border-color: var(--accent-light); color: var(--accent-light); }
.btn.ghost { border-color: transparent; padding-left: 0; }
.btn.ghost:hover { border-color: transparent; color: var(--text); }

/* ============================================
   INSTAGRAM FOLLOW
   ============================================ */
.ig-section {
  border-top: 1px solid var(--border);
  padding: 5rem 0;
  text-align: center;
}

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.ig-link:hover { color: var(--text); }
.ig-link svg { width: 0.8em; height: 0.8em; flex-shrink: 0; }

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding: calc(var(--nav-height) + 5rem) 0 4rem;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-family: var(--font-head);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 0.95;
}

/* ============================================
   MUSIC PAGE
   ============================================ */
.releases-section { }

.releases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 3rem;
}

.release-card { }

.release-card-art {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 1.5rem;
}
.release-card-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
  transition: transform 0.7s var(--ease), filter 0.4s;
}
.release-card:hover .release-card-art img {
  transform: scale(1.04);
  filter: brightness(1);
}

.release-card-art-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}
.release-card:hover .release-card-art-overlay { opacity: 1; }

/* Art placeholder (when no image) */
.art-placeholder {
  width: 100%; height: 100%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-placeholder span {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 700;
  color: var(--border);
  letter-spacing: -0.02em;
}

.release-card-type {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.4rem;
}

.release-card-title {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 400;
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.release-card-feat {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.release-card-links {
  display: flex;
  gap: 1.25rem;
}
.release-card-links a {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.release-card-links a:hover {
  color: var(--text);
  border-bottom-color: var(--accent-light);
}

/* Collabs section */
.collabs-section {
  border-top: 1px solid var(--border);
}

.collabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.collab-tag {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.collab-tag:hover {
  border-color: var(--accent-light);
  color: var(--text);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.about-photo-wrap {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}
.about-photo-wrap img {
  width: 100%;
  border-radius: 2px;
  filter: brightness(0.88);
}

.about-bio {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 3.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  margin-bottom: 3.5rem;
  overflow: hidden;
}

.stat-cell {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-cell:nth-child(2n) { border-right: none; }
.stat-cell:nth-last-child(-n+2) { border-bottom: none; }

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.stat-lbl {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.awards-section { margin-bottom: 3.5rem; }

.award-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.award-row:first-of-type { border-top: 1px solid var(--border); }

.award-year {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  min-width: 36px;
  padding-top: 3px;
}

.award-info { }
.award-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.award-cat {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================
   LIVE PAGE
   ============================================ */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.live-card {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 2px;
  background: var(--surface);
}

.live-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.65) grayscale(15%);
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.live-card:hover img {
  transform: scale(1.04);
  filter: brightness(0.85) grayscale(0%);
}

.live-card-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.live-card-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.live-card-year {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.live-card-link {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s;
}
.live-card:hover .live-card-link { opacity: 1; }
.live-card-link:hover { background: rgba(255,255,255,0.2); }
.live-card-link svg { width: 14px; height: 14px; color: #fff; }

/* live card placeholder (no photo yet) */
.live-placeholder {
  width: 100%; height: 100%;
  background: var(--surface-2);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-wrap { max-width: 680px; }

.contact-intro {
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:first-of-type { border-top: 1px solid var(--border); }

.contact-type {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-val {
  font-size: 0.9rem;
  transition: color 0.2s;
}
a.contact-val:hover { color: var(--accent-light); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  gap: 2rem;
}
.footer-social a {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom span,
.footer-bottom a {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.footer-bottom a:hover { color: var(--text); }

/* ============================================
   FADE IN ON SCROLL
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .release-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .release-art { max-width: 380px; margin: 0 auto; }
  .releases-grid { grid-template-columns: repeat(2, 1fr); }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-photo-wrap {
    position: static;
    max-width: 420px;
    margin: 0 auto;
  }

  .footer-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .footer-social { flex-wrap: wrap; justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 1.5rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(13,13,13,0.98);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.75rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-content { padding: 0 1.5rem 4rem; }
  .hero-scroll { display: none; }

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

  .live-grid { grid-template-columns: 1fr; }
  .releases-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }

  section { padding: 5rem 0; }
}

/* ============================================
   MANIFESTO SECTION — A24 style
   ============================================ */
.manifesto {
  padding: 12rem 0 11rem;
}

.manifesto-inner {
  max-width: 1100px;
  text-align: center;
  margin: 0 auto;
}

.manifesto-text {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--text);
}

.manifesto-text em {
  font-style: italic;
  color: var(--text-muted);
  font-weight: 200;
}

.manifesto-divider { display: none; }
.manifesto-sub { display: none; }

/* ============================================
   KAUM TEASER
   ============================================ */
.kaum-teaser {
  background: #1e5c5c;
  padding: 9rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* subtle grain texture */
.kaum-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.15;
  pointer-events: none;
}

.kaum-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 2rem;
}

.kaum-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(5rem, 16vw, 13rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.15em;
  line-height: 1;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
}

.kaum-sub {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   LIVE PAGE — LITTLE LEAGUE FEATURE
   ============================================ */
.little-league-feature {
  border-top: 1px solid var(--border);
}

.ll-embed-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--surface);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.ll-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ll-meta { }

.ll-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.ll-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.ll-desc {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

/* Performance timeline (text-based) */
.perf-timeline {
  border-top: 1px solid var(--border);
}

.perf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  gap: 2rem;
}

.perf-year {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent-light);
  min-width: 36px;
}

.perf-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  flex: 1;
}

.perf-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   LINKS PAGE
   ============================================ */
.links-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.5rem 1.5rem 6rem;
}

.links-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.links-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--border);
}
.links-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}

.links-name {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.links-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

.links-list {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: border-color 0.2s, background 0.2s;
  gap: 1rem;
}
.link-item:hover {
  border-color: var(--accent-light);
  background: rgba(61, 122, 85, 0.06);
}

.link-item.featured {
  border-color: var(--accent);
  background: rgba(44, 94, 64, 0.1);
  padding: 1.25rem 1.25rem;
}
.link-item.featured:hover {
  border-color: var(--accent-light);
  background: rgba(61, 122, 85, 0.15);
}

.link-item-info { flex: 1; }

.link-item-label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  display: block;
}

.link-item-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  display: block;
}

.link-arrow {
  color: var(--text-muted);
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: color 0.2s;
}
.link-item:hover .link-arrow { color: var(--accent-light); }

.links-divider {
  width: 100%;
  max-width: 460px;
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.4rem 0;
}

.links-footer {
  margin-top: 3rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-align: center;
}
.links-footer a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.links-footer a:hover { color: var(--text); }

/* ============================================
   PLATFORMS SECTION (homepage)
   ============================================ */
.platforms {
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}

.platforms-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.platforms-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
  gap: 0.4rem;
  transition: background 0.2s;
  cursor: pointer;
}
.platform-item:last-child { border-right: none; }
.platform-item:hover { background: var(--surface-2); }

.platform-name {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.platform-stat {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ============================================
   SPOTIFY PLAYLIST EMBED
   ============================================ */
.playlist-section {
  border-bottom: 1px solid var(--border);
  padding-bottom: 5rem;
  margin-bottom: 2rem;
}

.playlist-embed {
  border-radius: 2px;
  overflow: hidden;
  max-width: 700px;
}

.playlist-embed iframe {
  display: block;
  border-radius: 2px;
}

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */
@media (max-width: 760px) {
  .platforms-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .platform-item {
    border-bottom: 1px solid var(--border);
  }
  .platform-item:nth-child(2n) { border-right: none; }
  /* last item full width if odd number */
  .platform-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: none;
  }
  .platform-item:last-child:nth-child(even) {
    border-bottom: none;
    border-right: none;
  }
  .platform-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }
}

/* ============================================
   JOURNAL SECTION — film diary log
   A24-style. Each moment, separated.
   ============================================ */
.journal-section {
  border-top: 1px solid var(--border);
  padding: 8rem 0 10rem;
}

/* Intro line */
.journal-intro {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 5rem;
  letter-spacing: 0.01em;
}

/* ── Log entries ────────────────────────────── */
.journal-log { }

.journal-log-entry {
  padding: 3rem 0 5.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.journal-log-entry:first-child {
  border-top: 1px solid var(--border);
}

/* Metadata: year · category */
.journal-log-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.jl-year { color: var(--accent-light); }
.jl-sep  {
  width: 18px; height: 1px;
  background: var(--border);
  display: inline-block;
  flex-shrink: 0;
}
.jl-cat  { color: var(--text-muted); }

/* Photo wrap */
.journal-log-photo-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.75rem;
}

/* Film grain */
.journal-log-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.055'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Width modifiers on the entry */
.jl-full   .journal-log-photo-wrap { width: 100%; }
.jl-wide   .journal-log-photo-wrap { width: 70%; }
.jl-narrow .journal-log-photo-wrap { width: 52%; }

/* Photo — full natural ratio, no crop */
.journal-log-photo {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(14%) brightness(0.82);
  transition: transform 0.9s var(--ease), filter 0.7s var(--ease);
}

.journal-log-entry:hover .journal-log-photo {
  transform: scale(1.02);
  filter: grayscale(0%) brightness(0.92);
}

/* Two photos side by side */
.journal-log-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 1.75rem;
  align-items: start;
}
.journal-log-pair .journal-log-photo-wrap {
  width: 100%;
  margin-bottom: 0;
}

/* Caption — one-liner in Cormorant italic */
.journal-log-caption {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  max-width: 700px;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

/* Sub — location / event */
.journal-log-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Arrow link — top right */
.journal-log-link {
  position: absolute;
  top: 3.1rem;
  right: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, transform 0.25s;
}
.journal-log-link:hover {
  color: var(--accent-light);
  transform: translate(2px, -2px);
}

/* ── Text-only entries (log tail) ──────────── */
.journal-text-feed {
  border-top: 1px solid var(--border);
}
.journal-entry {
  display: grid;
  grid-template-columns: 52px 108px 1fr 28px;
  align-items: start;
  gap: 2.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.journal-year {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent-light);
  padding-top: 4px;
}
.journal-cat {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 3px 9px;
  display: inline-block;
  white-space: nowrap;
  align-self: start;
}
.journal-body { }
.journal-title {
  font-family: var(--font-head);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.journal-desc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.journal-arrow {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 3px;
  text-align: right;
  transition: color 0.2s, transform 0.2s;
  display: block;
  text-decoration: none;
}
a.journal-arrow:hover {
  color: var(--accent-light);
  transform: translate(2px, -2px);
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
  .jl-wide   .journal-log-photo-wrap,
  .jl-narrow .journal-log-photo-wrap { width: 100%; }
}
@media (max-width: 760px) {
  .journal-log-pair { grid-template-columns: 1fr; gap: 4px; }
  .journal-entry { grid-template-columns: 52px 90px 1fr 22px; gap: 1.5rem; }
}
@media (max-width: 520px) {
  .journal-log-entry { padding: 2rem 0 4rem; }
  .journal-entry {
    display: flex; flex-direction: column;
    gap: 0.4rem; padding: 1.5rem 0;
  }
  .journal-year { display: inline; margin-right: 0.5rem; }
  .journal-cat  { display: inline-block; margin-bottom: 0.25rem; }
  .journal-arrow { display: none; }
}

/* ============================================
   VIDEO SECTIONS — live.html
   ============================================ */
.video-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 2rem;
  background: #000;
}

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

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.video-caption {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .video-grid { grid-template-columns: 1fr; }
}

