/* ULMC Design System v1.0 — Based on Variant editorial spec */

:root {
    --white: #FFFFFF;
    --urban-red: #B60606;
    --change-agent-black: #000000;
    --empowerment-grey: #848484;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--white);
    color: var(--change-agent-black);
    font-family: var(--font-sans);
    line-height: 1.4;
    overflow-x: hidden;
    padding-bottom: 70px;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── TYPOGRAPHY ── */

.label {
    font-family: var(--font-mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--urban-red);
    font-weight: 700;
    display: block;
}

/* ── NAVIGATION ── */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 26px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    font-family: var(--font-sans);
    font-weight: 900;
    font-size: 26px;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.logo::after {
    content: '.';
    color: var(--urban-red);
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--white);
}

/* ── BUTTONS ── */

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 2px solid var(--change-agent-black);
    color: var(--change-agent-black);
    background: transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    background: var(--change-agent-black);
    color: var(--white);
}

.btn-rust {
    background: var(--urban-red);
    color: var(--white);
    border-color: var(--urban-red);
}

.btn-rust:hover {
    background: var(--change-agent-black);
    border-color: var(--change-agent-black);
}

.btn-white {
    background: var(--white);
    color: var(--change-agent-black);
    border-color: var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-ghost-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}

.btn-ghost-white:hover {
    background: var(--white);
    color: var(--change-agent-black);
    border-color: var(--white);
}

/* ── HERO — FULL VIEWPORT ── */

.hero {
    height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--change-agent-black);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.4) brightness(0.38);
    z-index: 1;
}

.staggered-headline {
    position: relative;
    z-index: 10;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    padding: 0 40px;
}

.headline-part {
    font-size: clamp(56px, 9.5vw, 150px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.07em;
    text-transform: uppercase;
}

.part-1 {
    grid-column: 1 / 11;
    color: var(--white);
}

.part-2 {
    grid-column: 2 / 13;
    color: var(--urban-red);
    margin-top: 0.08em;
}

.hero-meta {
    position: absolute;
    bottom: 44px;
    left: 40px;
    z-index: 10;
    max-width: 520px;
    border-left: 4px solid var(--urban-red);
    padding-left: 20px;
}

.hero-meta .label {
    color: var(--white);
    opacity: 0.7;
}

.hero-meta p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    line-height: 1.55;
    margin-top: 12px;
    font-weight: 400;
}

.hero-ctas {
    position: absolute;
    bottom: 44px;
    right: 40px;
    z-index: 10;
    display: flex;
    gap: 14px;
    align-items: center;
}

/* ── PAGE HERO — INNER PAGES (SHORTER) ── */

.page-hero {
    height: 62vh;
    min-height: 460px;
    width: 100vw;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--change-agent-black);
}

.page-hero .headline-part {
    font-size: clamp(44px, 7vw, 110px);
}

/* ── STICKY DUAL CTA BAR ── */

.sticky-cta-bar {
    position: sticky;
    top: 79px;
    z-index: 50;
    background: var(--change-agent-black);
    display: flex;
    justify-content: flex-end;
}

.sticky-cta-bar a {
    padding: 18px 40px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: background 0.2s;
}

.sticky-cta-bar .cta-member {
    color: var(--white);
    border-right: 1px solid rgba(255,255,255,0.12);
}

.sticky-cta-bar .cta-member:hover {
    background: rgba(255,255,255,0.06);
}

.sticky-cta-bar .cta-invest {
    background: var(--urban-red);
    color: var(--white);
}

.sticky-cta-bar .cta-invest:hover {
    background: #d40707;
}

/* ── PROGRAM ROWS ── */

.program-list {
    display: flex;
    flex-direction: column;
}

.program-row {
    padding: 88px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.program-row:nth-child(1) {
    background: var(--white);
    color: var(--change-agent-black);
}

.program-row:nth-child(2) {
    background: var(--empowerment-grey);
    color: var(--white);
    border-bottom: none;
}

.program-row:nth-child(3) {
    background: var(--urban-red);
    color: var(--white);
    border-bottom: none;
}

.row-content {
    display: grid;
    grid-template-columns: 110px 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.row-number {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    opacity: 0.6;
}

.row-title {
    font-size: clamp(36px, 4.5vw, 68px);
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    line-height: 1;
}

.row-desc {
    font-size: 18px;
    max-width: 380px;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.9;
}

.row-link {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
    display: inline-block;
    border-bottom: 2px solid currentColor;
    padding-bottom: 3px;
    color: inherit;
    transition: opacity 0.2s;
}

.row-link:hover { opacity: 0.7; }

/* ── STATS SECTION ── */

.stats-section {
    background: var(--change-agent-black);
    color: var(--white);
    padding: 100px 0;
}

.stats-header {
    margin-bottom: 16px;
}

.stats-header h2 {
    font-size: clamp(36px, 4.5vw, 68px);
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    line-height: 0.92;
    color: var(--white);
    margin-top: 16px;
}

.stats-flex {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 60px;
    margin-top: 60px;
    gap: 32px;
}

.stat-box h3 {
    font-size: clamp(56px, 6.5vw, 88px);
    font-weight: 900;
    letter-spacing: -0.06em;
    color: var(--urban-red);
    line-height: 1;
}

.stat-box p {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    color: var(--empowerment-grey);
    letter-spacing: 0.08em;
    margin-top: 10px;
    max-width: 160px;
    line-height: 1.5;
}

/* ── INFLECTION SECTION ── */

.inflection-section {
    background: var(--white);
    padding: 120px 0;
}

.inflection-headline {
    font-size: clamp(36px, 5vw, 76px);
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    line-height: 0.92;
    margin: 18px 0 56px;
}

.inflection-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    border-top: 2px solid var(--change-agent-black);
    padding-top: 60px;
}

.inflection-col p {
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 20px;
}

.inflection-col strong { font-weight: 900; }

.inflection-col .btn { margin-top: 28px; }

/* ── ASCEND SECTION ── */

.ascend-section {
    background: var(--change-agent-black);
    color: var(--white);
    padding: 120px 0;
}

.ascend-headline {
    font-size: clamp(40px, 5.5vw, 84px);
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    line-height: 0.88;
    color: var(--white);
    margin: 18px 0 24px;
}

.ascend-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.65);
    max-width: 580px;
    line-height: 1.6;
    margin-bottom: 56px;
}

.ascend-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-bottom: 56px;
}

.pillar {
    padding: 56px 48px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
}

.pillar-number {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--urban-red);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.pillar h3 {
    font-size: clamp(24px, 2.8vw, 40px);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--white);
}

.pillar-amount {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 700;
    color: var(--urban-red);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.pillar p {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,0.65);
}

.ascend-footer {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 48px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.ascend-footer-quote {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--empowerment-grey);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    max-width: 480px;
    line-height: 1.6;
}

/* ── CONTENT TABLE SECTION ── */

.content-section {
    padding: 120px 0;
    background: var(--white);
}

.section-title-xl {
    font-size: clamp(56px, 8vw, 120px);
    font-weight: 900;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    line-height: 0.88;
    margin: 18px 0 60px;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
}

.content-table tr {
    border-bottom: 2px solid var(--change-agent-black);
}

.content-table tr:first-child {
    border-top: 2px solid var(--change-agent-black);
}

.content-table td {
    padding: 40px 20px 40px 0;
    vertical-align: middle;
}

.content-table td:last-child {
    padding-right: 0;
    text-align: right;
}

.item-main {
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
}

.item-sub {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--empowerment-grey);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.6;
    max-width: 480px;
}

.item-price {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
}

.item-price-label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    color: var(--empowerment-grey);
    margin-top: 4px;
    letter-spacing: 0.1em;
    text-align: center;
}

.table-footer {
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid var(--change-agent-black);
    padding-top: 28px;
}

.table-footer-note {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--empowerment-grey);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.table-footer-link {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--change-agent-black);
    letter-spacing: 0.08em;
    border-bottom: 2px solid var(--change-agent-black);
    padding-bottom: 2px;
}

/* ── CLOSE / CTA SECTION ── */

.close-section {
    background: var(--urban-red);
    color: var(--white);
    padding: 140px 0;
}

.close-headline {
    font-size: clamp(48px, 7.5vw, 120px);
    font-weight: 900;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    line-height: 0.85;
    color: var(--white);
    margin: 18px 0 36px;
    max-width: 960px;
}

.close-body {
    font-size: 20px;
    line-height: 1.55;
    color: rgba(255,255,255,0.82);
    max-width: 580px;
    margin-bottom: 48px;
}

.cta-group {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* ── CARD GRID ── */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 48px;
}

.card {
    padding: 52px 40px;
    display: flex;
    flex-direction: column;
    background: var(--change-agent-black);
    color: var(--white);
}

.card-white {
    background: var(--white);
    color: var(--change-agent-black);
    border: 2px solid var(--change-agent-black);
}

.card-grey {
    background: var(--empowerment-grey);
    color: var(--white);
}

.card-red {
    background: var(--urban-red);
    color: var(--white);
}

.card-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--urban-red);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.card-white .card-num { color: var(--change-agent-black); }
.card-grey .card-num, .card-red .card-num { color: rgba(255,255,255,0.5); }

.card h3 {
    font-size: clamp(20px, 2.2vw, 32px);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 16px;
}

.card p {
    font-size: 15px;
    line-height: 1.65;
    opacity: 0.75;
    flex: 1;
    margin-bottom: 32px;
}

/* ── TWO-COLUMN LAYOUT ── */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* ── TEXT SECTION ── */

.text-section {
    padding: 100px 0;
}

.body-text {
    font-size: 18px;
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 24px;
}

.body-text strong { font-weight: 900; }

/* ── FOOTER ── */

footer {
    background: var(--change-agent-black);
    color: var(--white);
    padding: 120px 40px 40px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    gap: 60px;
}

.footer-logo {
    font-size: clamp(56px, 8vw, 130px);
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 0.8;
    text-transform: uppercase;
    color: var(--urban-red);
    flex-shrink: 0;
}

.footer-logo::after {
    content: '.';
    color: rgba(255,255,255,0.2);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-links h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--empowerment-grey);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--empowerment-grey);
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 36px;
    flex-wrap: wrap;
    gap: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ── MOBILE STICKY NAV ── */

.sticky-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--change-agent-black);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.bottom-nav-group {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    gap: 4px;
}

.nav-item-icon {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-mono);
}

.nav-item-label {
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--empowerment-grey);
}

.nav-item:hover .nav-item-label { color: var(--white); }

.get-certified-sticky {
    background: var(--urban-red);
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 28px;
    height: 100%;
    display: flex;
    align-items: center;
    margin-right: -20px;
    letter-spacing: 0.08em;
    transition: background 0.25s ease;
}

.get-certified-sticky:hover { background: #d40707; }

/* ── RESPONSIVE ── */

@media (min-width: 769px) {
    .sticky-mobile-nav { display: none; }
    body { padding-bottom: 0; }
}

@media (max-width: 1100px) {
    .ascend-pillars { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; gap: 2px; }
    .footer-main { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
    .row-content {
        grid-template-columns: 80px 1fr;
        row-gap: 24px;
    }
    .row-desc { grid-column: 1 / -1; padding-left: 80px; }
    .inflection-body { grid-template-columns: 1fr; gap: 48px; }
    .two-col { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    /* ── LAYOUT & CONTAINER ── */
    .container { padding: 0 20px; }
    nav { padding: 18px 20px; }
    .nav-links, nav .btn-rust, .hero-ctas { display: none; }

    /* ── HERO ── */
    .hero { min-height: 520px; }
    .page-hero { min-height: 360px; }
    .staggered-headline { padding: 0 20px; }

    /* Collapse 12-col stagger — both parts go full-width on mobile */
    .staggered-headline {
        display: flex;
        flex-direction: column;
    }
    .part-1, .part-2 {
        grid-column: unset;
    }

    .hero-meta {
        left: 20px;
        right: 20px;
        max-width: 100%;
        bottom: 24px;
    }

    /* ── STATS ── */
    .stats-flex { flex-direction: column; gap: 36px; }
    .stat-box { min-width: 100%; }

    /* ── PROGRAM ROWS ── */
    .program-row { padding: 56px 0; }
    .row-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .row-number { display: none; }
    .row-desc { grid-column: 1 / -1; padding-left: 0; }

    /* ── TABLE ── */
    .content-table td { padding: 24px 12px 24px 0; }
    .table-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* ── ASCEND / INFLECTION ── */
    .ascend-section, .inflection-section, .stats-section { padding: 72px 0; }
    .ascend-footer {
        flex-direction: column;
        gap: 28px;
        align-items: flex-start;
    }

    /* ── CLOSE SECTION ── */
    .close-section { padding: 72px 0; }

    /* ── FOOTER ── */
    footer { padding: 72px 20px 40px; }
    .footer-links { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-main { gap: 40px; }

    /* ── NAV/MISC ── */
    .sticky-cta-bar { display: none; }
    .content-section { padding: 72px 0; }
}

@media (max-width: 480px) {
    /* Single-column footer links at very small widths */
    .footer-links { grid-template-columns: 1fr; gap: 28px; }

    /* Stats: always single column */
    .stat-box { min-width: 100%; }

    /* Content table: hide price column, keep name + CTA */
    .content-table td:nth-child(2) { display: none; }
    .content-table td { padding: 20px 8px 20px 0; }
}
