/* ================================
   ONE LAST ORBIT — MASTER STYLESHEET
   (replace entire style.css)
   ================================ */

/* Home page */
.home-wrap{
  text-align: center;
  margin: 5px 0 10px;
}

.home-logo{
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: min(600px, 92vw);
  height: auto;
}

/* Theme tokens */
:root{
  --bg:#000;
  --panel:#11131a;
  --text:#f2f2f2;
  --muted:#bdbdbd;
  --border: rgba(255,255,255,.12);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --radius: 18px;
  --max: 1100px;
}

/* Base */
*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  line-height: 1.45;
}

a{
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 2px;
}
a:hover{ border-bottom-color: rgba(255,255,255,.85); }

/* =========================================
   Unified header + nav (Album + Photos)
   ========================================= */
/* Force unified header styling even on photos-page */
.site-header{
  max-width: var(--max, 1100px);
  margin: 32px auto 10px;
  padding: 0 18px;
}

.brand{
  display:flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

/* Lock the title + pill to the same baseline everywhere */
.site-title{
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  line-height: 1.1; /* important: consistent baseline */
}

/* Make the tag behave like a neat pill, baseline-friendly */
.section-tag{
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding: 4px 10px;
  margin-left: 0;        /* gap handles spacing now */
  transform: translateY(-1px); /* tiny optical baseline tweak */
  font-size: 13px;
  font-weight: 500;
  color: var(--muted, #bdbdbd);
  border: 1px solid var(--border, rgba(255,255,255,.12));
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  vertical-align: middle;
}


/* optional small section label text if you keep it */
.brand .sub{
  margin:0;
  color: var(--muted);
  font-size: 14px;
}

.toplinks{
  max-width: var(--max);
  margin: 0 auto 18px;
  padding: 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.sep{
  opacity: .5;
  margin: 0 8px;
}

/* =========================================
   Album / general layout
   ========================================= */
.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 16px 46px;
}

h1{
  margin: 18px 0 6px;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: .4px;
}

.sub{
  margin: 20px 10px 18px 10px;
  color: var(--muted);
  max-width: 1100px;
  font-size: 14px;
}

/* Album title + year */
.album-title{
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}

.album-year{
  font-size: 0.6em;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .12em;
}

/* Album cover hero */
.hero{
  width: 100%;
  display: grid;
  place-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  background: #000;
}


.cover{
  width: min(80vw, 500px);
  height: auto;
  display: block;
  object-fit: contain;
}

/* Card */
.card{
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255,255,255,.03);
}

.section-title{
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: .3px;
}

/* Tracklist */
	.tracklist{ 
	margin-top: 16px;
	overflow: hidden;
			}


.tracks{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  overflow: hidden;
}

.track{
  width: 100%;
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(0,0,0,.35);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
}

.track:hover{ background: rgba(255,255,255,.06); }

.track-left{
  display:flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.track-num{
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .12em;
  width: 2.3em;
  flex: 0 0 auto;
}

.track-title{
  font-weight: 650;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-right{
  display:flex;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
}

.track-dur{
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .06em;
}

.track-note{
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: 12px;
}

/* Expander panel (lyrics) */
.expander{
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(17,19,26,.75);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
}
.expander.open{ display: block; }

.exp-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 16px;
  padding: 18px 18px 10px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent);
}

.exp-head h2{
  margin:0;
  font-size: 20px;
  letter-spacing:.2px;
}

.meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color: var(--muted);
  font-size: 12px;
}

.pill{
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(0,0,0,.18);
}

.exp-actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.smallbtn{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  cursor:pointer;
  font-size: 13px;
}
.smallbtn:hover{ background: rgba(255,255,255,.06); }

.lyrics{
  padding: 16px 18px 18px;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  color: var(--text);
}

.lyrics .muted{
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  display:block;
  margin-bottom: 10px;
}

/* Listen player block */
.listen .player{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.listen .now{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.listen .now-title{ font-weight: 700; }
.listen .now-meta{
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .06em;
}

.listen audio{ width: 100%; }

/* highlight currently playing track */
.track.playing{
  outline: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}

/* Band lineup */
.lineup{
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.member{
  display:flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(0,0,0,.35);
  cursor: pointer; /* member spotlight */
}

.member-img{
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: #000;
}

.member-text{
  position: relative; /* allows absolute IG button */
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.name{
  font-weight: 700;
  color: var(--text);
}

.role{
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

/* OLO Instagram link under section title */
.olo-social-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;

  font-size: 12px;
  font-weight: 500;
  color: var(--muted);

  border-bottom: none;
  opacity: .8;
}

.olo-social-link svg{
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  fill: currentColor;
  display: inline-block;
}

.olo-social-link:hover{
  opacity: 1;
  color: var(--text);
}

}


.insta-btn{
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  opacity: .7;
  cursor: pointer;
}

.insta-btn svg{
  width: 12px;
  height: 12px;
  fill: var(--text);
}

.insta-btn:hover{
  opacity: 1;
  background: rgba(255,255,255,.08);
}

/* Member spotlight expand */
.member-more{
  display: none;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  max-width: 52ch;
}

.member.is-open{
  background: rgba(255,255,255,.06);
  outline: 1px solid rgba(255,255,255,.18);
}

.member.is-open .member-img{
  width: 86px;
  height: 86px;
  border-radius: 12px;
}

.member.is-open .member-more{ display: block; }

.lineup.has-open .member:not(.is-open){
  opacity: .45;
  filter: grayscale(.25);
}

/* Footer */
footer{
  max-width: var(--max);
  margin: 26px auto 38px;
  padding: 0 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* Responsive */
@media (min-width: 680px){
  .wrap{ padding: 26px 18px 56px; }
  .lineup{ grid-template-columns: 1fr 1fr; }
}

/* =========================================
   PHOTOS PAGE
   ========================================= */
body.photos-page{
  background: #000;
}

/* Perfect square thumb grid (max 5 cols) */
body.photos-page .thumb-grid{
  max-width: 1500px;
  margin: 18px auto 64px;
  padding: 0 18px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px){
  body.photos-page .thumb-grid{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px){
  body.photos-page .thumb-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px){
  body.photos-page .thumb-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px){
  body.photos-page .thumb-grid{ grid-template-columns: 1fr; }
}

body.photos-page .thumb-card{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  overflow: hidden;
  cursor: pointer;
}

body.photos-page .thumb-image-wrap{
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

body.photos-page .thumb-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox */
body.photos-page .lightbox-overlay{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.82);
  z-index: 9999;
  padding: 18px;
}

body.photos-page .lightbox-overlay.open{ display: flex; }

body.photos-page .lightbox-content{
  position: relative;
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  border-radius: 18px;
  overflow: visible;
}

body.photos-page #lightboxImage{
  max-width: 100%;
  max-height: 88vh;
  border-radius: 18px;
  display: block;
  background: #000;

  /* purple-forward cosmic glow */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 45px rgba(167,139,250,0.55),
    0 0 100px rgba(147,51,234,0.45);
}



/* Close button always above image */
body.photos-page .lightbox-close{
  position: absolute;
  top: 14px;
  right: 14px;

  width: 36px;
  height: 36px;
  border-radius: 50%;

  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);

  cursor: pointer;
  z-index: 20;

  display: grid;
  place-items: center;

  padding: 0;
}

body.photos-page .lightbox-close::before,
body.photos-page .lightbox-close::after{
  content: "";
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
}

body.photos-page .lightbox-close::before{ transform: rotate(45deg); }
body.photos-page .lightbox-close::after{ transform: rotate(-45deg); }

body.photos-page .lightbox-close:hover{
  background: rgba(0,0,0,.70);
}

/* ===== Lightbox image + caption overlay ===== */

.lightbox-media{
  position: relative;
}

.lightbox-media img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Caption overlay */
.lightbox-caption{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;

  background: linear-gradient(
    to top,
    rgba(0,0,0,.65),
    rgba(0,0,0,.35) 60%,
    rgba(0,0,0,0)
  );

  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;

  pointer-events: none; /* clicks go through to image */
}
.video-row{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 700px;         /* adjust for your page width */
  margin: 1.25rem auto;
  align-items: start;
}

/* your existing box styles, but remove the auto-centering margin */
.video-wrap{
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-wrap iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* mobile: stack */
@media (max-width: 700px){
  .video-row{
    grid-template-columns: 1fr;
  }
}


/* Inline album selector (segmented control) */
.album-switch{
  max-width: var(--max, 1100px);
  margin: 10px auto 18px;
  padding: 0 18px;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.album-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 12px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.92);
  text-decoration: none;

  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.album-pill:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}

.album-pill.is-active{
  background: rgba(167,139,250,.18);
  border-color: rgba(167,139,250,.35);
}

#playAllBtn{
  align-self: flex-start;
}
