/* ============================================================
   REGISTRATION.CSS — Singapore Saxophone Symposium
   ============================================================ */

/* ── Page Header ───────────────────────────────────────────── */
.reg-header {
    padding: 5rem 0 0 0;
}

.reg-header .content-wrapper { 
    /* padding: 0 40px;  */
}

.reg-header h1 {
    font-size: 80px;
    line-height: 0.95;
    margin-bottom: 0.75rem;
}

.reg-header h1 .accent-italic {
    color: #EFE1B6;
}

.reg-header__sub {
    font-size: 15px;
    color: var(--muted);
    letter-spacing: 0.08em;
    /* text-transform: uppercase; */
    margin-bottom: 0;
}

.reg-header hr {
    border-top: 1px solid var(--dark-gold);
 }

/* ── What to Expect ────────────────────────────────────────── */
.what-to-expect {
    padding: var(--section-pad) 0;
    border-bottom: 1px solid var(--mid-gray);
    background-color: var(--dark-card);
}

.what-to-expect .content-wrapper { 
    /* padding: 0 40px;  */
}

.what-to-expect__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 100px;
    margin-top: 1.5rem;
}

/* Vertical divider between columns (gap = 40px, line sits at -20px) */
.expect-item {
    position: relative;
}

.expect-item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -60px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--mid-gray);
}

.expect-item__num {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 400;
    color: var(--dark-gold);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 1rem;
}

.expect-item__icon {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 1rem;
}

.expect-item__title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 0.5rem;
    margin-top: 0.75rem;
    letter-spacing: 0.08em;
}

.expect-item__desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

/* ── Registration Options ──────────────────────────────────── */
.reg-options {
    padding: var(--section-pad) 0;
    border-bottom: 1px solid var(--mid-gray);
}

.reg-options .content-wrapper { 
    /* padding: 0 40px;  */
}

.reg-options__header {
    margin-bottom: 3rem;
}

.reg-options__header h2 {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 400;
    color: var(--white);
}

/* Cards grid: first row 3 cards, second row 2 cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Wide layout for 4th+5th card */
.pricing-grid .pricing-card:nth-child(4),
.pricing-grid .pricing-card:nth-child(5) {
    /* handled by grid-column-start in HTML or subgrid */
}

/* Second row 3-up (Individual Lesson · Recitals & Gala Pass · Gala Admission) */
.pricing-grid--row2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.pricing-card {
    background-color: var(--dark-card);
    border: 1px solid var(--mid-gray);
    border-radius: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.3s;
}

.pricing-card:hover {
    border-color: var(--gold);
}

/* Featured card — gold top accent only */
.pricing-card--featured {
    border-color: var(--mid-gray);
    border-top: 2px solid var(--gold);
}

.pricing-card__badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--gold);
    color: var(--black);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 0;
}

.pricing-card__price {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 500;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pricing-card__price.gold {
    color: var(--gold);
}

.pricing-card__title {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 0;
}

.pricing-card__desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.pricing-card__divider {
    border: none;
    border-top: 1px solid var(--mid-gray);
    margin-bottom: 1.25rem;
}

.pricing-card__includes-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.pricing-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.pricing-card__list li {
    font-size: 13px;
    color: var(--muted);
    padding: 0.4rem 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.pricing-card__list li::before {
    content: '–';
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 1px;
}

/* Session sub-items (for masterclass/individual timing) */
.pricing-card__sessions {
    background-color: rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin: 0.5rem 0 1rem;
}

.pricing-card__sessions p {
    font-size: 12px;
    color: var(--muted);
    margin: 0.3rem 0;
    line-height: 1.4;
}

.pricing-card__sessions strong {
    color: var(--off-white);
}

/* Tag pills (.tag-pill / .tag-pills / .tag-pill--gold) moved to base.css.
   When the commented-out artist-name tag-pills get re-enabled, use:
       <span class="tag-pill tag-pill--gold">Artist Name</span>
   to keep the gold/squared design intent. */

/* ── Card-Schedule (inline expandable schedule inside a pricing card) ── */
.card-schedule {
    margin: 0.5rem 0 1rem;
}

.card-schedule__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0;
    background: none;
    border: none;
    border-bottom: 1px solid var(--mid-gray);
    cursor: pointer;
    text-align: left;
}

.card-schedule__toggle-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.card-schedule__toggle-icon {
    color: var(--gold);
    font-size: 14px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.card-schedule.is-closed .card-schedule__toggle-icon {
    transform: rotate(180deg);
}

.card-schedule__body {
    padding-top: 0.75rem;
}

.card-schedule__day {
    padding-top: 0.75rem;
    margin-bottom: 0.75rem;
    border-top: 1px solid var(--mid-gray);
}

.card-schedule__day:first-child {
    border-top: none;
    padding-top: 0;
}

.card-schedule__day-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.6rem;
}

.card-schedule__slot {
    margin-bottom: 0.6rem;
}

.card-schedule__slot:last-child {
    margin-bottom: 0;
}

.card-schedule__time {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.06em;
    margin: 0;
}

.card-schedule__type {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dark-gold);
    margin: 0.15rem 0 0.1rem;
}

.card-schedule__title {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 400;
    color: var(--off-white);
    line-height: 1.3;
    margin: 0;
}

.card-schedule__note {
    font-size: 12px;
    font-style: italic;
    color: var(--muted);
    margin: 1rem 0 2rem 0;
}

/* ── Card-Meta (Date / Time / Venue label-value rows) ────── */
.card-meta {
    margin: 0.5rem 0 1rem;
    padding: 0;
}

.card-meta__row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    padding: 0.6rem 0;
    border-top: 1px solid var(--mid-gray);
}

.card-meta__row:last-child {
    border-bottom: 1px solid var(--mid-gray);
}

.card-meta__label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.card-meta__value {
    font-size: 13px;
    color: var(--white);
    margin: 0;
}

/* Register button */
.pricing-card .btn {
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 10px 20px;
    justify-content: center;
    margin-top: auto;
}

/* ── Important Dates ───────────────────────────────────────── */
.important-dates {
    padding: var(--section-pad) 0;
    background-color: var(--dark-card);
}

.important-dates .content-wrapper { 
    /* padding: 0 40px;  */
}

.dates-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 1.5rem;
}

.date-item {
    position: relative;
    padding: 0;
}

/* Vertical divider between the two columns (gap = 80px, line sits at -40px) */
.date-item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--mid-gray);
}

.date-item__eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.75rem;
}

.date-item__date {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    margin: 0 0 0.75rem;
}

.date-item__desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    max-width: 400px;
}

/* ── Registration CTA strip ────────────────────────────────── */
.reg-cta {
    background-color: var(--black);
    border-top: 1px solid var(--mid-gray);
    padding: 5rem 2rem 4rem;
    text-align: center;
}

.reg-cta h2 {
    font-size: 44px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1rem;
}

.reg-cta p {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 2rem;
}

.reg-cta__contact {
    color: var(--muted);
    font-size: 13px;
    margin: 1.5rem 0 0;
}

.reg-cta__contact a {
    color: var(--gold);
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — registration page
   ═══════════════════════════════════════════════════════════ */

@media screen and (max-width: 1280px) {
    .reg-header .content-wrapper,
    .what-to-expect .content-wrapper,
    .reg-options .content-wrapper,
    .important-dates .content-wrapper { padding: 0 40px; }
}

@media screen and (max-width: 1024px) {
    /* Pricing cards: 3 → 2 columns on tablet */
    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid--row2 { grid-template-columns: 1fr 1fr; }

    /* What-to-Expect: 3 → 2 cols; hide divider on column-1 items (1st, 3rd, …) */
    .what-to-expect__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .expect-item:nth-child(2n+1)::before { display: none; }

    .reg-header h1 { font-size: 64px; }
}

@media screen and (max-width: 768px) {
    .reg-header { padding: 4rem 0 2rem; }
    .reg-header h1 { font-size: 44px; line-height: 1.05; }
    .reg-header__sub { font-size: 14px; }

    .reg-header .content-wrapper,
    .what-to-expect .content-wrapper,
    .reg-options .content-wrapper,
    .important-dates .content-wrapper { padding: 0 24px; }

    /* What-to-Expect → single column, hide all column dividers */
    .what-to-expect__grid { grid-template-columns: 1fr; gap: 24px; }
    .expect-item::before { display: none; }

    /* Pricing → single column */
    .pricing-grid,
    .pricing-grid--row2 {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin-top: 0;
    }
    .pricing-grid--row2 { margin-top: 16px; }
    .pricing-card { padding: 1.75rem 1.5rem; }
    .pricing-card__price { font-size: 40px; }
    .pricing-card__title { font-size: 13px; }

    /* Schedule expander stays compact on small screens */
    .card-schedule__day-label { font-size: 11px; }
    .card-schedule__title { font-size: 14px; }

    /* Card meta — tighter columns */
    .card-meta__row { grid-template-columns: 70px 1fr; gap: 12px; padding: 0.5rem 0; }

    .reg-options__header h2 { font-size: 28px; line-height: 1.15; }

    /* Important Dates → single column, hide divider */
    .dates-grid { grid-template-columns: 1fr; gap: 2rem; }
    .date-item::before { display: none; }
    .date-item__date { font-size: 32px; }

    .reg-cta { padding: 3rem 1.25rem 2.5rem; }
    .reg-cta h2 { font-size: 30px; }
    .reg-cta p { font-size: 14px; }
}

@media screen and (max-width: 480px) {
    .reg-header .content-wrapper,
    .what-to-expect .content-wrapper,
    .reg-options .content-wrapper,
    .important-dates .content-wrapper { padding: 0 16px; }

    .reg-header h1 { font-size: 36px; }
    .pricing-card { padding: 1.5rem 1.25rem; }
    .pricing-card__price { font-size: 34px; }
    .date-item__date { font-size: 28px; }
    .reg-cta h2 { font-size: 24px; }

    /* Tag pills — slight tightening */
    .tag-pill { font-size: 11px; padding: 3px 10px; }

    /* Card-schedule body padding on narrow phones */
    .card-schedule__body { padding-top: 0.5rem; }
}
