/* ─────────────────────────────────────────────
   RugIndustry — Design System (shared CSS)
   ───────────────────────────────────────────── */

:root {
    /* Brand colors */
    --burg: #6B1F2A;
    --burg-dark: #531822;
    --navy: #14223D;
    --cream: #F4EDE3;
    --cream-warm: #EDE3D4;
    --black: #0A0A0A;
    --charcoal: #2B2B2B;
    --error: #B91C1C;
    --success: #15803D;

    /* Tinted/transparent helpers */
    --burg-tint: rgba(107, 31, 42, 0.08);
    --navy-tint: rgba(20, 34, 61, 0.08);
    --navy-muted: rgba(20, 34, 61, 0.65);
    --navy-faded: rgba(20, 34, 61, 0.45);
    --hairline: rgba(20, 34, 61, 0.12);

    /* Spacing scale */
    --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
    --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

    /* Layout widths */
    --w-narrow: 720px;
    --w-default: 1100px;
    --w-wide: 1280px;

    /* Type */
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0; padding: 0;
    font-family: var(--sans);
    color: var(--navy);
    background: var(--cream);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

/* ── Typography ───────────────────────────── */

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 var(--s4);
    letter-spacing: 0.005em;
}
h1 { font-size: clamp(36px, 5.5vw, 56px); letter-spacing: -0.005em; }
h2 { font-size: clamp(26px, 3.5vw, 36px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { margin: 0 0 var(--s4); font-size: 16px; }
a { color: var(--burg); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--navy); }

.eyebrow {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--burg);
    margin-bottom: var(--s3);
}

.lede {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--navy-muted);
    line-height: 1.45;
}

/* ── Layout ───────────────────────────────── */

.container {
    width: 100%;
    max-width: var(--w-default);
    margin: 0 auto;
    padding: 0 var(--s5);
}
.container--narrow { max-width: var(--w-narrow); }
.container--wide   { max-width: var(--w-wide); }

section { padding: var(--s8) 0; }
section.compact { padding: var(--s7) 0; }

.divider-rule {
    height: 1px;
    background: var(--burg);
    width: 100%;
    max-width: 480px;
    margin: var(--s5) auto;
    opacity: 0.6;
}

/* ── Header / Navigation ──────────────────── */

.site-header {
    background: var(--cream);
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(8px);
    background: rgba(244, 237, 227, 0.92);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: var(--s4);
}
.site-header__brand {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.005em;
    text-decoration: none;
    flex-shrink: 0;
}
.site-header__brand .rug { color: var(--burg); }
.site-header__brand .industry { color: var(--navy); }

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--s5);
    flex-wrap: wrap;
}
.site-nav a {
    color: var(--navy);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s, color 0.15s;
}
.site-nav a:hover { border-bottom-color: var(--burg); color: var(--burg); }
.site-nav a.active { border-bottom-color: var(--burg); color: var(--burg); }

.site-nav__cta {
    margin-left: var(--s4);
    padding: 8px 18px !important;
    background: var(--burg);
    color: var(--cream) !important;
    border-radius: 4px;
    border: none !important;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.site-nav__cta:hover { background: var(--burg-dark); color: var(--cream) !important; border: none !important; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--navy);
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
}

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0; right: 0;
        background: var(--cream);
        flex-direction: column;
        align-items: stretch;
        padding: var(--s4) var(--s5);
        gap: var(--s2);
        border-bottom: 1px solid var(--hairline);
        box-shadow: 0 4px 12px rgba(20, 34, 61, 0.06);
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 12px 0; }
    .site-nav__cta { margin-left: 0; text-align: center; }
}

/* ── Hero ─────────────────────────────────── */

.hero {
    padding: var(--s9) 0 var(--s8);
    text-align: center;
    border-bottom: 1px solid var(--hairline);
}
.hero h1 {
    margin-bottom: var(--s4);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.hero .lede {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--s7);
}

/* ── Newsletter form ──────────────────────── */

.newsletter-form {
    display: flex;
    gap: var(--s2);
    max-width: 520px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--navy);
    background: white;
    border: 1px solid rgba(20, 34, 61, 0.2);
    border-radius: 4px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--burg);
    box-shadow: 0 0 0 3px rgba(107, 31, 42, 0.1);
}
.newsletter-form button {
    padding: 14px 24px;
    font-size: 13px;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream);
    background: var(--burg);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}
.newsletter-form button:hover { background: var(--burg-dark); }
.newsletter-form button:disabled { opacity: 0.5; cursor: not-allowed; }
.newsletter-fineprint {
    text-align: center;
    margin-top: var(--s3);
    font-size: 12px;
    color: var(--navy-muted);
}
.newsletter-message {
    text-align: center;
    margin: var(--s4) auto 0;
    max-width: 520px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}
.newsletter-message.show { display: block; }
.newsletter-message.success {
    background: rgba(21, 128, 61, 0.08);
    color: var(--success);
    border: 1px solid rgba(21, 128, 61, 0.2);
}
.newsletter-message.error {
    background: rgba(185, 28, 28, 0.08);
    color: var(--error);
    border: 1px solid rgba(185, 28, 28, 0.2);
}

/* ── Card grids ───────────────────────────── */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--s5);
    margin-top: var(--s6);
}
.card {
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: var(--s5);
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.card:hover {
    border-color: rgba(107, 31, 42, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(20, 34, 61, 0.06);
}
.card__number {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 32px;
    color: var(--burg);
    margin-bottom: var(--s3);
    letter-spacing: 0.005em;
}
.card h3 { margin-bottom: var(--s2); }
.card p { font-size: 14px; color: var(--navy-muted); margin: 0; }

/* ── Founding advertiser block ────────────── */

.founding {
    background: var(--navy);
    color: var(--cream);
    padding: var(--s8) 0;
    text-align: center;
}
.founding h2 { color: var(--cream); }
.founding .lede { color: rgba(244, 237, 227, 0.85); margin-bottom: var(--s6); }
.founding .eyebrow { color: rgba(244, 237, 227, 0.7); }
.founding .btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--burg);
    color: var(--cream);
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.15s;
}
.founding .btn:hover { background: var(--burg-dark); text-decoration: none; }

/* ── Buttons (general) ────────────────────── */

.btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--burg);
    color: var(--cream);
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}
.btn:hover { background: var(--burg-dark); text-decoration: none; }
.btn--secondary {
    background: transparent;
    border: 1px solid var(--burg);
    color: var(--burg);
}
.btn--secondary:hover { background: var(--burg-tint); }
.btn--navy { background: var(--navy); }
.btn--navy:hover { background: #0c1729; }

/* ── Footer ───────────────────────────────── */

.site-footer {
    background: var(--navy);
    color: var(--cream);
    padding: var(--s8) 0 var(--s5);
    margin-top: var(--s8);
}
.site-footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--s7);
    margin-bottom: var(--s6);
}
@media (max-width: 720px) {
    .site-footer__inner { grid-template-columns: 1fr; gap: var(--s5); }
}
.site-footer__brand {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 28px;
    margin-bottom: var(--s3);
}
.site-footer__brand .rug { color: var(--burg); }
.site-footer__brand .industry { color: var(--cream); }
.site-footer__tagline {
    font-family: var(--serif);
    font-style: italic;
    color: rgba(244, 237, 227, 0.7);
    margin: 0;
}
.site-footer h4 {
    color: var(--cream);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--sans);
    font-weight: 600;
    margin-bottom: var(--s3);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--s2); }
.site-footer a { color: rgba(244, 237, 227, 0.75); font-size: 14px; }
.site-footer a:hover { color: var(--cream); }
.site-footer__bottom {
    border-top: 1px solid rgba(244, 237, 227, 0.1);
    padding-top: var(--s4);
    text-align: center;
    font-size: 12px;
    color: rgba(244, 237, 227, 0.5);
    letter-spacing: 0.05em;
}

/* ── Page content blocks (about, advertise) ─ */

.page-header {
    padding: var(--s8) 0 var(--s6);
    text-align: center;
    border-bottom: 1px solid var(--hairline);
}
.page-header .eyebrow { margin-bottom: var(--s3); }
.page-content {
    padding: var(--s7) 0 var(--s8);
}
.page-content p,
.page-content li { font-size: 17px; line-height: 1.7; }
.page-content ul, .page-content ol { padding-left: var(--s5); margin-bottom: var(--s5); }
.page-content li { margin-bottom: var(--s2); }
.page-content h2 { margin-top: var(--s7); }
.page-content h3 { margin-top: var(--s6); }

/* ── Rate card table (advertise page) ─────── */

.rate-card {
    width: 100%;
    border-collapse: collapse;
    margin: var(--s5) 0 var(--s6);
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    overflow: hidden;
}
.rate-card th, .rate-card td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--hairline);
    font-size: 14px;
}
.rate-card th {
    background: var(--cream-warm);
    color: var(--navy);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.rate-card tr:last-child td { border-bottom: none; }
.rate-card td.price {
    font-weight: 600;
    color: var(--burg);
    white-space: nowrap;
}
.rate-card .price-label {
    font-size: 11px;
    color: var(--navy-muted);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    margin-left: var(--s1);
}

.callout {
    background: var(--burg-tint);
    border-left: 3px solid var(--burg);
    padding: var(--s4) var(--s5);
    margin: var(--s5) 0;
    border-radius: 0 4px 4px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--burg); }

/* ── Coming soon page ─────────────────────── */

.coming-soon-block {
    text-align: center;
    padding: var(--s8) 0;
}
.coming-soon-block .eyebrow { color: var(--burg); }
.coming-soon-block h1 { margin-bottom: var(--s4); }
.coming-soon-block p {
    max-width: 560px;
    margin: 0 auto var(--s6);
    color: var(--navy-muted);
    font-size: 17px;
}

/* ── Utilities ────────────────────────────── */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-7 { margin-top: var(--s7); }
.mb-7 { margin-bottom: var(--s7); }


/* ─────────────────────────────────────────────
   PHASE 5 — DIRECTORY STYLES
   ───────────────────────────────────────────── */

/* ── Search bar ───────────────────────────── */

.directory-filters-section { padding: var(--s5) 0 var(--s4); border-bottom: 1px solid var(--hairline); background: var(--cream); }

.search-bar {
    display: flex;
    gap: var(--s2);
    max-width: 560px;
    margin: 0 auto var(--s5);
}
.search-bar input[type="text"] {
    flex: 1;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--navy);
    background: white;
    border: 1px solid rgba(20, 34, 61, 0.2);
    border-radius: 4px;
}
.search-bar input:focus {
    outline: none;
    border-color: var(--burg);
    box-shadow: 0 0 0 3px rgba(107, 31, 42, 0.1);
}
.search-bar button {
    padding: 12px 20px;
    font-size: 12px;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream);
    background: var(--burg);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.search-bar button:hover { background: var(--burg-dark); }

/* ── Filter pills (refined for Events/Directory/News) ── */

.directory-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--s3);
    position: relative;
}

.filter-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy-muted);
    margin: 0 var(--s3) 0 0;
    flex-shrink: 0;
    align-self: center;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s ease;
    line-height: 1.4;
}
.filter-pill:hover {
    border-color: rgba(107, 31, 42, 0.35);
    background: var(--cream-warm);
    color: var(--burg);
    text-decoration: none;
}
.filter-pill.active {
    background: var(--navy);
    color: var(--cream);
    border-color: var(--navy);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(20, 34, 61, 0.15);
}
.filter-pill.active:hover {
    background: var(--navy);
    color: var(--cream);
    border-color: var(--navy);
}

/* Mobile: horizontal scroll instead of wrap (saves vertical space, modern feel) */
@media (max-width: 720px) {
    .directory-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: calc(-1 * var(--s5));
        margin-right: calc(-1 * var(--s5));
        padding: 4px var(--s5) var(--s2);
        scroll-padding-left: var(--s5);
    }
    .directory-filters::-webkit-scrollbar { display: none; }

    .filter-label {
        position: sticky;
        left: var(--s5);
        background: linear-gradient(90deg, var(--cream) 75%, transparent 100%);
        padding-right: 12px;
        z-index: 2;
        font-size: 10px;
    }

    .filter-pill {
        flex-shrink: 0;
        padding: 6px 14px;
        font-size: 12.5px;
    }
}

/* ── Results count ────────────────────────── */

.results-count {
    margin: var(--s5) 0;
    font-size: 13px;
    color: var(--navy-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* ── Directory grid + listing cards ───────── */

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--s5);
    margin-bottom: var(--s7);
}

.listing-card {
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: var(--s5);
    text-decoration: none;
    color: var(--navy);
    transition: all 0.15s;
    display: flex;
    flex-direction: column;
    position: relative;
}
.listing-card:hover {
    border-color: rgba(107, 31, 42, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 34, 61, 0.08);
    text-decoration: none;
}
.listing-card__type {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burg);
    margin-bottom: var(--s2);
}
.listing-card__name {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 22px;
    color: var(--navy);
    margin: 0 0 var(--s2);
    line-height: 1.2;
}
.listing-card__location {
    font-size: 13px;
    color: var(--navy-muted);
    margin-bottom: var(--s3);
}
.listing-card__tagline {
    font-size: 14px;
    color: var(--navy-muted);
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.listing-card--featured {
    border-color: var(--burg);
    border-width: 2px;
    background: linear-gradient(180deg, rgba(107, 31, 42, 0.03) 0%, white 100%);
}
.listing-card--premium { border-left: 4px solid var(--burg); }

/* ── Tier badges ──────────────────────────── */

.tier-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: var(--s2);
}
.tier-badge--featured { background: var(--burg); color: var(--cream); }
.tier-badge--premium { background: var(--navy); color: var(--cream); }
.tier-badge--unverified { background: rgba(20, 34, 61, 0.08); color: var(--navy-muted); }

.listing-card .tier-badge {
    position: absolute;
    top: var(--s3);
    right: var(--s3);
    margin: 0;
}

/* ── Empty state ──────────────────────────── */

.directory-empty {
    text-align: center;
    padding: var(--s8) var(--s5);
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    margin-bottom: var(--s6);
}
.directory-empty h3 {
    margin-bottom: var(--s3);
}
.directory-empty p {
    color: var(--navy-muted);
    max-width: 480px;
    margin: 0 auto var(--s5);
}

/* ── Directory CTA block ──────────────────── */

.directory-cta-block {
    background: var(--cream-warm);
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: var(--s6);
    text-align: center;
    margin-top: var(--s7);
}
.directory-cta-block h3 { margin-bottom: var(--s2); }
.directory-cta-block p {
    color: var(--navy-muted);
    margin-bottom: var(--s4);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Listing detail page ──────────────────── */

.listing-detail { padding: var(--s5) 0 var(--s8); }

.breadcrumb {
    font-size: 12px;
    color: var(--navy-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--s5);
}
.breadcrumb a { color: var(--navy-muted); }
.breadcrumb a:hover { color: var(--burg); }
.breadcrumb span { color: var(--navy); font-weight: 600; }

.unclaimed-banner {
    background: rgba(107, 31, 42, 0.06);
    border: 1px solid rgba(107, 31, 42, 0.2);
    border-radius: 4px;
    padding: var(--s4);
    margin-bottom: var(--s5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s4);
    flex-wrap: wrap;
}
.unclaimed-banner__text { flex: 1; min-width: 240px; }
.unclaimed-banner h4 { font-size: 15px; margin: 0 0 4px; color: var(--burg); font-family: var(--sans); }
.unclaimed-banner p { font-size: 13px; margin: 0; color: var(--navy-muted); }

.listing-detail__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--s7);
}
@media (max-width: 860px) {
    .listing-detail__grid { grid-template-columns: 1fr; gap: var(--s6); }
}

.listing-detail__header { margin-bottom: var(--s6); }
.listing-detail__header h1 { margin-bottom: var(--s3); }
.listing-detail__body p { font-size: 16px; line-height: 1.7; }
.listing-detail__body h2 { margin-top: var(--s6); margin-bottom: var(--s3); font-size: 22px; }

.contact-card {
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: var(--s5);
    margin-bottom: var(--s4);
}
.contact-card h3 { font-size: 16px; margin-bottom: var(--s3); }
.contact-card dl { margin: 0; }
.contact-card dt {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy-muted);
    margin-top: var(--s3);
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd {
    margin: 4px 0 0;
    font-size: 14px;
    word-wrap: break-word;
}

.related-listings { margin-top: var(--s5); }
.related-listings h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--s3); color: var(--navy-muted); font-family: var(--sans); }
.related-listings ul { list-style: none; padding: 0; margin: 0; }
.related-listings li { margin-bottom: var(--s2); }
.related-listings a {
    display: block;
    padding: var(--s3);
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 4px;
    color: var(--navy);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.related-listings a:hover { border-color: var(--burg); color: var(--burg); }

/* ── Submit form ──────────────────────────── */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s4);
}
@media (max-width: 540px) {
    .form-row { grid-template-columns: 1fr; }
}
.form-field { margin: 0; }

.page-content label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 6px;
    margin-top: var(--s3);
}
.page-content input[type="text"],
.page-content input[type="email"],
.page-content input[type="tel"],
.page-content input[type="url"],
.page-content textarea,
.page-content select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--navy);
    background: white;
    border: 1px solid rgba(20, 34, 61, 0.2);
    border-radius: 4px;
    margin-bottom: 0;
}
.page-content input:focus,
.page-content textarea:focus,
.page-content select:focus {
    outline: none;
    border-color: var(--burg);
    box-shadow: 0 0 0 3px rgba(107, 31, 42, 0.1);
}
.page-content textarea { resize: vertical; min-height: 100px; }

.form-fineprint {
    font-size: 13px;
    color: var(--navy-muted);
    margin: var(--s5) 0 var(--s4);
    line-height: 1.6;
}

#submit-form button.btn {
    padding: 14px 28px;
    margin-top: var(--s4);
    width: auto;
}


/* ─────────────────────────────────────────────
   PHASE 6 — EVENTS STYLES
   ───────────────────────────────────────────── */

/* ── Events list (vertical, magazine style) ─ */

.events-list {
    display: flex;
    flex-direction: column;
    gap: var(--s4);
    margin-bottom: var(--s7);
}

.event-card {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: var(--s5);
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: var(--s5);
    text-decoration: none;
    color: var(--navy);
    transition: all 0.15s;
    align-items: center;
}
.event-card:hover {
    border-color: rgba(107, 31, 42, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(20, 34, 61, 0.06);
    text-decoration: none;
}
@media (max-width: 720px) {
    .event-card {
        grid-template-columns: 80px 1fr;
        gap: var(--s4);
    }
    .event-card__cta { display: none; }
}

.event-card__date {
    text-align: center;
    border-right: 1px solid var(--hairline);
    padding-right: var(--s5);
    font-family: var(--serif);
}
@media (max-width: 720px) {
    .event-card__date { padding-right: var(--s4); }
}
.event-card__date-month {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burg);
    font-family: var(--sans);
    margin: 0;
}
.event-card__date-day {
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin: 4px 0;
}
.event-card__date-year {
    font-size: 11px;
    color: var(--navy-muted);
    font-family: var(--sans);
    margin: 0;
}

.event-card__body { min-width: 0; }
.event-card__category {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burg);
    margin: 0 0 6px;
}
.event-card__title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 20px;
    color: var(--navy);
    margin: 0 0 6px;
    line-height: 1.25;
}
.event-card__location {
    font-size: 13px;
    color: var(--navy-muted);
    margin: 0 0 4px;
}
.event-card__dates {
    font-size: 13px;
    color: var(--navy-muted);
    margin: 0;
    font-style: italic;
}

.event-card__cta {
    color: var(--burg);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Past event styling ──────────────────── */

.event-card--past {
    opacity: 0.7;
}
.event-card--past .event-card__date-day {
    color: var(--navy-muted);
}

/* ── Event detail page ────────────────────── */

.event-detail__header {
    display: flex;
    gap: var(--s6);
    align-items: flex-start;
    margin: var(--s5) 0 var(--s6);
    padding-bottom: var(--s6);
    border-bottom: 1px solid var(--hairline);
}
@media (max-width: 720px) {
    .event-detail__header { flex-direction: column; gap: var(--s4); }
}

.event-detail__date-block {
    flex-shrink: 0;
    text-align: center;
    padding: var(--s4);
    background: var(--cream-warm);
    border: 1px solid var(--hairline);
    border-radius: 6px;
    min-width: 120px;
}
.event-detail__date-month {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burg);
    margin: 0 0 4px;
}
.event-detail__date-day {
    font-family: var(--serif);
    font-weight: 900;
    font-size: 56px;
    color: var(--navy);
    line-height: 1;
    margin: 0 0 4px;
}
.event-detail__date-year {
    font-size: 12px;
    color: var(--navy-muted);
    margin: 0;
}

.event-detail__dates {
    font-style: italic;
    color: var(--navy-muted);
    margin-top: var(--s2);
}

.status-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    border-radius: 3px;
    margin-left: var(--s2);
}
.status-badge--past {
    background: rgba(20, 34, 61, 0.1);
    color: var(--navy-muted);
}


/* ─────────────────────────────────────────────
   PHASE 7 — ARTICLES / NEWS STYLES
   ───────────────────────────────────────────── */

/* ── Articles grid (news index) ────────────── */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--s5);
    margin-bottom: var(--s7);
}

.article-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: var(--s5);
    text-decoration: none;
    color: var(--navy);
    transition: all 0.15s;
    height: 100%;
}
.article-card:hover {
    border-color: rgba(107, 31, 42, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 34, 61, 0.06);
    text-decoration: none;
}

.article-card__category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burg);
    margin: 0 0 var(--s2);
}
.article-card__title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 22px;
    color: var(--navy);
    margin: 0 0 var(--s3);
    line-height: 1.25;
}
.article-card__excerpt {
    font-size: 14px;
    color: var(--navy-muted);
    margin: 0 0 var(--s4);
    line-height: 1.55;
    flex-grow: 1;
}
.article-card__meta {
    display: flex;
    align-items: center;
    gap: var(--s2);
    font-size: 12px;
    color: var(--navy-muted);
    margin: 0;
    padding-top: var(--s3);
    border-top: 1px solid var(--hairline);
}
.article-card__author { font-weight: 600; }

/* ── Article detail page ───────────────────── */

.article {
    padding: var(--s5) 0 var(--s8);
}

.article__header {
    margin: var(--s5) 0 var(--s6);
    padding-bottom: var(--s6);
    border-bottom: 1px solid var(--hairline);
}
.article__title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(32px, 5vw, 48px);
    color: var(--navy);
    margin: var(--s3) 0 var(--s3);
    line-height: 1.15;
    letter-spacing: -0.005em;
}
.article__subtitle {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(17px, 2.2vw, 21px);
    color: var(--navy-muted);
    line-height: 1.45;
    margin: 0 0 var(--s5);
}
.article__meta {
    display: flex;
    align-items: center;
    gap: var(--s2);
    font-size: 13px;
    color: var(--navy-muted);
}
.article__author { font-weight: 600; color: var(--navy); }
.article__sep { color: var(--navy-faded); }

.article__cover {
    margin: var(--s5) 0 var(--s6);
    border-radius: 6px;
    overflow: hidden;
}
.article__cover img {
    width: 100%;
    height: auto;
    display: block;
}

/* AEO-optimized summary block at top of article */
.article__summary {
    background: var(--cream-warm);
    border-left: 4px solid var(--burg);
    padding: var(--s4) var(--s5);
    margin: 0 0 var(--s6);
    border-radius: 0 6px 6px 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--navy);
    font-family: var(--serif);
}
.article__summary p { margin: 0; }
.article__summary-label {
    display: block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burg);
    margin-bottom: var(--s2);
}

/* Article body (the main content) */
.article__body {
    font-size: 17px;
    line-height: 1.7;
    color: var(--charcoal);
}
.article__body p {
    margin: 0 0 var(--s4);
    font-size: 17px;
    line-height: 1.7;
}
.article__body h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 28px;
    color: var(--navy);
    margin: var(--s7) 0 var(--s4);
    line-height: 1.2;
}
.article__body h3 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 21px;
    color: var(--navy);
    margin: var(--s6) 0 var(--s3);
}
.article__body ul,
.article__body ol {
    margin: 0 0 var(--s5);
    padding-left: var(--s5);
}
.article__body li {
    margin-bottom: var(--s2);
    font-size: 17px;
    line-height: 1.7;
}
.article__body strong { color: var(--navy); font-weight: 700; }
.article__body a {
    color: var(--burg);
    text-decoration: underline;
    text-decoration-color: rgba(107, 31, 42, 0.3);
    text-underline-offset: 3px;
}
.article__body a:hover {
    text-decoration-color: var(--burg);
}
.article__body blockquote {
    border-left: 3px solid var(--burg);
    padding: var(--s2) var(--s5);
    margin: var(--s5) 0;
    font-family: var(--serif);
    font-style: italic;
    font-size: 19px;
    color: var(--navy);
    line-height: 1.5;
}

/* FAQ block */
.article__faq {
    margin: var(--s7) 0 var(--s6);
    padding: var(--s6);
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
}
.article__faq h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 24px;
    margin: 0 0 var(--s4);
    color: var(--navy);
}
.article__faq dl { margin: 0; }
.article__faq dt {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 17px;
    color: var(--navy);
    margin-top: var(--s4);
    margin-bottom: var(--s2);
}
.article__faq dt:first-child { margin-top: 0; }
.article__faq dd {
    margin: 0 0 var(--s4);
    font-size: 16px;
    line-height: 1.65;
    color: var(--charcoal);
}

/* Sponsor disclosure */
.article__sponsor {
    margin: var(--s6) 0;
    padding: var(--s4) var(--s5);
    background: rgba(107, 31, 42, 0.05);
    border: 1px dashed var(--burg);
    border-radius: 4px;
    font-size: 13px;
    color: var(--navy-muted);
    text-align: center;
}
.article__sponsor strong { color: var(--burg); }

/* Article footer (back link) */
.article__footer {
    margin-top: var(--s7);
    padding-top: var(--s5);
    border-top: 1px solid var(--hairline);
}

/* Sponsored badge */
.sponsored-badge {
    display: inline-block;
    padding: 2px 8px;
    margin-left: var(--s2);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    background: var(--cream-warm);
    color: var(--burg);
    border-radius: 3px;
}

/* Related articles section */
.related-articles {
    background: var(--cream-warm);
    padding: var(--s7) 0 var(--s8);
    margin-top: var(--s8);
    border-top: 1px solid var(--hairline);
}
.related-articles h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 26px;
    color: var(--navy);
    margin: 0 0 var(--s5);
    text-align: center;
}


/* ─────────────────────────────────────────────
   PHASE 7 — ARTICLE STYLES
   ───────────────────────────────────────────── */

/* ── Article grid (news index) ────────────── */

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--s5);
    margin-bottom: var(--s7);
}

.article-card {
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: var(--navy);
    display: flex;
    flex-direction: column;
    transition: all 0.15s;
}
.article-card:hover {
    border-color: rgba(107, 31, 42, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 34, 61, 0.08);
    text-decoration: none;
}
.article-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--cream-warm);
    background-size: cover;
    background-position: center;
}
.article-card__body {
    padding: var(--s5);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.article-card__category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burg);
    margin: 0 0 var(--s2);
}
.article-card__title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 22px;
    color: var(--navy);
    line-height: 1.3;
    margin: 0 0 var(--s3);
}
.article-card__excerpt {
    font-size: 14px;
    color: var(--navy-muted);
    line-height: 1.55;
    margin: 0 0 var(--s4);
    flex-grow: 1;
}
.article-card__meta {
    font-size: 12px;
    color: var(--navy-muted);
    margin: 0;
    padding-top: var(--s3);
    border-top: 1px solid var(--hairline);
}

/* ── Featured article (hero card) ─────────── */

.article-featured {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0;
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: var(--s6);
    text-decoration: none;
    color: var(--navy);
    transition: all 0.15s;
}
.article-featured:hover {
    border-color: rgba(107, 31, 42, 0.4);
    box-shadow: 0 8px 24px rgba(20, 34, 61, 0.08);
    text-decoration: none;
}
@media (max-width: 720px) {
    .article-featured { grid-template-columns: 1fr; }
}
.article-featured__image {
    background-size: cover;
    background-position: center;
    min-height: 280px;
    background-color: var(--cream-warm);
}
.article-featured__body {
    padding: var(--s7) var(--s6);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.article-featured__title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 32px;
    color: var(--navy);
    line-height: 1.2;
    margin: var(--s3) 0;
}
.article-featured__excerpt {
    font-size: 15px;
    color: var(--navy-muted);
    line-height: 1.6;
    margin-bottom: var(--s4);
}

/* ── Individual article page ──────────────── */

.article-page {
    padding: var(--s5) 0 var(--s7);
}

.article-header {
    text-align: center;
    margin: var(--s5) 0 var(--s6);
    padding-bottom: var(--s5);
    border-bottom: 1px solid var(--hairline);
}
.article-header h1 {
    margin: var(--s3) 0 var(--s4);
    font-size: clamp(28px, 4.5vw, 44px);
    line-height: 1.15;
}
.article-header__excerpt {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(17px, 2.2vw, 21px);
    color: var(--navy-muted);
    max-width: 640px;
    margin: 0 auto var(--s4);
    line-height: 1.5;
}
.article-header__meta {
    font-size: 13px;
    color: var(--navy-muted);
    margin: 0;
    letter-spacing: 0.05em;
}

.article-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    margin: var(--s5) 0 var(--s6);
}

/* Article body typography */

.article-body {
    font-size: 17px;
    line-height: 1.7;
    color: var(--navy);
    margin-bottom: var(--s7);
}
.article-body p {
    margin: 0 0 var(--s5);
    font-size: 17px;
}
.article-body p:first-of-type {
    font-size: 19px;
    color: var(--navy);
    line-height: 1.6;
}
.article-body h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 28px;
    color: var(--navy);
    margin: var(--s8) 0 var(--s4);
    letter-spacing: -0.005em;
}
.article-body h3 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 22px;
    color: var(--navy);
    margin: var(--s6) 0 var(--s3);
}
.article-body h4 { font-size: 18px; margin: var(--s5) 0 var(--s3); }
.article-body ul, .article-body ol {
    margin: 0 0 var(--s5);
    padding-left: var(--s6);
}
.article-body li {
    margin-bottom: var(--s2);
    line-height: 1.65;
}
.article-body strong { color: var(--navy); font-weight: 700; }
.article-body a { color: var(--burg); border-bottom: 1px solid rgba(107, 31, 42, 0.3); }
.article-body a:hover { border-bottom-color: var(--burg); text-decoration: none; }
.article-body blockquote {
    border-left: 3px solid var(--burg);
    padding: var(--s2) 0 var(--s2) var(--s5);
    margin: var(--s6) 0;
    font-family: var(--serif);
    font-style: italic;
    color: var(--navy);
    font-size: 19px;
}
.article-body code {
    background: var(--cream-warm);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 14px;
    color: var(--burg);
}
.article-body pre {
    background: var(--navy);
    color: var(--cream);
    padding: var(--s4);
    border-radius: 4px;
    overflow-x: auto;
    font-size: 14px;
    margin: var(--s5) 0;
}
.article-body pre code {
    background: transparent;
    color: var(--cream);
    padding: 0;
}
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: var(--s5) 0;
}
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--s5) 0;
    border: 1px solid var(--hairline);
    border-radius: 4px;
    overflow: hidden;
    font-size: 15px;
}
.article-body th, .article-body td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--hairline);
}
.article-body th {
    background: var(--cream-warm);
    font-weight: 600;
    color: var(--navy);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.article-body tr:last-child td { border-bottom: none; }

/* ── FAQ section (AEO bait) ───────────────── */

.article-faq {
    margin: var(--s7) 0;
    padding: var(--s6);
    background: var(--cream-warm);
    border-radius: 6px;
}
.article-faq h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 26px;
    margin: 0 0 var(--s5);
    color: var(--navy);
}
.faq-item {
    border-bottom: 1px solid var(--hairline);
    padding: var(--s4) 0;
}
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item h3 {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 17px;
    color: var(--navy);
    margin: 0 0 var(--s3);
}
.faq-item p {
    margin: 0;
    color: var(--navy);
    line-height: 1.65;
    font-size: 16px;
}

/* ── Article footer (share + meta) ────────── */

.article-footer {
    margin-top: var(--s7);
    padding-top: var(--s5);
    border-top: 1px solid var(--hairline);
}
.article-share { font-size: 14px; }
.article-share .eyebrow { display: inline-block; margin: 0 var(--s3) 0 0; }
.article-share a {
    color: var(--burg);
    text-decoration: none;
    margin: 0 var(--s2);
    font-weight: 500;
}

/* ── Sponsored badge ──────────────────────── */

.sponsored-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--cream-warm);
    color: var(--navy);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid var(--hairline);
    border-radius: 3px;
    margin-left: var(--s3);
}


/* ─────────────────────────────────────────────
   PHASE 8 — STRIPE / ADVERTISE STYLES
   ───────────────────────────────────────────── */

.ad-products {
    display: flex;
    flex-direction: column;
    gap: var(--s4);
    margin: var(--s5) 0 var(--s6);
}

.ad-product {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--s5);
    align-items: center;
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: var(--s5);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.ad-product:hover {
    border-color: rgba(107, 31, 42, 0.3);
    box-shadow: 0 4px 12px rgba(20, 34, 61, 0.05);
}
@media (max-width: 600px) {
    .ad-product {
        grid-template-columns: 1fr;
        gap: var(--s4);
    }
    .ad-product__cta { text-align: left; }
}

.ad-product__info h3 {
    margin: 0 0 var(--s2);
    font-size: 19px;
}
.ad-product__desc {
    font-size: 14px;
    color: var(--navy-muted);
    line-height: 1.55;
    margin: 0 0 var(--s3);
}
.ad-product__rates {
    font-size: 13px;
    color: var(--navy);
    margin: 0;
}
.ad-product__rates strong { color: var(--burg); }
.ad-product__std { color: var(--navy-muted); }

.ad-product__cta {
    text-align: right;
    flex-shrink: 0;
    min-width: 140px;
}
.ad-product__price {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 28px;
    color: var(--navy);
    margin: 0 0 var(--s2);
    line-height: 1;
}
.ad-product__price span {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 13px;
    color: var(--navy-muted);
    margin-left: 4px;
}

.buy-btn {
    width: 100%;
    cursor: pointer;
    transition: background 0.15s;
}
.buy-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Order details on success page */

.order-detail-block {
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: var(--s5);
    margin: var(--s4) 0;
}
.order-detail-block dl { margin: 0; }
.order-detail-block dt {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy-muted);
    margin-top: var(--s3);
}
.order-detail-block dt:first-child { margin-top: 0; }
.order-detail-block dd {
    margin: 4px 0 0;
    font-size: 15px;
    color: var(--navy);
    font-weight: 500;
}


/* ─────────────────────────────────────────────
   HOMEPAGE V2 — Hero, Trust Bar, Pillars, CTA Band
   ───────────────────────────────────────────── */

/* ── Hero v2 ──────────────────────────────────── */

.hero-v2 {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    color: var(--cream);
}
.hero-v2__bg {
    position: absolute; inset: 0;
    background-image: url('/static/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    background-color: #1a1410;
}
.hero-v2__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(20, 12, 8, 0.72) 0%, rgba(20, 12, 8, 0.40) 50%, rgba(20, 12, 8, 0.15) 100%);
}
.hero-v2__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: var(--s7);
    align-items: center;
    padding: var(--s9) var(--s5);
    min-height: 600px;
}
@media (max-width: 920px) {
    .hero-v2__inner { grid-template-columns: 1fr; gap: var(--s6); padding: var(--s8) var(--s5); }
}

.hero-v2__copy h1 {
    color: var(--cream);
    font-size: clamp(36px, 5.5vw, 60px);
    line-height: 1.05;
    margin: var(--s4) 0 var(--s5);
    letter-spacing: -0.01em;
}
.eyebrow--light { color: rgba(244, 237, 227, 0.85); }
.lede--light { color: rgba(244, 237, 227, 0.88); margin-bottom: var(--s6); }
.hero-v2__copy .lede--light { font-style: normal; font-family: var(--sans); font-size: 17px; line-height: 1.6; max-width: 580px; }

.hero-v2__ctas {
    display: flex;
    gap: var(--s3);
    flex-wrap: wrap;
}
.btn--ghost-light {
    background: transparent;
    border: 1px solid rgba(244, 237, 227, 0.4);
    color: var(--cream);
}
.btn--ghost-light:hover {
    background: rgba(244, 237, 227, 0.1);
    border-color: var(--cream);
    text-decoration: none;
}

/* Founding advertiser card (right side) */

.hero-v2__card {
    background: white;
    border-radius: 8px;
    padding: var(--s6);
    color: var(--navy);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.hero-v2__card .eyebrow { color: var(--burg); margin-bottom: var(--s2); }
.hero-v2__card h3 { margin: 0 0 var(--s3); font-size: 24px; }
.hero-v2__card p {
    color: var(--navy-muted);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: var(--s5);
}

.hero-v2__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s3);
    margin-bottom: var(--s5);
    padding: var(--s4) 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}
.hero-v2__stat-value {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 26px;
    color: var(--burg);
    margin: 0;
    line-height: 1;
}
.hero-v2__stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--navy-muted);
    margin: 6px 0 0;
}

.btn--block {
    display: block;
    text-align: center;
    width: 100%;
}

/* ── Trust bar (dark) ─────────────────────────── */

.trust-bar {
    background: #1a1410;
    color: rgba(244, 237, 227, 0.9);
    padding: var(--s4) 0;
    border-bottom: 1px solid rgba(244, 237, 227, 0.05);
}
.trust-bar ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--s4);
}
.trust-bar li {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
    padding-left: var(--s4);
}
.trust-bar li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--burg);
    font-weight: 700;
}

/* ── Section utilities ────────────────────────── */

.section--padded { padding: var(--s9) 0; }
.section--cream { background: var(--cream-warm); }

@media (max-width: 720px) {
    .section--padded { padding: var(--s8) 0; }
}

.section-header {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--s7);
    align-items: end;
    margin-bottom: var(--s6);
}
@media (max-width: 720px) {
    .section-header { grid-template-columns: 1fr; gap: var(--s4); }
}
.section-header h2 { margin: var(--s3) 0 0; }
.section-header__sub {
    font-size: 15px;
    color: var(--navy-muted);
    line-height: 1.6;
    margin: 0;
}

.section-cta {
    margin-top: var(--s6);
    text-align: center;
    font-size: 15px;
    font-weight: 600;
}
.section-cta a {
    color: var(--burg);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    transition: border-color 0.15s;
}
.section-cta a:hover { border-bottom-color: var(--burg); }

/* ── Featured directory grid ──────────────────── */

.featured-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--s4);
}

.featured-listing-card {
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: var(--s5);
    text-decoration: none;
    color: var(--navy);
    transition: all 0.15s;
    display: flex;
    flex-direction: column;
}
.featured-listing-card:hover {
    border-color: rgba(107, 31, 42, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 34, 61, 0.06);
    text-decoration: none;
}
.featured-listing-card h3 {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 6px;
    line-height: 1.2;
}
.featured-listing-card .location {
    font-size: 12px;
    font-weight: 600;
    color: var(--burg);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 var(--s3);
}
.featured-listing-card .desc {
    font-size: 13px;
    color: var(--navy-muted);
    line-height: 1.5;
    margin: 0 0 var(--s4);
    flex-grow: 1;
}
.featured-listing-card .view-profile {
    color: var(--burg);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Platform pillars (dark section) ─────────── */

.platform-pillars {
    background: #1a1410;
    color: var(--cream);
    padding: var(--s9) 0;
}
.platform-pillars__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--s8);
    align-items: center;
}
@media (max-width: 920px) {
    .platform-pillars__inner { grid-template-columns: 1fr; gap: var(--s6); }
}
.platform-pillars__copy h2 {
    color: var(--cream);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    margin: var(--s3) 0 var(--s4);
}
.platform-pillars__copy .lede--light {
    font-family: var(--sans);
    font-style: normal;
    font-size: 16px;
    line-height: 1.6;
}

.platform-pillars__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s4);
}
@media (max-width: 540px) {
    .platform-pillars__grid { grid-template-columns: 1fr; }
}
.pillar {
    background: rgba(244, 237, 227, 0.05);
    border: 1px solid rgba(244, 237, 227, 0.1);
    border-radius: 6px;
    padding: var(--s5);
}
.pillar h4 {
    color: var(--cream);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 var(--s2);
}
.pillar p {
    color: rgba(244, 237, 227, 0.75);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* ── Trends grid ──────────────────────────────── */

.trends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--s5);
}
.trend-card {
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: var(--s5);
}
.trend-card h4 {
    font-family: var(--serif);
    font-size: 22px;
    margin: var(--s2) 0 var(--s3);
    color: var(--navy);
}
.trend-card p {
    font-size: 14px;
    color: var(--navy-muted);
    line-height: 1.55;
    margin: 0 0 var(--s4);
}
.card-link {
    color: var(--burg);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* ── CTA band (burgundy) ──────────────────────── */

.cta-band {
    background: var(--burg);
    color: var(--cream);
    padding: var(--s7) 0;
}
.cta-band__inner {
    display: grid;
    grid-template-columns: 1.5fr auto;
    gap: var(--s6);
    align-items: center;
}
@media (max-width: 720px) {
    .cta-band__inner { grid-template-columns: 1fr; gap: var(--s4); }
}
.cta-band h2 {
    color: var(--cream);
    margin: 0 0 var(--s3);
    font-size: clamp(24px, 3.5vw, 32px);
}
.cta-band p {
    color: rgba(244, 237, 227, 0.9);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    max-width: 640px;
}
.btn--cream {
    background: var(--cream);
    color: var(--burg);
}
.btn--cream:hover {
    background: white;
    color: var(--burg-dark);
    text-decoration: none;
}

/* ── Newsletter block (homepage v2) ───────────── */

.newsletter-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s6);
    align-items: center;
}
@media (max-width: 720px) {
    .newsletter-block { grid-template-columns: 1fr; gap: var(--s4); }
}
.newsletter-block h2 { margin: var(--s3) 0 var(--s3); }
.newsletter-block p {
    color: var(--navy-muted);
    margin: 0;
}
.newsletter-block .newsletter-form {
    margin: 0;
    max-width: none;
}


/* ─────────────────────────────────────────────
   PHASE 8C — CUSTOMER DASHBOARD (/account/)
   ───────────────────────────────────────────── */

.page-header--compact { padding: var(--s6) 0 var(--s5); }

/* Account stats */

.account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--s4);
    margin: var(--s5) 0 var(--s6);
}

.stat-card {
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: var(--s5);
    text-align: center;
}
.stat-card__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy-muted);
    margin: 0 0 var(--s2);
}
.stat-card__value {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 28px;
    color: var(--navy);
    margin: 0;
    line-height: 1;
}

.account-actions {
    display: flex;
    gap: var(--s3);
    flex-wrap: wrap;
    margin-bottom: var(--s5);
}
.btn--ghost {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--hairline);
}
.btn--ghost:hover {
    background: var(--cream-warm);
    border-color: var(--burg);
    color: var(--burg);
    text-decoration: none;
}

/* Order list (used in /account/ and /account/orders/) */

.order-list {
    display: flex;
    flex-direction: column;
    gap: var(--s3);
    margin: var(--s4) 0 var(--s6);
}

.order-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: var(--s4);
    align-items: center;
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: var(--s4) var(--s5);
    text-decoration: none;
    color: var(--navy);
    transition: all 0.15s;
}
.order-row:hover {
    border-color: rgba(107, 31, 42, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 34, 61, 0.04);
    text-decoration: none;
}
@media (max-width: 600px) {
    .order-row {
        grid-template-columns: 1fr;
        gap: var(--s2);
    }
}

.order-row__ref {
    font-family: var(--mono, 'Courier New', monospace);
    font-size: 12px;
    font-weight: 700;
    color: var(--burg);
    letter-spacing: 0.05em;
}
.order-row__product { display: flex; flex-direction: column; }
.order-row__product-name {
    font-weight: 600;
    color: var(--navy);
    font-size: 15px;
    margin: 0;
}
.order-row__date {
    font-size: 12px;
    color: var(--navy-muted);
    margin: 2px 0 0;
}
.order-row__amount {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
}

/* Status badges */

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.status-badge--pending {
    background: rgba(149, 149, 149, 0.12);
    color: #707070;
}
.status-badge--paid {
    background: rgba(255, 187, 0, 0.15);
    color: #8B6914;
}
.status-badge--approved {
    background: rgba(60, 130, 200, 0.12);
    color: #2A5C8B;
}
.status-badge--delivered {
    background: rgba(40, 130, 70, 0.12);
    color: #1F6B3D;
}
.status-badge--expired,
.status-badge--cancelled {
    background: rgba(180, 70, 70, 0.10);
    color: #8B2828;
}
.status-badge--past {
    background: rgba(149, 149, 149, 0.12);
    color: #707070;
}

/* Order detail page — status timeline */

.order-timeline {
    background: white;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: var(--s5) var(--s6);
    margin-bottom: var(--s5);
}
.order-timeline h3 {
    margin: 0 0 var(--s5);
    font-size: 18px;
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: timeline;
}
.timeline-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--s3);
    padding: var(--s3) 0;
    position: relative;
    border-left: 2px solid var(--hairline);
    padding-left: var(--s5);
    margin-left: 14px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step__icon {
    position: absolute;
    left: -16px;
    top: var(--s3);
    width: 30px;
    height: 30px;
    background: white;
    border: 2px solid var(--hairline);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-muted);
}
.timeline-step__title {
    font-weight: 600;
    color: var(--navy-muted);
    margin: 0 0 2px;
    font-size: 15px;
}
.timeline-step__date {
    font-size: 12px;
    color: var(--navy-muted);
    margin: 0;
}

/* Active step (current state) */
.timeline-step.active .timeline-step__icon {
    background: var(--burg);
    border-color: var(--burg);
    color: var(--cream);
}
.timeline-step.active .timeline-step__title {
    color: var(--burg);
    font-weight: 700;
}

/* Completed step */
.timeline-step.complete {
    border-left-color: var(--burg);
}
.timeline-step.complete .timeline-step__icon {
    background: var(--cream);
    border-color: var(--burg);
    color: var(--burg);
}
.timeline-step.complete .timeline-step__title {
    color: var(--navy);
    font-weight: 600;
}
.timeline-step.complete .timeline-step__date {
    color: var(--navy);
}

/* Asset upload block (orange callout for action needed) */

.asset-upload-block {
    background: rgba(255, 187, 0, 0.10);
    border: 1px solid rgba(255, 187, 0, 0.4);
    border-radius: 6px;
    padding: var(--s5);
    margin-top: var(--s5);
}
.asset-upload-block h3 {
    margin: 0 0 var(--s3);
    color: #8B6914;
    font-size: 17px;
}
.asset-upload-block p {
    margin: 0 0 var(--s3);
    color: var(--navy);
    font-size: 14px;
    line-height: 1.55;
}
.asset-upload-block ul {
    margin: 0 0 var(--s3);
    padding-left: var(--s5);
    font-size: 14px;
    color: var(--navy);
}
.asset-upload-block li { margin-bottom: 4px; }

/* Empty state */

.account-empty {
    background: white;
    border: 1px dashed var(--hairline);
    border-radius: 6px;
    padding: var(--s7);
    text-align: center;
    margin: var(--s4) 0;
}
.account-empty h3 { margin: 0 0 var(--s2); color: var(--navy); }
.account-empty p { color: var(--navy-muted); margin: 0 0 var(--s4); }

/* Help section */

.account-help {
    margin-top: var(--s7);
    padding: var(--s5);
    background: var(--cream-warm);
    border-radius: 6px;
}
.account-help h3 {
    margin: 0 0 var(--s3);
    font-size: 17px;
    color: var(--navy);
}
.account-help p {
    margin: 0 0 var(--s2);
    color: var(--navy);
    font-size: 14px;
    line-height: 1.55;
}

/* Profile form helpers */

.form-help {
    font-size: 12px;
    color: var(--navy-muted);
    margin: 6px 0 0;
    line-height: 1.5;
}


/* ── Auth nav links (header) ────────────────── */
.site-nav__auth {
    color: var(--burg);
    font-weight: 600;
    margin-left: var(--s2);
}
.site-nav__auth:hover {
    color: var(--burg-dark);
    text-decoration: underline;
}

@media (max-width: 720px) {
    .site-nav__auth {
        margin-left: 0;
        padding: var(--s2) 0;
        border-top: 1px solid var(--hairline);
    }
}
