/* ==========================================================================
   Wonder Music Factory
   Palette lifted from the existing brand: navy #0e1724, gold #c58b1e,
   heading gold #c99636, cream #efe9df, industrial silver.
   ========================================================================== */

:root {
  --navy:        #0e1724;
  --navy-deep:   #091020;
  --navy-soft:   #16243a;
  --gold:        #c58b1e;
  --gold-bright: #e0a82e;
  --gold-head:   #c99636;
  --cream:       #efe9df;
  --cream-deep:  #e3dacb;
  --ink:         #1f1f21;
  --ink-soft:    #3e3e42;
  --muted:       #585757;
  --silver:      #c7c7c7;
  --white:       #ffffff;

  --bg:      var(--white);
  --fg:      var(--ink);
  --fg-soft: var(--muted);
  --line:    rgba(14, 23, 36, .14);
  --card:    var(--white);

  --font-head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --radius: 12px;
  --shadow: 0 2px 4px rgba(14,23,36,.06), 0 12px 32px rgba(14,23,36,.10);
  --shadow-lg: 0 4px 10px rgba(14,23,36,.10), 0 24px 60px rgba(14,23,36,.18);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #9a6c12; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.12;
  margin: 0 0 .5em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; inset-inline-start: 12px; inset-block-start: 12px; z-index: 999;
  background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.hp { position: absolute !important; left: -9999px !important; opacity: 0; }

:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; border-radius: 4px; }

/* -------------------------------------------------- Announcement + header */

.announce {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .03em;
  padding: 8px 16px;
  text-transform: uppercase;
  font-family: var(--font-head);
}

.site-head {
  position: sticky; top: 0; z-index: 60;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}
.head-inner { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { flex: 0 0 auto; padding: 8px 0; }
.brand img { width: clamp(132px, 16vw, 186px); height: auto; }

.nav { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav > a, .sub-toggle {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: .92rem;
  letter-spacing: .05em;
  color: var(--cream);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 6px;
  background: none; border: 0; cursor: pointer;
}
.nav > a:hover, .sub-toggle:hover, .nav > a:focus-visible { color: var(--navy); background: var(--gold); }
.cart-link { border: 2px solid rgba(239,233,223,.35); }
.badge {
  display: inline-block; min-width: 20px; padding: 0 5px;
  background: var(--gold); color: var(--navy); border-radius: 99px;
  font-size: .78rem; text-align: center;
}

.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 6px); inset-inline-start: 0;
  background: var(--navy-soft); border: 1px solid rgba(197,139,30,.4);
  border-radius: 10px; padding: 8px; min-width: 232px;
  box-shadow: var(--shadow-lg); display: none; z-index: 70;
}
.has-sub.open .sub { display: block; }
.sub a {
  display: block; padding: 9px 12px; border-radius: 6px;
  color: var(--cream); text-decoration: none; font-size: .95rem;
}
.sub a:hover { background: var(--gold); color: var(--navy); }

.nav-toggle { display: none; margin-inline-start: auto; background: none; border: 0; padding: 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--cream); border-radius: 2px; }
.nav-toggle span + span { margin-top: 5px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; width: 100%; order: 3;
    flex-direction: column; align-items: stretch; gap: 0;
    padding-bottom: 12px;
  }
  .head-inner { flex-wrap: wrap; }
  .nav.open { display: flex; }
  .nav > a, .sub-toggle { width: 100%; text-align: start; padding: 13px 8px; border-radius: 0; border-bottom: 1px solid rgba(239,233,223,.12); }
  .sub { position: static; display: none; background: rgba(0,0,0,.25); border: 0; box-shadow: none; }
  .has-sub.open .sub { display: block; }
}

/* -------------------------------------------------- Sections */

.section { padding: clamp(48px, 7vw, 92px) 0; }
.section-cream { background: var(--cream); }
.section-dark  { background: var(--navy); color: var(--cream); }
.section-navy  { background: var(--navy-soft); color: var(--cream); }
.section-gold  { background: var(--gold); color: var(--navy); }

.section-dark h1, .section-dark h2, .section-dark h3,
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--gold-head); }
.section-dark a, .section-navy a { color: var(--gold-bright); }
.section-gold h2 { color: var(--navy); }
.section-gold a  { color: var(--navy); }

.section-head { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--fg-soft); }
.section-dark .lede, .section-navy .lede { color: rgba(239,233,223,.82); }
.section-gold .lede { color: rgba(14,23,36,.82); }

.kicker {
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .16em; font-size: .82rem; font-weight: 600;
  color: var(--gold); margin-bottom: .35rem;
}
.kicker-sm { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em;
             font-size: .72rem; color: var(--muted); margin: 0 0 .25rem; }
.tagline-em { font-style: italic; color: var(--gold-head); font-weight: 600; }
.empty { text-align: center; color: var(--fg-soft); padding: 48px 0; }

/* -------------------------------------------------- Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .06em; font-size: .95rem; font-weight: 600;
  padding: 13px 26px; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .12s ease, background .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: .84rem; }

.btn-gold    { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-bright); color: var(--navy); }
.btn-dark    { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-soft); color: var(--white); }
.btn-outline { background: transparent; color: currentColor; border-color: currentColor; }
.btn-outline:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-ghost   { background: transparent; border-color: rgba(255,255,255,.4); color: var(--cream); }

.link-btn { background: none; border: 0; padding: 0; color: #9a6c12; cursor: pointer;
            font: inherit; text-decoration: underline; }

/* -------------------------------------------------- Hero */

.hero { position: relative; background: var(--navy); color: var(--cream); overflow: hidden; }
.hero-inner { position: relative; z-index: 2; padding: clamp(72px, 12vw, 148px) 16px; max-width: 880px; text-align: center; margin-inline: auto; }
.hero-title { color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,.5); margin-bottom: .4em; }
.hero-sub { font-size: clamp(1.06rem, 1.9vw, 1.32rem); color: rgba(239,233,223,.9); max-width: 680px; margin-inline: auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-actions .btn-outline { color: var(--cream); }

.factory-scene { position: absolute; inset: 0; z-index: 1; opacity: .55; pointer-events: none; }
.hero-scene::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(14,23,36,.35) 0%, rgba(14,23,36,.85) 72%);
}
.page-head { position: relative; background: var(--navy); color: var(--cream); overflow: hidden; padding: clamp(46px, 7vw, 82px) 0; }
.page-head .wrap { position: relative; z-index: 2; max-width: 860px; }
.page-head h1 { color: var(--white); }
.page-head .lede { color: rgba(239,233,223,.85); }
.head-scene { opacity: .35; }

/* -------------------------------------------------- Collections */

.collections { display: grid; gap: clamp(28px, 4vw, 52px); }
.collection-row {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 3.5vw, 48px);
  align-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(197,139,30,.26);
  border-radius: var(--radius); padding: clamp(16px, 2.4vw, 28px);
}
.collection-row.flip .collection-art { order: 2; }
.collection-art { position: relative; min-height: 190px; border-radius: 10px; overflow: hidden; background: var(--navy-deep); }
.collection-art img { width: 100%; height: 100%; object-fit: cover; }
.art-scene { position: absolute; inset: 0; opacity: .85; }
.collection-copy h3 { color: var(--gold-head); }
.collection-copy p { color: rgba(239,233,223,.8); }

@media (max-width: 820px) {
  .collection-row, .collection-row.flip { grid-template-columns: 1fr; }
  .collection-row.flip .collection-art { order: 0; }
}

/* -------------------------------------------------- Why / quotes */

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 36px; }
.why-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
            padding: 30px 24px; text-align: center; box-shadow: var(--shadow); }
.why-ico { font-size: 2.1rem; display: block; margin-bottom: 8px; }
.why-card h3 { color: var(--gold-head); letter-spacing: .1em; }

.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 36px; }
.quote { margin: 0; background: rgba(255,255,255,.05); border: 1px solid rgba(197,139,30,.3);
         border-radius: var(--radius); padding: 28px 24px; }
.quote blockquote { margin: 0 0 14px; font-size: 1.08rem; font-style: italic; color: var(--cream); }
.quote blockquote::before { content: "\201C"; color: var(--gold); font-size: 2.4rem; line-height: 0;
                            vertical-align: -.35em; margin-inline-end: 4px; font-family: var(--font-head); }
.quote figcaption { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em;
                    font-size: .84rem; color: var(--gold-head); }

.story-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.story-scene { position: relative; min-height: 280px; border-radius: var(--radius); overflow: hidden;
               background: var(--navy); opacity: 1; }
@media (max-width: 820px) { .story-grid { grid-template-columns: 1fr; } .story-scene { min-height: 200px; } }

/* -------------------------------------------------- Signup */

.signup-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.signup-form input[type=email] {
  flex: 1 1 300px; max-width: 380px; padding: 14px 16px; font: inherit;
  border: 2px solid var(--navy); border-radius: 8px; background: var(--white); color: var(--ink);
}

/* -------------------------------------------------- Players */

.preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.preview-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
                padding: 26px 24px; box-shadow: var(--shadow); }
.preview-card h2, .preview-card h3 { color: var(--navy); margin-bottom: .3em; }
.blurb { color: var(--fg-soft); font-size: .96rem; }
.preview-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }

.player { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.play {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--navy); border: 0; cursor: pointer;
  display: grid; place-items: center; transition: background .15s ease;
}
.play:hover { background: var(--gold-bright); }
.play.is-playing svg { display: none; }
.play.is-playing::before {
  content: ""; width: 14px; height: 14px;
  border-inline: 4px solid var(--navy); box-sizing: content-box;
}
.play-sm { width: 34px; height: 34px; }
.play-sm.is-playing::before { width: 10px; height: 10px; border-width: 3px; }

.bar { flex: 1 1 auto; height: 6px; background: rgba(14,23,36,.16); border-radius: 99px; overflow: hidden; cursor: pointer; }
.bar-fill { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 99px; }
.time { font-variant-numeric: tabular-nums; font-size: .85rem; color: var(--muted); min-width: 40px; }

/* -------------------------------------------------- Albums */

.collection-tabs { background: var(--cream-deep); border-bottom: 1px solid var(--line); position: sticky; top: 78px; z-index: 40; }
.tabs-inner { display: flex; gap: 4px; overflow-x: auto; padding-block: 8px; scrollbar-width: thin; }
.tabs-inner a {
  flex: 0 0 auto; padding: 9px 15px; border-radius: 99px; text-decoration: none;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em;
  font-size: .84rem; color: var(--ink-soft); white-space: nowrap;
}
.tabs-inner a:hover { background: rgba(197,139,30,.22); color: var(--navy); }
.tabs-inner a.on { background: var(--navy); color: var(--cream); }
@media (max-width: 900px) { .collection-tabs { top: 0; position: static; } }

.album-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.album-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
              overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
              transition: transform .16s ease, box-shadow .16s ease; }
.album-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.album-art { display: block; aspect-ratio: 5 / 2; background: var(--navy); position: relative; }
.album-art img { width: 100%; height: 100%; object-fit: cover; }
.album-art-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-family: var(--font-head); text-transform: uppercase; color: var(--gold-head);
  font-size: 1.15rem; padding: 16px; letter-spacing: .08em;
}
.album-body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.album-body h2 { font-size: 1.22rem; margin: 0; }
.album-body h2 a { color: var(--navy); text-decoration: none; }
.album-body h2 a:hover { color: var(--gold); }
.album-sub { color: var(--fg-soft); font-size: .95rem; margin: 0; }
.price { font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); margin: 8px 0 0; }
.price s { color: var(--muted); font-size: .9rem; margin-inline-end: 6px; }
.price-lg { font-size: 2rem; }
.album-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; }
.album-actions form { margin: 0; }

.album-hero { background: var(--navy); color: var(--cream); padding: clamp(36px, 5vw, 64px) 0; }
.album-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.album-hero-art { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 220px; background: var(--navy-deep); }
.album-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.album-hero-copy h1 { color: var(--white); }
.album-hero-copy .lede, .album-hero-copy .prose { color: rgba(239,233,223,.85); }
.album-hero-copy .price { color: var(--gold-head); }
.album-hero-copy .kicker a { color: var(--gold); text-decoration: none; }
.buy-form { margin: 18px 0; }
.assurances { list-style: none; padding: 0; margin: 18px 0 0; font-size: .93rem; color: rgba(239,233,223,.8); }
.assurances li { padding-inline-start: 26px; position: relative; margin-bottom: 7px; }
.assurances li::before { content: "\2713"; position: absolute; inset-inline-start: 0; color: var(--gold); font-weight: 700; }
@media (max-width: 820px) { .album-hero-grid { grid-template-columns: 1fr; } }

.tracklist { list-style: none; counter-reset: none; padding: 0; margin: 0; }
.track { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center;
         padding: 14px 6px; border-bottom: 1px solid var(--line); }
.track-no { font-family: var(--font-head); color: var(--gold); font-size: 1.05rem; }
.track-name { font-weight: 600; }
.track-name small { display: block; font-weight: 400; color: var(--muted); font-size: .86rem; }
.track-muted { font-size: .82rem; color: var(--muted); }
.player-inline { margin: 0; min-width: 150px; }
.player-inline .bar { display: block; }
@media (max-width: 620px) {
  .track { grid-template-columns: 34px 1fr; }
  .player-inline { grid-column: 2; min-width: 0; }
}

/* -------------------------------------------------- FAQ */

.faq-search input {
  width: 100%; padding: 14px 18px; font: inherit; border: 2px solid var(--line);
  border-radius: 10px; margin-bottom: 26px; background: var(--white);
}
.faq-search input:focus { border-color: var(--gold); outline: none; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: var(--white); }
.faq-item summary {
  cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-head); font-size: 1.5rem; color: var(--gold); line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item[open] summary { color: var(--navy); border-bottom: 1px solid var(--line); }
.faq-item .prose { padding: 16px 20px 4px; }
.faq-none { text-align: center; color: var(--muted); }

/* -------------------------------------------------- Prose */

.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin: 0 0 1rem; }
.prose li { margin-bottom: .4rem; }
.prose-page h2 { margin-top: 2.2em; color: var(--navy); scroll-margin-top: 100px; }
.prose-page h2:first-of-type { margin-top: 0; }
.todo { background: rgba(197,139,30,.12); border: 1px dashed var(--gold); border-radius: 8px; padding: 14px 18px; }

.jump { background: var(--cream-deep); border-bottom: 1px solid var(--line); }
.jump-inner { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; }
.jump-inner a { flex: 0 0 auto; font-size: .86rem; padding: 7px 14px; border-radius: 99px;
                text-decoration: none; color: var(--ink-soft); white-space: nowrap; }
.jump-inner a:hover { background: var(--navy); color: var(--cream); }

.support-note {
  background: var(--navy); color: var(--cream); border-radius: var(--radius);
  padding: 24px 26px; margin: 34px 0; border-inline-start: 5px solid var(--gold);
}
.support-note h3 { color: var(--gold-head); margin-bottom: .4em; }
.support-note p { margin: 0; }
.support-note a { color: var(--gold-bright); }

/* -------------------------------------------------- Forms / cards */

.form p { margin-bottom: 16px; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .94rem; }
.form input[type=text], .form input[type=email], .form input[type=password],
.form input[type=number], .form input[type=url], .form textarea, .form select {
  width: 100%; padding: 12px 14px; font: inherit; border: 2px solid var(--line);
  border-radius: 8px; background: var(--white); color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--gold); outline: none; }
.form textarea { resize: vertical; min-height: 130px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .row-2 { grid-template-columns: 1fr; } }
.form-note { font-size: .88rem; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 4vw, 52px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 26px; box-shadow: var(--shadow); margin-bottom: 22px; }
.card h2 { font-size: 1.22rem; color: var(--navy); }
.card-gold { background: var(--cream); border-color: rgba(197,139,30,.4); }

.notice { border-radius: var(--radius); padding: 20px 24px; margin-bottom: 22px; border: 1px solid; }
.notice h2 { font-size: 1.2rem; margin-bottom: .3em; }
.notice ul { margin: 0; padding-inline-start: 1.2em; }
.notice-ok   { background: #eaf6ee; border-color: #a9d8bb; color: #14462a; }
.notice-err  { background: #fdecec; border-color: #f0b4b4; color: #7a1d1d; }
.notice-warn { background: #fdf4e3; border-color: var(--gold); color: #6b4a08; }

.flashes { padding-top: 16px; }
.flash { border-radius: 8px; padding: 12px 18px; margin-bottom: 10px; font-weight: 600; }
.flash-ok   { background: #eaf6ee; color: #14462a; }
.flash-err  { background: #fdecec; color: #7a1d1d; }
.flash-warn { background: #fdf4e3; color: #6b4a08; }

/* -------------------------------------------------- Cart / downloads */

.cart-list { list-style: none; padding: 0; margin: 0 0 24px; }
.cart-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center;
            padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-row img { border-radius: 6px; object-fit: cover; width: 120px; height: 52px; }
.cart-info h2 { font-size: 1.05rem; margin: 0; }
.cart-info h2 a { color: var(--navy); text-decoration: none; }
.cart-info p { margin: 0; font-size: .88rem; color: var(--muted); }
.cart-price { font-family: var(--font-head); font-size: 1.15rem; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline;
              font-family: var(--font-head); font-size: 1.5rem; padding: 18px 0; border-bottom: 3px solid var(--navy); margin-bottom: 26px; }
@media (max-width: 620px) {
  .cart-row { grid-template-columns: 1fr auto; }
  .cart-row img { display: none; }
}

.download-list, .download-tracks { list-style: none; padding: 0; margin: 0 0 24px; }
.download-list li, .download-tracks li {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.download-list li strong, .download-tracks li span:first-child { flex: 1 1 200px; }
.download-list small { flex-basis: 100%; color: var(--muted); font-size: .82rem; }

.embed-wrap { max-width: 860px; margin: 0 auto 26px; border-radius: var(--radius); overflow: hidden; }
.embed-wrap iframe { display: block; border: 0; }

/* -------------------------------------------------- Footer */

.site-foot { background: var(--navy-deep); color: rgba(239,233,223,.78); padding: clamp(44px, 6vw, 72px) 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h3 { color: var(--gold-head); font-size: 1rem; letter-spacing: .1em; }
.foot-grid a { display: block; color: rgba(239,233,223,.78); text-decoration: none; padding: 4px 0; font-size: .94rem; }
.foot-grid a:hover { color: var(--gold-bright); }
.foot-brand img { width: 160px; margin-bottom: 12px; }
.foot-brand .tagline { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em;
                       font-size: .86rem; color: var(--gold-head); }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
              border-top: 1px solid rgba(239,233,223,.14); margin-top: 36px; padding-top: 20px; font-size: .85rem; }
.foot-legal nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-legal a { color: rgba(239,233,223,.7); text-decoration: none; }
.foot-legal a:hover { color: var(--gold-bright); }
.foot-legal p { margin: 0; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------- On-page editor */

body.is-admin [data-wmf-edit] {
  outline: 1px dashed rgba(197,139,30,.55);
  outline-offset: 3px; border-radius: 4px; transition: outline-color .15s ease, background .15s ease;
}
body.is-admin [data-wmf-edit]:hover { outline-color: var(--gold); background: rgba(197,139,30,.07); cursor: text; }
body.is-admin [data-wmf-edit][contenteditable="true"]:focus {
  outline: 2px solid var(--gold); background: rgba(197,139,30,.1);
}
body.is-admin [data-wmf-edit].saving { outline-color: #1292ee; }
body.is-admin [data-wmf-edit].saved  { outline-color: #55bc75; }
body.is-admin.edit-off [data-wmf-edit] { outline: none; background: none; cursor: auto; }

.edit-bar {
  position: fixed; inset-block-end: 16px; inset-inline-start: 50%; transform: translateX(-50%);
  z-index: 200; display: flex; align-items: center; gap: 12px;
  background: var(--navy); color: var(--cream); border: 1px solid var(--gold);
  border-radius: 99px; padding: 8px 8px 8px 18px; box-shadow: var(--shadow-lg);
  font-size: .9rem; max-width: calc(100vw - 32px); flex-wrap: wrap;
}
.edit-dot { width: 9px; height: 9px; border-radius: 50%; background: #55bc75; flex: 0 0 auto; }
.edit-status { color: rgba(239,233,223,.75); font-size: .84rem; }
.edit-bar .btn { padding: 7px 14px; font-size: .78rem; }

@media print {
  .site-head, .site-foot, .edit-bar, .announce, .factory-scene, .jump, .collection-tabs { display: none !important; }
}
