/* ============================================================
   MUSEx™ — a MUSxID™ platform · Light & Loud
   ============================================================ */

@font-face { font-family: 'Axiforma'; src: url('fonts/Axiforma-Regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Axiforma'; src: url('fonts/Axiforma-SemiBold.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Axiforma'; src: url('fonts/Axiforma-Bold.woff') format('woff'); font-weight: 700; font-display: swap; }

:root {
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --ink: #16130E;
  --inksoft: #3D382F;
  --muted: #6E675C;
  --faint: #9C948A;
  --line: #E7E2D9;
  --linestrong: #D8D2C6;
  --mag: #D80080;
  --pur: #8A1FD0;
  --vio: #5000F8;
  --grad: linear-gradient(135deg, #D80080 0%, #8A1FD0 55%, #5000F8 100%);
  --sans: 'Axiforma', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Newsreader', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1380px; margin: 0 auto; padding: 0 40px; }

/* ---------------- nav ---------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(251,250,247,0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: 1380px; margin: 0 auto; padding: 0 40px;
  height: 100px; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 72px; width: auto; display: block; transition: transform .18s ease; }
.nav-brand:hover img { transform: scale(1.05); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--inksoft); transition: color .2s; }
.nav-links a:hover { color: var(--mag); }
.nav-cta {
  background: var(--ink); color: var(--paper) !important;
  padding: 11px 22px; border-radius: 100px; transition: background .2s !important;
}
.nav-cta:hover { background: var(--mag); color: #fff !important; }

/* ---------------- hero ---------------- */
.hero { padding: 200px 0 60px; }
.kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 34px;
}
.kicker img { height: 18px; width: auto; }
.kicker b { color: var(--mag); font-weight: 600; }
.mega {
  font-weight: 700;
  font-size: clamp(64px, 10.6vw, 164px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.mega .stroke {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--ink);
}
.mega .pop { color: var(--mag); }
.hero-sub {
  margin-top: 40px; max-width: 620px;
  display: flex; align-items: flex-start; gap: 20px;
}
.hero-sub p { font-size: 19px; line-height: 1.6; color: var(--inksoft); }
.hero-sub .serif { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink); }
.hero-actions { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 17px 34px; border-radius: 100px; border: 2px solid var(--ink);
  cursor: pointer; transition: all .22s;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--mag); border-color: var(--mag); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--mag); color: var(--mag); transform: translateY(-2px); }

/* ---------------- marquee ---------------- */
.marquee {
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  overflow: hidden; white-space: nowrap; padding: 18px 0; margin: 50px 0 0;
  background: var(--white);
}
.marquee-track { display: inline-block; animation: marq 28s linear infinite; }
.marquee span {
  font-weight: 700; font-size: 20px; letter-spacing: 0.08em; text-transform: uppercase;
  margin-right: 18px;
}
.marquee .x { color: var(--mag); }
.marquee .x img { display: inline-block; height: 16px; width: auto; vertical-align: -1px; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- section headers ---------------- */
.section { padding: 110px 0 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 46px; }
.sec-title {
  font-weight: 700; font-size: clamp(44px, 6.4vw, 96px);
  letter-spacing: -0.03em; text-transform: uppercase; line-height: 1;
}
.sec-title em { font-style: normal; color: var(--mag); }
.sec-count { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0.1em; }
.sec-lede { max-width: 560px; font-size: 17px; line-height: 1.65; color: var(--inksoft); }

/* ---------------- collection grid ---------------- */
.collection { background: var(--white); border-top: 1px solid var(--line); padding-bottom: 110px; }
.grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.cover {
  position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 6px;
  background: var(--paper); cursor: pointer;
}
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cover:hover img { transform: scale(1.05); }
.cover-meta {
  position: absolute; inset: auto 0 0 0;
  background: rgba(22,19,14,0.92);
  color: var(--paper);
  padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  transform: translateY(101%); transition: transform .3s ease;
}
.cover:hover .cover-meta { transform: translateY(0); }
.cover-meta b { font-size: 13px; letter-spacing: 0.03em; display: block; }
.cover-meta i { font-style: normal; font-size: 11px; color: var(--faint); display: block; margin-top: 2px; }
.score-pill {
  flex: none; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 100px;
  background: var(--grad); color: #fff; letter-spacing: 0.04em;
}
.tag-pill {
  flex: none; font-size: 10px; font-weight: 700; padding: 5px 10px; border-radius: 100px;
  background: var(--paper); color: var(--ink); letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------------- statement ---------------- */
.statement { padding: 130px 0; }
.statement p {
  font-weight: 700; font-size: clamp(30px, 4.4vw, 62px);
  line-height: 1.16; letter-spacing: -0.02em; max-width: 1160px;
}
.statement .hl { color: var(--mag); }
.statement .ghost { color: var(--faint); }

/* ---------------- stats ---------------- */
.stats { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--white); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 54px 40px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat b { display: block; font-size: clamp(46px, 5vw, 78px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat b em { font-style: normal; color: var(--mag); }
.stat span { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------------- how ---------------- */
.how { padding-bottom: 40px; }
.step {
  display: grid; grid-template-columns: 200px 1fr auto; gap: 40px; align-items: center;
  padding: 44px 0; border-bottom: 1px solid var(--line);
}
.step:first-of-type { border-top: 1px solid var(--line); }
.step-num {
  font-weight: 700; font-size: clamp(50px, 6vw, 96px); letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 2px var(--linestrong);
  transition: all .3s;
}
.step:hover .step-num { color: var(--mag); -webkit-text-stroke: 2px var(--mag); }
.step h3 { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { font-size: 16px; line-height: 1.6; color: var(--inksoft); max-width: 640px; }
.step-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mag); }

/* ---------------- feature split blocks ---------------- */
.feat {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
  padding: 90px 0; border-bottom: 1px solid var(--line);
}
.feat-img { border-radius: 8px; overflow: hidden; }
.feat h2 { font-size: clamp(34px, 4vw, 58px); font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.02; margin-bottom: 20px; }
.feat h2 em { font-style: normal; color: var(--mag); }
.feat p { font-size: 17px; line-height: 1.7; color: var(--inksoft); margin-bottom: 16px; }
.feat ul { list-style: none; margin-top: 8px; }
.feat li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; display: flex; gap: 12px; align-items: baseline; }
/* brand mark as the bullet — never a generic X */
.feat li::before {
  content: ''; flex: 0 0 14px; width: 14px; height: 14px;
  background: url('img/musex-mark.png') center / contain no-repeat;
  transform: translateY(2px);
}

/* ---------------- field wall ---------------- */
.wall { display: flex; flex-wrap: wrap; gap: 10px; }
.wall span {
  font-weight: 700; font-size: clamp(16px, 2vw, 26px); letter-spacing: 0.02em; text-transform: uppercase;
  border: 2px solid var(--ink); border-radius: 100px; padding: 12px 22px;
  transition: all .2s; cursor: default;
}
.wall span:hover { background: var(--mag); border-color: var(--mag); color: #fff; transform: rotate(-2deg); }

/* ---------------- catalog table ---------------- */
.catalog { border: 1px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--white); }
.cat-row {
  display: grid; grid-template-columns: 60px 2fr 1.4fr 1fr 1fr 90px; gap: 16px; align-items: center;
  padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 15px;
}
.cat-row:last-child { border-bottom: none; }
.cat-row.head { background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.cat-row b { font-weight: 700; }
.cat-row .mut { color: var(--muted); font-size: 13px; }
.cat-score { justify-self: end; }

/* ---------------- score ring / demo ---------------- */
.ring-wrap { position: relative; width: 300px; height: 300px; margin: 0 auto; }
.ring-wrap svg { transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line); stroke-width: 16; }
.ring-fg { fill: none; stroke: url(#scoreGrad); stroke-width: 16; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2,.7,.2,1); }
.ring-num {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.15s ease;
}
.ring-num b { font-size: 84px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.ring-num span { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* brand X-pulse — the mark beats at the hub while the score recompiles */
.ring-xpulse { position: absolute; inset: 0; margin: auto; width: 76px; height: auto; opacity: 0; pointer-events: none; transition: opacity 0.15s ease; }
.ring-wrap.compiling .ring-xpulse { opacity: 1; animation: xbeat 0.62s ease-in-out infinite; }
.ring-wrap.compiling .ring-num { opacity: 0; }
@keyframes xbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }

.demo { display: grid; grid-template-columns: 1fr 380px; gap: 70px; align-items: center; padding: 40px 0 110px; }
.demo-controls { display: flex; flex-direction: column; gap: 14px; }
.ctl {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 2px solid var(--ink); border-radius: 12px; padding: 18px 22px;
  cursor: pointer; transition: all .2s; background: var(--white);
}
.ctl:hover { transform: translateX(4px); }
.ctl.on { background: var(--ink); color: var(--paper); }
.ctl.on .ctl-pts { color: var(--mag); }
.ctl b { font-size: 15px; letter-spacing: 0.02em; }
.ctl i { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 3px; }
.ctl.on i { color: var(--faint); }
.ctl-pts { font-weight: 700; font-size: 15px; flex: none; }
.score-label { text-align: center; margin-top: 22px; font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.score-label.ready { color: var(--mag); }

/* ---------------- factor bars ---------------- */
.bars { display: flex; flex-direction: column; gap: 26px; max-width: 760px; }
.bar-row b { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.bar { height: 14px; border-radius: 100px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 100px; background: var(--grad); transition: width 1.2s cubic-bezier(.2,.7,.2,1); }

/* ---------------- CTA band ---------------- */
.cta-band { background: var(--mag); color: #fff; padding: 110px 0; margin-top: 110px; }
.cta-band .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; }
.cta-band h2 {
  font-weight: 700; font-size: clamp(52px, 8vw, 130px); letter-spacing: -0.03em;
  text-transform: uppercase; line-height: 0.95;
}
.cta-band h2 span { color: var(--ink); }
.btn-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-paper:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-2px); }
.cta-note { font-size: 14px; color: rgba(255,255,255,0.85); }

/* ---------------- footer ---------------- */
.footer { background: var(--ink); color: var(--paper); padding: 80px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.foot-brand img { height: 90px; width: auto; margin-bottom: 20px; }
.foot-brand p { font-size: 14px; line-height: 1.7; color: var(--faint); max-width: 340px; }
.foot-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.foot-col a { display: block; font-size: 15px; font-weight: 600; padding: 7px 0; color: var(--paper); transition: color .2s; }
.foot-col a:hover { color: var(--mag); }
.foot-legal { border-top: 1px solid rgba(251,250,247,0.15); padding-top: 28px; font-size: 12px; line-height: 1.8; color: var(--faint); }

/* ---------------- reveal ---------------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .feat, .demo { grid-template-columns: 1fr; gap: 40px; }
  .step { grid-template-columns: 110px 1fr; }
  .step-tag { grid-column: 2; }
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .wrap, .nav-in { padding: 0 22px; }
  .nav-in { height: 78px; }
  .nav-brand img { height: 54px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero { padding-top: 150px; }
  .cover-meta { transform: translateY(0); padding: 8px 10px; }
  .cover-meta i { display: none; }
}
