/* =========================================================
   Leadership Music Group — stylesheet
   Palette: near-black + warm parchment + brass/gold accent
   ========================================================= */

:root{
  --bg: #0b0a08;
  --bg-2: #131110;
  --paper: #f3ede2;
  --paper-dim: #cfc7b8;
  --muted: #8a8478;
  --gold: #c6a15b;
  --gold-dim: #8a723f;
  --line: rgba(243,237,226,0.14);
  --ease: cubic-bezier(.22,1,.36,1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: default;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3{ font-family: var(--serif); font-weight: 400; margin: 0; }
p{ margin: 0; }
button{ font-family: var(--sans); cursor: pointer; }

::selection{ background: var(--gold); color: #14120f; }

/* ---------- Custom cursor (desktop only) ---------- */
.cursor-dot{
  position: fixed; top:0; left:0; width:10px; height:10px;
  border-radius:50%; background: var(--gold);
  pointer-events:none; z-index: 9999; mix-blend-mode: difference;
  transform: translate(-50%,-50%);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease);
}
.cursor-dot.hover{ width: 44px; height: 44px; background: var(--paper); }
@media (hover:none), (pointer:coarse){ .cursor-dot{ display:none; } }

/* ---------- Loader ---------- */
.loader{
  position: fixed; inset:0; background: var(--bg); z-index: 10000;
  display:flex; align-items:center; justify-content:center;
}
.loader span{
  font-family: var(--serif); letter-spacing: .25em; font-size: 13px; color: var(--gold); text-align:center; padding: 0 20px;
}

/* ---------- Layout helpers ---------- */
section{ position: relative; padding: 140px 8vw; }
.section-tag{
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 500;
}
.section-title{ font-size: clamp(32px, 4.5vw, 54px); color: var(--paper); max-width: 14ch; }
.section-title em{ color: var(--gold); font-style: italic; }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 16px 30px; border-radius: 999px; font-size: 14px;
  letter-spacing: .04em; border: 1px solid transparent; transition: transform .4s var(--ease), background .3s, color .3s;
}
.btn-light{ background: var(--paper); color: #14120f; }
.btn-light:hover{ transform: translateY(-3px); }
.btn-dark{ background: transparent; color: var(--paper); border-color: var(--line); }
.btn-dark:hover{ background: var(--paper); color: #14120f; transform: translateY(-3px); }

/* ---------- Nav ---------- */
.nav{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  display:flex; align-items:center; justify-content:space-between;
  padding: 26px 6vw; mix-blend-mode: difference;
}
.nav-mark{ font-family: var(--serif); font-size: 15px; letter-spacing:.08em; line-height:1.1; }
.nav-mark span{ display:block; font-size: 10px; color: var(--gold-dim); letter-spacing:.25em; }
.nav-links{ display:flex; align-items:center; gap: 24px; font-size: 12.5px; letter-spacing:.03em; flex-wrap: nowrap; }
.nav-links a{ opacity:.85; transition: opacity .3s; }
.nav-links a:hover{ opacity:1; }
.nav-cta{ border:1px solid var(--paper); padding:10px 20px; border-radius:999px; }
.nav-toggle{ display:none; background:none; border:none; width:28px; height:18px; position:relative; }
.nav-toggle span{ position:absolute; left:0; right:0; height:1px; background: var(--paper); transition: all .3s var(--ease); }
.nav-toggle span:first-child{ top:0; } .nav-toggle span:last-child{ bottom:0; }

/* ---------- Share button + menu ---------- */
.share-wrap{ position:relative; display:inline-flex; align-items:center; }
.nav-share{
  background:none; border:1px solid var(--line); color: inherit;
  font-family: var(--sans); font-size:12.5px; letter-spacing:.03em;
  padding:10px 18px; border-radius:999px; opacity:.85; transition: opacity .3s, border-color .3s;
}
.nav-share:hover{ opacity:1; border-color: var(--paper); }
.footer-share{
  background:none; border:none; padding:0; color: inherit; font-family: var(--sans);
  font-size:12px; letter-spacing: inherit; opacity:.85; transition: opacity .3s;
}
.footer-share:hover{ opacity:1; }

.share-menu{
  position:absolute; top:calc(100% + 12px); right:0; min-width:190px;
  background: var(--bg-2); border:1px solid var(--line); border-radius:14px; padding:8px;
  opacity:0; visibility:hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index:600; mix-blend-mode:normal; box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.share-menu.open{ opacity:1; visibility:visible; transform:translateY(0); }
.share-menu--up{ top:auto; bottom:calc(100% + 12px); transform: translateY(6px); }
.share-menu--up.open{ transform: translateY(0); }
.share-option{
  display:block; width:100%; text-align:left; background:none; border:none;
  color: var(--paper); font-family: var(--sans); font-size:13px; letter-spacing:.01em;
  padding:11px 14px; border-radius:10px; transition: background .25s, color .25s;
}
.share-option:hover{ background: rgba(198,161,91,.1); color: var(--gold); }

.footer-bottom-links{ display:flex; align-items:center; gap:26px; }

/* ---------- Hero ---------- */
.hero{
  height: 100svh; position: relative; overflow:hidden;
  display:flex; align-items:flex-end; padding: 0 6vw 90px;
}
.hero-video, .hero-canvas{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
}
.hero-canvas{ z-index:1; pointer-events:none; mix-blend-mode: screen; opacity:.85; }
.hero-overlay{
  position:absolute; inset:0; z-index:2;
  background: linear-gradient(180deg, rgba(8,7,6,.6) 0%, rgba(8,7,6,.48) 35%, rgba(8,7,6,.92) 100%);
}
.hero-content{ position:relative; z-index:3; max-width: 720px; }
.eyebrow{
  font-size:13px; letter-spacing:.25em; text-transform:uppercase; color: var(--gold); margin-bottom:18px;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
}
.hero-title{
  font-size: clamp(42px, 8vw, 96px); color: var(--paper); line-height: .98; margin-bottom: 26px;
  text-shadow: 0 4px 24px rgba(0,0,0,.55);
}
.hero-title .line{ display:block; overflow:hidden; }
.hero-sub{
  font-size: clamp(16px,1.6vw,19px); color: var(--paper); max-width: 46ch; margin-bottom: 36px; font-weight:400;
  text-shadow: 0 2px 14px rgba(0,0,0,.75);
}

.scroll-cue{
  position:absolute; right: 6vw; bottom: 40px; z-index:3;
  display:flex; flex-direction:column; align-items:center; gap:10px;
}
.scroll-cue span{
  width:1px; height:50px; background: linear-gradient(var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
.scroll-cue p{ font-size:11px; letter-spacing:.2em; color: var(--paper-dim); text-transform:uppercase; writing-mode: vertical-rl; }
@keyframes scrollLine{ 0%{ transform: scaleY(0); transform-origin: top;} 50%{ transform: scaleY(1); transform-origin: top;} 51%{ transform-origin: bottom;} 100%{ transform: scaleY(0); transform-origin: bottom;} }

/* ---------- Studio / About ---------- */
.studio{ display:grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items:center; background: var(--bg-2); }
.studio-media img{ border-radius: 4px; }
.section-text{ color: var(--paper-dim); font-size: 17px; font-weight:300; max-width: 46ch; margin: 22px 0 44px; }
.stat-row{ display:flex; gap: 40px; flex-wrap:wrap; }
.stat span{ display:block; font-family: var(--serif); font-size: 34px; color: var(--gold); }
.stat p{ font-size: 12px; color: var(--muted); max-width: 16ch; margin-top:6px; }

/* ---------- Gallery ---------- */
.gallery-head{ margin-bottom: 60px; }
.gallery-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 18px;
}
.g-item{ position:relative; overflow:hidden; border-radius:4px; margin:0; grid-column: span 1; grid-row: span 1; }
.g-item.g-tall{ grid-row: span 2; }
.g-item img{ width:100%; height:100%; object-fit:cover; transform: scale(1.08); transition: transform .8s var(--ease); }
.g-item:hover img{ transform: scale(1); }
.g-item figcaption{
  position:absolute; left:16px; bottom:14px; font-size:12px; letter-spacing:.08em;
  text-transform:uppercase; color: var(--paper); opacity:0; transform: translateY(8px);
  transition: all .4s var(--ease);
}
.g-item::after{
  content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.65) 100%);
  opacity:0; transition: opacity .4s var(--ease);
}
.g-item:hover::after, .g-item:hover figcaption{ opacity:1; transform:none; }

/* ---------- Gear ---------- */
.gear{ background: var(--bg-2); display:flex; gap: 6vw; }
.gear-head{ flex: 0 0 240px; }
.gear-list{ flex:1; border-top: 1px solid var(--line); }
.gear-row{
  display:flex; align-items:center; gap: 26px; padding: 26px 0;
  border-bottom: 1px solid var(--line); cursor: pointer; transition: padding .3s var(--ease);
}
.gear-row:hover{ padding-left: 18px; }
.gear-num{ font-size:12px; color: var(--muted); width:24px; }
.gear-name{ font-family: var(--serif); font-size: clamp(20px,2.6vw,32px); flex:1; transition: color .3s; }
.gear-row:hover .gear-name{ color: var(--gold); }
.gear-tag{ font-size:11px; letter-spacing:.15em; text-transform:uppercase; color: var(--muted); }
.gear-preview{
  position: sticky; top: 120px; width: 260px; height: 340px; border-radius: 6px; overflow:hidden;
  align-self: flex-start; opacity:0; transform: translateX(20px); transition: opacity .4s var(--ease), transform .4s var(--ease);
  flex: 0 0 260px;
}
.gear:hover .gear-preview{ opacity:1; transform:none; }
.gear-preview img{ width:100%; height:100%; object-fit:cover; }

/* ---------- Reel ---------- */
.reel-head{ margin-bottom: 50px; }
.reel-player{
  position:relative; width:100%; max-width: 620px; aspect-ratio: 9/16; margin:0 auto;
  border-radius: 8px; overflow:hidden; background:#000;
}
.reel-player video{ width:100%; height:100%; object-fit:cover; }
.play-btn{
  position:absolute; inset:0; margin:auto; width:76px; height:76px; border-radius:50%;
  border: 1px solid var(--paper); background: rgba(11,10,8,.4); backdrop-filter: blur(6px);
  display:flex; align-items:center; justify-content:center; transition: transform .35s var(--ease), opacity .35s;
}
.play-btn svg{ width:22px; height:22px; fill: var(--paper); margin-left:3px; }
.play-btn:hover{ transform: scale(1.08); }
.reel-player.playing .play-btn{ opacity:0; pointer-events:none; }

/* ---------- Credits / Selected Work ---------- */
.album-strip{
  overflow:hidden; width: calc(100% + 16vw); margin: -20px -8vw 60px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.album-track{ display:flex; gap: 14px; width: max-content; animation: marquee 46s linear infinite; }
.album-strip:hover .album-track{ animation-play-state: paused; }
.album-track img{
  width: 96px; height: 96px; object-fit: cover; border-radius: 6px; flex: 0 0 auto;
  box-shadow: 0 20px 34px -14px rgba(0,0,0,.65);
}
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

.credits-head{ max-width: 640px; margin: 0 auto 50px; text-align:center; }
.credits-head .section-tag{ display:block; margin-bottom: 6px; }
.credits-by{ font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 15px; margin-bottom: 18px; }
.credits-head .section-title{ max-width: none; margin: 0 auto 18px; }
.credits-head .section-text{ margin: 0 auto; }
.credits + .credits{ border-top: 1px solid var(--line); padding-top: 100px; }
.credits-embed{
  max-width: 760px; margin: 0 auto; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.credits-embed iframe{ display:block; border: none; }

/* ---------- Producers ---------- */
.producers{ background: var(--bg-2); text-align:center; }
.producers-head{ margin-bottom: 60px; }
.producers-head .section-title{ margin: 0 auto; }
.producers-grid{
  display:flex; justify-content:center; gap: 60px; flex-wrap:wrap; max-width: 780px; margin: 0 auto;
}
.producer-card{ flex: 1 1 260px; max-width: 300px; }
.producer-avatar{
  width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%;
  border: 1px solid var(--gold-dim); display:flex; align-items:center; justify-content:center;
  font-family: var(--serif); font-size: 26px; color: var(--gold); letter-spacing: .02em;
}
.producer-name{ font-size: 24px; color: var(--paper); margin-bottom: 6px; }
.producer-role{ font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; line-height: 1.7; }
.producer-ig{
  display:inline-flex; align-items:center; gap: 8px; font-size: 14px; color: var(--paper-dim);
  border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; transition: all .3s var(--ease);
}
.producer-ig svg{ width:16px; height:16px; fill:none; stroke: currentColor; stroke-width:1.6; }
.producer-ig:hover{ color: #14120f; background: var(--gold); border-color: var(--gold); }

.producer-bio-link{
  display:block; margin: 14px auto 0; background:none; border:none;
  font-family: var(--sans); font-size: 11px; letter-spacing:.1em; text-transform:uppercase;
  color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: transparent; transition: color .3s, text-decoration-color .3s;
}
.producer-bio-link:hover{ color: var(--paper-dim); text-decoration-color: var(--muted); }

/* ---------- Bio modal ---------- */
.bio-modal{
  position: fixed; inset:0; z-index: 2000;
  display:flex; align-items:center; justify-content:center; padding: 40px 20px;
  opacity:0; pointer-events:none; transition: opacity .4s var(--ease);
}
.bio-modal.open{ opacity:1; pointer-events:auto; }
.bio-modal-backdrop{
  position:absolute; inset:0; background: rgba(6,5,4,.82); backdrop-filter: blur(4px);
}
.bio-modal-panel{
  position:relative; z-index:1; max-width: 680px; max-height: 82vh; overflow-y:auto;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 52px 46px; transform: translateY(16px) scale(.98); transition: transform .4s var(--ease);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.7);
}
.bio-modal.open .bio-modal-panel{ transform: translateY(0) scale(1); }
.bio-modal-close{
  position:absolute; top:18px; right:18px; width:36px; height:36px; border-radius:50%;
  background:none; border: 1px solid var(--line); color: var(--paper-dim); font-size:22px; line-height:1;
  display:flex; align-items:center; justify-content:center; transition: all .3s;
}
.bio-modal-close:hover{ background: var(--gold); color:#14120f; border-color: var(--gold); }
.bio-modal-eyebrow{ font-size: 11px; letter-spacing:.15em; text-transform:uppercase; color: var(--gold); margin-bottom: 10px; }
.bio-modal-title{ font-size: clamp(28px, 4vw, 38px); color: var(--paper); margin-bottom: 24px; }
.bio-modal-body p{ color: var(--paper-dim); font-size: 15px; line-height: 1.75; font-weight:300; margin-bottom: 18px; }
.bio-modal-body p:last-child{ margin-bottom:0; }
.bio-modal-body em{ color: var(--gold); font-style: italic; }
body.bio-modal-open{ overflow: hidden; }

@media (max-width: 640px){
  .bio-modal-panel{ padding: 40px 24px; }
}

/* ---------- Behind the Work (mosaic) ---------- */
.mosaic{ background: var(--bg); }
.mosaic-head{ max-width: 640px; margin: 0 auto 60px; text-align:center; }
.mosaic-head .section-title{ max-width:none; margin: 0 auto 16px; }
.mosaic-head .section-text{ margin: 0 auto; }
.mosaic-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px;
}
.m-item{
  position:relative; margin:0; overflow:hidden; border-radius: 5px; grid-column: span 1; grid-row: span 1;
  isolation: isolate;
}
.m-item.m-tall{ grid-row: span 2; }
.m-item.m-wide{ grid-column: span 2; }
.m-item img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition: filter .6s ease;
  filter: saturate(.92) contrast(1.03);
  /* initial scale + scroll parallax transform is applied by GSAP (js/main.js) */
}
.m-item:hover img{ filter: saturate(1.02) contrast(1.05) brightness(1.06); }
/* vignette to unify the source screenshots and quietly cover any stray UI corners */
.m-item::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    radial-gradient(120% 90% at 50% 100%, rgba(0,0,0,0) 40%, rgba(6,5,4,.55) 100%),
    linear-gradient(180deg, rgba(6,5,4,.35) 0%, rgba(6,5,4,0) 30%, rgba(6,5,4,0) 70%, rgba(6,5,4,.45) 100%);
}
.m-item::after{
  content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
  box-shadow: inset 0 0 0 1px rgba(243,237,226,.06);
}

/* ---------- Book ---------- */
.book{ text-align:center; }
.book-title{ font-size: clamp(36px,6vw,64px); margin: 0 auto 18px; }
.book-title em{ color: var(--gold); font-style: italic; }
.book-sub{ color: var(--paper-dim); max-width: 50ch; margin: 0 auto 60px; font-weight:300; }
.book-form{ max-width: 720px; margin: 0 auto; text-align:left; }
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field{ margin-bottom: 24px; }
.field label{ display:block; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color: var(--muted); margin-bottom:10px; }
.field input, .field textarea{
  width:100%; background:transparent; border:none; border-bottom: 1px solid var(--line);
  color: var(--paper); font-family: var(--sans); font-size:16px; padding: 10px 2px; outline:none;
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus{ border-color: var(--gold); }
.field textarea{ resize: vertical; }
.form-note{ font-size:12px; color: var(--muted); margin-top:18px; }
.form-note a{ color: var(--gold); }
.form-status{ font-size:13px; margin-top:16px; min-height:1em; }
.form-status.is-success{ color: var(--gold); }
.form-status.is-error{ color: #c67b5b; }

.deposit-cta{ margin-top: 46px; padding-top: 38px; border-top: 1px solid var(--line); }
.deposit-note{ font-size: 14px; color: var(--paper-dim); margin-bottom: 20px; }
.deposit-options{ display:flex; flex-wrap:wrap; gap: 14px; }
.deposit-option{
  display:flex; flex-direction:column; gap: 4px; padding: 14px 22px;
  border: 1px solid var(--line); border-radius: 8px; background: none; text-align:left;
  font-family: var(--sans); transition: border-color .3s, background .3s;
}
.deposit-option:hover{ border-color: var(--gold); background: rgba(198,161,91,.06); }
.deposit-option-label{ font-size: 11px; letter-spacing:.12em; text-transform:uppercase; color: var(--gold); }
.deposit-option-value{ font-size: 14px; color: var(--paper); }
.deposit-hint{ font-size: 11px; letter-spacing:.06em; text-transform:uppercase; color: var(--muted); margin-top: 16px; }

/* ---------- Footer ---------- */
.footer{ padding: 90px 6vw 40px; border-top: 1px solid var(--line); }
.footer-top{ display:flex; justify-content:space-between; align-items:flex-end; padding-bottom: 60px; flex-wrap:wrap; gap:20px; }
.footer-mark{ font-family: var(--serif); font-size: clamp(28px,4vw,44px); line-height:1.05; }
.footer-presents{ font-size: 12px; color: var(--muted); margin-top: 10px; letter-spacing: .02em; }
.footer-email{ font-size:15px; color: var(--gold); }
.footer-bottom{ display:flex; justify-content:space-between; font-size:12px; color: var(--muted); }

/* ---------- Reveal animation base states (GSAP controls the rest) ---------- */
.reveal-up{ opacity:0; transform: translateY(28px); }
.reveal-scale{ opacity:0; transform: scale(1.06); }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  section{ padding: 100px 6vw; }
  .studio{ grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gear{ flex-direction:column; }
  .gear-preview{ display:none; }
  .field-row{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction:column; gap:10px; }
  .mosaic-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .m-item.m-wide{ grid-column: span 2; }
  .album-track img{ width: 76px; height: 76px; }
}

@media (max-width: 640px){
  .nav-links{
    position:fixed; inset:0; background: var(--bg); flex-direction:column; justify-content:center;
    transform: translateX(100%); transition: transform .5s var(--ease); gap: 30px; font-size: 20px;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-toggle{ display:block; z-index: 501; }
  .nav-toggle.open span:first-child{ transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:last-child{ transform: translateY(-9px) rotate(-45deg); }
  .hero{ align-items:flex-end; padding-bottom: 60px; }
  .hero-overlay{
    background: linear-gradient(180deg, rgba(8,7,6,.65) 0%, rgba(8,7,6,.55) 30%, rgba(8,7,6,.65) 55%, rgba(8,7,6,.95) 100%);
  }
  .eyebrow, .hero-title, .hero-sub{ text-shadow: 0 3px 16px rgba(0,0,0,.85); }
  .scroll-cue{ display:none; }
  .gallery-grid{ grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .g-item figcaption{ opacity:1; transform:none; }
  .g-item::after{ opacity:1; }
  .reel-player{ max-width: 100%; }
  .mosaic-grid{ grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .m-item.m-tall{ grid-row: span 1; }
  .m-item.m-wide{ grid-column: span 1; }

  .nav-share{ font-size:15px; padding:12px 26px; }
  .nav-links .share-menu{
    left:50%; right:auto; transform: translateX(-50%) translateY(-6px);
  }
  .nav-links .share-menu.open{ transform: translateX(-50%) translateY(0); }
}
