/* MUSIC 959 — minimal + aggressive (inspired by high-fashion ecom vibes).
   No frameworks, no build step. */

:root{
  --bg:#fff6f0;
  --fg:#0b0b0c;
  --muted:rgba(11,11,12,.70);
  --faint:rgba(11,11,12,.08);
  --line:rgba(11,11,12,.14);
  --red:#ff1a1a;
  --red2:#ff3b3b;
  --shadow: 0 18px 60px rgba(0,0,0,.10);
  --radius: 18px;
  --radius2: 28px;
  --wrap: 1120px;
}

*{box-sizing:border-box}
html,body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color:var(--fg);
  letter-spacing: .2px;
}
body{
  position:relative;
  min-height:100vh;
}
body::before,
body::after{
  content:"";
  position:fixed;
  inset:0;
  background-image: url("assets/factory959-icon.png");
  background-repeat:repeat;
  background-size: 96px 96px;
  opacity:.02;
  filter: blur(1.2px);
  pointer-events:none;
  z-index:0;
}
body::after{
  transform: translate(48px, 48px);
  opacity:.025;
}
body > *{position:relative; z-index:1}


a{color:inherit; text-decoration:none}
a[aria-disabled="true"]{opacity:.55; pointer-events:none}
.wrap{max-width:var(--wrap); margin:0 auto; padding:0 18px}

.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{left:18px; top:18px; width:auto; height:auto; padding:10px 12px; background:#fff; border:1px solid var(--line); border-radius:12px; z-index:50}

.topbar{
  position:sticky; top:0; z-index:40;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.78);
  border-bottom:1px solid var(--line);
}
.topbar .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:66px;
}
.brand{
  display:flex; align-items:baseline; gap:10px;
}
.brand .mark{
  font-weight:800;
  letter-spacing:-1px;
  display:inline-flex;
  padding:6px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border:1px solid var(--line);
}
.brand .name{font-weight:700; letter-spacing:2.2px; font-size:12px; opacity:.92}

.nav{display:flex; gap:18px; align-items:center}
.nav a{
  font-size:13px; opacity:.86;
  padding:10px 8px;
  border-radius:12px;
}
.nav a:hover{background:rgba(255,255,255,.06); opacity:1}
.pill{
  padding:10px 12px !important;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
}
.pill:hover{border-color:rgba(255,255,255,.28)}

.burger{
  display:none;
  background:transparent;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  gap:6px;
}
.burger span{
  display:block; width:18px; height:2px; background:var(--fg); opacity:.9;
}
.mobile{
  border-top:1px solid var(--line);
  display:flex;
  flex-direction:column;
  padding:0 18px;
  gap:6px;

  max-height:0;
  overflow:hidden;
  opacity:0;
  transform: translateY(-8px);
  transition: max-height .22s ease, opacity .18s ease, transform .22s ease, padding .22s ease;
}

.mobile a{padding:12px 10px; border-radius:12px}
.mobile a:hover{background:rgba(0,0,0,.05)}

.hero{padding:54px 0 26px}
.grid{display:grid; grid-template-columns: 1.15fr .85fr; gap:24px; align-items:stretch; margin-left:-8px}
.hero-right{max-width:100%}
.kicker{
  display:flex; align-items:center; gap:10px;
  font-size:12px; letter-spacing:2.4px; opacity:.85;
}
.kicker .dot{width:10px; height:10px; border-radius:50%; background:var(--red); box-shadow:0 0 28px rgba(255,26,26,.35)}
h1{
  margin:14px 0 12px;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: .98;
  letter-spacing:-1.4px;
}
.accent{color:var(--red)}
.lead{max-width:58ch; color:var(--muted); font-size:16px; line-height:1.5}
.lead strong{color:var(--fg)}
.cta{display:flex; gap:12px; margin:18px 0 14px; flex-wrap:wrap}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  font-size:14px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.btn:hover{transform: translateY(-1px); background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.24)}
.btn:active{transform: translateY(0px) scale(.99)}
.btn.primary{
  background: linear-gradient(180deg, rgba(255,26,26,.92), rgba(255,26,26,.76));
  border-color: rgba(255,26,26,.65);
  color:#ffffff;
  font-weight:700;
}
.btn.primary:hover{background: linear-gradient(180deg, rgba(255,26,26,.98), rgba(255,26,26,.78))}
.btn.ghost{background:rgba(255,255,255,.03)}
.btn.small{padding:10px 14px; font-size:13px}

.meta{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.chip{
  font-size:12px; color:rgba(11,11,12,.68);
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  padding:10px 12px; border-radius:999px;
}

.poster{
  height: 100%;
  min-height: 330px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(800px 500px at 20% 30%, rgba(255,26,26,.18), transparent 60%),
    radial-gradient(700px 500px at 90% 10%, rgba(255,255,255,.08), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.poster-inner{
  position:absolute; inset:0;
  padding:22px;
  display:flex; flex-direction:column;
  justify-content:flex-end;
  gap:10px;
}
.poster .big{
  font-size: 84px;
  font-weight: 800;
  letter-spacing:-3px;
  line-height: .9;
}
.poster .small{
  font-size: 12px;
  letter-spacing: 2.8px;
  color: rgba(11,11,12,.68);
}
.poster .small.red{color: rgba(255,26,26,.92)}

/* Hero slideshow inside poster */
.poster{background-size:cover; background-position:center; background-repeat:no-repeat; transition:background-image .4s ease, opacity .26s ease}
.poster.loading{opacity:.98}
.poster.loaded{opacity:1}
.scanline{
  position:absolute; inset:-40%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.06), transparent);
  transform: rotate(12deg);
  animation: scan 4.8s linear infinite;
  opacity:.55;
}
@keyframes scan{
  0%{transform: translateY(-20%) rotate(12deg)}
  100%{transform: translateY(40%) rotate(12deg)}
}

.ticker{
  margin-top:12px;
  border:1px solid var(--line);
  border-radius: 999px;
  overflow:hidden;
  background: rgba(255,255,255,.03);
}
.ticker-track{
  display:flex;
  gap:14px;
  padding:10px 14px;
  white-space:nowrap;
  animation: tick 18s linear infinite;
  font-size:12px;
  letter-spacing:2.6px;
  color:rgba(11,11,12,.68);
}
.ticker-track span:nth-child(3n+1){color:rgba(255,26,26,.9)}
@keyframes tick{
  0%{transform: translateX(0)}
  100%{transform: translateX(-50%)}
}

.section{padding:54px 0}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:18px; flex-wrap:wrap}
.section-head h2{margin:0; font-size:28px; letter-spacing:-.6px}
.section-head p{margin:0; color:var(--muted); max-width:70ch}

.cards{margin-top:18px; display:grid; gap:14px; grid-template-columns: repeat(3, minmax(0,1fr))}
.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  overflow:hidden;
}
.card-body{padding:14px 14px 16px}
.card h3{margin:0 0 6px; font-size:16px}
.artist-link{
  color:inherit;
  text-decoration:none;
  border-bottom:1px solid transparent;
}
.artist-link:hover{border-bottom-color:rgba(255,255,255,.4)}
.muted{color:var(--muted)}
.tiny{font-size:12px; line-height:1.45}
.row{display:flex; align-items:center; gap:10px}
.artist-tg-grid{
  margin-top:14px;
  display:grid;
  gap:14px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.artist-tg-grid .btn{justify-content:center; text-align:center; width:100%}
.sep{opacity:.35}
.link{opacity:.92; border-bottom:1px solid rgba(255,255,255,.22)}
.link:hover{opacity:1; border-bottom-color:rgba(255,255,255,.5)}
.ym-embed{
  width:100%;
  height:180px;
  border:0;
  display:block;
  margin-top:10px;
}

.note{
  margin-top:18px;
  border:1px dashed rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding:14px;
  display:flex; gap:12px; align-items:flex-start;
  background: rgba(255,255,255,.02);
}
.note-mark{color:rgba(255,26,26,.92)}

.cards.artists .card{display:flex; gap:12px; align-items:center; padding:14px}
.avatar{
  width:54px; height:54px; border-radius: 16px;
  display:grid; place-items:center;
  font-weight:800; letter-spacing:-1px;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.14);
  position:relative;
  overflow:hidden;
}
.avatar-img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:0;
  transition: opacity .18s ease;
}
.avatar.has-img .avatar-img{opacity:1}
.avatar-initial{position:relative; z-index:1}
.avatar.alt{background: radial-gradient(140px 90px at 30% 20%, rgba(255,26,26,.18), transparent 60%),
  linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02));}
.avatar.alt2{background: radial-gradient(140px 90px at 70% 80%, rgba(255,26,26,.14), transparent 60%),
  linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02));}

.studio-title{display:flex; align-items:center; gap:10px}
.studio-icon{
  width:32px; height:32px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  object-fit:cover;
}

.divider{
  margin:26px 0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}

.two-col{
  display:grid; gap:18px;
  grid-template-columns: 1fr 1fr;
}
.h3{margin:0 0 10px; font-size:18px}
.list{margin:0; padding-left:18px; color:var(--muted)}
.list li{margin:8px 0}

.cards.studio{grid-template-columns: repeat(3, minmax(0,1fr))}
.cards.studio .card{padding:16px}
.cards.studio .card p{margin:0}

/* Studio gallery */
.studio-gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}
.studio-photo{position:relative; overflow:hidden; border-radius:16px;}
.studio-photo img{display:block; width:100%; height:auto; object-fit:cover; border-radius:12px;}
.studio-photo figcaption{
  position:absolute; left:12px; bottom:12px; right:12px;
  padding:8px 12px; border-radius:12px;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.32));
  color:#fff; font-weight:600; font-size:14px; letter-spacing:0.6px;
}

@media (max-width:920px){
  .studio-gallery{grid-template-columns: 1fr;}
}

.pricing{
  margin-top:18px;
  display:grid; gap:14px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.price{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:16px;
}
.price-top{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px}
.tag{
  font-size:11px; letter-spacing:1.8px;
  padding:7px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  opacity:.9;
}
.tag.red{border-color: rgba(255,26,26,.55); color: rgba(255,26,26,.92)}
.price ul{margin:12px 0 14px; padding-left:18px; color:var(--muted)}
.price li{margin:8px 0}
.price.featured{
  border-color: rgba(255,26,26,.45);
  background: radial-gradient(700px 360px at 10% 0%, rgba(255,26,26,.12), transparent 60%),
             rgba(255,255,255,.03);
}
.offer{margin-top:14px}
.offer .card-body{padding:18px}
.offer .muted{line-height:1.6}
.offer-row{justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:12px}
.offer .btn.primary{min-width:220px}

.contact{padding-bottom:72px}
.contact-grid{
  margin-top:18px;
  display:grid; gap:14px;
  grid-template-columns: 1.15fr .85fr;
  align-items:start;
}
.form{padding:16px}
.form label{display:flex; flex-direction:column; gap:8px; margin-bottom:12px}
.form span{font-size:12px; letter-spacing:1.6px; opacity:.8}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.72);
  color: var(--fg);
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(255,26,26,.55); box-shadow: 0 0 0 4px rgba(255,26,26,.12)}
.form-row{margin-top:6px; flex-wrap:wrap}
.info{padding:16px}
.info-links{display:flex; flex-direction:column; gap:10px; margin:12px 0 6px}
.social-short{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:8px 0 6px;
}
.social-short a{
  font-size:12px;
  letter-spacing:1px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  opacity:.8;
}
.social-short a:hover{opacity:1; border-color:rgba(255,255,255,.3)}
.biglink{
  font-size:16px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.biglink:hover{border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.05)}

.footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  background: rgba(255,255,255,.70);
}
.footer-row{
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
}

/* Responsive */
@media (max-width: 920px){
  .grid{grid-template-columns: 1fr}
  .hero-left{max-width:100%; text-align:center}
  .poster{min-height: 0}
  .cards{grid-template-columns: repeat(2, minmax(0,1fr))}
  .cards.studio{grid-template-columns: repeat(2, minmax(0,1fr))}
  .artist-tg-grid{grid-template-columns: repeat(2, minmax(0,1fr))}
  .pricing{grid-template-columns: 1fr}
  .contact-grid{grid-template-columns: 1fr}
  .two-col{grid-template-columns: 1fr}
  .nav{display:none}
  .burger{display:inline-flex; align-items:center; justify-content:center}
  /* hide heavy hero/poster slideshow and studio gallery on mobile */
  .hero-slideshow{display:none}
  .studio-gallery{display:none}
  /* hide poster (background) and ticker on mobile to keep hero compact */
  .poster{display:none}
  .ticker{display:none}
  /* tighten hero spacing and font sizes */
  .hero{padding:28px 0 18px}
  h1{font-size:28px; line-height:1.08}
  .lead{font-size:15px; max-width:48ch}
}
@media (max-width: 560px){
  .cards{grid-template-columns: 1fr}
  .cards.studio{grid-template-columns: 1fr}
  .artist-tg-grid{grid-template-columns: 1fr}
  .cards.studio .card{padding:14px}
  .cards.studio .card h3{font-size:16px}
  .cards.studio .card p{font-size:14px; line-height:1.45; word-break:break-word; hyphens:auto}
  .poster .big{font-size:72px}
}

/* poster text force */
.poster, .poster *{color:#ffffff;}

.mobile.open{
  padding:10px 18px 18px;
  max-height:420px;
  opacity:1;
  transform: translateY(0);
}
