:root {
    --wester-black: #07090b;
    --wester-surface: #101419;
    --wester-surface-2: #171c22;
    --wester-gold: #d9a928;
    --wester-gold-light: #f1ce68;
    --wester-text: #f7f4ea;
    --wester-muted: #b8bec6;
}

.wester-catalog,
.wester-catalog * { box-sizing: border-box; }

.wester-catalog {
    background: var(--wester-black);
    color: var(--wester-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow: hidden;
}

.wester-catalog a { color: inherit; }

.wester-catalog__hero {
    min-height: 520px;
    display: grid;
    place-items: center;
    padding: 96px 24px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 20%, rgba(217,169,40,.24), transparent 34%),
        linear-gradient(135deg, #050607 0%, #111820 54%, #050607 100%);
    border-bottom: 1px solid rgba(217,169,40,.26);
}

.wester-catalog__hero-inner { width: min(860px, 100%); }
.wester-catalog__eyebrow,
.wester-catalog__section-heading p,
.wester-course-card__label {
    margin: 0 0 12px;
    color: var(--wester-gold-light);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.wester-catalog h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    line-height: 1.02;
    letter-spacing: -.03em;
}

.wester-catalog__intro {
    max-width: 680px;
    margin: 24px auto 34px;
    color: var(--wester-muted);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.wester-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.wester-button:hover { transform: translateY(-2px); }
.wester-button--gold { background: var(--wester-gold); color: #090909 !important; }
.wester-button--gold:hover { background: var(--wester-gold-light); }
.wester-button--outline { border: 1px solid rgba(241,206,104,.68); color: var(--wester-gold-light) !important; }

.wester-catalog__paths,
.wester-catalog__available {
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto;
    padding: 88px 0;
}

.wester-catalog__section-heading { margin-bottom: 34px; text-align: center; }
.wester-catalog__section-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.wester-catalog__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.wester-path-card {
    grid-column: span 2;
    min-height: 300px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(155deg, var(--wester-surface-2), var(--wester-surface));
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    box-shadow: 0 20px 55px rgba(0,0,0,.22);
}

.wester-path-card:nth-last-child(-n+2) { grid-column: span 3; }
.wester-path-card__symbol { color: var(--wester-gold); font-size: 2.5rem; }
.wester-path-card h3 { margin: 16px 0 8px; font-size: 1.55rem; }
.wester-path-card p { margin: 0 0 24px; color: var(--wester-muted); }
.wester-path-card a { margin-top: auto; color: var(--wester-gold-light); font-weight: 800; text-decoration: none; }

.wester-catalog__available { border-top: 1px solid rgba(255,255,255,.08); }
.wester-catalog__empty {
    padding: 54px 24px;
    text-align: center;
    background: var(--wester-surface);
    border: 1px solid rgba(217,169,40,.28);
    border-radius: 14px;
}
.wester-catalog__empty h3 { margin: 0 0 8px; font-size: 1.5rem; }
.wester-catalog__empty p { margin: 0; color: var(--wester-muted); }

.wester-course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wester-course-card { overflow: hidden; background: var(--wester-surface); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; }
.wester-course-card__media { aspect-ratio: 16/10; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #151a20, #090b0d); color: var(--wester-gold); font-family: Georgia, serif; font-size: 1.6rem; text-decoration: none; }
.wester-course-card__media img { width: 100%; height: 100%; object-fit: cover; }
.wester-course-card__content { padding: 24px; }
.wester-course-card__content h3 { margin: 0 0 10px; font-size: 1.35rem; }
.wester-course-card__content h3 a { text-decoration: none; }
.wester-course-card__content > p:not(.wester-course-card__label) { color: var(--wester-muted); }
.wester-course-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.wester-catalog__promise {
    padding: 34px 20px;
    text-align: center;
    color: var(--wester-gold-light);
    background: #040505;
    border-top: 1px solid rgba(217,169,40,.24);
    font-weight: 800;
}
.wester-catalog__promise p { margin: 0; }

@media (max-width: 900px) {
    .wester-path-card,
    .wester-path-card:nth-last-child(-n+2) { grid-column: span 3; }
    .wester-course-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    .wester-catalog__hero { min-height: 450px; padding: 72px 20px; }
    .wester-catalog__paths,
    .wester-catalog__available { width: min(100% - 28px, 1220px); padding: 64px 0; }
    .wester-path-card,
    .wester-path-card:nth-last-child(-n+2) { grid-column: 1 / -1; min-height: 260px; }
    .wester-course-grid { grid-template-columns: 1fr; }
    .wester-course-card__actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .wester-button { transition: none; }
}
