/* DarkStarBurn — clean hand-written stylesheet.
   One type scale (Jost), one palette drawn from the site's own colors,
   consistent section rhythm. Replaces the old builder stack entirely. */

:root{
  --black:#000000;
  --white:#ffffff;
  --magenta:#dd11b4;
  --magenta-dark:#8c0b72;
  --blue:#6592e6;
  --blue-dark:#2260d2;
  --green:#26c509;
  --green-dark:#167205;
  --btn-dark:#232323;
  --sky:#088ff3;
  --ice:#bed3f9;
  --gray-text:#9aa0a6;
  --footer-link:#6592e6;
  --card-border:rgba(255,255,255,.14);
  --font:'Jost',sans-serif;
  /* Type scale (the live site's display sizes, normalized to one system) */
  --d2:clamp(2.4rem,1.7rem + 2.9vw,3rem);
  --d4:clamp(1.02rem,1rem + .4vw,1.1rem);
  --d5:clamp(1.6rem,1.35rem + 2.7vw,2rem);
  --d7:clamp(1.07rem,1rem + .8vw,1.2rem);
}

*{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  scroll-padding-top:92px;
}
body{
  margin:0;
  background:var(--black);
  color:var(--white);
  font-family:var(--font);
  font-size:1rem;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%}
h1,h2,h3,p,figure{margin:0}
ul{margin:0;padding:0;list-style:none}
a{color:var(--white)}

/* Type classes (single scale, used consistently across sections) */
.display-2{font-size:var(--d2);line-height:1.1;font-weight:400}
.display-4{font-size:var(--d4);line-height:1.5;font-weight:400}
.display-5{font-size:var(--d5);line-height:1.2;font-weight:400}
.display-7{font-size:var(--d7);line-height:1.4;font-weight:400}

.visually-hidden{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

:focus-visible{
  outline:3px solid var(--white);
  outline-offset:2px;
  box-shadow:0 0 0 6px var(--magenta);
}

.container{max-width:540px;margin-inline:auto;padding-inline:.75rem}
@media (min-width:768px){.container{max-width:720px}}
@media (min-width:992px){.container{max-width:960px}}
@media (min-width:1200px){.container{max-width:1140px}}
@media (min-width:1400px){.container{max-width:1320px}}
.container-wide{max-width:1320px;margin-inline:auto;padding-inline:2rem}

/* ---------- Header / nav ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  transition:background-color .3s ease;
}
.site-header.scrolled,
.site-header.menu-open{background:var(--black)}
.nav{
  min-height:77px;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  transition:min-height .3s ease;
}
.site-header.scrolled .nav{min-height:60px}
.brand{
  font-size:var(--d5);line-height:1.2;
  color:var(--white);text-decoration:none;white-space:nowrap;
}
.nav-menu{display:flex;align-items:center}
.nav-link{
  display:block;position:relative;
  margin:0 1.25rem;padding:.5rem 0;
  font-size:var(--d4);color:var(--white);text-decoration:none;
}
.nav-link::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
  background:var(--white);
  transform:scaleX(0);transform-origin:left;
  transition:transform .3s ease,background-color .3s ease;
}
.nav-link:hover::after{transform:scaleX(1);background:var(--magenta)}
.nav-toggle{
  display:none;
  width:48px;height:48px;padding:0;
  background:none;border:0;cursor:pointer;
  place-items:center;
}
.hamburger{display:flex;flex-direction:column;gap:5px;width:26px}
.hamburger span{display:block;height:2px;background:var(--white)}
@media (max-width:991px){
  .nav-toggle{display:grid}
  .nav-menu{
    display:none;position:absolute;top:100%;left:0;right:0;
    background:var(--black);flex-direction:column;align-items:center;
    padding:1rem 0 1.5rem;
  }
  .nav-menu.open{display:flex}
  .nav-link{margin:.35rem 0}
}

/* ---------- Hero ---------- */
.hero{background:var(--black)}
.hero img{display:block;width:100%;height:auto}

/* ---------- Featured album ---------- */
.featured{background:var(--black)}
.featured-inner{
  display:grid;gap:2rem;
  padding:1rem;
}
@media (min-width:768px){.featured-inner{padding:2rem}}
@media (min-width:992px){
  .featured-inner{
    grid-template-columns:5fr 7fr;gap:0;align-items:center;
    padding:4rem;
  }
  .featured-text{padding-left:6.4rem}
}
.featured-media img{display:block;width:100%;height:auto}
.title-sky{color:var(--sky);margin-bottom:1.88rem}
.tracks{color:var(--white);line-height:1.6;margin-bottom:2rem}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.6rem;
  padding:.6rem 1.2rem;border:1px solid transparent;border-radius:4px;
  font-weight:500;color:var(--white);text-decoration:none;
  transition:background-color .25s ease,border-color .25s ease;
}
.btn svg{width:1.4rem;height:1.4rem;flex:none}
.btn-row{display:flex;flex-wrap:wrap;gap:.6rem}
.btn-green{background:var(--green);border-color:var(--green)}
.btn-green:hover{background:var(--green-dark);border-color:var(--green-dark)}
.btn-dark{background:var(--btn-dark);border-color:var(--btn-dark)}
.btn-dark:hover{background:var(--black);border-color:var(--black)}
.btn-blue{background:var(--blue);border-color:var(--blue)}
.btn-blue:hover{background:var(--blue-dark);border-color:var(--blue-dark)}
.btn-magenta{background:var(--magenta);border-color:var(--magenta)}
.btn-magenta:hover{background:var(--magenta-dark);border-color:var(--magenta-dark)}

/* ---------- In the Studio (parallax band) ---------- */
.studio{
  position:relative;
  padding:3rem 0;
  background:url("../images/studio-bg-1920x1440.jpg") center/cover no-repeat;
}
@media (min-width:992px){.studio{background-attachment:fixed}}
.studio::before{
  content:"";position:absolute;inset:0;background:rgba(0,0,0,.2);
}
.studio .panel{
  position:relative;
  background:var(--black);
  padding:1rem;
  display:grid;gap:2rem;
}
@media (min-width:768px){.studio .panel{padding:2rem}}
@media (min-width:992px){
  .studio .panel{grid-template-columns:1fr 1fr;gap:3rem;padding:5rem 3rem;align-items:start}
  .studio-text{padding-right:2rem}
}
.studio-text h2{margin-bottom:1.5rem}
.flow p{margin:0}
.flow p + p{margin-top:1.65rem}
.studio-media img{display:block;width:100%;height:auto}

/* ---------- Discography ---------- */
.discography{
  position:relative;
  padding:6rem 0;
  background:url("../images/really-cool.png-1536x1024.jpg") center/cover no-repeat;
}
.discography::before{
  content:"";position:absolute;inset:0;background:rgba(0,0,0,.5);
}
.discography .container{position:relative}
.section-title{text-align:center;color:var(--white);margin-bottom:3rem}
.card-grid{display:grid;gap:2rem}
@media (min-width:768px){.card-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:992px){.card-grid{grid-template-columns:repeat(3,1fr)}}
.card{
  display:flex;flex-direction:column;
  background:var(--black);
  border:1px solid var(--card-border);
  border-radius:4px;overflow:hidden;
  transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease;
}
.card:hover,.card:focus-within{
  transform:translateY(-4px);
  border-color:var(--magenta);
  box-shadow:0 14px 34px rgba(221,17,180,.28);
}
.card-img{display:block;overflow:hidden}
.card-img img{
  display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;
  transition:transform .5s ease;
}
.card:hover .card-img img,.card:focus-within .card-img img{transform:scale(1.04)}
.card-body{padding:1rem 1rem 0;flex:1}
@media (min-width:992px){.card-body{padding:2rem 2rem 0}}
.card-body h3{margin-bottom:.75rem}
.card-foot{padding:1rem;margin-top:auto}
@media (min-width:992px){.card-foot{padding:0 2rem 2rem}}

/* ---------- Buy Merch ---------- */
.merch{
  position:relative;
  padding:5rem 0;
  background:url("../images/merch-bg-1920x1440.jpg") center/cover no-repeat;
}
.merch::before{
  content:"";position:absolute;inset:0;background:rgba(6,6,6,.8);
}
.merch-inner{
  position:relative;
  display:grid;gap:3rem;align-items:center;
}
@media (min-width:992px){.merch-inner{grid-template-columns:1fr 1fr;gap:4rem}}
.merch-text h2{margin-bottom:24px}
.merch-copy{color:var(--gray-text);margin-bottom:24px}
.merch-media img{
  display:block;width:100%;height:350px;object-fit:cover;
}
@media (min-width:992px){.merch-media img{height:480px}}

/* ---------- Music videos ---------- */
.video-block{background:var(--black);padding:2.5rem 0}
.video-first{padding-top:5rem}
.video-last{padding-bottom:5rem}
.video-inner{display:flex;flex-direction:column;align-items:center}
.video-heading{color:var(--magenta);text-align:center}
.video-song{color:var(--white);text-align:center;margin:1rem 0 3.125rem}
.video-frame{
  position:relative;display:block;
  width:min(750px,100%);aspect-ratio:16/9;
  padding:0;border:0;border-radius:1.76rem;overflow:hidden;
  background:var(--black);cursor:pointer;
}
.video-frame img{
  display:block;width:100%;height:100%;object-fit:cover;
}
.play-badge{
  position:absolute;inset:0;margin:auto;
  width:6rem;height:6rem;border-radius:50%;
  background:rgba(0,0,0,.45);color:var(--ice);
  display:grid;place-items:center;
  transition:background-color .3s ease,color .3s ease,transform .3s ease;
}
.play-badge svg{width:3.4rem;height:3.4rem;margin-left:.35rem}
.video-frame:hover .play-badge,
.video-frame:focus-visible .play-badge{
  background:rgba(221,17,180,.88);color:var(--white);transform:scale(1.07);
}

/* ---------- Studio gallery ---------- */
.gallery{background:var(--black);padding:6rem 0}
.gallery-inner{padding-inline:1.5rem}
.gallery-grid{display:grid;gap:2rem}
@media (min-width:992px){.gallery-grid{grid-template-columns:repeat(3,1fr)}}
.g-card{
  border:1px solid var(--card-border);border-radius:4px;overflow:hidden;
  transition:border-color .35s ease,box-shadow .35s ease,transform .35s ease;
}
.g-card:hover{
  transform:translateY(-4px);border-color:var(--magenta);
  box-shadow:0 14px 34px rgba(221,17,180,.28);
}
.g-card img{display:block;width:100%;height:350px;object-fit:cover}
@media (min-width:992px){.g-card img{height:500px}}

/* ---------- Follow ---------- */
.follow{background:var(--black);padding:5rem 0}
.follow-title{text-align:center;color:var(--white);margin-bottom:30px}
.social-row{display:flex;justify-content:center;flex-wrap:wrap}
.social-link{
  width:64px;height:64px;border-radius:50%;
  display:grid;place-items:center;color:var(--white);
  transition:color .3s ease,transform .3s ease;
}
.social-link svg{width:36px;height:36px}
.social-link:hover{color:var(--magenta);transform:translateY(-3px)}

/* ---------- Footer ---------- */
.site-footer{
  position:relative;
  padding:4rem 0;
  background:url("../images/darkstarburn-notext-1920x1080.jpg-1-1536x1024.jpg") center/cover no-repeat;
  text-align:center;
}
.site-footer::before{
  content:"";position:absolute;inset:0;background:rgba(0,0,0,.5);
}
.site-footer .container{position:relative;max-width:none}
.footer-thanks{color:var(--white);margin-bottom:36px}
.footer-big{
  display:flex;justify-content:center;flex-wrap:wrap;gap:.25rem 0;
  margin-bottom:30px;
}
.footer-big a,.footer-small a{
  color:var(--footer-link);text-decoration:none;padding:0 10px;
  transition:color .3s ease;
}
.footer-msg,.footer-copy{color:var(--white)}
@media (min-width:992px){
  .footer-msg,.footer-copy{padding-inline:36%}
}
.footer-copy{margin-top:1.65rem;margin-bottom:60px}
.footer-line{
  width:110px;height:3px;background:var(--magenta);
  margin:0 auto 60px;
}
.footer-small{display:flex;justify-content:center;flex-wrap:wrap;gap:.25rem 0}

/* ---------- Video modal ---------- */
.modal{
  position:fixed;inset:0;z-index:200;
  display:grid;place-items:center;
}
.modal[hidden]{display:none}
.modal-backdrop{
  position:absolute;inset:0;background:rgba(61,61,61,.65);
}
.modal-box{position:relative;width:min(80vw,1100px)}
@media (max-width:767px){.modal-box{width:92vw}}
.modal-video{aspect-ratio:16/9;background:var(--black)}
.modal-video iframe{display:block;width:100%;height:100%;border:0}
.modal-close{
  position:absolute;top:-4.5rem;right:0;
  width:60px;height:60px;border-radius:50%;
  border:2px solid var(--white);background:transparent;color:var(--white);
  display:grid;place-items:center;cursor:pointer;
  transition:background-color .3s ease;
}
.modal-close svg{width:26px;height:26px}
.modal-close:hover{background:var(--black)}
body.modal-open{overflow:hidden}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none !important;animation:none !important}
  .studio{background-attachment:scroll}
  .card:hover,.g-card:hover,.social-link:hover{transform:none}
  .card:hover .card-img img{transform:none}
  .video-frame:hover .play-badge{transform:none}
}
