/*
 * ms-site.css — Music Squad demo site chrome (header / hero / footer / tiles)
 * Shared across all pages.
 */

:root {
    --brand: #3F005C;   /* Music Squad deep purple */
    --dark:  #2B0040;
    --mint:  #75FBD7;   /* Music Squad mint accent */
    --ink:   #241233;
    --paper: #ffffff;
    --tint:  #F4EDF8;   /* light purple wash */
    --muted: #6b6478;
    --line:  #e6dcee;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'Work Sans', Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
img { max-width: 100%; display: block; }

/* ── Header ── */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 28px;
}
.logo a { display: block; line-height: 0; }
.logo img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a {
    color: var(--ink); text-decoration: none;
    font-size: 14px; font-weight: 600;
    transition: color .15s;
}
.site-nav a:hover { color: var(--brand); }
.site-nav a.nav-cta {
    background: var(--brand); color: #fff;
    padding: 9px 18px; border-radius: 8px; font-weight: 700;
}
.site-nav a.nav-cta:hover { background: var(--dark); color: #fff; }

/* ── Brand bar ── */
.brand-bar { height: 5px; background: var(--mint); }

/* ── Hero ── */
.hero {
    background: var(--brand);
    color: #fff;
    padding: 64px 28px 58px;
    text-align: center;
}
.hero h1 {
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 700; margin: 0 0 14px; letter-spacing: -.01em;
    color: #fff;
}
.hero h1 em { font-style: normal; color: var(--mint); }
.hero p { font-size: clamp(15px, 2.2vw, 19px); color: #e4d6ee; max-width: 640px; margin: 0 auto; line-height: 1.6; }
.hero .eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: .18em;
    font-size: 12px; font-weight: 700; color: var(--mint); margin-bottom: 16px;
}
.hero--light { background: var(--tint); color: var(--ink); }
.hero--light h1 { color: var(--brand); }
.hero--light h1 em { color: var(--brand); }
.hero--light p { color: #5a4f6b; }
.hero--light .eyebrow { color: var(--brand); }

/* ── Sections ── */
.section { padding: 56px 28px; }
.section--tint { background: var(--tint); }
.container { max-width: 1040px; margin: 0 auto; }
.container--narrow { max-width: 760px; }
.section h2 {
    font-size: clamp(22px, 3vw, 30px); font-weight: 700;
    text-align: center; margin: 0 0 10px; color: var(--brand);
}
.section .lead { text-align: center; color: var(--muted); max-width: 580px; margin: 0 auto 36px; line-height: 1.6; }

/* ── Format tiles ── */
.format-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }
.format-card {
    background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
    padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.format-card .kind { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.format-card h3 { margin: 0; font-size: 19px; font-weight: 700; }
.format-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.format-card .price { margin-top: auto; padding-top: 10px; font-size: 22px; font-weight: 700; color: var(--brand); }
.format-card .price small { font-size: 13px; font-weight: 600; color: var(--muted); }

/* ── Venue list ── */
.venue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.venue-card {
    background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 18px 20px;
}
.venue-card h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.venue-card p { margin: 0; font-size: 13px; color: var(--muted); }

/* ── Term strip ── */
.term-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.term-card { border: 1.5px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; text-align: center; }
.term-card .n { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.term-card h4 { margin: 6px 0 4px; font-size: 16px; font-weight: 700; }
.term-card p { margin: 0; font-size: 13px; color: var(--muted); }

/* demo sandbox note */
.demo-note {
    background: #fff; border: 1px dashed var(--brand); color: #4a2870;
    border-radius: 10px; padding: 12px 18px; font-size: 13.5px; font-weight: 500;
    max-width: 760px; margin: 0 auto 28px; text-align: center; line-height: 1.5;
}

/* ── Widget wrapper ── */
.widget-wrap { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 24px; }

/* ── Footer ── */
.site-footer {
    background: var(--brand); color: #d9c9e4;
    padding: 44px 28px; text-align: center;
}
.site-footer img { height: 46px; margin: 0 auto 16px; }
.site-footer a { color: var(--mint); }
.site-footer .powered { font-size: 12px; opacity: .65; margin-top: 16px; }

/* ── Responsive ── */
@media (max-width: 820px) {
    .format-grid, .venue-grid, .term-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .site-header { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
    .site-nav { gap: 14px; }
    .site-nav a { font-size: 13px; }
    .section { padding: 34px 12px; }
    .widget-wrap { padding: 12px; border-radius: 12px; }
}
