/* ═══════════════════════════════════════════════════════════
   Deep City Night — a jazz collective
   The palette is lifted straight from the band's own artwork:
   a #3B1A5A night sky, black skyline, #663492 wordmark and the
   #42A36C neon edge that lights the buildings and the beam.
   The picture carries the joke; the music is set straight.
   ═══════════════════════════════════════════════════════════ */

:root{
  --void:       #140A1E;
  --night:      #3B1A5A;
  --night-2:    #241036;
  --panel:      #1D0F2C;

  --violet:     #663492;
  --violet-lit: #9A63D0;

  --jade:       #42A36C;
  --jade-lit:   #6FD79A;

  --paper:      #ECE6F3;
  --muted:      #A093B4;
  --faint:      #6E6183;

  --rule:       rgba(236,230,243,.13);
  --rule-2:     rgba(236,230,243,.26);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gut:  clamp(1.15rem, 4.5vw, 4.5rem);
  --maxw: 1500px;
  --ease: cubic-bezier(.2,.6,.3,1);
}

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

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:5.5rem;
  overflow-x:clip;
}

body{
  margin:0;
  background:var(--void);
  color:var(--paper);
  font-family:var(--body);
  font-size:clamp(.97rem,.42vw + .87rem,1.05rem);
  line-height:1.68;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:clip;
}

img{ display:block; max-width:100%; height:auto; }
button{ font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; }
::selection{ background:var(--jade); color:var(--void); }
:focus-visible{ outline:2px solid var(--jade-lit); outline-offset:3px; }

.skip{
  position:fixed; top:.6rem; left:.6rem; z-index:200;
  padding:.7rem 1.1rem; background:var(--jade); color:var(--void);
  font-size:.72rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  text-decoration:none; border-radius:2px;
  transform:translateY(-180%);
  transition:transform .25s var(--ease);
}
.skip:focus{ transform:none; }

/* ── shared ─────────────────────────────────────────────── */
.eyebrow{
  display:flex; align-items:center; gap:.65rem;
  margin:0 0 clamp(1.2rem,2.4vw,1.9rem);
  font-size:.68rem; font-weight:600;
  letter-spacing:.24em; text-transform:uppercase;
  color:var(--muted);
}
.eyebrow::before{
  content:""; width:.5rem; height:.5rem; flex:none;
  border-radius:50%;
  background:var(--jade);
  box-shadow:0 0 0 3px rgba(66,163,108,.22);   /* a small beacon */
}

.sect{
  position:relative;
  max-width:var(--maxw); margin-inline:auto;
  padding:clamp(2.5rem,5vw,3.75rem) var(--gut);
}

a{ color:inherit; }

/* ── nav ────────────────────────────────────────────────── */
.nav{
  position:fixed; inset:0 0 auto 0; z-index:100;
  border-bottom:1px solid transparent;
  transition:background .4s var(--ease), border-color .4s var(--ease);
}
.nav.is-stuck{
  background:rgba(20,10,30,.82);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-bottom-color:var(--rule);
}
.nav__in{
  max-width:var(--maxw); margin-inline:auto;
  padding:.8rem var(--gut);
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
.nav__mark{ display:block; line-height:0; }
.nav__mark img{
  width:auto; height:clamp(.85rem,1.5vw,1.15rem);
  opacity:0; transition:opacity .4s var(--ease);
}
.nav.is-stuck .nav__mark img{ opacity:1; }

.nav__links{ display:flex; align-items:center; gap:clamp(.8rem,2vw,2rem); }
.nav__links a{
  position:relative;
  font-size:.72rem; font-weight:600;
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--paper); text-decoration:none;
  padding:.3rem 0;
  transition:color .25s var(--ease);
}
.nav__links a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:100%;
  background:var(--jade);
  transform:scaleX(0); transform-origin:right;
  transition:transform .4s var(--ease);
}
@media (hover:hover){
  .nav__links a:hover{ color:var(--jade-lit); }
  .nav__links a:hover::after{ transform:scaleX(1); transform-origin:left; }
}
.nav__links a.is-key{
  background:var(--jade); color:var(--void);
  padding:.5rem .9rem; border-radius:2px;
  transition:background .3s var(--ease);
}
.nav__links a.is-key::after{ display:none; }
@media (hover:hover){ .nav__links a.is-key:hover{ background:var(--jade-lit); color:var(--void); } }
.nav__links a.is-key:active{ background:var(--jade-lit); color:var(--void); }

@media (max-width:430px){
  .nav__links{ gap:.7rem; }
  .nav__links a{ font-size:.65rem; letter-spacing:.1em; }
  .nav__links a.is-key{ padding:.45rem .65rem; }
}

/* ── hero ───────────────────────────────────────────────── */
.hero{ position:relative; }
.hero__art{
  position:relative; margin:0;
  background:var(--night);
}
.hero__art img{ width:100%; }
.hero__art::after{           /* dissolve the skyline into the page */
  content:""; position:absolute; left:0; right:0; bottom:-1px;
  height:22%;
  background:linear-gradient(to bottom, rgba(20,10,30,0), var(--void));
  pointer-events:none;
}

.hero__copy{
  max-width:var(--maxw); margin-inline:auto;
  padding:clamp(1rem,2.5vw,2rem) var(--gut) clamp(2rem,4vw,3rem);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);
  gap:clamp(1.2rem,4vw,4rem);
  align-items:start;
}
.hero__h1{
  margin:0;
  font-family:var(--display);
  font-optical-sizing:auto;
  font-variation-settings:"SOFT" 30, "WONK" 1;
  font-weight:600;
  font-size:clamp(2.4rem,6.4vw,5rem);
  line-height:.98;
  letter-spacing:-.02em;
}
.hero__h1 em{ font-style:italic; color:var(--violet-lit); }

.lead{
  margin:0;
  color:var(--muted);
  font-size:clamp(1rem,1.35vw,1.16rem);
  line-height:1.72;
  max-width:40rem;
}
.hero__cta{ margin:clamp(1.4rem,2.6vw,2rem) 0 0; }

.btn{
  display:inline-block;
  padding:.9rem 1.6rem;
  background:var(--jade); color:var(--void);
  border-radius:2px;
  font-size:.74rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  text-decoration:none;
  transition:background .3s var(--ease);
}
@media (hover:hover){ .btn:hover{ background:var(--jade-lit); } }
.btn:active{ background:var(--jade-lit); }

@media (max-width:820px){
  .hero__copy{ grid-template-columns:1fr; }
  /* The artwork is only ~180px tall on a phone, so the fixed nav was covering
     a third of it — the moon and the "A Jazz Collective" line. Extend the sky
     above it (same colour as the artwork's own sky) so the nav floats over
     sky rather than over the picture. */
  .hero__art{ padding-top:3.7rem; }
}

/* ── listen ─────────────────────────────────────────────── */
/* Self-hosted player: one <audio> element shared by the track list, with
   preload="none" so nothing downloads until somebody presses play. */
.audiop{ border-top:1px solid var(--rule); }
.tracks{ list-style:none; margin:0; padding:0; }

.track__btn{
  display:flex; align-items:center; gap:clamp(.8rem,2vw,1.25rem);
  width:100%; text-align:left;
  padding:clamp(.7rem,1.5vw,1rem) 0;
  border-bottom:1px solid var(--rule);
  color:var(--paper);
}
.track__ico{
  flex:none; width:2.5rem; height:2.5rem;
  display:grid; place-items:center;
  border-radius:50%;
  border:1px solid var(--rule-2);
  color:var(--jade);
  transition:background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.track__ico .ico{ width:44%; height:44%; grid-area:1/1; }
.ico--pause{ display:none; }
.track.is-playing .ico--play{ display:none; }
.track.is-playing .ico--pause{ display:block; }
.track.is-active .track__ico{ background:var(--jade); color:var(--void); border-color:var(--jade); }

.track__name{
  flex:1 1 auto; min-width:0;
  font-family:var(--display);
  font-variation-settings:"SOFT" 20, "WONK" 1;
  font-size:clamp(1.02rem,1.9vw,1.45rem);
  font-weight:500; line-height:1.22;
  transition:color .25s var(--ease);
}
.track.is-active .track__name{ color:var(--jade-lit); }
.track__time{
  flex:none;
  font-size:.72rem; font-weight:600; letter-spacing:.12em;
  color:var(--faint);
  font-variant-numeric:tabular-nums;
}
@media (hover:hover){
  .track__btn:hover .track__ico{ background:var(--jade); color:var(--void); border-color:var(--jade); }
  .track__btn:hover .track__name{ color:var(--jade-lit); }
}
.track__btn:active .track__ico{ background:var(--jade-lit); color:var(--void); }

/* transport */
.transport{
  display:flex; align-items:center; gap:clamp(.8rem,2vw,1.3rem);
  margin-top:clamp(1rem,2.2vw,1.6rem);
  padding:clamp(.85rem,1.8vw,1.15rem) clamp(.9rem,2vw,1.3rem);
  background:var(--panel);
  border:1px solid var(--rule);
  border-radius:3px;
}
.transport[hidden]{ display:none; }
.transport__toggle{
  flex:none; width:2.9rem; height:2.9rem;
  display:grid; place-items:center;
  border-radius:50%;
  background:var(--jade); color:var(--void);
  box-shadow:0 0 0 6px rgba(66,163,108,.16);
  transition:background .25s var(--ease);
}
.transport__toggle .ico{ width:42%; height:42%; grid-area:1/1; }
.transport.is-playing .ico--play{ display:none; }
.transport.is-playing .ico--pause{ display:block; }
@media (hover:hover){ .transport__toggle:hover{ background:var(--jade-lit); } }
.transport__toggle:active{ background:var(--jade-lit); }

.transport__body{ flex:1 1 auto; min-width:0; }
.transport__title{
  margin:0 0 .45rem;
  font-size:.7rem; font-weight:600;
  letter-spacing:.18em; text-transform:uppercase;
  color:var(--muted);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.transport__seek{
  -webkit-appearance:none; appearance:none;
  display:block; width:100%; height:5px;
  border-radius:3px; outline:none; cursor:pointer;
  background:linear-gradient(to right,
    var(--jade) 0 var(--pct,0%), rgba(236,230,243,.16) var(--pct,0%) 100%);
}
.transport__seek::-webkit-slider-thumb{
  -webkit-appearance:none; appearance:none;
  width:14px; height:14px; border-radius:50%;
  background:var(--jade-lit); border:0; cursor:pointer;
}
.transport__seek::-moz-range-thumb{
  width:14px; height:14px; border-radius:50%;
  background:var(--jade-lit); border:0; cursor:pointer;
}
.transport__seek:focus-visible{ outline:2px solid var(--jade-lit); outline-offset:4px; }

.transport__time{
  flex:none; margin:0;
  font-size:.72rem; font-weight:600; letter-spacing:.1em;
  color:var(--faint);
  font-variant-numeric:tabular-nums;
}
.transport__time .sep{ opacity:.5; margin:0 .15em; }

@media (max-width:520px){
  .transport{ flex-wrap:wrap; }
  .transport__body{ order:3; flex:1 1 100%; }
  .transport__time{ margin-left:auto; }
}

/* ── watch ──────────────────────────────────────────────── */
.sect--watch{ border-top:1px solid var(--rule); }
.film{ margin:0; }
.film__btn{ display:block; width:100%; border-radius:3px; }
.film__media{
  position:relative; display:block;
  aspect-ratio:16/9; overflow:hidden;
  border-radius:3px;
  background:var(--panel);
  border:1px solid var(--rule);
}
.film__media img{
  width:100%; height:100%; object-fit:cover;
  filter:saturate(1.05) brightness(.94);
  transition:filter .5s var(--ease);
}
.film__veil{
  position:absolute; inset:0;
  background:linear-gradient(170deg, rgba(20,10,30,.12), rgba(20,10,30,.5));
  transition:opacity .45s var(--ease);
}
.film__play{
  position:absolute; left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:clamp(3.4rem,5.2vw,4.6rem); aspect-ratio:1;
  display:grid; place-items:center;
  border-radius:50%;
  background:var(--jade); color:var(--void);
  box-shadow:0 0 0 8px rgba(66,163,108,.18), 0 10px 34px -10px rgba(0,0,0,.7);
  transition:background .35s var(--ease), box-shadow .35s var(--ease);
}
.film__play svg{ width:42%; height:42%; margin-left:8%; }
@media (hover:hover){
  .film__btn:hover .film__play{ background:var(--jade-lit); box-shadow:0 0 0 14px rgba(66,163,108,.22), 0 10px 34px -10px rgba(0,0,0,.7); }
  .film__btn:hover .film__veil{ opacity:.45; }
  .film__btn:hover .film__media img{ filter:saturate(1.1) brightness(1.04); }
}
.film__btn:active .film__play{ background:var(--jade-lit); }
.film__btn:focus-visible .film__play{ background:var(--jade-lit); }
.film__media.is-live iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

.film__cap{
  margin:.9rem 0 0;
  font-family:var(--display);
  font-variation-settings:"SOFT" 20, "WONK" 1;
  font-size:clamp(1.05rem,1.8vw,1.4rem);
  font-weight:500;
}

/* ── players ────────────────────────────────────────────── */
.sect--players{ border-top:1px solid var(--rule); }
.roster{ border-top:1px solid var(--rule); }
.player{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,2fr);
  gap:clamp(.5rem,3vw,3rem);
  padding:clamp(1.5rem,3vw,2.4rem) 0;
  border-bottom:1px solid var(--rule);
}
.player__id{ }
.player__name{
  margin:0;
  font-family:var(--display);
  font-variation-settings:"SOFT" 25, "WONK" 1;
  font-weight:600;
  font-size:clamp(1.35rem,2.4vw,2rem);
  line-height:1.08;
  letter-spacing:-.015em;
}
.player__name a{
  text-decoration:none;
  transition:color .25s var(--ease);
}
@media (hover:hover){ .player__name a:hover{ color:var(--jade-lit); } }
.player__inst{
  margin:.4rem 0 0;
  font-size:.68rem; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase;
  color:var(--faint);
}
.player__bio{
  margin:0;
  color:var(--muted);
  font-size:1rem; line-height:1.75;
}
.player__bio a{
  color:var(--paper);
  text-decoration:none;
  border-bottom:1px solid rgba(66,163,108,.55);
  padding-bottom:.05em;
  transition:color .25s var(--ease), border-color .25s var(--ease);
}
@media (hover:hover){
  .player__bio a:hover{ color:var(--jade-lit); border-bottom-color:var(--jade-lit); }
}
.wink{ color:var(--violet-lit); font-style:italic; }

@media (max-width:760px){
  .player{ grid-template-columns:1fr; gap:.85rem; }
}

/* ── booking ────────────────────────────────────────────── */
.booking{
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(102,52,146,.55), transparent 70%),
    var(--night-2);
  border-top:1px solid var(--rule);
  padding-block:clamp(2.75rem,6vw,5rem);
}
.booking__in{ max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gut); }
.booking__line{
  margin:0 0 clamp(1rem,2vw,1.5rem);
  font-family:var(--display);
  font-variation-settings:"SOFT" 30, "WONK" 1;
  font-weight:500;
  font-size:clamp(1.7rem,4.4vw,3.2rem);
  line-height:1.06;
  letter-spacing:-.02em;
}
.booking__mail{ margin:0; }
.mailslot, a.maillink{
  font-family:var(--display);
  font-size:clamp(1.05rem,2.4vw,1.9rem);
  font-weight:400;
  color:var(--jade-lit);
  text-decoration:none;
  unicode-bidi:bidi-override; direction:rtl;    /* no-JS fallback reads correctly */
}
a.maillink{
  unicode-bidi:normal; direction:ltr;
  border-bottom:2px solid rgba(111,215,154,.4);
  padding-bottom:.1em;
  transition:color .25s var(--ease), border-color .25s var(--ease);
}
@media (hover:hover){ a.maillink:hover{ color:var(--paper); border-bottom-color:var(--paper); } }
a.maillink:active{ color:var(--paper); }

/* ── footer ─────────────────────────────────────────────── */
.foot{ border-top:1px solid var(--rule); background:var(--void); }
.foot__in{
  max-width:var(--maxw); margin-inline:auto;
  padding:clamp(1.8rem,3.5vw,2.8rem) var(--gut);
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:1rem 2rem;
}
.foot__mark{ width:auto; height:clamp(.85rem,1.6vw,1.2rem); opacity:.85; }
.foot__meta{
  margin:0; flex:1 1 auto;
  font-size:.68rem; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase;
  color:var(--faint);
}
.foot__top{
  display:inline-flex; align-items:center; gap:.55rem;
  font-size:.68rem; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase;
  color:var(--faint); text-decoration:none;
  transition:color .3s var(--ease);
}
.foot__top svg{ width:.95rem; height:.95rem; }
@media (hover:hover){ .foot__top:hover{ color:var(--jade-lit); } }

@media (max-width:700px){
  .foot__meta{ flex:1 1 100%; order:3; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}
