/* ============================================================
   ADAM DEMOS MANAGEMENT — Premium Cinematic Theme
   Palette: Ink black, champagne gold, warm cream
   ============================================================ */

:root {
    /* Atelier Noir — warm charcoal + emerald + cream */
    --bg: #0e0f10;
    --bg-elev: #16181a;
    --bg-soft: #1d2024;
    --surface: rgba(240, 235, 224, 0.035);
    --surface-strong: rgba(240, 235, 224, 0.07);
    --border: rgba(240, 235, 224, 0.09);
    --border-strong: rgba(86, 165, 122, 0.38);

    --text: #f0ebe0;
    --text-muted: #8a8f88;
    --text-soft: #cfcabc;
    --cream: #f4efde;

    /* "gold" tokens repurposed as emerald for backwards compat */
    --gold: #56a57a;
    --gold-light: #7ec99a;
    --gold-dark: #2d6e4f;

    --success: #7fc99a;
    --warning: #e6b06b;
    --danger: #e07a7a;
    --info: #8ab1e0;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --radius-xl: 36px;

    --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.25);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 50px 120px rgba(0, 0, 0, 0.55);

    --gradient-gold: linear-gradient(135deg, #56a57a 0%, #7ec99a 50%, #2d6e4f 100%);
    --gradient-bg: radial-gradient(ellipse at 20% 0%, rgba(86, 165, 122, 0.08) 0%, transparent 55%),
                   radial-gradient(ellipse at 80% 100%, rgba(140, 130, 110, 0.06) 0%, transparent 55%),
                   linear-gradient(180deg, #0e0f10 0%, #111315 100%);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
*::selection { background: var(--gold); color: #0a0a0c; }

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    background: var(--bg);
    background-image: var(--gradient-bg);
    background-attachment: fixed;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }

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

h1, h2, h3, h4 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--cream);
    margin: 0 0 0.6em;
}

p { margin: 0 0 1em; color: var(--text-soft); }

.hidden { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* ============================================================
   LAYOUT
   ============================================================ */

.container-wide {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.section-panel {
    padding: clamp(64px, 9vw, 120px) 0;
    position: relative;
}

.section-panel.alt {
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.025) 30%, rgba(255,255,255,0.025) 70%, transparent);
}

.section-panel h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.05;
    margin-bottom: 18px;
}

.section-panel p.lead {
    max-width: 720px;
    color: var(--text-muted);
    font-size: clamp(1.02rem, 1.2vw, 1.18rem);
    margin-bottom: 36px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin-bottom: 20px;
}
.eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */

.hero-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(7, 8, 12, 0.72);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s var(--ease);
}

.nav-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-family: 'Playfair Display', serif;
    color: var(--cream);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    text-decoration: none;
}
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.brand-mark {
    flex-shrink: 0;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 12px rgba(217, 180, 106, 0.18));
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1.1), filter 0.5s ease;
}
.brand:hover .brand-mark {
    transform: rotate(-4deg);
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 18px rgba(246, 231, 184, 0.35));
}
.brand-wordmark {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.0;
}
.brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.32rem;
    letter-spacing: 0.015em;
    color: var(--cream);
    font-style: italic;
}
.brand-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.6rem;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: #d9b46a;
    opacity: 0.9;
    margin-top: 4px;
}
.brand-logo.is-mono .brand-mark { filter: grayscale(1) opacity(0.85); }

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}
.nav-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 999px;
    transition: color 0.3s var(--ease), background 0.3s var(--ease);
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--cream);
    background: rgba(212, 185, 152, 0.08);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: rgba(212, 185, 152, 0.12);
    border: 1px solid rgba(212, 185, 152, 0.32);
    border-radius: 999px;
    color: var(--cream);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}
.nav-cta:hover {
    background: var(--gradient-gold);
    color: #0a0a0c;
    border-color: transparent;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
}

.hero-badge {
    margin: 22px auto 0;
    width: min(1100px, calc(100% - 48px));
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-soft);
    text-align: center;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    backdrop-filter: blur(14px);
}

.disclaimer-panel {
    margin: 28px auto 16px;
    padding: 22px 26px;
    width: min(1140px, calc(100% - 48px));
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
}
.disclaimer-panel p { margin: 0; color: var(--text-soft); font-size: 0.96rem; }
.disclaimer-note { margin-top: 10px !important; color: var(--text-muted) !important; font-size: 0.9rem !important; }

/* ============================================================
   HERO
   ============================================================ */

.hero-presentation {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
    padding: clamp(40px, 6vw, 80px) 0;
}

.hero-copy { max-width: 640px; }

.hero-copy h1 {
    font-size: clamp(2.6rem, 5.5vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin: 0 0 28px;
    background: linear-gradient(180deg, #ffffff 0%, #c8c4ba 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy .lead,
.hero-copy p.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 36px;
    max-width: 560px;
}

.hero-visual {
    min-height: 540px;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(212,185,152,0.12), rgba(0,0,0,0.6)),
                url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,8,12,0) 35%, rgba(7,8,12,0.85) 100%);
    pointer-events: none;
}
.hero-visual .hero-panel {
    position: absolute;
    bottom: 26px;
    left: 26px;
    right: 26px;
    padding: 24px 26px;
    background: rgba(13, 16, 24, 0.78);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(16px);
    z-index: 2;
}
.hero-visual h3 { margin: 0 0 8px; color: var(--cream); font-size: 1.15rem; font-family: 'Playfair Display', serif; }
.hero-visual p { margin: 0; color: var(--text-soft); font-size: 0.95rem; }

/* Stats strip */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 40px;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stat-strip .stat { padding: 0 22px; border-right: 1px solid var(--border); }
.stat-strip .stat:last-child { border-right: none; }
.stat-strip .stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-strip .stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
    position: relative;
    background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(14px);
    transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,185,152,0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }

.card h3 {
    font-size: 1.32rem;
    margin: 0 0 14px;
    color: var(--cream);
}
.card p { color: var(--text-muted); margin: 0; }
.card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.card-header h3 { margin: 0; }
.card-icon {
    display: inline-flex;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(212, 185, 152, 0.12);
    border: 1px solid rgba(212, 185, 152, 0.22);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #0a0a0c;
    box-shadow: 0 14px 32px rgba(212, 185, 152, 0.22);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(212, 185, 152, 0.32);
}

.btn-secondary {
    background: transparent;
    border-color: var(--border);
    color: var(--cream);
}
.btn-secondary:hover {
    background: rgba(212, 185, 152, 0.08);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    padding: 10px 16px;
}
.btn-ghost:hover { color: var(--cream); }

.btn-small { padding: 10px 18px; font-size: 0.85rem; }

/* ============================================================
   FORMS
   ============================================================ */

form { display: grid; gap: 20px; max-width: 920px; }

.field-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.field-group.full { grid-template-columns: 1fr; }

.form-group { margin-bottom: 0; }
.form-panel { display: grid; gap: 18px; max-width: 760px; }

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-soft);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='date'],
input[type='number'],
input[type='password'],
select,
textarea {
    width: 100%;
    padding: 15px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
    font-family: inherit;
    font-size: 0.97rem;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
input::placeholder, textarea::placeholder { color: rgba(154, 154, 163, 0.6); }
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 0 0 4px rgba(212, 185, 152, 0.12);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'><path fill='none' stroke='%23d4b998' stroke-width='2' d='M1 1l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
}

textarea { min-height: 160px; resize: vertical; line-height: 1.6; }

input[type='file'], .input-file {
    padding: 14px 18px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.025);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    width: 100%;
}
input[type='file']::file-selector-button {
    background: var(--gradient-gold);
    color: #0a0a0c;
    border: none;
    padding: 8px 16px;
    border-radius: 999px;
    margin-right: 14px;
    font-weight: 600;
    cursor: pointer;
}

input[type='checkbox'] {
    accent-color: var(--gold);
    margin-right: 8px;
    width: 18px; height: 18px;
    vertical-align: middle;
}

.note-box {
    padding: 20px 22px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 0.95rem;
}
.note-box label { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: var(--text-soft); }

/* ============================================================
   ALERTS / BADGES
   ============================================================ */

.alert {
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    color: var(--text);
    margin-bottom: 22px;
    font-size: 0.96rem;
}
.alert ul { margin: 0; padding-left: 20px; }
.alert-success { border-left-color: var(--success); background: rgba(143, 207, 154, 0.06); }
.alert-warning { border-left-color: var(--warning); background: rgba(230, 176, 107, 0.06); }
.alert-error,
.alert-danger   { border-left-color: var(--danger);  background: rgba(224, 122, 122, 0.06); }
.alert-info    { border-left-color: var(--info);    background: rgba(138, 177, 224, 0.06); }

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
}
.badge-success  { background: rgba(143, 207, 154, 0.14); color: #c5e6cc; border-color: rgba(143,207,154,0.25); }
.badge-warning  { background: rgba(230, 176, 107, 0.16); color: #f4d8b3; border-color: rgba(230,176,107,0.28); }
.badge-danger   { background: rgba(224, 122, 122, 0.16); color: #f3c4c4; border-color: rgba(224,122,122,0.28); }
.badge-primary  { background: rgba(138, 177, 224, 0.16); color: #cfdef0; border-color: rgba(138,177,224,0.28); }
.badge-secondary{ background: rgba(154, 154, 163, 0.16); color: #d8d8de; border-color: rgba(154,154,163,0.28); }
.badge-dark     { background: rgba(13, 16, 24, 0.85);    color: var(--cream); border-color: var(--border); }

/* legacy admin status pills */
.status { padding: 6px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.status-pending  { background: rgba(230, 176, 107, 0.16); color: #f4d8b3; }
.status-approved { background: rgba(143, 207, 154, 0.14); color: #c5e6cc; }
.status-rejected { background: rgba(224, 122, 122, 0.16); color: #f3c4c4; }

/* ============================================================
   TABLES
   ============================================================ */

.table-shell, .admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 0.94rem;
}
.table-shell th, .table-shell td,
.admin-table th, .admin-table td {
    padding: 16px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.table-shell th, .admin-table th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255,255,255,0.02);
}
.table-shell tr:hover td, .admin-table tr:hover td { background: rgba(212, 185, 152, 0.04); }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    margin-top: 80px;
    padding: 0 0 32px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding: 64px 0 36px;
}
.footer-grid h3, .footer-grid h4 {
    color: var(--cream);
    font-size: 1.05rem;
    margin: 0 0 18px;
    font-family: 'Playfair Display', serif;
}
.footer-grid p { color: var(--text-muted); font-size: 0.93rem; }
.footer-grid a {
    display: block;
    color: var(--text-muted);
    padding: 6px 0;
    font-size: 0.93rem;
    transition: color 0.3s var(--ease);
}
.footer-grid a:hover { color: var(--gold); }

.footer-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    letter-spacing: 0.03em;
}

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */

.admin-nav {
    background: linear-gradient(180deg, rgba(13,16,24,0.92) 0%, rgba(11,13,20,0.78) 100%);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    border-bottom: 1px solid rgba(212,185,152,0.14);
    padding: 14px 0;
    position: sticky; top: 0; z-index: 90;
    box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 14px 30px -22px rgba(0,0,0,0.6);
}
.admin-nav-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.admin-brand {
    display: inline-flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--cream);
    padding: 6px 8px 6px 4px;
    border-radius: 12px;
    transition: background 0.25s var(--ease);
}
.admin-brand:hover { background: rgba(212,185,152,0.05); }
.admin-brand-mark {
    width: 36px; height: 36px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gradient-gold);
    color: #0a0a0c;
    box-shadow: 0 4px 14px -6px rgba(217,180,106,0.55), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.admin-brand-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.admin-brand-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; letter-spacing: 0.01em; color: var(--cream); }
.admin-brand-sub { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }

.admin-nav-links { gap: 2px; flex-wrap: wrap; flex: 1; justify-content: center; }
.admin-nav-links a {
    position: relative;
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.admin-nav-links a:hover { color: var(--cream); background: rgba(212,185,152,0.07); }
.admin-nav-links a.active {
    color: #0a0a0c;
    background: var(--gradient-gold);
    box-shadow: 0 6px 18px -10px rgba(217,180,106,0.7);
}
.admin-nav-links a.active::after {
    content: '';
    position: absolute; left: 50%; bottom: -10px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gradient-gold);
    transform: translateX(-50%);
    box-shadow: 0 0 12px rgba(217,180,106,0.7);
}

.admin-nav-actions { display: inline-flex; align-items: center; gap: 10px; }
.admin-user-chip {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 5px 12px 5px 5px;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}
.admin-user-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--gradient-gold);
    color: #0a0a0c;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.82rem;
}
.admin-user-meta { display: inline-flex; flex-direction: column; line-height: 1.15; }
.admin-user-name { font-size: 0.82rem; color: var(--cream); font-weight: 500; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-role { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); }

.admin-logout {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    font-size: 0.78rem; font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.admin-logout:hover { color: var(--cream); border-color: rgba(217,180,106,0.4); background: rgba(217,180,106,0.06); }

@media (max-width: 960px) {
    .admin-user-meta { display: none; }
    .admin-user-chip { padding: 4px; }
    .admin-logout span { display: none; }
    .admin-logout { padding: 8px 10px; }
    .admin-nav-links { justify-content: flex-start; }
}
.admin-main { padding: 40px 0; }

.modal {
    display: none;
    position: fixed; inset: 0;
    background: rgba(7,8,12,0.78);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center; justify-content: center;
}
.modal.open { display: flex; }
.modal-content {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    padding: 36px;
    border-radius: var(--radius-lg);
    width: 90%; max-width: 540px;
    box-shadow: var(--shadow-lg);
}
.close { float: right; font-size: 1.4rem; cursor: pointer; color: var(--text-muted); }
.close:hover { color: var(--cream); }

/* ============================================================
   COMPONENTS
   ============================================================ */

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }

.artist-card { padding: 0; overflow: hidden; border-color: var(--border-strong); }
@media (max-width: 880px) {
    /* Brighten the heavy inline tint so the portrait is visible on small cards */
    .artist-card .artist-media > div:first-child {
        filter: brightness(1.45) saturate(1.05);
    }
    /* Reduce the bottom-only gradient overlay so faces aren't darkened */
    .artist-overlay {
        background: linear-gradient(180deg, transparent 55%, rgba(7,8,12,0.78) 100%) !important;
    }
    /* Verified badge: tiny round check chip in the top-right corner so the
       portrait stays clear. Text is collapsed to a single check mark. */
    .artist-badge {
        top: 8px !important;
        left: auto !important;
        right: 8px !important;
        width: 22px; height: 22px;
        padding: 0 !important;
        border-radius: 50% !important;
        font-size: 0 !important;
        display: inline-flex !important;
        align-items: center; justify-content: center;
        box-shadow: 0 2px 8px rgba(217,180,106,0.4);
    }
    .artist-badge::before {
        content: "\2713"; /* check mark */
        font-size: 0.78rem;
        color: #0a0a0c;
        font-weight: 900;
        line-height: 1;
    }
    .artist-caption {
        left: 14px !important;
        right: 14px !important;
        bottom: 14px !important;
    }
    .artist-caption h3 { font-size: 1.05rem !important; line-height: 1.2; }
    .artist-caption p  { font-size: 0.68rem !important; letter-spacing: 0.1em; }
}
.artist-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background-size: cover; background-position: center;
}
.artist-badge {
    position: absolute; top: 18px; left: 18px;
    background: var(--gradient-gold) !important;
    color: #0a0a0c !important;
    border: none !important;
}
.artist-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(7,8,12,0.94) 100%);
}
.artist-caption {
    position: absolute; left: 28px; right: 28px; bottom: 24px;
}
.artist-caption h3 {
    margin: 0 0 6px; font-size: 2rem; color: var(--cream);
    font-family: 'Playfair Display', serif;
}
.artist-caption p {
    margin: 0; color: var(--gold);
    font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.artist-body { padding: 30px 32px 36px; }
.artist-body p { color: var(--text-soft); margin-bottom: 22px; }

.service-card { display: flex; flex-direction: column; }
.service-card p { flex: 1; }
.card-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--gold);
    font-size: 0.92rem;
    font-weight: 600;
    margin-top: 18px;
    letter-spacing: 0.02em;
    transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.card-link:hover { gap: 12px; color: var(--gold-light); }

.feature-list {
    list-style: none;
    padding: 0; margin: 0;
    display: grid; gap: 14px;
}
.feature-list li {
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 2px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-soft);
    font-size: 0.96rem;
}
.feature-list strong { color: var(--cream); margin-right: 8px; }

.process-list {
    list-style: none;
    padding: 0; margin: 0;
    display: grid; gap: 18px;
    counter-reset: step;
}
.process-list li {
    display: flex; gap: 18px; align-items: flex-start;
    padding: 18px;
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.process-list li > span {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--gold);
    line-height: 1;
    min-width: 36px;
    padding-top: 2px;
}
.process-list li strong { display: block; color: var(--cream); margin-bottom: 4px; font-size: 1rem; }
.process-list li p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

.cta-banner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    padding: 56px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(212,185,152,0.12), rgba(13,16,24,0.92));
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(212,185,152,0.18), transparent 50%);
    pointer-events: none;
}

@media (max-width: 880px) {
    .cta-banner { grid-template-columns: 1fr; padding: 36px; }
    .cta-banner .btn-group { justify-content: flex-start !important; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .admin-user-tag { display: none; }
}

/* ============================================================
   SPOTLIGHT-FLOW COMPONENTS
   ============================================================ */

/* Hero carousel */
.hero-stage {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 560px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    transition: opacity 1.2s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-stage::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(7,8,12,0.5) 0%, rgba(7,8,12,0.35) 40%, rgba(7,8,12,0.95) 100%);
    z-index: 1;
}
.hero-stage-content {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: clamp(32px, 5vw, 64px);
    z-index: 2;
    color: var(--cream);
}
.hero-stage-content .eyebrow { color: var(--gold); }
.hero-stage-content h1 {
    font-size: clamp(2.4rem, 5.4vw, 5rem);
    line-height: 1;
    color: var(--cream);
    max-width: 12ch;
    margin: 0 0 18px;
}
.hero-stage-content .tagline {
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    color: var(--text-soft);
    max-width: 540px;
    margin: 0 0 28px;
}
.hero-dots {
    position: absolute;
    bottom: clamp(20px, 3vw, 32px);
    right: clamp(24px, 4vw, 56px);
    display: flex; gap: 8px;
    z-index: 3;
}
.hero-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.hero-dot.is-active { background: var(--gold); width: 28px; border-radius: 999px; }

/* Membership / Service grid (5 across) */
.member-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}
.member-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-elev);
    aspect-ratio: 3 / 4;
    transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
    display: block;
    isolation: isolate;
}
.member-card::before {
    content: '';
    position: absolute; inset: 0;
    background-image: var(--bg-img);
    background-size: cover; background-position: center;
    transition: transform 1s var(--ease);
    z-index: 0;
}
.member-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(7,8,12,0.2) 0%, rgba(7,8,12,0.92) 100%);
    z-index: 1;
}
.member-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.member-card:hover::before { transform: scale(1.06); }
.member-card-body {
    position: absolute;
    inset: auto 0 0 0;
    padding: 24px;
    z-index: 2;
    color: var(--cream);
}
.member-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin: 0 0 6px;
    color: var(--cream);
}
.member-card-body p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.86rem;
    line-height: 1.45;
}
.member-card-arrow {
    position: absolute;
    top: 18px; right: 18px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.18);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--cream);
    z-index: 2;
    transition: all 0.4s var(--ease);
}
.member-card:hover .member-card-arrow {
    background: var(--gradient-gold);
    color: #0e0f10;
    border-color: transparent;
    transform: rotate(-45deg);
}

/* Resource cards (3 across) */
.resource-card {
    padding: 32px;
    background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
    display: flex; flex-direction: column;
}
.resource-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.resource-card .resource-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: rgba(212,185,152,0.12);
    border: 1px solid rgba(212,185,152,0.22);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--gold);
    margin-bottom: 22px;
}
.resource-card h3 { font-size: 1.32rem; margin: 0 0 10px; }
.resource-card p { color: var(--text-muted); margin: 0 0 22px; flex: 1; }

/* Testimonials */
.testimonial {
    padding: 32px;
    background: linear-gradient(160deg, rgba(212,185,152,0.06), rgba(255,255,255,0.02));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
}
.testimonial::before {
    content: '"';
    position: absolute;
    top: 8px; left: 22px;
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.35;
}
.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.18rem;
    line-height: 1.5;
    color: var(--cream);
    margin: 0 0 26px;
    padding-top: 32px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: inline-flex; align-items: center; justify-content: center;
    color: #0e0f10;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    flex-shrink: 0;
}
.testimonial-author strong { color: var(--cream); display: block; font-family: 'Playfair Display', serif; font-weight: 500; }
.testimonial-author small { color: var(--text-muted); font-size: 0.85rem; }

/* News cards */
.news-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-elev);
    transition: all 0.4s var(--ease);
    display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.news-image {
    aspect-ratio: 16 / 10;
    background-size: cover; background-position: center;
    position: relative;
}
.news-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(7,8,12,0.4));
}
.news-tag {
    position: absolute;
    top: 16px; left: 16px;
    padding: 5px 12px;
    background: rgba(7,8,12,0.7);
    backdrop-filter: blur(8px);
    color: var(--gold);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}
.news-body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.news-body h3 { font-size: 1.18rem; margin: 0 0 10px; line-height: 1.3; }
.news-body p { color: var(--text-muted); font-size: 0.92rem; margin: 0 0 18px; flex: 1; }
.news-meta {
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.news-meta a { color: var(--gold); font-weight: 600; }

/* FAQ Accordion */
.faq-list { display: grid; gap: 12px; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item.is-open { border-color: var(--border-strong); background: var(--surface-strong); }
.faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 24px;
    color: var(--cream);
    font-family: 'Playfair Display', serif;
    font-size: 1.08rem;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px;
}
.faq-q .chev {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--gold);
    transition: transform 0.3s var(--ease), background 0.3s var(--ease);
    flex-shrink: 0;
}
.faq-item.is-open .chev { transform: rotate(180deg); background: rgba(212,185,152,0.12); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
    padding: 0 24px;
}
.faq-item.is-open .faq-a { max-height: 600px; padding: 0 24px 22px; }
.faq-a p { color: var(--text-muted); margin: 0; font-size: 0.96rem; line-height: 1.65; }

@media (max-width: 1080px) {
    .member-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-stage { min-height: 480px; }
}
@media (max-width: 720px) {
    .member-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-stage { min-height: 420px; }
}
@media (max-width: 480px) {
    .member-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
    .hero-presentation { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { min-height: 420px; }
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .stat-strip .stat:nth-child(2) { border-right: none; }
    .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 880px) {
    .nav-toggle { display: inline-flex; }
    .nav-links {
        position: fixed;
        inset: 70px 0 0 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(7,8,12,0.96);
        backdrop-filter: blur(24px);
        padding: 28px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
        overflow-y: auto;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { padding: 14px 18px; font-size: 1rem; }
    .nav-cta { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .field-group { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .container-wide { width: calc(100% - 32px); }
    .hero-copy h1 { font-size: 2.4rem; }
    .btn-group { flex-direction: column; align-items: stretch; }
    .btn, .button { width: 100%; }
    .stat-strip { grid-template-columns: 1fr; }
    .stat-strip .stat { border-right: none; border-bottom: 1px solid var(--border); padding: 14px 0; }
    .stat-strip .stat:last-child { border-bottom: none; }
}

/* ============================================================
   UTILITIES
   ============================================================ */

.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.mt-0 { margin-top: 0; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.center { text-align: center; }

/* ============================================================
   MOBILE NAV — horizontal scroll pill bar (tab-bar pattern)
   Build marker: 2026-05-10-mobile-nav-scroll-v2
   ============================================================
   Two-row header on mobile:
     row 1: brand + Sign-in pill
     row 2: scrollable horizontal pill bar of all nav links
   Every link is visible on mount; users swipe horizontally
   for overflow. No hamburger, no drawer, no JS toggling. */
@media (max-width: 880px) {

    .nav-panel {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px 12px !important;
        padding: 6px 0 !important;
    }

    .brand {
        flex: 1 1 auto !important;
        order: 1 !important;
        font-size: 1rem !important;
    }

    .nav-cta {
        order: 2 !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 9px 18px !important;
        background: linear-gradient(135deg, #56a57a, #7ec99a) !important;
        color: #0e0f10 !important;
        font-size: 0.84rem !important;
        font-weight: 700 !important;
        border-radius: 999px !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        box-shadow: 0 6px 16px rgba(86, 165, 122, 0.22) !important;
    }

    .nav-toggle { display: none !important; }

    nav.nav-links,
    #primary-nav.nav-links,
    #primary-nav {
        order: 3 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        flex-basis: 100% !important;
        width: 100% !important;
        gap: 8px !important;
        margin: 4px -16px 2px !important;
        padding: 6px 16px 10px !important;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x proximity;
        scroll-padding-left: 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    nav.nav-links::-webkit-scrollbar,
    #primary-nav::-webkit-scrollbar { display: none; }

    nav.nav-links a,
    #primary-nav a {
        flex: 0 0 auto !important;
        scroll-snap-align: start;
        display: inline-flex !important;
        align-items: center !important;
        color: #f0ebe0 !important;
        background: rgba(86, 165, 122, 0.10) !important;
        border: 1px solid rgba(86, 165, 122, 0.22) !important;
        padding: 10px 16px !important;
        border-radius: 999px !important;
        font-size: 0.86rem !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        line-height: 1 !important;
        transition: transform .15s, background .25s !important;
    }
    nav.nav-links a:active,
    #primary-nav a:active { transform: scale(0.96); }

    nav.nav-links a.active,
    #primary-nav a.active {
        background: linear-gradient(135deg, #56a57a, #7ec99a) !important;
        color: #0e0f10 !important;
        border-color: transparent !important;
        box-shadow: 0 4px 14px rgba(86, 165, 122, 0.32) !important;
    }

    nav.nav-links .nav-drawer-foot,
    #primary-nav .nav-drawer-foot { display: none !important; }

    /* ---- Hero on mobile: stop clipping the headline ---- */ }

/* ============================================================
   SELECT DROPDOWN OPTIONS — force readable contrast
   ============================================================
   Native <select> popups inherit our cream `color:` rule but
   render on the OS's white background → cream-on-white is
   invisible. Force options to dark-on-white so the artist
   names are legible when the dropdown opens. */
select option,
select optgroup {
    color: #0e0f10 !important;
    background-color: #ffffff !important;
    font-family: 'Inter', system-ui, sans-serif;
    padding: 6px 10px;
}
select option:checked,
select option:hover {
    background-color: #56a57a !important;
    color: #ffffff !important;
}
select option:disabled {
    color: #888 !important;
}

/* (mobile-only block continues below — leave the closing brace where it was) */
@media (max-width: 880px) {
    /* === DUPLICATE GUARD: this stays in the mobile-only stack === */
    /* The default .hero-stage-content uses position:absolute pinned to
       the bottom, which clips the top of the H1 when the stage is short.
       On mobile, use a flex layout that grows the stage to fit content. */
    .hero-stage {
        min-height: auto !important;
        aspect-ratio: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        padding-top: 220px !important;   /* leaves space for the visual at top */
    }
    .hero-stage-content {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        padding: 28px 22px !important;
        background: linear-gradient(180deg,
                    rgba(14, 15, 16, 0) 0%,
                    rgba(14, 15, 16, 0.55) 40%,
                    rgba(14, 15, 16, 0.94) 100%);
    }
    .hero-stage-content h1 {
        font-size: clamp(1.9rem, 6vw, 2.4rem) !important;
        line-height: 1.06 !important;
        margin-bottom: 12px !important;
    }
    .hero-stage-content .tagline {
        font-size: 0.96rem !important;
        line-height: 1.55 !important;
    }
    .hero-stage-content .btn-group {
        flex-wrap: wrap !important;
    }
    .hero-stage-content .btn {
        flex: 1 1 auto !important;
        text-align: center !important;
        justify-content: center !important;
    }
    .hero-dots {
        bottom: auto !important;
        top: 14px !important;
        right: 14px !important;
    }
}

/* Premium payment flow — summary, status track, pay panel, QR */
.pay-summary {
    position: relative;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(165deg, rgba(126,201,154,0.08) 0%, rgba(22,24,26,0.95) 50%, rgba(7,13,11,1) 100%);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(246,231,184,0.06);
    overflow: hidden;
}
.pay-summary::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 88% -10%, rgba(217,180,106,0.14), transparent 45%);
}
.pay-summary-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.pay-summary-ref {
    margin-top: 6px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 1.18rem;
    color: var(--gold);
    letter-spacing: 0.04em;
    word-break: break-all;
}
.pay-summary-amount {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 14px 20px;
    background: rgba(7,13,11,0.6);
    border: 1px solid rgba(217,180,106,0.22);
    border-radius: var(--radius);
    min-width: 160px;
}
.pay-summary-amount-label {
    font-size: 0.62rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #d9b46a;
    opacity: 0.85;
    margin-bottom: 4px;
}
.pay-summary-amount-value {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.2rem;
    line-height: 1;
    color: var(--cream);
}
.pay-summary-amount-currency {
    font-family: 'Inter', sans-serif;
    font-size: 0.66rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    margin-top: 6px;
}

.status-track {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}
.status-track::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--border) 35%, var(--border) 100%);
    opacity: 0.6;
}
.status-track li {
    position: relative;
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 14px;
    align-items: flex-start;
}
.status-track .status-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--bg-elev);
    margin-top: 2px;
    position: relative;
    transition: all 0.3s var(--ease);
}
.status-track .is-done .status-dot {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(86,165,122,0.18);
}
.status-track .is-done .status-dot::after {
    content: '';
    position: absolute;
    inset: 4px 5px 6px 4px;
    border-right: 1.5px solid #0e0f10;
    border-bottom: 1.5px solid #0e0f10;
    transform: rotate(45deg);
}
.status-track .is-active .status-dot {
    border-color: var(--gold);
    background: rgba(86,165,122,0.18);
    box-shadow: 0 0 0 4px rgba(86,165,122,0.12);
    animation: pulse-dot 2s ease-in-out infinite;
}
.status-track .is-active .status-dot::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--gold);
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(86,165,122,0.12); }
    50% { box-shadow: 0 0 0 8px rgba(86,165,122,0.05); }
}
.status-track li strong {
    display: block;
    color: var(--cream);
    font-weight: 600;
    font-size: 0.96rem;
    margin-bottom: 2px;
}
.status-track li p {
    color: var(--text-muted);
    font-size: 0.84rem;
    margin: 0;
    line-height: 1.5;
}
.status-track li:not(.is-done):not(.is-active) strong { color: var(--text-soft); opacity: 0.7; }

.pay-summary-meta {
    margin: 28px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 12px;
}
.pay-summary-meta > div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: baseline;
    font-size: 0.92rem;
}
.pay-summary-meta dt {
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}
.pay-summary-meta dd {
    color: var(--text-soft);
    margin: 0;
}

.pay-panel {
    position: relative;
    margin-top: 24px;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(165deg, rgba(22,24,26,0.95), rgba(11,15,13,1));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.pay-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.pay-panel-title {
    font-size: 1.5rem;
    margin: 6px 0 0;
    color: var(--cream);
}
.pay-panel-amount {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 12px 18px;
    background: rgba(86,165,122,0.08);
    border: 1px solid rgba(86,165,122,0.28);
    border-radius: var(--radius);
}
.pay-panel-amount-label {
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 2px;
}
.pay-panel-amount-value {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--cream);
}
.pay-panel-amount-currency {
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    color: var(--text-muted);
    margin-top: 4px;
}
.pay-panel-grid {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 28px;
    align-items: start;
}
@media (max-width: 720px) {
    .pay-panel-grid { grid-template-columns: 1fr; }
}
.pay-rows {
    display: grid;
    gap: 8px;
}
.pay-row {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    background: rgba(7,13,11,0.45);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.pay-row:hover { border-color: rgba(86,165,122,0.35); background: rgba(7,13,11,0.7); }
.pay-row-ref { border-color: rgba(217,180,106,0.32); background: rgba(217,180,106,0.04); }
.pay-row-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.pay-row-value {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.9rem;
    color: var(--cream);
    word-break: break-all;
}
.pay-row-value code {
    color: var(--gold);
    background: transparent;
    padding: 0;
    font-family: inherit;
}
.pay-copy {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    flex-shrink: 0;
}
.pay-copy:hover { color: var(--gold); border-color: var(--gold); background: rgba(86,165,122,0.08); }
.pay-copy.is-copied { color: var(--success); border-color: var(--success); background: rgba(127,201,154,0.1); }

.pay-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.pay-qr-frame {
    padding: 8px;
    background: #0f1612;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(246,231,184,0.06);
}
.pay-qr-frame img { display: block; border-radius: 6px; }
.pay-qr-caption {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pay-panel-note {
    margin-top: 22px;
    padding: 14px 18px;
    background: rgba(86,165,122,0.05);
    border: 1px solid rgba(86,165,122,0.2);
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.pay-panel-note svg { color: var(--gold-light); flex-shrink: 0; margin-top: 2px; }
.pay-panel-note p { margin: 0; font-size: 0.88rem; color: var(--text-soft); line-height: 1.6; }


/* ============================================================
   MOBILE POLISH — focused fixes for narrow viewports
   ============================================================ */
@media (max-width: 640px) {
    /* Brand collapses to mark + name only; subtitle hidden so the
       Sign-in pill always fits on row 1 without truncation */
    .brand { gap: 8px !important; }
    .brand-mark { width: 30px !important; height: 30px !important; }
    .brand-name { font-size: 0.98rem !important; letter-spacing: 0 !important; }
    .brand-sub { display: none !important; }

    .nav-cta {
        padding: 8px 14px !important;
        font-size: 0.78rem !important;
    }

    .hero-badge {
        font-size: 0.66rem !important;
        letter-spacing: 0.12em !important;
        padding: 10px 14px !important;
        text-align: center;
        line-height: 1.5;
    }
    .hero-badge span { display: inline; }

    /* Tighter section padding so hero copy isn't pushed off-screen */
    .section-panel { padding: 36px 0 !important; }
    .container-wide { padding-left: 18px !important; padding-right: 18px !important; }

    /* Headline scale-down — clamp() handles most but force a floor */
    h1 { font-size: clamp(1.85rem, 8vw, 2.4rem) !important; line-height: 1.1 !important; }
    h2 { font-size: clamp(1.55rem, 6.4vw, 2rem) !important; line-height: 1.15 !important; }
    h3 { font-size: 1.2rem !important; }
    .lead, .tagline { font-size: 0.96rem !important; line-height: 1.55 !important; }

    /* Card padding shrinks so the cream gets some breathing room */
    .card { padding: 22px !important; }

    /* Stat strips wrap two-up regardless */
    .req-stats,
    .about-stats { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .about-stat { border-left: 0 !important; padding: 12px 14px !important; }
    .about-stat-num { font-size: 1.5rem !important; }

    /* Hero panel padding */
    .about-hero { padding: 48px 22px !important; min-height: 380px !important; border-radius: 22px !important; }
    .about-hero-title { font-size: clamp(2rem, 8.6vw, 2.6rem) !important; }
    .about-hero-lead { font-size: 0.94rem !important; }

    /* Pay-flow / fan-hero / req cards stack their two-up header on small screens */
    .pay-summary-header,
    .fan-hero,
    .req-card-top,
    .pay-panel-header { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; }
    .pay-summary-amount,
    .pay-panel-amount { align-self: stretch; align-items: flex-start !important; }
    .fan-hero-actions { width: 100%; }
    .fan-hero-actions .btn { flex: 1 1 auto; justify-content: center; }

    /* Pay-rows: collapse the 3-column grid to a single column */
    .pay-row { grid-template-columns: 1fr auto !important; row-gap: 4px !important; }
    .pay-row-label { grid-column: 1 / -1; }
    .pay-row-value { grid-column: 1 / 2; }
    .pay-copy { grid-column: 2 / 3; grid-row: 2 / 3; }

    /* Booking layout collapses to single column; sidebar moves below the form */
    .bk-layout { grid-template-columns: 1fr !important; }
    .bk-sidebar { order: 2; position: static !important; }
    .bk-form { order: 1; }
    .bk-card { padding: 22px !important; }
    .bk-grid-2 { grid-template-columns: 1fr !important; }

    /* Footer grid */
    .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }

    /* Meet & Greet wizard nav */
    .mg-nav { padding: 14px !important; flex-wrap: wrap !important; }
    .mg-nav .btn { min-width: 0 !important; padding: 12px 16px !important; }
    .mg-nav-count { width: 100%; order: -1; text-align: center; margin-bottom: 4px; }

    /* Status track text doesn't shrink awkwardly */
    .status-track li { grid-template-columns: 22px 1fr !important; gap: 10px !important; }
    .status-track li strong { font-size: 0.88rem !important; }
    .status-track li p { font-size: 0.78rem !important; }

    /* Selected works trailer cards: full width, larger tap targets */
    .works-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
    .work-thumb-play { width: 64px !important; height: 64px !important; }

    /* Disciplines / stages */
    .disciplines,
    .stages { grid-template-columns: 1fr !important; gap: 12px !important; }
    .stage { padding: 22px !important; }

    /* Founding card */
    .founding { padding: 28px 22px !important; }
    .founding-grid { grid-template-columns: 1fr !important; gap: 24px !important; }

    /* Buttons get full-width treatment when they're the only action */
    .btn-group { flex-direction: column !important; align-items: stretch !important; gap: 10px !important; }
    .btn-group .btn { width: 100%; justify-content: center; }

    /* Tables convert to stacked cards visually */
    table.table-shell { display: block; }
    table.table-shell thead { display: none; }
    table.table-shell tbody, table.table-shell tr, table.table-shell td { display: block; width: 100%; }
    table.table-shell tr {
        padding: 14px;
        border-bottom: 1px solid var(--border);
    }
    table.table-shell td {
        padding: 4px 0;
        font-size: 0.9rem;
    }

    /* Order summary on checkout sits above the form */
    .grid-2 { grid-template-columns: 1fr !important; gap: 18px !important; }
    .grid-3 { grid-template-columns: 1fr !important; gap: 12px !important; }
    .grid-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }

    /* Form panel: tighten on mobile */
    .form-panel,
    .mg-card { padding: 24px 20px !important; }
    .field-group { grid-template-columns: 1fr !important; }

    /* Logo wordmark sits beside mark with reduced gap */
    .brand-wordmark { line-height: 1 !important; }
}

@media (max-width: 380px) {
    /* Extra-small: drop the brand wordmark entirely, keep just the mark */
    .brand-wordmark { display: none !important; }
    .nav-cta { padding: 7px 12px !important; font-size: 0.74rem !important; }
}
