/* ============================================================
   EDOQUARTO · EDOARDO BOSI
   Website Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Instrument+Sans:ital,wght@0,400;0,500;1,400&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:           #F5F1EB;
  --dark:         #111111;
  --text:         #111111;
  --text-2:       #6A6A6A;
  --text-3:       #9E9E9E;
  --border:       #E4E0D9;
  --border-dark:  #2A2A2A;
  --white:        #FDFAF5;

  --serif:  'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans:   'Instrument Sans', system-ui, -apple-system, sans-serif;

  --max:    1200px;
  --nav-h:  68px;
  --ease:   cubic-bezier(0.25, 0, 0.25, 1);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; padding: 0; }
ul { list-style: none; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 900px) { .wrap { padding: 0 28px; } }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }

/* ── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.nav.scrolled {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

/* Default nav text: dark */
.nav-logo-primary,
.nav-link,
.nav-menu-btn span { color: var(--text); }

/* Homepage: white text before scroll */
body.home .nav:not(.scrolled) .nav-logo-primary,
body.home .nav:not(.scrolled) .nav-link,
body.home .nav:not(.scrolled) .nav-menu-btn span { color: var(--white); }
body.home .nav:not(.scrolled) .nav-logo-sub { color: rgba(255,255,255,0.45); }

/* Solid nav for non-home pages */
.nav--solid {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.nav-logo-primary {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  transition: color 0.35s;
}

.nav-logo-sub {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.35s;
}

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

.nav-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.35s, opacity 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.25s var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: opacity 0.25s;
}

/* ── MOBILE MENU ─────────────────────────────────────────── */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark);
  color: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.menu-overlay.open { opacity: 1; pointer-events: all; }

.menu-close {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  font-family: var(--sans);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.menu-close:hover { color: var(--white); }

.menu-nav { display: flex; flex-direction: column; gap: 20px; }

.menu-link {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--white);
  line-height: 1;
  transition: opacity 0.2s;
}
.menu-link:hover { opacity: 0.5; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 52px 0 44px;
}

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

.footer-logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--white);
}

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }

.footer-link {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--white); }

.footer-copy {
  width: 100%;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  margin-top: 20px;
  letter-spacing: 0.04em;
}

/* ── SHARED COMPONENTS ───────────────────────────────────── */

/* Label */
.label {
  font-family: var(--sans);
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.label--light { color: rgba(255,255,255,0.45); }
.label--muted { color: var(--text-3); }

/* Arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: gap 0.2s var(--ease), opacity 0.2s;
}
.link-arrow::after { content: '→'; }
.link-arrow:hover { gap: 14px; }
.link-arrow--light { color: rgba(255,255,255,0.65); }
.link-arrow--light:hover { color: var(--white); }

/* Image placeholder */
.img-ph {
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.img-ph span {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.img-ph img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Page header (shared across section pages) */
.page-header {
  padding: calc(var(--nav-h) + 72px) 0 72px;
  border-bottom: 1px solid var(--border);
}
.page-header .label { margin-bottom: 18px; }
.page-header h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  margin-bottom: 16px;
}
.page-header p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.55;
}

/* Section heading */
.section-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

/* CTA contact band */
.cta-band {
  background: var(--dark);
  color: var(--white);
  padding: 72px 0;
  display: flex;
  align-items: center;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band-text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  line-height: 1.35;
}

/* ── HOME: HERO ──────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background: var(--dark);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  padding-bottom: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--dark);
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(4.5rem, 12vw, 11rem);
  line-height: 0.88;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 44px;
}

.hero-statement {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  line-height: 1.5;
}

.hero-scroll {
  position: absolute;
  bottom: 40px; right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.3);
}
.hero-scroll-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: rgba(255,255,255,0.2);
  animation: pulse-line 2s ease-in-out infinite;
}
@keyframes pulse-line {
  0%, 100% { opacity: 0.2; transform: scaleY(1); transform-origin: top; }
  50%       { opacity: 0.5; transform: scaleY(0.6); transform-origin: top; }
}

/* ── HOME: INTRO STATEMENT ───────────────────────────────── */
.home-intro {
  padding: 96px 0;
  text-align: center;
}
.home-intro p {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.45;
  max-width: 680px;
  margin: 0 auto;
  color: var(--text);
}

/* ── HOME: TERRITORIES ───────────────────────────────────── */
.territories {
  border-top: 1px solid var(--border);
  padding-bottom: 96px;
}

.territories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.territory {
  padding: 52px 44px 52px 0;
  border-right: 1px solid var(--border);
}
.territory:first-child { padding-left: 0; }
.territory:nth-child(2) { padding-left: 44px; }
.territory:last-child  { padding-left: 44px; padding-right: 0; border-right: none; }

.territory-label { display: block; margin-bottom: 24px; }

.territory-img {
  aspect-ratio: 1/1;
  margin-bottom: 28px;
  overflow: hidden;
}
.territory-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0, 0.25, 1);
}
.territory:hover .territory-img img { transform: scale(1.04); }

.territory-desc {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
}

.territory-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border);
  transition: gap 0.2s, border-color 0.2s;
}
.territory-link::after { content: '→'; }
.territory-link:hover { gap: 14px; border-color: var(--text); }

/* ── HOME: FEATURED PROJECT ──────────────────────────────── */
.featured {
  background: var(--dark);
  color: var(--white);
  padding: 96px 0;
}

.featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.featured-label { margin-bottom: 16px; }

.featured-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 6px;
}

.featured-where {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 28px;
}

.featured-desc {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 36px;
}

.featured-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

/* ── HOME: ABOUT EXCERPT ─────────────────────────────────── */
.home-about {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.home-about-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.home-about-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1.1;
}

.home-about-text {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 28px;
}

/* ── MUSIC PAGE ──────────────────────────────────────────── */
.releases {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.releases-label { margin-bottom: 40px; }

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

.release-cover {
  aspect-ratio: 1/1;
  margin-bottom: 16px;
  overflow: hidden;
  cursor: pointer;
}
.release-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0, 0.25, 1);
}
.release-cover:hover img { transform: scale(1.04); }
.release-label { margin-bottom: 6px; }
.release-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 4px;
  line-height: 1.2;
}
.release-meta { font-size: 0.8rem; color: var(--text-2); margin-bottom: 14px; }
.release-links { display: flex; gap: 16px; flex-wrap: wrap; }
.release-link {
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.release-link:hover { color: var(--text); border-color: var(--text); }

/* Performances */
.performances { padding: 80px 0; border-bottom: 1px solid var(--border); }
.perf-list { margin-top: 40px; }

.perf-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.2s;
}
.perf-item:hover { opacity: 0.6; }
.perf-item:last-child { border-bottom: none; }
.perf-year  { font-family: var(--sans); font-size: 0.78rem; color: var(--text-3); }
.perf-title { font-family: var(--serif); font-size: 1.05rem; }
.perf-location { font-size: 0.8rem; color: var(--text-2); }

/* Nyah Bear teaser */
.nyahbear-band {
  margin: 80px 0 0;
  background: var(--dark);
  color: var(--white);
  padding: 72px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.nyahbear-label { margin-bottom: 14px; }
.nyahbear-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.1;
}
.nyahbear-desc {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  max-width: 400px;
  line-height: 1.65;
}

/* ── SOUND PAGE ──────────────────────────────────────────── */
.sound-intro {
  padding: 60px 0 72px;
  border-bottom: 1px solid var(--border);
}
.sound-intro p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--text-2);
  max-width: 620px;
  line-height: 1.55;
}

.work-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.work-label { margin-bottom: 40px; }

.work-list { display: flex; flex-direction: column; }

.work-item {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 36px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.25s ease;
  cursor: default;
}
.work-item:last-child { border-bottom: none; }
.work-item:hover { opacity: 0.55; }
.work-title-group {}
.work-label-sm { margin-bottom: 6px; }
.work-title { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 4px; }
.work-meta  { font-size: 0.8rem; color: var(--text-2); }
.work-type  { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); text-align: right; line-height: 1.5; }

/* Reel */
.reel-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.reel-label { margin-bottom: 28px; }
.reel-placeholder {
  aspect-ratio: 16/9;
  max-width: 820px;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.reel-placeholder span {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
.reel-placeholder span:first-child { font-size: 2rem; color: rgba(255,255,255,0.1); }

/* Capabilities */
.capabilities { padding: 80px 0; }
.cap-label { margin-bottom: 40px; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.cap-title { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 10px; }
.cap-desc  { font-size: 0.88rem; color: var(--text-2); line-height: 1.7; }

/* ── SOUND PROJECT PANEL ─────────────────────────────────── */

/* Clickable work items */
.perf-item--link {
  cursor: pointer;
  transition: opacity 0.2s;
}
.perf-item--link:hover { opacity: 0.5; }
.perf-item--link .perf-title::after {
  content: ' →';
  font-size: 0.85em;
  opacity: 0;
  transition: opacity 0.2s;
}
.perf-item--link:hover .perf-title::after { opacity: 1; }

/* Panel overlay */
.sp-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: spSlideIn 0.35s cubic-bezier(0.25, 0, 0.25, 1) both;
}
.sp-panel[hidden] { display: none; }

@keyframes spSlideIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Panel fixed header bar */
.sp-panel-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
@media (max-width: 600px) { .sp-panel-header { padding: 0 20px; } }

.sp-back {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.2s;
  padding: 8px 0;
}
.sp-back:hover { color: var(--text); }

/* Panel content */
.sp-panel-body { padding: 72px 0 120px; }

.sp-content { max-width: 860px; }

.sp-project-header { margin-bottom: 52px; }
.sp-project-cat    { display: block; margin-bottom: 16px; }
.sp-project-title  {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 12px;
}
.sp-project-meta {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Project image */
.sp-project-image {
  margin-bottom: 52px;
}
.sp-project-image img {
  width: 100%;
  height: auto;
  display: block;
}
.sp-project-video {
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}

/* Description */
.sp-project-desc {
  margin-bottom: 60px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.sp-project-desc p {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 640px;
}

/* External link */
.sp-project-link {
  margin-bottom: 48px;
}

/* Audio player */
.sp-player {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

/* Progress bar */
.sp-player-bar { margin-bottom: 32px; }
.sp-progress-track {
  height: 1px;
  background: var(--border);
  position: relative;
  cursor: pointer;
  margin-bottom: 10px;
}
.sp-progress-track::before {
  content: '';
  position: absolute;
  inset: -6px 0;
}
.sp-progress-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0;
  background: var(--text);
  transition: width 0.1s linear;
}
.sp-time-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text-3);
}

/* Track list */
.sp-tracklist { display: flex; flex-direction: column; }
.sp-track {
  display: grid;
  grid-template-columns: 36px 36px 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity 0.2s;
}
.sp-track:last-child { border-bottom: none; }
.sp-track:hover { opacity: 0.6; }
.sp-track--active { opacity: 1 !important; }

.sp-track-btn {
  font-size: 0.6rem;
  color: var(--text-3);
  transition: color 0.2s;
  text-align: left;
  font-family: var(--sans);
  letter-spacing: 0;
}
.sp-track--active .sp-track-btn { color: var(--text); }

.sp-track-num {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.sp-track--active .sp-track-num { color: var(--text); }

.sp-track-title {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--text);
}

/* Mobile */
@media (max-width: 600px) {
  .sp-panel-body { padding: 48px 0 80px; }
  .sp-project-image { aspect-ratio: 4/3; }
  .sp-track { grid-template-columns: 28px 28px 1fr; gap: 10px; }
}

/* ── RESEARCH PAGE ───────────────────────────────────────── */
.research-intro {
  padding: 60px 0 72px;
  border-bottom: 1px solid var(--border);
}
.research-intro p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--text-2);
  max-width: 620px;
  line-height: 1.6;
}

/* MON-ART featured */
.res-featured {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.res-featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.res-featured-img { aspect-ratio: 4/3; }
.res-featured-label { margin-bottom: 18px; }
.res-featured-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
  margin-bottom: 6px;
}
.res-featured-where {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 22px;
}
.res-featured-desc {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Residency list */
.residency-list { padding: 80px 0; border-bottom: 1px solid var(--border); }
.res-list-label { margin-bottom: 40px; }
.res-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.res-item:last-child { border-bottom: none; }
.res-year  { font-family: var(--sans); font-size: 0.78rem; color: var(--text-3); padding-top: 4px; }
.res-title { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 6px; }
.res-detail { font-size: 0.84rem; color: var(--text-2); line-height: 1.55; }

/* Biophilic */
.biophilic { padding: 80px 0; }
.biophilic-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.biophilic-label { margin-bottom: 18px; }
.biophilic-heading {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 18px;
  line-height: 1.1;
}
.biophilic-text {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.7;
}
.biophilic-img { aspect-ratio: 3/4; }

/* ── ALBUM MODAL ─────────────────────────────────────────── */
.album-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.album-modal[hidden] { display: none; }

.album-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.9);
  cursor: pointer;
}

.album-modal-panel {
  position: relative;
  z-index: 1;
  background: var(--bg);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.album-modal-artwork {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--border);
}
.album-modal-artwork img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.album-modal-info {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.album-modal-label { margin-bottom: 14px; }

.album-modal-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.1;
  margin-bottom: 4px;
}

.album-modal-artist {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--text-2);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.album-modal-desc {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 28px;
}
.album-modal-desc p { margin-bottom: 1em; }
.album-modal-desc p:last-child { margin-bottom: 0; }

.album-modal-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.album-modal-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.2s;
}
.album-modal-link::after { content: '↗'; }
.album-modal-link:hover { opacity: 0.55; }

.album-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border);
  z-index: 2;
  transition: color 0.2s;
}
.album-modal-close:hover { color: var(--text); border-color: var(--text); }

/* Clickable cover */
.release-cover { cursor: pointer; }
.release-cover:hover img { opacity: 0.85; }
.release-cover img { transition: opacity 0.2s; }

@media (max-width: 680px) {
  .album-modal-panel { grid-template-columns: 1fr; }
  .album-modal-artwork { max-height: 280px; aspect-ratio: auto; }
  .album-modal-info { padding: 28px 24px; }
}

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  padding: 80px 0 100px;
}

.about-sidebar { position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; }
.about-portrait { aspect-ratio: 3/4; margin-bottom: 20px; }
.about-sidebar-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 4px;
}
.about-sidebar-role {
  font-size: 0.68rem;
  color: var(--text-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.6;
}

.about-main {}
.about-section {
  padding-bottom: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.about-section:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.about-section .label { margin-bottom: 18px; }
.about-section p {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 14px;
}
.about-section p:last-child { margin-bottom: 0; }

.credits-list { margin-top: 8px; }
.credit-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.credit-item:last-child { border-bottom: none; }
.credit-year  { font-family: var(--sans); font-size: 0.78rem; color: var(--text-3); }
.credit-title { font-family: var(--serif); font-size: 1rem; }
.credit-role  { font-size: 0.78rem; color: var(--text-2); }

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-layout { padding: 80px 0 120px; }
.contact-main { max-width: 560px; }

.contact-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 44px;
}

.contact-email {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  display: block;
  margin-bottom: 44px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.2s;
}
.contact-email:hover { opacity: 0.55; }

.contact-note {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
}

.contact-socials { display: flex; gap: 24px; flex-wrap: wrap; }
.contact-social {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}
.contact-social:hover { border-color: var(--text); }

/* ── NYAH BEAR PAGE ──────────────────────────────────────── */
.archive-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--border);
  font-family: var(--sans);
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 32px;
}

.project-bio {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.project-bio p {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 580px;
  line-height: 1.7;
}

.vinyl-section { padding: 80px 0; }
.vinyl-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.vinyl-img { aspect-ratio: 1/1; }
.vinyl-label { margin-bottom: 14px; }
.vinyl-title { font-family: var(--serif); font-size: 2rem; line-height: 1.05; margin-bottom: 6px; }
.vinyl-year  { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.vinyl-desc  { font-family: var(--serif); font-size: 1.1rem; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; }

/* ── MON-ART PAGE ────────────────────────────────────────── */
.monart-hero {
  min-height: 65vh;
  background: var(--dark);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  position: relative;
}
.monart-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.monart-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.monart-hero-content { position: relative; z-index: 1; }

.monart-label { margin-bottom: 18px; }
.monart-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 8px;
}
.monart-where {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
}
.monart-tagline {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  line-height: 1.5;
}

.monart-body {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.monart-body-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.monart-body p {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 14px;
}

.monart-process {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.monart-process .label { margin-bottom: 28px; }

.process-coming {
  padding: 72px 48px;
  background: var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 620px;
}
.process-coming-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--text-2);
}
.process-coming-desc {
  font-size: 0.88rem;
  color: var(--text-3);
  max-width: 380px;
  line-height: 1.65;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --nav-h: 62px; }

  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-inner { padding: 0 28px; }

  /* Hero */
  .hero-scroll { display: none; }

  /* Territories */
  .territories-grid { grid-template-columns: 1fr; }
  .territory {
    padding: 44px 0 !important;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .territory:last-child { border-bottom: none; }

  /* Featured */
  .featured-inner { grid-template-columns: 1fr; gap: 44px; }
  .featured-img { display: none; }

  /* Home about */
  .home-about-inner { grid-template-columns: 1fr; gap: 28px; }

  /* Releases */
  .releases-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  /* Perf */
  .perf-item { grid-template-columns: 60px 1fr; }
  .perf-location { display: none; }

  /* Nyah Bear */
  .nyahbear-band { flex-direction: column; padding: 52px 28px; gap: 32px; }

  /* Work */
  .work-item { grid-template-columns: 1fr; gap: 12px; }
  .work-type { text-align: left; }
  .work-type { text-align: left; }

  /* Cap */
  .cap-grid { grid-template-columns: 1fr; gap: 36px; }

  /* Res */
  .res-featured-inner { grid-template-columns: 1fr; gap: 44px; }

  /* Biophilic */
  .biophilic-inner { grid-template-columns: 1fr; gap: 44px; }
  .biophilic-img { display: none; }

  /* About */
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-sidebar { position: static; }
  .about-portrait { max-width: 200px; }

  /* Credit */
  .credit-item { grid-template-columns: 60px 1fr; }
  .credit-role { display: none; }

  /* Vinyl */
  .vinyl-inner { grid-template-columns: 1fr; gap: 44px; }

  /* Mon-art */
  .monart-body-inner { grid-template-columns: 1fr; gap: 0; }

  /* CTA */
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .releases-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-content .wrap { padding: 0 20px; }
  .monart-hero { min-height: 55vh; }
}

/* ── ENTRANCE ANIMATIONS ─────────────────────────────────── */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-name    { animation: fade-in-up 0.9s var(--ease) 0.1s both; }
.hero-sub     { animation: fade-in-up 0.7s var(--ease) 0.3s both; }
.hero-statement { animation: fade-in-up 0.7s var(--ease) 0.5s both; }
