/*
 * Public CSS Bundle: program.bundle.css
 * Auto-generated by scripts/bundle_public_css.py
 * DO NOT EDIT - Edit source files instead
 *
 * Sources: _public-base.css, free-class/free-class-base.css, program/page-base.css, program/page-sections.css, program/page-carousel.css, program/hero-carousel.css, program/hall-of-fame.css, program/wall.css, program/hof-lockup.css, program/wall-moment.css, program/problems.css, program/problems-phone.css, ../shared/badges.css, ../../../modules/classroom/static/css/classroom-chat-base.css, program/plan.css, program/plan-phone.css, program/guide.css, ../../../modules/classroom/static/css/classroom-league-badge-base.css, program/lc-stage.css, program/lc-practice.css, program/lc-notes.css, program/lc-calc.css, program/lc-compete.css, program/lc-watch.css, program/courses.css, program/page-promo.css, program/page-phone.css, program/lc-phone.css, program/lc-practice-phone.css, program/lc-notes-phone.css, program/lc-calc-phone.css, program/lc-compete-phone.css, program/lc-watch-phone.css, program/wall-phone.css, program/guide-phone.css, program/courses-phone.css, program/page-tablet.css, program/page-landscape.css
 */

/* === _public-base.css === */

/*
 * Public Pages Base CSS
 * Shared globals: variables, reset, fonts, keyframes
 * NO media queries here - this is the foundation
 */

/* === CSS Variables === */
:root {
    /* Brand Colors */
    --brand-gradient: linear-gradient(135deg, #667eea, #764ba2);
    --brand-purple: #764ba2;
    --brand-purple-light: #8b5cf6;
    --brand-blue: #667eea;

    /* Background */
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    /* UI Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Accent Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.1);
    --shadow-purple: 0 8px 30px rgba(118, 75, 162, 0.25);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;

    /* Spacing */
    --header-height: 72px;
    --container-max: 1200px;
    --section-padding: 100px;
}

/* === Reset === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    min-height: 100vh;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* === Anchor Link Offset (for fixed header) === */
[id] {
    scroll-margin-top: calc(var(--header-height) + 24px);
}

/* === Keyframes === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* === Button Base Styles === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    padding: 14px 28px;
    font-size: 1rem;
    color: var(--white);
    background: var(--brand-gradient);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.btn-secondary {
    padding: 14px 28px;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--white);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--brand-purple);
    color: var(--brand-purple);
}

.btn-outline {
    padding: 14px 28px;
    font-size: 1rem;
    color: var(--white);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* === Utility Classes === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* === Section Headers === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.section-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.section-subtitle {
    color: var(--text-secondary);
}

/* === Ticker Base === */
.proof-ticker {
    background: var(--gray-900);
    overflow: hidden;
    position: relative;
}

.ticker-wrap {
    display: flex;
    width: max-content;
}

.ticker-track {
    display: flex;
    animation: ticker-scroll 60s linear infinite;
}

.ticker-item {
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.85);
}

.ticker-item strong {
    color: var(--white);
    font-weight: 700;
}

/* Category colors */
.ticker-item.ticker-score strong {
    color: #fbbf24;
}

.ticker-item.ticker-pass strong {
    color: var(--success);
}

.ticker-item.ticker-branch strong {
    color: #60a5fa;
}

/* =============================================================================
 * SIGNUP MODAL - Shared across all public pages
 * Used by: home, free-class, asvab-program, etc.
 * ============================================================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s ease;
}

.modal-overlay.visible .modal {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: 10px;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #fef2f2;
    color: var(--error);
}

.modal-body {
    padding: 24px;
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
    animation: modalFadeUp 0.3s ease-out;
}

@keyframes modalFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-intro {
    text-align: center;
    margin-bottom: 24px;
}

.step-intro-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
}

.step-intro-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-intro-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.verify-email {
    font-weight: 600;
    color: var(--text-primary);
}

/* Form Styles */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-input, .form-select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    color: var(--text-primary);
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus, .form-select:focus {
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input.error {
    border-color: var(--error);
}

.form-input.code-input {
    text-align: center;
    font-size: 1.5rem;
    font-family: var(--font-heading), monospace;
    letter-spacing: 8px;
    font-weight: 600;
}

.form-error {
    font-size: 0.8rem;
    color: var(--error);
    margin-top: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-optional {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 4px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* SMS consent (profile step): two unchecked boxes + always-visible disclosure
   + (i) that expands INLINE. The disclosure stays visible on purpose: it is
   the text the user consents to and what the A2P campaign screenshot is
   approved on. The details card never floats over the form, so a screenshot
   with it open hides nothing. */
.consent-label {
    align-items: flex-start;
    line-height: 1.4;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.consent-label + .consent-label {
    margin-top: 8px;
}

.consent-label input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--brand-purple);
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
}

.consent-info {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gray-300);
    border-radius: 50%;
    background: var(--white);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.consent-info:hover,
.consent-info[aria-expanded="true"] {
    border-color: var(--brand-purple);
    color: var(--brand-purple);
    background: rgba(118, 75, 162, 0.08);
}

.consent-fine-print {
    flex: 1;
    margin: 0 0 0 26px;
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.consent-fine-print a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-fine-print a:hover {
    color: var(--brand-purple);
}

.consent-details {
    margin-top: 10px;
    padding: 14px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    animation: modalFadeUp 0.2s ease-out;
}

.consent-details[hidden] {
    display: none;
}

.consent-details p + p {
    margin-top: 8px;
}

.consent-details-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
}

.consent-details-links a {
    color: var(--brand-purple);
    font-weight: 600;
}

.consent-details-links a:hover {
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--brand-gradient);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 8px;
}

.form-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-purple);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-submit.loading {
    position: relative;
    color: transparent;
}

.form-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: modalSpin 0.8s linear infinite;
}

@keyframes modalSpin {
    to { transform: rotate(360deg); }
}

.resend-link {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.link-button {
    background: none;
    border: none;
    color: var(--brand-purple);
    font-weight: 600;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.link-button:hover {
    text-decoration: underline;
}

.link-button:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Passwords for .mil accounts (2026-10-14): the password box with its
   Show/Hide, the two links under Sign In, the rule under the new password.
   Everything else on the two steps reuses the form styles above. */
.pw-field {
    position: relative;
}

.pw-field .form-input {
    padding-right: 68px;
}

.pw-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    padding: 6px 10px;
    background: var(--gray-100);
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pw-toggle:hover,
.pw-toggle[aria-pressed="true"] {
    background: rgba(118, 75, 162, 0.1);
    color: var(--brand-purple);
}

.pw-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.pw-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pw-links-dot {
    color: var(--text-muted);
}

/* Success Step */
.success-content {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--success);
    animation: modalPopIn 0.4s ease-out;
}

@keyframes modalPopIn {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.success-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* =============================================================================
 * CLASS COUNTDOWN - Simple horizontal layout
 * ============================================================================= */

.class-countdown {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
}

.countdown-slides {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.countdown-slide {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.countdown-slide.active {
    opacity: 1;
    visibility: visible;
}

/* Left side: Badge + Date/Time */
.countdown-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.countdown-badge {
    display: inline-block;
    width: fit-content;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-badge.badge-free {
    background: var(--success-light);
    color: var(--success);
}

.countdown-badge.badge-program {
    background: rgba(118, 75, 162, 0.12);
    color: var(--brand-purple);
}

.countdown-date {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.countdown-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Right side: Timer + CTA */
.countdown-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.countdown-timer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-heading);
}

/* Block cells: two-digit number on top, uppercase unit underneath. Tabular
   numerals + a 2ch floor keep the row from jittering as the seconds tick. */
.countdown-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.countdown-num {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
    text-align: center;
}

.countdown-unit {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.countdown-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: inherit;
}

.countdown-btn.btn-free {
    background: var(--brand-gradient);
    color: var(--white);
}

.countdown-btn.btn-free:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-purple);
}

.countdown-btn.btn-program {
    background: var(--white);
    color: var(--brand-purple);
    border: 2px solid var(--brand-purple);
}

.countdown-btn.btn-program:hover {
    background: var(--brand-purple);
    color: var(--white);
}

.countdown-btn.btn-disabled {
    background: var(--gray-200);
    color: var(--text-muted);
    cursor: default;
    pointer-events: none;
}

/* Navigation dots */
.countdown-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.countdown-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.countdown-dot.active {
    background: var(--brand-purple);
}

.countdown-dot:hover:not(.active) {
    background: var(--gray-400);
}

/* Empty state */
.countdown-empty {
    text-align: center;
    padding: 20px;
}

.countdown-empty p {
    margin: 4px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.countdown-empty a {
    color: var(--brand-purple);
    font-weight: 600;
}


/* === free-class/free-class-base.css === */

/**
 * Free class and course preview — BASE (no media query).
 *
 * The page every free-class ad lands on, rebuilt 2026-09-21 on the Classroom
 * and Arena brand: Inter body, Space Grotesk headings, ink and slate, GOLD as
 * the one accent, cards with a line border and a course stripe, eyebrows in
 * tracked uppercase, the logo as a progress pip.
 *
 * THE DASHBOARD LOCK: the document never scrolls. html/body are locked by
 * the page's own classes, the page root is 100dvh, and ONE region (#fcScroll)
 * scrolls inside it while the header stays put. min-height: 0 on the flex
 * children is load-bearing.
 *
 * Tokens live on :root, never on .fc-page: the signup modal renders outside
 * the page root and must still resolve every var().
 */

:root {
    --fc-ink: #0f172a;
    --fc-ink-2: #1e293b;
    --fc-soft: #475569;
    --fc-muted: #64748b;
    --fc-line: #e2e8f0;
    --fc-line-soft: #f1f5f9;
    --fc-bg: #f8fafc;
    --fc-card: #ffffff;
    --fc-gold: #fdcc05;
    --fc-gold-hover: #f59e0b;
    --fc-gold-deep: #b45309;
    --fc-gold-soft: #fef3c7;
    --fc-ar: #3b82f6;
    --fc-ar-deep: #1e3a8a;
    --fc-green: #047857;
    --fc-green-soft: #d1fae5;
    --fc-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    --fc-shadow-lg: 0 10px 28px rgba(15, 23, 42, 0.12);
    --fc-head: 'Space Grotesk', sans-serif;
    --fc-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --fc-gutter: 24px;
    --fc-max: 1120px;
}

html.fc-html, body.fc-body { height: 100%; overflow: hidden; }
body.fc-body {
    margin: 0;
    font-family: var(--fc-body);
    color: var(--fc-ink-2);
    background: var(--fc-bg);
    line-height: 1.5;
    /* No overscroll-behavior here or on .fc-scroll: `none` on the body and
       `contain` on the region swallowed the pull at the top of the page, so a
       phone could not swipe down to refresh (Anderson, 2026-10-05). */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
html.fc-html { scroll-behavior: auto; }

.fc-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(900px 420px at 12% -140px, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
        radial-gradient(900px 480px at 88% -180px, rgba(253, 204, 5, 0.16) 0%, transparent 60%),
        var(--fc-bg);
}

/* ---------- The frame: header ---------- */
.fc-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px var(--fc-gutter);
    background: var(--fc-card);
    border-bottom: 1px solid var(--fc-line);
    z-index: 5;
}
.fc-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.fc-logo { width: 36px; height: 36px; object-fit: contain; display: block; flex-shrink: 0; }
.fc-brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.fc-brand-name { font-family: var(--fc-head); font-weight: 800; font-size: 16px; color: var(--fc-ink); letter-spacing: -0.2px; }
.fc-brand-tag { font-weight: 700; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--fc-muted); }
.fc-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ---------- The one scroll region ---------- */
.fc-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
/* A link to a section lands it at the region's top. _public-base.css keeps
   every [id] a header's height below the top, for pages whose fixed header
   sits OVER the document; this frame's header sits outside the scroll region,
   so that offset left a strip of the section before showing above it. */
.fc-scroll [id] { scroll-margin-top: 0; }

/* ---------- Type ---------- */
.fc-eyebrow {
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--fc-muted);
    margin: 0 0 10px;
}
.fc-eyebrow.is-gold { color: var(--fc-gold-deep); }
.fc-eyebrow-sm {
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--fc-muted);
}
.fc-title {
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 44px;
    line-height: 1.05;
    letter-spacing: -0.8px;
    color: var(--fc-ink);
    margin: 0 0 16px;
    text-wrap: balance;
}
.fc-sub { font-size: 17px; line-height: 1.55; color: var(--fc-soft); margin: 0 0 22px; max-width: 560px; }
.fc-h2 {
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -0.5px;
    color: var(--fc-ink);
    margin: 0 0 10px;
    text-wrap: balance;
}
.fc-lead { font-size: 16px; color: var(--fc-soft); margin: 0; max-width: 640px; }

/* ---------- Buttons and pills ---------- */
.fc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--fc-head);
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 12px;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.fc-btn-primary { background: var(--fc-gold); color: var(--fc-ink); box-shadow: 0 6px 18px rgba(253, 204, 5, 0.35); }
.fc-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(253, 204, 5, 0.45); }
.fc-btn-primary:active { transform: translateY(1px); }
.fc-btn-ghost { background: var(--fc-card); color: var(--fc-ink); border-color: var(--fc-line); }
.fc-btn-ghost:hover { border-color: var(--fc-gold); }
.fc-btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.fc-btn-lg { padding: 15px 26px; font-size: 16px; }

.fc-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.fc-pill-gold { background: var(--fc-gold); color: var(--fc-ink); }
.fc-pill-ar { background: rgba(59, 130, 246, 0.12); color: var(--fc-ar-deep); }

/* ---------- Sections ---------- */
.fc-section { max-width: var(--fc-max); margin: 0 auto; padding: 56px var(--fc-gutter); }
.fc-section-head { margin-bottom: 28px; }
.fc-section + .fc-section { border-top: 1px solid var(--fc-line); }

/* ---------- Hero ---------- */
.fc-hero {
    max-width: var(--fc-max);
    margin: 0 auto;
    padding: 48px var(--fc-gutter) 40px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 40px;
    align-items: center;
}
.fc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The next class: the ink block with gold digits, the Classroom's countdown */
.fc-next {
    background: var(--fc-ink);
    color: #fff;
    border-radius: 18px;
    padding: 22px 22px 20px;
    box-shadow: var(--fc-shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fc-next-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fc-next-day { font-family: var(--fc-head); font-weight: 800; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.fc-next-topic { font-family: var(--fc-head); font-weight: 800; font-size: 22px; line-height: 1.15; color: #fff; text-wrap: balance; }
.fc-next-when { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.78); }
.fc-countdown { display: flex; align-items: flex-start; gap: 14px; padding: 6px 0 2px; }
.fc-cd-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fc-cd-num {
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 34px;
    line-height: 1;
    color: var(--fc-gold);
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
    text-align: center;
}
.fc-cd-unit { font-weight: 700; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.fc-cd-state { font-family: var(--fc-head); font-weight: 800; font-size: 18px; color: var(--fc-gold); padding: 6px 0 2px; }
.fc-next-times { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fc-next-time {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.fc-next-time.is-yours { background: var(--fc-gold-soft); border: 2px solid var(--fc-gold); }
.fc-next-time-label { font-family: var(--fc-head); font-weight: 800; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.fc-next-time.is-yours .fc-next-time-label { color: var(--fc-gold-deep); }
.fc-next-time-value { font-family: var(--fc-head); font-weight: 800; font-size: 20px; line-height: 1.05; color: #fff; }
.fc-next-time.is-yours .fc-next-time-value { color: #7c2d12; }
.fc-next-where { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.72); }
/* The card's way in (the program class pages): .fc-btn sets display, so the
   hidden attribute the countdown toggles needs its own rule to win. */
.fc-next-join { align-self: stretch; justify-content: center; padding: 14px 22px; font-size: 16px; margin-top: 4px; }
.fc-next-join[hidden] { display: none; }

/* ---------- The plan ---------- */
.fc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fc-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--fc-card);
    border: 1px solid var(--fc-line);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--fc-shadow);
}
.fc-step-num {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--fc-ink);
    color: var(--fc-gold);
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 15px;
    display: flex; align-items: center; justify-content: center;
}
.fc-step-title { font-family: var(--fc-head); font-weight: 800; font-size: 17px; color: var(--fc-ink); margin: 4px 0 6px; }
.fc-step-text { margin: 0; font-size: 14px; color: var(--fc-soft); }

/* ---------- The live moment: a real frame beside the real chat ---------- */
.fc-live {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 28px;
}
.fc-live-frame {
    position: relative;
    margin: 0;
    background: var(--fc-ink);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--fc-shadow-lg);
    border: 3px solid var(--fc-ink);
    display: flex;
    flex-direction: column;
}
.fc-live-frame img { display: block; width: 100%; height: auto; background: #fff; }
/* The LIVE pill sits in the caption bar, never over the board: the board's
   top-left corner is where the problem text starts. */
.fc-live-pill {
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.55);
    color: #fff;
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.fc-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: fcLivePulse 1.6s ease-in-out infinite; }
@keyframes fcLivePulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
.fc-live-caption {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px 12px;
    color: #fff;
    background: var(--fc-ink);
}
.fc-live-caption-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fc-live-caption-topic { font-family: var(--fc-head); font-weight: 800; font-size: 14px; }
.fc-live-caption-when { font-size: 12px; color: rgba(255, 255, 255, 0.7); }

/* The chat, in the Classroom's own furniture: slate bar, open chip, a stream */
.fc-chat {
    display: flex; flex-direction: column;
    background: var(--fc-card);
    border: 1px solid var(--fc-line);
    border-radius: 14px;
    box-shadow: var(--fc-shadow);
    overflow: hidden;
    min-height: 0;
}
.fc-chat-head {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    background: var(--fc-bg);
    border-bottom: 1px solid var(--fc-line);
    flex-shrink: 0;
}
.fc-chat-title { font-weight: 800; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--fc-ink); }
.fc-chat-status {
    font-weight: 700; font-size: 10.5px; letter-spacing: 0.5px; text-transform: uppercase;
    color: var(--fc-green); background: var(--fc-green-soft);
    padding: 2px 8px; border-radius: 999px;
}
.fc-chat-stream {
    list-style: none; margin: 0; padding: 10px 12px;
    display: flex; flex-direction: column; gap: 8px;
    flex: 1 1 auto; min-height: 0;
}
.fc-chat-msg { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; align-items: start; }
.fc-chat-insignia { width: 28px; height: 28px; object-fit: contain; border-radius: 50%; background: #fff; border: 1px solid var(--fc-line); }
.fc-chat-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fc-chat-name { font-weight: 800; font-size: 12px; color: var(--fc-ink); }
.fc-chat-text {
    display: inline-block;
    font-size: 13.5px; line-height: 1.4; color: var(--fc-ink-2);
    background: var(--fc-bg);
    border: 1px solid var(--fc-line-soft);
    border-radius: 0 10px 10px 10px;
    padding: 6px 10px;
    overflow-wrap: anywhere;
}
.fc-chat-foot { padding: 8px 14px 10px; font-size: 11px; color: var(--fc-muted); border-top: 1px solid var(--fc-line-soft); }

/* ---------- The Classroom, in its own furniture ---------- */
.fc-class-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr); gap: 24px; align-items: start; }
.fc-stage { display: flex; flex-direction: column; gap: 12px; }
.fc-timer {
    display: flex; align-items: center; gap: 12px;
    background: var(--fc-card);
    border: 1px solid var(--fc-line);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: var(--fc-shadow);
}
.fc-timer-label { font-family: var(--fc-head); font-weight: 800; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--fc-muted); }
.fc-timer-track { flex: 1; height: 12px; border-radius: 999px; background: var(--fc-line-soft); overflow: hidden; }
.fc-timer-bar { display: block; height: 100%; width: 62%; background: var(--fc-green); border-radius: 999px; }
.fc-timer-status { font-weight: 700; font-size: 12px; color: var(--fc-soft); min-width: 40px; text-align: right; font-variant-numeric: tabular-nums; }
.fc-problem-meta { display: flex; align-items: center; gap: 12px; }
.fc-problem-eyebrow { font-family: var(--fc-head); font-weight: 800; font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--fc-muted); }
.fc-problem-goal {
    font-weight: 700; font-size: 11px; letter-spacing: 1px;
    color: var(--fc-muted);
    background: var(--fc-bg);
    border: 1px solid var(--fc-line);
    padding: 3px 9px; border-radius: 999px;
}
.fc-problem-card {
    background: var(--fc-card);
    border: 1px solid var(--fc-line);
    border-radius: 14px;
    padding: 22px 22px 18px;
    box-shadow: var(--fc-shadow);
    display: flex; flex-direction: column; gap: 16px;
}
.fc-problem-q { margin: 0; font-size: 17px; line-height: 1.55; color: var(--fc-ink); }
.fc-choices { display: flex; flex-direction: column; gap: 8px; }
.fc-choice {
    display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-items: center;
    padding: 12px 14px;
    background: var(--fc-card);
    border: 1.5px solid var(--fc-line);
    border-radius: 10px;
    font-size: 15px;
    color: var(--fc-ink);
}
.fc-choice.is-selected { border-color: var(--fc-gold); background: var(--fc-gold-soft); }
.fc-choice-letter {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--fc-card); border: 1px solid var(--fc-line);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 11px; color: var(--fc-soft);
}
.fc-choice.is-selected .fc-choice-letter { background: var(--fc-gold); border-color: var(--fc-gold); color: var(--fc-ink); }
.fc-submit-row { display: flex; align-items: center; gap: 14px; padding-top: 6px; border-top: 1px solid var(--fc-line-soft); }
.fc-submit-btn {
    background: var(--fc-gold); color: var(--fc-ink);
    font-family: var(--fc-body); font-weight: 800; font-size: 14px; letter-spacing: 0.4px;
    padding: 10px 22px; border-radius: 8px;
}
.fc-submit-status { font-size: 13px; font-weight: 600; color: var(--fc-muted); }

.fc-side { display: flex; flex-direction: column; gap: 16px; }
.fc-goal-badge {
    background: var(--fc-card);
    border: 2px solid var(--fc-gold);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 0 0 3px rgba(253, 204, 5, 0.22), 0 6px 18px rgba(253, 204, 5, 0.18);
    display: flex; flex-direction: column; gap: 10px;
}
.fc-goal-badge-head { display: flex; flex-direction: column; gap: 2px; }
.fc-goal-badge-hint { font-size: 11px; color: var(--fc-soft); }
.fc-goal-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fc-goal-name { font-weight: 700; font-size: 14px; color: var(--fc-ink); line-height: 1.25; }
.fc-goal-count { font-size: 11px; font-weight: 700; color: var(--fc-soft); white-space: nowrap; }
.fc-pips { display: flex; gap: 6px; align-items: center; }
.fc-pip { width: 22px; height: 22px; object-fit: contain; filter: grayscale(100%) brightness(0.6); opacity: 0.18; }
.fc-pip.is-on { filter: drop-shadow(0 1px 2px rgba(2, 100, 192, 0.35)); opacity: 1; }

.fc-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fc-facts li {
    position: relative;
    padding-left: 18px;
    font-size: 14px; line-height: 1.5; color: var(--fc-soft);
}
.fc-facts li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--fc-gold);
}
.fc-facts li strong { color: var(--fc-ink); font-weight: 700; }
.fc-facts-tight { gap: 8px; }

/* ---------- Unit 1, in the course's own furniture ---------- */
.fc-unit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.fc-unit-card {
    position: relative; overflow: hidden;
    background: var(--fc-card);
    border: 1px solid var(--fc-line);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    padding: 22px 22px 0;
}
.fc-unit-stripe { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--fc-ar) 0%, var(--fc-ar-deep) 100%); }
.fc-unit-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.fc-unit-name { font-family: var(--fc-head); font-weight: 800; font-size: 18px; color: var(--fc-ink); }
.fc-unit-count { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--fc-muted); }
.fc-goals { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.fc-goal {
    display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: 8px;
    font-size: 14px; color: var(--fc-ink);
}
.fc-goal:first-child { background: rgba(253, 204, 5, 0.14); box-shadow: 0 0 0 1px var(--fc-gold) inset; }
.fc-goal-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--fc-line); margin: 0 auto; }
.fc-goal-dot.is-next { border-color: var(--fc-gold-deep); }
.fc-goal-label { font-weight: 600; min-width: 0; }
.fc-goal-chip {
    font-family: var(--fc-head); font-weight: 800; font-size: 9px; letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--fc-gold-deep); background: var(--fc-gold-soft);
    padding: 2px 7px; border-radius: 999px;
}
.fc-checkpoint {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    margin: 14px -22px 0;
    padding: 14px 22px;
    background: var(--fc-bg);
    border-top: 2px dashed var(--fc-line);
}
.fc-checkpoint-info { display: flex; flex-direction: column; gap: 2px; }
.fc-checkpoint-name { font-weight: 700; font-size: 14px; color: var(--fc-ink); }
.fc-checkpoint-meta { font-size: 12px; color: var(--fc-muted); }
.fc-stars { display: flex; gap: 4px; }
.fc-star { width: 26px; height: 26px; object-fit: contain; filter: grayscale(100%) brightness(0.6); opacity: 0.15; }
.fc-star.is-earned { filter: drop-shadow(0 1px 3px rgba(2, 100, 192, 0.3)); opacity: 1; }

.fc-lesson {
    background: var(--fc-card);
    border: 1px solid var(--fc-line);
    border-radius: 18px;
    box-shadow: var(--fc-shadow);
    overflow: hidden;
    display: flex; flex-direction: column;
}
.fc-lesson-tabs { display: flex; background: var(--fc-bg); border-bottom: 1px solid var(--fc-line); }
.fc-lesson-tabs.is-practice { border-top: 1px solid var(--fc-line); }
.fc-tab {
    flex: 1; text-align: center;
    padding: 11px 8px;
    font-size: 13px; font-weight: 600; color: var(--fc-muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.fc-tab.is-active { background: var(--fc-card); color: var(--fc-ar-deep); border-bottom-color: var(--fc-ar); }
.fc-tab.is-gold { background: var(--fc-gold-soft); color: var(--fc-gold-deep); border-bottom-color: var(--fc-gold); font-weight: 700; }
.fc-lesson-note { padding: 16px 18px; font-size: 14px; line-height: 1.55; color: var(--fc-ink-2); }
.fc-lesson-note p { margin: 0; }
.fc-lesson-note-h { font-weight: 700; color: var(--fc-ar-deep); margin: 0 0 6px !important; }
.fc-lesson .fc-facts { padding: 16px 18px 18px; }

/* ---------- Stakes, success, the one action ---------- */
.fc-close-card {
    background: var(--fc-ink);
    color: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--fc-shadow-lg);
    display: flex; flex-direction: column; align-items: center; gap: 0;
}
.fc-close-logo { width: 48px; height: 48px; object-fit: contain; margin-bottom: 14px; }
.fc-close-title { color: #fff; max-width: 720px; }
.fc-close-sub { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); max-width: 640px; margin: 0 0 22px; }
.fc-close-note { margin: 12px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.62); }

/* ---------- Footer ---------- */
.fc-footer { text-align: center; padding: 24px var(--fc-gutter) 32px; font-size: 13px; color: var(--fc-muted); }
.fc-footer p { margin: 0 0 4px; }
.fc-footer strong { color: var(--fc-ink); }
.fc-footer a { color: var(--fc-ink); font-weight: 600; text-decoration: none; }
.fc-footer a:hover { text-decoration: underline; }
.fc-footer-legal { font-size: 12px; }

/* ---------- The shared signup modal, in this page's brand ----------
   The modal markup and its flow belong to --signup; this only re-skins its
   accents (purple gradient) to the gold-on-ink of this page. */
.modal-overlay { background: rgba(15, 23, 42, 0.78); }
.modal { border: 3px solid var(--fc-ink); }
.form-submit { background: var(--fc-gold); color: var(--fc-ink); font-family: var(--fc-head); font-weight: 800; }
.form-submit:hover:not(:disabled) { box-shadow: 0 8px 22px rgba(253, 204, 5, 0.4); }
.form-input:focus, .form-select:focus { border-color: var(--fc-gold); box-shadow: 0 0 0 3px rgba(253, 204, 5, 0.22); }
.link-button, .consent-details-links a { color: var(--fc-gold-deep); }
.consent-label input[type="checkbox"] { accent-color: var(--fc-ink); }
.consent-info:hover, .consent-info[aria-expanded="true"] { border-color: var(--fc-gold-deep); color: var(--fc-gold-deep); background: var(--fc-gold-soft); }
.success-icon { background: var(--fc-green-soft); color: var(--fc-green); }

/* The reduced-motion rules live in free-class-motion.css: a base tier carries
   no media query of any kind (the GED bundler's rule, which bundles this file
   for the GED class page). */


/* === program/page-base.css === */

/**
 * The ASVAB Program page, mockup: BASE (no media query).
 * The home page's frame and furniture (static/css/public/free-class/free-class-base.css, home-base.css):
 * Inter body, Space Grotesk headings, ink and slate, GOLD the one accent, no gradient text, cards with a line
 * border. THE DASHBOARD LOCK: the document never scrolls; #pgScroll does; the header stays put.
 * `html.is-full` (the #full address, for full-page pictures) lets the document grow instead.
 */
:root {
  --pg-ink: #0f172a;
  --pg-ink-2: #1e293b;
  --pg-soft: #475569;
  --pg-muted: #64748b;
  --pg-line: #e2e8f0;
  --pg-line-soft: #f1f5f9;
  --pg-bg: #f8fafc;
  --pg-card: #ffffff;
  --pg-gold: #fdcc05;
  --pg-gold-deep: #b45309;
  --pg-gold-soft: #fef3c7;
  --pg-green: #047857;
  --pg-green-soft: #d1fae5;
  --pg-red: #be123c;
  --pg-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  --pg-shadow-lg: 0 10px 28px rgba(15, 23, 42, 0.12);
  --pg-head: 'Space Grotesk', 'Inter', sans-serif;
  --pg-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --pg-gutter: 24px;
  --pg-max: 1160px;
  --c-mc: #b45309; --c-mb: #047857; --c-ar: #3b82f6; --c-mk: #4f46e5; --c-wk: #7c3aed; --c-pc: #0e7490; --c-gs: #be185d;
  --wd-head: var(--pg-head);
}

*, *::before, *::after { box-sizing: border-box; }
html.pg-html, body.pg-body { height: 100%; overflow: hidden; }
body.pg-body {
  margin: 0; font-family: var(--pg-body); color: var(--pg-ink-2); background: var(--pg-bg); line-height: 1.5;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
.pg-page {
  height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column;
  background:
    radial-gradient(900px 420px at 12% -140px, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
    radial-gradient(900px 480px at 88% -180px, rgba(253, 204, 5, 0.16) 0%, transparent 60%),
    var(--pg-bg);
}
html.is-full, html.is-full body.pg-body { height: auto; overflow: visible; }
html.is-full .pg-page { height: auto; overflow: visible; }
html.is-full .pg-scroll { overflow: visible; }

/* ---------- The frame: header ---------- */
.pg-header {
  flex-shrink: 0; display: flex; align-items: center; gap: 16px; padding: 10px var(--pg-gutter);
  background: var(--pg-card); border-bottom: 1px solid var(--pg-line); z-index: 5;
}
.pg-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.pg-logo { width: 36px; height: 36px; object-fit: contain; display: block; flex-shrink: 0; }
.pg-brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.pg-brand-name { font-family: var(--pg-head); font-weight: 700; font-size: 16px; color: var(--pg-ink); letter-spacing: -0.2px; }
.pg-brand-tag { font-weight: 700; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--pg-muted); }
.pg-nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.pg-nav-link {
  font-family: var(--pg-head); font-weight: 700; font-size: 14px; color: var(--pg-soft); text-decoration: none;
  padding: 8px 12px; border-radius: 10px; white-space: nowrap;
}
.pg-nav-link:hover { color: var(--pg-ink); background: var(--pg-line-soft); }
.pg-nav-link.is-here { color: var(--pg-ink); box-shadow: inset 0 -3px 0 var(--pg-gold); border-radius: 10px 10px 4px 4px; }
.pg-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
.pg-burger { display: none; }

/* ---------- The one scroll region ---------- */
.pg-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; }
.pg-scroll [id] { scroll-margin-top: 0; }

/* ---------- Type ---------- */
.pg-eyebrow {
  font-family: var(--pg-head); font-weight: 700; font-size: 12px; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--pg-muted); margin: 0 0 10px; display: flex; align-items: center; gap: 8px;
}
.pg-eyebrow.is-gold { color: var(--pg-gold-deep); }
.pg-title {
  font-family: var(--pg-head); font-weight: 700; font-size: 52px; line-height: 1.04; letter-spacing: -1.2px;
  color: var(--pg-ink); margin: 0 0 18px; text-wrap: balance;
}
.pg-accent { color: var(--pg-gold-deep); }
.pg-sub { font-size: 18px; line-height: 1.55; color: var(--pg-soft); margin: 0 0 24px; max-width: 34em; }
.pg-h2 {
  font-family: var(--pg-head); font-weight: 700; font-size: 34px; line-height: 1.1; letter-spacing: -0.6px;
  color: var(--pg-ink); margin: 0 0 10px; text-wrap: balance;
}
.pg-h3 {
  font-family: var(--pg-head); font-weight: 700; font-size: 28px; line-height: 1.12; letter-spacing: -0.4px;
  color: var(--pg-ink); margin: 0 0 12px; text-wrap: balance;
}
.pg-lead { font-size: 16.5px; color: var(--pg-soft); margin: 0; max-width: 38em; }

/* ---------- Buttons, pills, tags ---------- */
.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--pg-head);
  font-weight: 700; letter-spacing: 0.3px; border-radius: 12px; border: 2px solid transparent; text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.pg-btn:focus-visible { outline: 3px solid var(--pg-ar-focus, #2563eb); outline-offset: 2px; }
.pg-btn-primary { background: var(--pg-gold); color: var(--pg-ink); box-shadow: 0 6px 18px rgba(253, 204, 5, 0.35); }
.pg-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(253, 204, 5, 0.45); }
.pg-btn-ghost { background: var(--pg-card); color: var(--pg-ink); border-color: var(--pg-line); }
.pg-btn-ghost:hover { border-color: var(--pg-gold); }
.pg-btn-onink { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.pg-btn-onink:hover { border-color: var(--pg-gold); }
.pg-btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.pg-btn-lg { padding: 15px 26px; font-size: 16px; }
.pg-tag {
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; background: var(--pg-gold);
  color: var(--pg-ink); font-family: var(--pg-head); font-weight: 700; font-size: 10px; letter-spacing: 1.4px;
  text-transform: uppercase; line-height: 1.3;
}

/* ---------- A motion stage: a house-shape piece mounts here (js/page-motion.js) ---------- */
.pg-stage { position: relative; width: 100%; cursor: pointer; }
.pg-stage-sq { aspect-ratio: 1 / 1; }

/* ---------- 1. The hero ---------- */
.pg-hero {
  max-width: var(--pg-max); margin: 0 auto; padding: 52px var(--pg-gutter) 44px; display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center;
}
.pg-hero-copy { min-width: 0; }
/* the hero's right side is the course carousel (css/hero-carousel.css) */


/* === program/page-sections.css === */

/**
 * The ASVAB Program page, mockup: THE SECTIONS (no viewport media query).
 * Problem, guide, plan, what is inside (classroom, recordings, AR, the courses, MC, the rest), results, stakes,
 * questions, the close and the footer. Every colour from the tokens in page-base.css.
 */

/* ---------- Sections ---------- */
.pg-section { max-width: var(--pg-max); margin: 0 auto; padding: 60px var(--pg-gutter); }
.pg-section + .pg-section { border-top: 1px solid var(--pg-line); }
.pg-head { margin-bottom: 28px; max-width: 760px; }
.pg-inside-head { padding-bottom: 0; }
.pg-inside-head + .pg-section { border-top: 0; padding-top: 28px; }

/* ---------- Cards ---------- */
.pg-cards { display: grid; gap: 16px; }
.pg-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-card { background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 16px; padding: 20px 22px; box-shadow: var(--pg-shadow); min-width: 0; }
.pg-card-label { font-family: var(--pg-head); font-weight: 700; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--pg-gold-deep); margin: 0 0 8px; }
.pg-card-title { font-family: var(--pg-head); font-weight: 700; font-size: 18px; line-height: 1.25; color: var(--pg-ink); margin: 0 0 6px; }
.pg-card-text { margin: 0; font-size: 14.5px; color: var(--pg-soft); }

/* ---------- 4. The guide: who made it ---------- */
/* Coach stands in front of an ink arch with a gold edge, his shoulders over its rim */
.pg-guide { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 52px; align-items: center; padding-bottom: 0; }
.pg-guide-photo { position: relative; align-self: end; display: flex; align-items: flex-end; justify-content: center; }
.pg-guide-photo::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80%; border-radius: 190px 190px 0 0;
  background: radial-gradient(110% 85% at 50% 30%, #fffbea 0%, var(--pg-gold-soft) 75%); box-shadow: inset 0 0 0 6px var(--pg-gold);
}
.pg-guide-photo img { position: relative; width: 320px; height: auto; display: block; }
.pg-guide-copy { min-width: 0; padding-bottom: 56px; }
.pg-said {
  margin: 20px 0 0; background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 14px; padding: 16px 18px;
  box-shadow: var(--pg-shadow); max-width: 38em; position: relative;
}
.pg-said::before {
  content: ""; position: absolute; left: 18px; top: -7px; width: 28px; height: 6px; border-radius: 3px; background: var(--pg-gold);
}
.pg-said p { margin: 0 0 8px; font-family: var(--pg-head); font-weight: 600; font-size: 18px; line-height: 1.4; color: var(--pg-ink); }
.pg-said cite { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--pg-muted); }
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pg-chip { border: 1px solid var(--pg-line); background: var(--pg-card); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; color: var(--pg-ink); }

/* ---------- 5. The plan ---------- */
.pg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.pg-step { display: flex; gap: 14px; align-items: flex-start; background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 16px; padding: 20px; box-shadow: var(--pg-shadow); }
.pg-step-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--pg-ink); color: var(--pg-gold);
  font-family: var(--pg-head); font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center;
}
.pg-step-title { font-family: var(--pg-head); font-weight: 700; font-size: 18px; color: var(--pg-ink); margin: 4px 0 6px; }
.pg-step-text { margin: 0; font-size: 14.5px; color: var(--pg-soft); }

/* ---------- 6. A feature: copy beside its picture ---------- */
.pg-feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.pg-feature.is-flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.pg-feature.is-flip > .pg-feature-copy { order: 2; }
.pg-feature-copy { min-width: 0; }
.pg-ticks, .pg-check, .pg-x { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pg-ticks li, .pg-check li, .pg-x li { position: relative; padding-left: 30px; font-size: 15px; color: var(--pg-ink-2); }
.pg-ticks li::before, .pg-check li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--pg-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230f172a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.pg-x li { color: var(--pg-soft); }
.pg-x li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--pg-line)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* 6c. Arithmetic Reasoning: the list and the checkpoint result */
.pg-list { margin: 18px 0 0; display: flex; flex-direction: column; gap: 12px; }
.pg-list div { padding-left: 16px; box-shadow: inset 3px 0 0 var(--pg-gold); }
.pg-list dt { font-family: var(--pg-head); font-weight: 700; font-size: 16px; color: var(--pg-ink); }
.pg-list dd { margin: 2px 0 0; font-size: 14.5px; color: var(--pg-soft); }
.pg-ck { background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 18px; box-shadow: var(--pg-shadow-lg); padding: 0 0 18px; min-width: 0; overflow: hidden; }
.pg-ck-head { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--pg-line); }
.pg-ck-title { font-family: var(--pg-head); font-weight: 700; font-size: 14px; color: var(--pg-ink); }
.pg-ck-score { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 16px 18px 0; }
.pg-ck-num { font-family: var(--pg-head); font-weight: 700; font-size: 52px; line-height: 1; color: var(--pg-ink); font-variant-numeric: tabular-nums; }
.pg-ck-of { font-size: 24px; color: var(--pg-muted); margin-left: 2px; }
.pg-stage-marks { aspect-ratio: 3.2 / 1; }
.pg-ck-line { margin: 6px 18px 10px; font-size: 14.5px; color: var(--pg-soft); }
.pg-ck-line strong { color: var(--pg-ink); }
.pg-stage-climb { aspect-ratio: 640 / 200; width: auto; margin: 0 18px; }
.pg-ck-climbline { margin: 8px 18px 0; font-size: 13.5px; color: var(--pg-muted); }

/* 6d. The courses */
.pg-courses { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pg-course {
  background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 16px; padding: 18px 16px 16px; box-shadow: var(--pg-shadow);
  border-top: 5px solid var(--stripe); min-width: 0; display: flex; flex-direction: column;
}
.pg-course .pg-stage-mark { width: 64px; aspect-ratio: 1 / 1; margin: -4px 0 6px; }
.pg-course-name { font-family: var(--pg-head); font-weight: 700; font-size: 17px; line-height: 1.2; color: var(--pg-ink); margin: 0 0 8px; }
.pg-course-nums { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.pg-course-nums span { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--pg-line-soft); color: var(--pg-ink); font-variant-numeric: tabular-nums; }
.pg-course-text { margin: 0; font-size: 13.5px; color: var(--pg-soft); }

/* 6e. Mechanical Comprehension */
.pg-units {
  margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto); grid-auto-flow: column; gap: 6px 14px; counter-reset: unit;
}
.pg-units li { counter-increment: unit; font-size: 14px; color: var(--pg-ink-2); display: flex; gap: 8px; }
.pg-units li::before { content: counter(unit); font-family: var(--pg-head); font-weight: 700; color: var(--pg-gold-deep); min-width: 1.4em; font-variant-numeric: tabular-nums; }
.pg-mc-art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; min-width: 0; }
.pg-mc-rig { background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 16px; box-shadow: var(--pg-shadow-lg); padding: 10px 12px 14px; min-width: 0; }
.pg-stage-rig { aspect-ratio: 360 / 404; }
.pg-mc-rig-cap { margin: 4px 2px 0; font-size: 12.5px; color: var(--pg-muted); }
.pg-mc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.pg-mc-tile { margin: 0; background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 14px; padding: 6px 6px 8px; box-shadow: var(--pg-shadow); }
.pg-stage-tile { aspect-ratio: 300 / 230; }
.pg-mc-tile figcaption { text-align: center; font-family: var(--pg-head); font-weight: 700; font-size: 13px; color: var(--pg-ink); }

/* ---------- 7. Actual results ---------- */

/* ---------- 8. Stakes and success ---------- */
.pg-stakes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.pg-stakes-side { border: 1px solid var(--pg-line); border-radius: 18px; padding: 24px 26px; background: var(--pg-line-soft); }
.pg-stakes-side.is-win { background: var(--pg-card); border: 2px solid var(--pg-gold); box-shadow: 0 0 0 4px rgba(253, 204, 5, 0.16); }
.pg-stakes-side .pg-check li, .pg-stakes-side .pg-x li { font-size: 16px; }

/* ---------- 9. Questions ---------- */
.pg-faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 860px; }
.pg-q { background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 14px; padding: 4px 18px; }
.pg-q summary { cursor: pointer; list-style: none; padding: 12px 0; font-family: var(--pg-head); font-weight: 700; font-size: 16px; color: var(--pg-ink); display: flex; justify-content: space-between; gap: 12px; }
.pg-q summary::-webkit-details-marker { display: none; }
.pg-q summary::after { content: "+"; color: var(--pg-gold-deep); font-size: 20px; line-height: 1; }
.pg-q[open] summary::after { content: "\2212"; }
.pg-q p { margin: 0 0 14px; font-size: 14.5px; color: var(--pg-soft); }
/* the app answer's store badges: Apple's SVG is its badge edge to edge (44 tall); Google's PNG carries its own clear
   space (the badge is 0.664 of its height), so it is drawn 66 tall for a 44 tall badge and its padding is taken back */
.pg-stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; }
.pg-store { display: block; line-height: 0; border-radius: 8px; }
.pg-store img { display: block; width: auto; }
.pg-store-apple img { height: 44px; }
.pg-store-google { margin: -11px -5px; }
.pg-store-google img { height: 66px; }
/* the channels under "Where can I follow Coach Anderson?": a pill each, the platform's mark and its name */
.pg-channels { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.pg-channel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--pg-line); border-radius: 999px; background: var(--pg-card); color: var(--pg-ink); font-family: var(--pg-head); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.pg-channel:hover, .pg-channel:focus-visible { border-color: var(--pg-ink); }
.pg-channel svg { width: 20px; height: 20px; flex: none; }

/* ---------- 10. The close ---------- */
.pg-close { background: var(--pg-ink); color: #fff; margin-top: 20px; }
.pg-close-inner { max-width: var(--pg-max); margin: 0 auto; padding: 0 var(--pg-gutter); display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: end; }
.pg-close-photo { width: 300px; height: auto; display: block; margin-top: 24px; filter: drop-shadow(0 0 22px rgba(253, 204, 5, 0.28)); }
.pg-close-copy { padding: 56px 0; min-width: 0; }
.pg-close-title { font-family: var(--pg-head); font-weight: 700; font-size: 40px; line-height: 1.08; letter-spacing: -0.8px; margin: 0 0 14px; color: #fff; text-wrap: balance; }
.pg-close-sub { margin: 0 0 8px; font-size: 17px; color: rgba(255, 255, 255, 0.78); max-width: 34em; }
.pg-close .pg-eyebrow.is-gold { color: var(--pg-gold); }
.pg-close-sign { margin: 0 0 26px; font-family: 'Outfit', var(--pg-head); font-weight: 800; font-size: 15px; letter-spacing: 0.5px; color: var(--pg-gold); }

/* ---------- Footer ---------- */
.pg-footer { background: var(--pg-ink); color: rgba(255, 255, 255, 0.72); text-align: center; padding: 22px var(--pg-gutter) 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13.5px; }
.pg-footer p { margin: 4px 0; }
.pg-footer strong { color: #fff; }
.pg-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
.pg-footer-links a { color: #fff; font-weight: 600; text-decoration: none; }
.pg-footer-copy { color: rgba(255, 255, 255, 0.5); }

/* One section at a time (js/page-section.js, ?section=<part>): only that section's pieces show under the header */
html.is-one [data-part]:not(.is-shown) { display: none; }


/* === program/page-carousel.css === */

/**
 * The ASVAB Program page, mockup: THE SHOWCASE CAROUSELS (no viewport media query).
 * A real screen of the product, filmed, in a browser frame on the left; the list of what it shows on the
 * right, the one playing open with its line and a gold bar that fills as it plays (js/page-carousel.js).
 */
.pg-show-head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 24px;
}
.pg-show-head .pg-ticks { margin: 0; }

.pg-car { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; align-items: start; }
.pg-car-device { background: var(--pg-ink); border-radius: 14px; padding: 0 6px 6px; box-shadow: var(--pg-shadow-lg); min-width: 0; }
.pg-car-chrome { display: flex; align-items: center; gap: 6px; padding: 8px 6px; min-width: 0; }
.pg-car-chrome span { width: 9px; height: 9px; border-radius: 50%; background: #475569; flex-shrink: 0; }
.pg-car-chrome em {
  margin-left: 8px; font-style: normal; font-size: 11.5px; color: #cbd5e1; background: rgba(255, 255, 255, 0.08);
  border-radius: 6px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.pg-car-screen { position: relative; aspect-ratio: 1440 / 900; overflow: hidden; border-radius: 0 0 9px 9px; background: #fff; }
.pg-car-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s linear 0.45s; }
.pg-car-slide.is-on { opacity: 1; visibility: visible; transition: opacity 0.45s ease; }
.pg-car-slide video, .pg-car-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; background: #fff; }

.pg-car-tabs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pg-car-tab {
  position: relative; overflow: hidden; width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 12px;
  align-items: start; text-align: left; padding: 11px 14px; border: 1px solid var(--pg-line); border-radius: 12px;
  background: var(--pg-card); color: var(--pg-ink-2); font: inherit; cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pg-car-tab:hover { border-color: var(--pg-gold); }
.pg-car-tab:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.pg-car-tab.is-on { border-color: var(--pg-gold); box-shadow: 0 0 0 3px rgba(253, 204, 5, 0.2), var(--pg-shadow); }
.pg-car-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--pg-line-soft); color: var(--pg-ink); display: flex;
  align-items: center; justify-content: center; font-family: var(--pg-head); font-weight: 700; font-size: 13px;
}
.pg-car-tab.is-on .pg-car-num { background: var(--pg-ink); color: var(--pg-gold); }
.pg-car-text { min-width: 0; padding-top: 3px; }
.pg-car-text strong { display: block; font-family: var(--pg-head); font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--pg-ink); }
.pg-car-text span { display: none; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--pg-soft); }
.pg-car-tab.is-on .pg-car-text span { display: block; }
.pg-car-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.pg-car-prog i { display: block; height: 100%; width: 0; background: var(--pg-gold); }
.pg-car-cap { display: none; margin: 0; }


/* === program/hero-carousel.css === */

/* THE HERO'S COURSE CAROUSEL (2026-11-20, Anderson: "a carousel of animations that last maybe 2.5-3 seconds" ...
 * "the logo then Ace the ASVAB with, and then it sits right above the name of the animation slide").
 * One light card; one slide shows at a time, each a picture of the thing animated (js/hero-slides.js), turned by
 * js/hero-carousel.js. THE EVERYTHING VIEW (.hc-all): every slide at once over the dimmed page, opened by hovering the
 * card on a laptop (closed when the mouse leaves the panel) or by a tap on a phone (closed by a tap anywhere).
 * The phone's sizes are page-phone.css. */

/* no panel: the slide stands on the page itself (Anderson, 2026-11-20); the SVGs draw open-space ink in currentColor */
/* pan-y: a sideways finger move is the carousel's own swipe (js/hero-carousel.js), an up or down one scrolls the page */
.hc { position: relative; min-width: 0; color: var(--pg-ink); border-radius: 18px; touch-action: pan-y; }
/* the slides swipe in and out sideways inside the carousel's own box, never over the headline beside it */
.hc-deck { display: grid; overflow-x: clip; }
.hc-slide {
  grid-area: 1 / 1; margin: 0; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center;
  opacity: 0; visibility: hidden;
}
.hc-slide.is-on { opacity: 1; visibility: visible; }
.hc-with {
  margin: 0; display: inline-flex; align-items: center; gap: 8px;
  font: 700 12px/1 var(--pg-head); letter-spacing: 2px; text-transform: uppercase; color: var(--pg-gold-deep);
}
.hc-with img { width: 22px; height: 22px; }
.hc-name {
  margin: 8px 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  font: 700 34px/1.1 var(--pg-head); letter-spacing: -0.6px; color: var(--pg-ink);
}
.hc-art { display: block; width: 100%; height: auto; aspect-ratio: 320 / 180; overflow: visible; }
.hc-art text { font-family: var(--pg-head); }
.hc-line { margin: 14px 0 0; font-size: 15px; line-height: 1.45; color: var(--pg-soft); }
.hc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.hc-dots { display: flex; gap: 6px; }
.hc-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--pg-line); transition: width .3s, background .3s; }
.hc-dots i.is-on { width: 20px; border-radius: 99px; background: var(--pg-ink); }
/* the button that opens the everything view (Anderson, 2026-11-22: "a button that says click to see all instead of
   instantly when hovering"); "Tap to see all" on a phone (page-phone.css) */
.hc-see {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--pg-ink); background: #fff; color: var(--pg-ink); font: 700 13.5px/1 var(--pg-head);
  transition: background .2s, color .2s, transform .15s;
}
.hc-see svg { width: 14px; height: 14px; fill: currentColor; }
.hc-see:hover { background: var(--pg-ink); color: #fff; }
.hc-see:active { transform: scale(.97); }
.hc-see:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.hc-see-word.is-tap { display: none; }

/* the Live Classes slide: real end-of-problem frames run past in 3D (js/hero-slides.js S.lc places each card) */
.lcf, .hc-grid .lcf { width: 100%; }
/* the cards past the sides fade out inside the slide's own box, never over the copy or a neighbouring tile */
.lcf-run { position: absolute; inset: 0; perspective: 900px; }
/* clipped sideways at the slide's edges, where the mask is already transparent: a mask hides, it does not stop a
   card past the side from widening the page (a phone could drag the hero sideways 27 px, viewer-check, 2026-11-20) */
.lcf {
  position: relative; overflow: visible; overflow-x: clip;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
}
.lcf-card {
  position: absolute; left: 50%; top: 50%; width: 62%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 10px; border: 2px solid #fff; box-shadow: 0 10px 26px rgba(15, 23, 42, 0.28); background: #fff;
}
.lcf-live {
  position: absolute; left: 50%; top: 3%; z-index: 30; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 99px; background: #dc2626; color: #fff; font: 800 11px/1 var(--pg-head); letter-spacing: 1.4px; text-transform: uppercase;
}
.lcf-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }

/* ---------- the everything view ---------- */
/* no panel and no tile boxes: the pieces stand on the darkened, blurred page and take the whole screen; the open-space
   ink of every picture turns light (currentColor); "Ace the ASVAB with" is said once, in the title */
.hc-all {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 22px 28px;
  /* dark and blurred enough that nothing of the page behind reads through (the gold button showed as a yellow band) */
  background: rgba(8, 13, 26, 0.93); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hc-all[hidden] { display: none; }
.hc-all-panel { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; min-height: 0; }
/* the way out, top right (Escape and a press on the dark close it too) */
.hc-all-close {
  position: absolute; top: 0; right: 0; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #fff;
  font: 700 13px/1 var(--pg-head); cursor: pointer; transition: background .2s;
}
.hc-all-close span { font-size: 17px; line-height: 0; }
.hc-all-close:hover { background: rgba(255, 255, 255, .18); }
.hc-all-close:focus-visible { outline: 3px solid #fdcc05; outline-offset: 2px; }
.hc-all-title { flex: none; margin: 0 0 10px; display: flex; align-items: center; justify-content: center; gap: 12px; font: 700 26px/1.2 var(--pg-head); color: #fff; }
.hc-all-title img { width: 34px; height: 34px; }
.hc-all-hint { display: none; flex: none; margin: 8px 0 0; text-align: center; font-size: 13px; font-weight: 600; color: #94a3b8; }
/* ONLY here, faint rules between the tiles so each title plainly belongs to the picture under it (Anderson, 2026-11-20:
   "light lines like super faint but visible so it's clear what's where"); lines between tiles, never boxes round them */
:root { --hc-rule: rgba(255, 255, 255, 0.14); }
.hc-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 0; }
.hc-grid .hc-slide { grid-area: auto; opacity: 1; visibility: visible; min-height: 0; justify-content: center; color: #e2e8f0; padding: 14px 24px 16px; }
.hc-grid > .hc-slide:nth-child(n+4) { border-top: 1px solid var(--hc-rule); }
.hc-grid > .hc-slide:not(:nth-child(3n+1)) { border-left: 1px solid var(--hc-rule); }
.hc-grid .hc-with { display: none; }
.hc-grid .hc-name { margin: 0 0 6px; font-size: 20px; gap: 8px; color: #fff; }
.hc-grid .hc-art { width: auto; height: auto; max-width: 100%; flex: 1; min-height: 0; }
.hc-grid .hc-line { margin-top: 4px; font-size: 13px; color: #cbd5e1; }
/* in a tile the LIVE pill sits above the cards, the cards a little lower so the two never touch */
.hc-grid .lcf-live { top: 0; }
.hc-grid .lcf-card { top: 58%; }


/* === program/hall-of-fame.css === */

/* THE HALL OF FAME (2026-11-20, Anderson: "make it its own section ... incorporate their scores and the ones that have
 * increased scores, and the branch that they enlist in with the insignias"). Light cards, each a confirmed win worded
 * only as its verdict allows: the insignia, the name (First L.), where they went, the score climbing on a 0 to 99
 * meter (the grey is where they started, the gold where they finished), their words. js/hall-of-fame.js plays each
 * card's climb as it comes into view. The phone's row is page-phone.css. */

.hf-head { text-align: center; margin-left: auto; margin-right: auto; }
.hf-head .pg-eyebrow { justify-content: center; }
.hf-head .pg-lead { margin: 0 auto; }
.hf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hf-card {
  min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px;
  background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 18px; box-shadow: var(--pg-shadow);
}
.hf-top { display: flex; align-items: center; gap: 12px; }
.hf-badge { flex: none; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--pg-line); }
.hf-name { margin: 0; font: 700 17px/1.2 var(--pg-head); color: var(--pg-ink); }
.hf-where { margin: 3px 0 0; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--pg-gold-deep); }
.hf-score { display: flex; align-items: baseline; gap: 8px; font-family: var(--pg-head); font-variant-numeric: tabular-nums; }
.hf-from { font-size: 26px; font-weight: 700; color: var(--pg-muted); }
.hf-arrow { font-size: 22px; color: var(--pg-gold-deep); }
.hf-to { font-size: 46px; font-weight: 700; line-height: 1; color: var(--pg-ink); }
.hf-label { align-self: center; font-size: 14px; font-weight: 700; color: var(--pg-muted); }
.hf-meter { position: relative; height: 10px; border-radius: 99px; background: var(--pg-line-soft); overflow: hidden; }
.hf-meter i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; }
.hf-now { width: var(--now, 0%); background: linear-gradient(90deg, var(--pg-gold), #f59e0b); }
.hf-was { width: var(--was, 0%); background: #cbd5e1; }
.hf-quote { flex: 1; margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--pg-ink-2); }
.hf-quote.is-plain { color: var(--pg-soft); }
.hf-foot { margin: 0; padding-top: 10px; border-top: 1px solid var(--pg-line); font-size: 12.5px; font-weight: 600; color: var(--pg-muted); }
.hf-actions { justify-content: center; margin-top: 28px; }


/* === program/wall.css === */

/* THE SWEARING-IN WALL (js/wall.js): framed photos under the review cards. A dark frame, a white mat, each hung at
 * its own slight tilt; a brass plaque over them; two rows drifting in opposite directions, the edges fading. The
 * phone's sizes are wall-phone.css. */
:root {
  --wall-frame: #1c2230;
  --wall-mat: #ffffff;
  --wall-brass-1: #f3d77e;
  --wall-brass-2: #b8862a;
  --wall-shade: rgba(15, 23, 42, 0.22);
  --wall-h: 170px;
}

.wall { margin: 44px 0 6px; }
.wall-plaque { margin: 0; display: flex; justify-content: center; }
.wall-plaque span {
  display: inline-block; padding: 7px 22px 6px; border-radius: 4px; color: #3b2a07;
  background: linear-gradient(180deg, var(--wall-brass-1), var(--wall-brass-2));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 3px 8px var(--wall-shade);
  font: 700 13px/1.2 var(--pg-head); letter-spacing: 3px; text-transform: uppercase;
}
.wall-line { margin: 10px auto 6px; text-align: center; color: var(--pg-soft); font-size: 15.5px; text-wrap: balance; }
.wall-more { margin: 14px 0 0; text-align: center; }
.wall-all {
  font: 700 14px/1 var(--pg-head); letter-spacing: 0.3px; color: var(--pg-ink); background: var(--pg-card);
  border: 2px solid var(--pg-line); border-radius: 999px; padding: 11px 20px; cursor: pointer;
}
.wall-all:hover { border-color: var(--pg-gold); }

/* one frame: the dark frame, the mat, the photo; straightens and lifts when pointed at */
.wall-frame {
  flex: none; display: block; padding: 7px; border: 0; border-radius: 3px; cursor: zoom-in; background: var(--wall-frame);
  box-shadow: 0 10px 22px var(--wall-shade), 0 2px 4px rgba(15, 23, 42, 0.18);
  transform: rotate(var(--tilt, 0deg)); transition: transform .25s ease, box-shadow .25s ease;
}
.wall-frame:hover, .wall-frame:focus-visible {
  transform: rotate(0deg) scale(1.05); box-shadow: 0 16px 30px rgba(15, 23, 42, 0.3); position: relative; z-index: 2;
}
.wall-frame:focus-visible { outline: 3px solid var(--pg-gold); outline-offset: 3px; }
.wall-mat { display: block; padding: 9px; background: var(--wall-mat); }
.wall-mat picture, .wall-mat img { display: block; }
.wall-mat img { height: var(--wall-h); width: auto; max-width: none; }

/* DRIFT: two rows, the second the other way; each track holds its frames twice, so -50% is one seamless lap */
.wall-row {
  overflow: hidden; padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.wall-row + .wall-row { margin-top: -10px; }
.wall-track { display: flex; width: max-content; animation: wall-drift var(--dur, 120s) linear infinite; }
.wall-track .wall-frame { margin-right: 30px; }
.wall-row.is-back .wall-track { animation-direction: reverse; }
.wall-row:hover .wall-track, .wall-row.is-held .wall-track { animation-play-state: paused; }
@keyframes wall-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.wall-every-grid .wall-mat img { height: auto; width: 100%; max-width: 100%; }

/* the drift stops while a student is open, so the photo can fly back into its own frame */
.wall.is-paused .wall-track { animation-play-state: paused; }

.wall-x {
  font: 700 14px/1 var(--pg-head); color: #0f172a; background: var(--pg-gold); border: 0; border-radius: 999px;
  padding: 10px 18px; cursor: pointer;
}

/* See the whole wall: every frame over the darkened page, the lockup on top, the overlay's own region scrolls; a
   student opened from here sits above it (css/wall-moment.css) */
.wall-every {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; padding: 18px 28px 24px;
  background: radial-gradient(ellipse at 50% 30%, rgba(30, 41, 70, 0.95), rgba(6, 10, 22, 0.96) 70%);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.wall-every[hidden] { display: none; }
.wall-every-head { flex: none; display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 6px; }
.wall-every-head .wall-x { position: absolute; right: 0; top: 0; }
.wall-every .wall-frame { transition: none; }
.wall-every .wall-frame:hover { transition: transform .25s ease, box-shadow .25s ease; }
.wall-every-grid {
  flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 28px 24px; align-items: center; justify-items: center; padding: 14px 10px 24px;
}
.wall-every-grid .wall-frame.is-portrait { width: 80%; }
.wall-every-grid .wall-frame.is-landscape { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .wall-track { animation: none; }
  .wall-row { overflow-x: auto; }
  .wall-frame { transition: none; }
}
html.is-full .wall-track { animation: none; }


/* === program/hof-lockup.css === */

/* THE HALL OF FAME LOCKUP (js/hof-lockup.js clones it from #hofLockup into each [data-hof-lockup] slot): a laurel
 * either side of the mark and ACE THE ASVAB over HALL OF FAME. One size variable, --hof-s, scales the whole lockup:
 * the section head 1, an opened photo and the whole wall smaller. On the dark overlays (.is-moment, .is-every) the big
 * words are white and ACE THE ASVAB is gold. Never gradient text: the glint is a colour passed letter to letter. */
:root {
  --hof-leaf: #f2c200;
  --hof-leaf-edge: #a87a12;
}

.hof {
  --hof-s: 1;
  --hof-hall-c: var(--pg-ink);
  --hof-ace-c: var(--pg-gold-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: calc(var(--hof-s) * 14px);
}
.hof.is-moment, .hof.is-every { --hof-hall-c: #ffffff; --hof-ace-c: var(--pg-gold); }
.hof.is-moment { --hof-s: 0.62; }
.hof.is-every { --hof-s: 0.56; }

.hof-laurel { flex: none; width: calc(var(--hof-s) * 62px); height: calc(var(--hof-s) * 126px); overflow: visible; }
.hof-laurel.is-right { transform: scaleX(-1); }
.hof-stem { fill: none; stroke: var(--hof-leaf-edge); stroke-width: 2.4; stroke-linecap: round; }
.hof-leaf { fill: var(--hof-leaf); stroke: var(--hof-leaf-edge); stroke-width: 0.9; }

.hof-core { display: flex; align-items: center; gap: calc(var(--hof-s) * 18px); }
.hof-mark-wrap { position: relative; flex: none; display: block; width: calc(var(--hof-s) * 84px); height: calc(var(--hof-s) * 84px); }
.hof-mark { position: relative; display: block; width: 100%; height: 100%; }
.hof-ring {
  position: absolute; inset: -6%; border-radius: 50%; border: calc(var(--hof-s) * 3px) solid var(--pg-gold);
  opacity: 0; pointer-events: none;
}
.hof-words { display: flex; flex-direction: column; align-items: flex-start; }
.hof-ace {
  display: block; font: 700 calc(var(--hof-s) * 19px)/1 var(--pg-head); letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--hof-ace-c); padding-left: 0.12em; white-space: nowrap;
}
.hof-hall {
  display: block; margin-top: calc(var(--hof-s) * 6px); font: 800 calc(var(--hof-s) * 66px)/0.95 'Outfit', var(--pg-head);
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--hof-hall-c); white-space: nowrap;
}
.hof-ch { display: inline-block; }

/* the section head: the lockup over the headline */
.hf-lockup { display: flex; justify-content: center; margin-bottom: 18px; }


/* === program/wall-moment.css === */

/* A PHOTO OF THE WALL, OPENED (js/wall-moment.js): over everything, the whole wall included (z-index 80 over its 60).
 * The lockup on top, the framed photo in the middle on a gold glow, the brass name plate with the arrows under it.
 * The phone's sizes are wall-phone.css. */
.wm {
  position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 20px 24px 22px;
}
.wm[hidden] { display: none; }
.wm-back {
  position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(30, 41, 70, 0.96), rgba(6, 10, 22, 0.97) 70%);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.wm-x { position: absolute; top: 16px; right: 18px; z-index: 3; }
.wm-top { position: relative; z-index: 2; flex: none; display: flex; justify-content: center; }

.wm-stage {
  position: relative; z-index: 1; flex: 0 1 auto; min-height: 0; width: 100%; display: flex; align-items: center;
  justify-content: center; padding: 18px 0;
}
/* the glow is sized to the photo by js (measure): a gold light round its edges, its middle behind the photo */
.wm-glow {
  position: absolute; left: 0; top: 0; width: 600px; height: 600px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(253, 204, 5, 0.55), rgba(253, 204, 5, 0.22) 62%, transparent 100%);
}
/* the frame: a white mat, the dark moulding, a thin gold edge */
.wm-photo {
  position: relative; display: block; width: auto; height: auto;
  max-width: min(80vw, 720px); max-height: calc(100dvh - 290px);
  border: 12px solid var(--wall-mat); border-radius: 2px;
  box-shadow: 0 0 0 9px var(--wall-frame), 0 0 0 11px var(--pg-gold), 0 30px 70px rgba(0, 0, 0, 0.6); will-change: transform;
}
.wm-sparks { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.wm-spark {
  position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; opacity: 0;
  background: var(--pg-gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.wm-spark.is-big { width: 22px; height: 22px; margin: -11px 0 0 -11px; background: #fff3c4; }

.wm-row { position: relative; z-index: 2; flex: none; display: flex; align-items: center; justify-content: center; gap: 20px; }
.wm-plate {
  margin: 0; min-width: 240px; padding: 11px 30px 10px; border-radius: 6px; text-align: center; transform-origin: 50% 50%;
  background: linear-gradient(180deg, var(--wall-brass-1), var(--wall-brass-2));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 -2px 0 rgba(0, 0, 0, 0.18) inset, 0 8px 22px rgba(0, 0, 0, 0.45);
}
.wm-plate[hidden] { display: none; }
.wm-plate span {
  display: inline-block; font: 800 28px/1.1 'Outfit', var(--pg-head); letter-spacing: 0.06em; text-transform: uppercase;
  color: #3b2a07; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.wm-step {
  flex: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; color: #fff;
  border: 2px solid rgba(253, 204, 5, 0.55); background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.wm-step svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wm-step:hover { background: rgba(253, 204, 5, 0.18); border-color: var(--pg-gold); }
.wm-step:focus-visible, .wm .wall-x:focus-visible { outline: 3px solid var(--pg-gold); outline-offset: 3px; }


/* === program/problems.css === */

/* THE MOST COMMON ASVAB PROBLEMS (section 3, page.html #pgProblem): six cards, each a small drawing whose parts move
 * gently on their own and play their part when the card is pointed at or focused (the clock's hand races and its ring
 * flares, the heart beats and the line spikes, the X stamps, the question mark bobs, the missing digits flicker, the
 * book's ink fades). Drawn in the page's ink and accents; still under reduced motion. Phone sizes: problems-phone.css. */
:root { --pb-red: #dc2626; --pb-blue: #2563eb; }

.pb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pb-card {
  min-width: 0; display: flex; flex-direction: column; padding: 20px 20px 18px; background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 18px;
  box-shadow: var(--pg-shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pb-card:hover, .pb-card:focus-within { transform: translateY(-3px); box-shadow: var(--pg-shadow-lg); border-color: var(--pg-gold); }
.pb-art { display: block; width: 132px; height: 99px; margin: 0 0 8px -6px; overflow: visible; }
.pb-title { margin: 0 0 6px; font: 700 19px/1.25 var(--pg-head); color: var(--pg-ink); }
.pb-text { flex: 1; margin: 0; font-size: 15px; line-height: 1.5; color: var(--pg-soft); }
.pb-stat { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--pg-line); font-size: 13.5px; color: var(--pg-muted); }
.pb-stat b { color: var(--pg-gold-deep); font: 700 15px var(--pg-head); white-space: nowrap; }

.pb-art * { transform-box: fill-box; }
/* the clock */
.pb-ring { fill: none; stroke: var(--pb-red); stroke-width: 3; opacity: .25; transform-origin: center; animation: pb-breathe 2.4s ease-in-out infinite; }
.pb-face { fill: #fff; stroke: var(--pg-ink); stroke-width: 3; }
.pb-btn { fill: var(--pg-ink); }
.pb-arc { fill: none; stroke: var(--pb-red); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: .55; }
.pb-hand { stroke: var(--pg-ink); stroke-width: 3; stroke-linecap: round; transform-origin: 50% 100%; animation: pb-tick 6s steps(12) infinite; }
.pb-hub { fill: var(--pg-ink); }
.pb-card:hover .pb-hand, .pb-card:focus-within .pb-hand { animation: pb-tick 1s linear infinite; }
.pb-card:hover .pb-ring, .pb-card:focus-within .pb-ring { animation: pb-flare .6s ease-out infinite; opacity: .6; }
/* the nerves */
.pb-heart { fill: #fde2e2; stroke: var(--pb-red); stroke-width: 3; transform-origin: center; animation: pb-beat 1.6s ease-in-out infinite; }
.pb-beat { fill: none; stroke: var(--pb-red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pb-card:hover .pb-heart, .pb-card:focus-within .pb-heart { animation-duration: .55s; }
.pb-card:hover .pb-beat, .pb-card:focus-within .pb-beat { animation: pb-draw .9s linear infinite; }
/* the retake */
.pb-page { fill: #fff; stroke: var(--pg-ink); stroke-width: 3; }
.pb-top { fill: var(--pg-ink); }
.pb-days { font: 700 26px var(--pg-head); fill: var(--pg-ink); }
.pb-x { fill: none; stroke: var(--pb-red); stroke-width: 6; stroke-linecap: round; transform-origin: center; animation: pb-breathe 2.4s ease-in-out infinite; }
.pb-card:hover .pb-x, .pb-card:focus-within .pb-x { animation: pb-stamp .7s cubic-bezier(.3, 1.6, .5, 1) infinite alternate; }
/* the word problem */
.pb-line { fill: var(--pg-line); }
.pb-line:nth-child(odd) { fill: #cbd5e1; }
.pb-q { font: 800 46px var(--pg-head); fill: var(--pg-gold-deep); transform-origin: center; animation: pb-bob 2.4s ease-in-out infinite; }
.pb-card:hover .pb-q, .pb-card:focus-within .pb-q { animation: pb-wobble .5s ease-in-out infinite; }
.pb-card:hover .pb-line, .pb-card:focus-within .pb-line { animation: pb-blur .9s ease-in-out infinite alternate; }
/* the rust */
.pb-bracket { fill: none; stroke: var(--pg-ink); stroke-width: 3; stroke-linecap: round; }
.pb-digits { font: 700 20px var(--pg-head); fill: var(--pb-blue); letter-spacing: 2px; animation: pb-flicker 2.4s ease-in-out infinite; }
.pb-left { font: 700 22px var(--pg-head); fill: var(--pg-ink); }
.pb-dust { fill: none; stroke: #94a3b8; stroke-width: 2; stroke-linecap: round; animation: pb-breathe 2.4s ease-in-out infinite; }
.pb-card:hover .pb-digits, .pb-card:focus-within .pb-digits { animation-duration: .5s; }
/* studying alone */
.pb-book { fill: #fff; stroke: var(--pg-ink); stroke-width: 3; stroke-linejoin: round; }
.pb-ink { fill: none; stroke: var(--pb-blue); stroke-width: 3; stroke-linecap: round; }
.pb-ink1 { animation: pb-fade 3s ease-in-out infinite; }
.pb-ink2 { animation: pb-fade 3s ease-in-out 1.5s infinite; }
.pb-card:hover .pb-ink, .pb-card:focus-within .pb-ink { animation-duration: 1s; }

@keyframes pb-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes pb-flare { from { transform: scale(1); opacity: .7; } to { transform: scale(1.18); opacity: 0; } }
@keyframes pb-tick { to { transform: rotate(360deg); } }
@keyframes pb-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(.98); } 45% { transform: scale(1.08); } }
@keyframes pb-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pb-stamp { from { transform: scale(1.35) rotate(-8deg); opacity: .5; } to { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes pb-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes pb-wobble { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
@keyframes pb-blur { from { opacity: 1; } to { opacity: .35; } }
@keyframes pb-flicker { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes pb-fade { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }

/* the reading pass: page.html#pgProblem plays every card's hover state at once, so a picture can show it */
#pgProblem:target .pb-hand { animation: pb-tick 1s linear infinite; }
#pgProblem:target .pb-ring { animation: pb-flare .6s ease-out infinite; opacity: .6; }
#pgProblem:target .pb-heart { animation-duration: .55s; }
#pgProblem:target .pb-beat { animation: pb-draw .9s linear infinite; }
#pgProblem:target .pb-x { animation: pb-stamp .7s cubic-bezier(.3, 1.6, .5, 1) infinite alternate; }
#pgProblem:target .pb-q { animation: pb-wobble .5s ease-in-out infinite; }
#pgProblem:target .pb-line { animation: pb-blur .9s ease-in-out infinite alternate; }
#pgProblem:target .pb-digits { animation-duration: .5s; }
#pgProblem:target .pb-ink { animation-duration: 1s; }

@media (prefers-reduced-motion: reduce) {
  .pb-art *, .pb-card { animation: none !important; transition: none; }
}


/* === program/problems-phone.css === */

/* linked under (max-width: 760px) in the mockup; the query carried into the bundle */
@media (max-width: 760px) {
/* THE MOST COMMON ASVAB PROBLEMS on a phone (linked with media="(max-width: 760px)", so this file holds no query):
   two cards across, the drawing smaller, the words tighter. */
.pb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pb-card { padding: 14px 12px 12px; border-radius: 14px; }
.pb-art { width: 92px; height: 69px; margin: 0 0 4px -4px; }
.pb-title { font-size: 15.5px; }
.pb-text { font-size: 13px; line-height: 1.4; }
.pb-stat { font-size: 12px; margin-top: 8px; padding-top: 8px; }
.pb-stat b { font-size: 13px; }

}


/* === ../shared/badges.css === */

/* THE BADGES (static/js/shared/badges.js draws them; modules/shared/badges/
 * describes them). One block, no media query, bundled into each surface's
 * own bundle. Controls are custom properties a surface may override:
 *   --dl-badge-size     the image box (default 18px)
 *   --dl-badge-box      EVERY badge's width, whatever it holds (default 30px):
 *                       the widest badge (the PRAXIS lettering) plus a slight
 *                       buffer, so a name after any badge starts at the same
 *                       mark on every row; the suite measures the widest and
 *                       holds this to it (Anderson, 2026-09-30)
 *   --dl-badge-cap-size the caption type size (default 6px)
 *   --dl-badge-gap      image-to-caption gap (default 1px)
 * Two handlings:
 *   .dl-badge--round  the service insignia, the coach's picture and the
 *                     district marks: cropped to a circle on a white disc
 *                     (they need the special treatment)
 *   .dl-badge--plain  the Duran mark and the apple mark: transparent, no
 *                     rounding, the caption under the mark and never over it
 */
:root {
    --dl-badge-size: 18px;
    --dl-badge-box: 30px;
    --dl-badge-cap-size: 6px;
    --dl-badge-gap: 1px;
}
/* The defaults live on :root (never on the badge itself) so a surface, or the
 * module's own measurement, can set them higher up and every badge follows. */
.dl-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--dl-badge-gap);
    vertical-align: middle;
    flex: 0 0 auto;
    width: var(--dl-badge-box);
    min-width: var(--dl-badge-box);
    max-width: var(--dl-badge-box);
    line-height: 1;
}
.dl-badge-img {
    display: block;
    width: var(--dl-badge-size);
    height: var(--dl-badge-size);
    object-fit: contain;
}
.dl-badge--round .dl-badge-img {
    border-radius: 50%;
    background: #ffffff;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.dl-badge--plain .dl-badge-img {
    border-radius: 0;
    background: transparent;
}
.dl-badge-cap {
    display: block;
    font-family: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
    font-weight: 800;
    font-size: var(--dl-badge-cap-size);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    color: currentColor;
    white-space: nowrap;
    max-width: 100%;
}
/* In a chat row the badge is the LEFT COLUMN of the whole row: the name line
 * and the message both sit in the right column, so what a student says lines
 * up with their name, not with the badge (Anderson, 2026-09-30). The box
 * above is what keeps every name on the same mark. */
.cls-chat-msg.has-badge,
.cd-chat-msg.has-badge {
    display: grid;
    grid-template-columns: var(--dl-badge-box) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 8px;
    align-items: start;
}
.cls-chat-msg.has-badge > .dl-badge,
.cd-chat-msg.has-badge > .dl-badge {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
}
.cls-chat-msg.has-badge > .cls-chat-msg-meta,
.cls-chat-msg.has-badge > .cls-chat-msg-body,
.cd-chat-msg.has-badge > .cd-chat-msg-meta,
.cd-chat-msg.has-badge > .cd-chat-msg-body {
    grid-column: 2;
    min-width: 0;
}


/* === ../../../modules/classroom/static/css/classroom-chat-base.css === */

/* ============================================================
 * classroom-chat-base.css
 *
 * SHELL ONLY — primitives shared by the chat pill across all
 * viewports. Owns:
 *   1. Container + collapsed/expanded state
 *   2. Toggle bar (always-visible chip with unread badge)
 *   3. Header (title + status + close)
 *   4. Message stream + bubble styling
 *   5. Input + send button
 *   6. Lock banner
 *   7. ToS modal (overlay + dialog + buttons)
 *
 * Per-viewport positioning + width/height come from the desktop +
 * mobile-portrait CSS files. No media query lives here.
 *
 * Variable namespace: --cls-* (student bundle). Bundled into
 * classroom-student.bundle.css alongside classroom-student-base.css
 * which defines the --cls-* tokens. For the coach OBS chat dock
 * (CP5) the same file will be bundled into classroom-chat-dock
 * bundle alongside classroom-base.css — that file defines the
 * --cl-* tokens, NOT --cls-*. The chat dock bundle therefore needs
 * to alias the tokens (small adapter file) or this base file gets
 * forked. Keep this in mind when CP5 lands; don't blindly add to
 * the dock bundle and expect this to render.
 * ============================================================ */


/* ---------- Container ---------- */

.cls-chat {
    position: fixed;
    z-index: 9100;          /* above mobile bottom bar (9000) */
    display: flex;
    flex-direction: column;
    background: var(--cls-card-bg);
    border: 1px solid var(--cls-border);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    transition: height 0.22s ease, transform 0.22s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--cls-text);
}
.cls-chat[data-expanded="0"] .cls-chat-panel {
    display: none;
}
.cls-chat[data-expanded="1"] .cls-chat-toggle-chevron {
    transform: rotate(180deg);
}

/* ---------- Toggle bar (always visible, click to expand/collapse) ---------- */

.cls-chat-toggle {
    appearance: none;
    border: 0;
    background: var(--cls-slate);
    color: white;
    font-family: inherit;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    transition: background 0.15s ease;
}
.cls-chat-toggle:hover { background: var(--cls-slate-light); }

.cls-chat-toggle-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.cls-chat-toggle-label {
    flex: 1;
}

.cls-chat-toggle-badge {
    background: var(--cls-gold);
    color: var(--cls-slate);
    font-weight: 800;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    min-width: 22px;
    text-align: center;
}

.cls-chat-toggle-chevron {
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.18s ease;
    flex-shrink: 0;
    line-height: 1;
    font-size: 12px;
}


/* ---------- Expanded panel content ---------- */

.cls-chat-panel {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    position: relative;   /* anchor for the jump-to-latest pill */
}

/* ---------- Jump-to-latest pill ---------- */
/* Floats just above the input when you've scrolled up + new messages land.
   Tap (or scroll back to the bottom) to clear. */
.cls-chat-jump {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 72px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    appearance: none;
    border: 0;
    cursor: pointer;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--cls-gold);
    color: #1a1304;
    font-family: inherit;
    font-weight: 800;
    font-size: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}
.cls-chat-jump:hover { filter: brightness(1.04); }
.cls-chat-jump-arrow { font-weight: 900; }

.cls-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--cls-border);
    background: var(--cls-bg);
    flex-shrink: 0;
}
.cls-chat-title {
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--cls-text);
}
.cls-chat-status {
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--cls-green);
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--cls-green-soft);
}
.cls-chat-status.is-locked {
    color: var(--cls-text-muted);
    background: var(--cls-border-soft);
}
/* Auto-scroll (follow) toggle — sits at the right with the close button.
   margin-left:auto here pushes it + the close button to the right edge. */
.cls-chat-autoscroll {
    appearance: none;
    border: 1px solid var(--cls-border);
    background: var(--cls-border-soft);
    color: var(--cls-text-muted);
    cursor: pointer;
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1;
}
.cls-chat-autoscroll svg { width: 13px; height: 13px; }
.cls-chat-autoscroll:hover { color: var(--cls-text); border-color: var(--cls-text-muted); }
.cls-chat-autoscroll.is-on {
    color: var(--cls-green);
    background: var(--cls-green-soft);
    border-color: transparent;
}
.cls-chat-close {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--cls-text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}
.cls-chat-close:hover { background: var(--cls-border-soft); color: var(--cls-text); }
.cls-chat-close svg { width: 16px; height: 16px; }


/* ---------- Message stream ---------- */

.cls-chat-stream {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--cls-card-bg);
}

.cls-chat-stream-empty {
    margin: auto;
    color: var(--cls-text-soft);
    font-size: 13px;
    font-style: italic;
    text-align: center;
    padding: 24px;
}

.cls-chat-msg {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 100%;
}
.cls-chat-msg-meta {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 11px;
}
.cls-chat-msg-name {
    font-weight: 800;
    color: var(--cls-text);
}
.cls-chat-msg-name.is-admin {
    color: var(--cls-gold-hover);
}
.cls-chat-msg-time {
    color: var(--cls-text-soft);
    font-size: 10px;
}
.cls-chat-msg-body {
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--cls-text);
    word-wrap: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}
/* Coach-message links (ClassroomLinkify) — brand blue, tap-friendly. */
.cls-chat-msg-body a {
    color: #0264c0;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}
.cls-chat-msg-body a:hover { color: #014c94; }


/* ---------- Lock banner ---------- */

.cls-chat-lock-banner {
    background: var(--cls-bg);
    border-top: 1px solid var(--cls-border);
    padding: 8px 14px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--cls-text-muted);
    text-align: center;
    flex-shrink: 0;
}


/* ---------- Input area ---------- */

.cls-chat-input-area {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid var(--cls-border);
    background: var(--cls-card-bg);
    flex-shrink: 0;
}
.cls-chat-input {
    flex: 1;
    resize: none;
    appearance: none;
    border: 1px solid var(--cls-border);
    border-radius: 8px;
    padding: 9px 12px;
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--cls-text);
    background: var(--cls-card-bg);
    /* min-height 44px ensures the placeholder + single line of typed
     * text fits comfortably without wrapping behind the bottom edge. */
    min-height: 44px;
    max-height: 110px;
}
.cls-chat-input:focus {
    outline: none;
    border-color: var(--cls-gold);
    box-shadow: 0 0 0 3px rgba(253, 204, 5, 0.18);
}
.cls-chat-input:disabled {
    background: var(--cls-bg);
    color: var(--cls-text-soft);
    cursor: not-allowed;
}
.cls-chat-send {
    appearance: none;
    border: 0;
    background: var(--cls-gold);
    color: var(--cls-slate);
    font-family: inherit;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 9px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.12s ease;
    flex-shrink: 0;
}
.cls-chat-send:hover:not(:disabled) { background: var(--cls-gold-hover); color: white; }
.cls-chat-send:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* ---------- ToS modal ---------- */

.cls-chat-tos-overlay {
    position: fixed;
    inset: 0;
    z-index: 9500;          /* above the chat panel (9100) */
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cls-chat-tos-modal {
    background: var(--cls-card-bg);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
    max-width: 440px;
    width: 100%;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cls-chat-tos-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cls-gold-hover);
}
.cls-chat-tos-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--cls-text);
    line-height: 1.3;
    margin: 0;
}
.cls-chat-tos-rules {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cls-chat-tos-rules li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--cls-text);
}
.cls-chat-tos-rules li::before {
    content: '•';
    color: var(--cls-gold-hover);
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}
.cls-chat-tos-fine {
    font-size: 11.5px;
    color: var(--cls-text-soft);
    line-height: 1.4;
    margin: 0;
}
.cls-chat-tos-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.cls-chat-tos-cancel,
.cls-chat-tos-agree {
    appearance: none;
    border: 0;
    font-family: inherit;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
}
.cls-chat-tos-cancel {
    background: transparent;
    color: var(--cls-text-muted);
    border: 1px solid var(--cls-border);
    flex-shrink: 0;
}
.cls-chat-tos-cancel:hover { background: var(--cls-bg); color: var(--cls-text); }
.cls-chat-tos-agree {
    background: var(--cls-gold);
    color: var(--cls-slate);
    flex: 1;
}
.cls-chat-tos-agree:hover { background: var(--cls-gold-hover); color: white; }


/* === program/plan.css === */

/* WATCH, PRACTICE, MASTER (page.html #pgPlan), Anderson 2026-11-20 and 22: three cards, each a moving picture of our
 * own pieces. Watch: the Classroom's own chat (classroom/classroom-chat-base.css and classroom/badges.css draw the rows
 * and the badges, classroom-league-badge.js the Champion's flame and the Elite's laurels; js/plan-chat.js plays it).
 * Practice: the six ASVAB subjects, each pressed in turn, one of its questions answered beside the list
 * (js/plan-practice.js). Master: a practice test filling beside the computer adaptive ladder. Still under reduced
 * motion. Phone sizes: plan-phone.css. */

/* the heading: the three steps on one line where it fits, "Every week." on its own */
.pl-h span { display: block; }
.pl-h-three { white-space: nowrap; }

.pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
/* THE CARDS LINE UP (Anderson, 2026-11-22: "modify 2/3 to line up with 1"): every card shares the grid's five rows
   (picture, Watch's tabs, step, title, words) through a subgrid, so Practice and Master leave the tabs row empty and
   their step, title and words start where Watch's do, however the titles wrap. A phone stacks them (plan-phone.css). */
.pl-card {
  min-width: 0; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; padding: 14px 14px 18px;
  background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 18px; box-shadow: var(--pg-shadow);
}
.pl-card > .pl-art { grid-row: 1; }
.pl-card > .pl-tabs { grid-row: 2; }
.pl-card > .pl-step { grid-row: 3; }
.pl-card > .pl-title { grid-row: 4; }
.pl-card > .pl-text { grid-row: 5; }
.pl-art { position: relative; height: 280px; margin-bottom: 16px; border-radius: 12px; background: var(--pg-line-soft); overflow: hidden; }
.pl-step { margin: 0 4px 4px; display: flex; align-items: center; gap: 8px; font: 700 12px var(--pg-head); letter-spacing: 2px; text-transform: uppercase; color: var(--pg-gold-deep); }
.pl-step span { width: 22px; height: 22px; border-radius: 50%; background: var(--pg-gold); color: var(--pg-ink); display: grid; place-items: center; letter-spacing: 0; }
.pl-title { margin: 0 4px 6px; font: 700 19px/1.25 var(--pg-head); color: var(--pg-ink); text-wrap: balance; }
.pl-text { flex: 1; margin: 0 4px; font-size: 15px; line-height: 1.5; color: var(--pg-soft); }

/* ---------- WATCH: the class chat ---------- */
/* the Classroom's own tokens (modules/classroom/static/css/classroom-student-base.css), which its chat stylesheet reads */
.pl-chat {
  --cls-gold: #fdcc05; --cls-gold-hover: #f59e0b; --cls-slate: #0f172a; --cls-text: #0f172a; --cls-text-muted: #475569;
  --cls-text-soft: #64748b; --cls-border: #e2e8f0; --cls-border-soft: #f1f5f9; --cls-bg: #f8fafc; --cls-card-bg: #ffffff;
  --cls-green: #047857; --cls-green-soft: #d1fae5;
  position: absolute; inset: 10px; display: flex; flex-direction: column; overflow: hidden; border-radius: 10px;
  background: var(--cls-card-bg); border: 1px solid var(--cls-border); box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--cls-text);
}
.pl-chat .cls-chat-header { padding: 8px 12px; }
.pl-live {
  margin-left: auto; display: flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: #dc2626;
  color: #fff; font: 700 10px var(--pg-head); letter-spacing: 1.4px;
}
.pl-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pl-blink 1.2s ease-in-out infinite; }
/* the stream as the chat draws it, the newest at the bottom; older lines fade out over the top */
.pl-chat { --dl-badge-size: 22px; }
.pl-chat .cls-chat-stream {
  position: relative; overflow: hidden; padding: 0;
  -webkit-mask-image: linear-gradient(transparent, #000 34px); mask-image: linear-gradient(transparent, #000 34px);
}
/* pinned to the stream's foot, so the newest line always ends there and the older ones run out over the top */
.pl-chat-rows { position: absolute; left: 12px; right: 12px; bottom: 8px; display: flex; flex-direction: column; gap: 8px; }
.pl-chat-rows.is-moving { transition: transform .38s cubic-bezier(.2, .7, .3, 1); }
.pl-chat .cls-chat-msg-body { font-size: 13px; line-height: 1.35; }
.pl-chat .cls-chat-msg.is-new { animation: pl-msg-in .38s ease-out both; }
/* someone typing: their row with three dots where the words will be, then the words */
.pl-dots { display: inline-flex; align-items: center; gap: 3px; height: 17px; }
.pl-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--cls-text-soft); animation: pl-dot 1s ease-in-out infinite; }
.pl-dots i:nth-child(2) { animation-delay: .15s; } .pl-dots i:nth-child(3) { animation-delay: .3s; }
/* the Classroom's own message bar, at the picture's size */
.pl-chat .cls-chat-input-area { padding: 7px 10px; align-items: center; }
.pl-chat .cls-chat-input { display: block; min-height: 0; padding: 6px 10px; font-size: 12px; color: var(--cls-text-soft); }
.pl-chat .cls-chat-send { padding: 6px 12px; font-size: 11px; }

/* ---------- WATCH: the two scenes, cross-fading (js/plan-watch.js), and their tabs ---------- */
.pl-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.pl-scene.is-on { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
/* the class-board reel as it was (version 25): the last frames of real classes gliding, faded at the edges */
.pl-run {
  position: absolute; inset: 0; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.pl-track { display: flex; gap: 12px; padding-left: 20%; animation: pl-glide 14s cubic-bezier(.65, 0, .35, 1) infinite alternate; }
.pl-track img { flex: none; width: 230px; height: 146px; object-fit: cover; border-radius: 10px; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(15, 23, 42, .18); }
.pl-tabs { display: flex; gap: 6px; margin: -6px 4px 14px; }
.pl-tab {
  flex: 1; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--pg-line); background: #fff; cursor: pointer;
  font: 700 12.5px var(--pg-head); color: var(--pg-soft); transition: background .3s, color .3s, border-color .3s;
}
.pl-tab.is-on { background: var(--pg-ink); border-color: var(--pg-ink); color: #fff; }
.pl-tab:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }

/* ---------- PRACTICE: the subjects and a question ---------- */
.pl-courses {
  position: absolute; left: 10px; top: 10px; bottom: 10px; width: calc(39% - 10px); margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
}
.pl-course {
  padding: 6px 9px; border-radius: 8px; background: #fff; border: 1px solid var(--pg-line); font: 600 11.5px/1.15 var(--pg-head);
  color: var(--pg-soft); transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.pl-course.is-on { background: var(--pg-gold); border-color: var(--pg-gold); color: var(--pg-ink); }
.pl-course.is-pressed { transform: scale(.96); }
.pl-q {
  position: absolute; right: 10px; top: 10px; bottom: 10px; width: calc(61% - 18px); padding: 12px; border-radius: 10px; background: #fff;
  border: 1px solid var(--pg-line); box-shadow: 0 6px 18px rgba(15, 23, 42, .08); display: flex; flex-direction: column; gap: 8px;
  justify-content: center; transition: opacity .16s, transform .26s cubic-bezier(.2, .7, .3, 1);
}
.pl-q > * { transition: transform .26s cubic-bezier(.2, .7, .3, 1); }
.pl-q.is-out { opacity: 0; }
.pl-q.is-out > * { transform: translateX(14px); }
/* the figure a math subject draws under its question */
.pl-q-fig { height: 66px; }
.pl-q-fig[hidden] { display: none; }
.pl-q-fig svg { display: block; width: 100%; height: 100%; font-family: var(--pg-head); }
.pl-q-text { margin: 0; font: 600 12.5px/1.35 var(--pg-head); color: var(--pg-ink); }
.pl-q-ch { margin: 6px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pl-q-ch li {
  display: flex; align-items: center; gap: 5px; min-width: 0; padding: 5px 6px; border-radius: 7px; border: 1px solid var(--pg-line);
  white-space: nowrap; font: 600 11.5px/1.15 var(--pg-body); color: var(--pg-ink); transition: background .2s, border-color .2s, color .2s;
}
.pl-q-ch b { font: 700 11px var(--pg-head); color: var(--pg-muted); }
.pl-q-ch li.is-picked { background: var(--pg-green-soft); border-color: var(--pg-green); color: var(--pg-green); }
.pl-q-ch li.is-picked b { color: var(--pg-green); }
/* the pointer that presses a subject, then the answer */
.pl-cursor {
  position: absolute; left: 0; top: 0; z-index: 3; width: 20px; height: 24px; pointer-events: none;
  transition: transform .5s cubic-bezier(.45, 0, .2, 1); filter: drop-shadow(0 2px 3px rgba(15, 23, 42, .35));
}
.pl-cursor svg { display: block; width: 100%; height: 100%; fill: var(--pg-ink); stroke: #fff; stroke-width: 1.4; }
.pl-cursor.is-press svg { transform: scale(.85); transform-origin: 10% 10%; }

/* ---------- MASTER: the practice test fills, the CAT dot climbs and steps back ---------- */
/* MASTER, half and half: paper and pencil on the left, the CAT on the right */
/* (pass, 2026-11-22: each half a white card of its own, its title centred at the top, its picture centred under it) */
.pl-master { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; }
.pl-half {
  position: relative; min-width: 0; padding: 40px 12px 14px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; background: #fff; border: 1px solid var(--pg-line); border-radius: 10px;
}
.pl-half-t { position: absolute; top: 12px; left: 0; right: 0; margin: 0; text-align: center; font: 700 11px var(--pg-head); letter-spacing: 1.4px; text-transform: uppercase; color: var(--pg-ink); }
.pl-sheet { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pl-sheet li { display: flex; align-items: center; gap: 7px; }
.pl-sheet b { width: 12px; font: 700 11px var(--pg-head); color: var(--pg-muted); }
.pl-sheet i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #94a3b8; }
.pl-sheet i.is-f { animation: pl-bubble 6s ease-in-out infinite; }
.pl-sheet li:nth-child(2) i.is-f { animation-delay: .9s; } .pl-sheet li:nth-child(3) i.is-f { animation-delay: 1.8s; }
.pl-sheet li:nth-child(4) i.is-f { animation-delay: 2.7s; } .pl-sheet li:nth-child(5) i.is-f { animation-delay: 3.6s; }
.pl-test { width: 110px; }
/* the CAT's "Next question" tag: Harder while the dot climbs, Easier from the moment it turns red and steps back
   (39% to 53% of pl-climb, the same marks to the frame; plan-check P8 holds every 50 ms of the loop) */
.pl-next { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 600 10.5px var(--pg-body); color: var(--pg-muted); }
.pl-next b { position: relative; display: block; width: 92px; height: 22px; border-radius: 999px; overflow: hidden; }
.pl-next span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 11.5px var(--pg-head); border-radius: inherit; }
.pl-next .is-up { background: #dbeafe; color: #1d4ed8; animation: pl-next-up 6s steps(1, end) infinite; }
.pl-next .is-down { background: #fee2e2; color: #b91c1c; animation: pl-next-down 6s steps(1, end) infinite; }
@keyframes pl-next-up { 0% { opacity: 1; } 39% { opacity: 0; } 53%, 100% { opacity: 1; } }
@keyframes pl-next-down { 0% { opacity: 0; } 39% { opacity: 1; } 53%, 100% { opacity: 0; } }
.pl-test span { display: block; height: 8px; border-radius: 99px; background: var(--pg-line); overflow: hidden; }
.pl-test span i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pg-gold), #f59e0b); animation: pl-fill 6s ease-in-out infinite; }
.pl-cat { display: block; flex: none; width: 120px; max-width: 100%; height: 110px; overflow: visible; }
.pl-rungs { fill: none; stroke: #cbd5e1; stroke-width: 2; stroke-dasharray: 4 4; }
/* the dot climbs on two right answers, turns red on a wrong one and steps back, climbs again to the top, and fades
   out and in at the loop's turn so it never jumps from the top rung to the bottom */
.pl-dot { fill: #2563eb; stroke: #fff; stroke-width: 2.5; animation: pl-climb 6s ease-in-out infinite, pl-dot-turn 6s linear infinite; }
.pl-cat-tag { font: 700 11px var(--pg-head); fill: var(--pg-muted); letter-spacing: 1.5px; }

@keyframes pl-blink { 50% { opacity: .2; } }
@keyframes pl-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes pl-msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pl-fill { 0% { width: 0; } 80%, 100% { width: 100%; } }
@keyframes pl-glide { from { transform: translateX(0); } to { transform: translateX(-62%); } }
@keyframes pl-bubble { 0%, 8% { background: transparent; } 14%, 86% { background: var(--pg-ink); border-color: var(--pg-ink); } 100% { background: transparent; } }
/* the colour is named at every mark, or it fades across the marks between (version 30's dot reddened from the start) */
@keyframes pl-climb {
  0% { transform: translate(0, 0); fill: #2563eb; } 18% { transform: translate(18px, -18px); fill: #2563eb; }
  36% { transform: translate(36px, -36px); fill: #2563eb; } 39% { transform: translate(36px, -36px); fill: #dc2626; }
  50% { transform: translate(52px, -18px); fill: #dc2626; } 53% { transform: translate(52px, -18px); fill: #2563eb; }
  66% { transform: translate(66px, -36px); fill: #2563eb; } 84%, 100% { transform: translate(80px, -54px); fill: #2563eb; }
}
@keyframes pl-dot-turn { 0% { opacity: 0; } 4%, 94% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .pl-card *, .pl-card { animation: none !important; transition: none !important; }
  .pl-test span i { width: 70%; }
  .pl-cursor { display: none; }
}


/* === program/plan-phone.css === */

/* linked under (max-width: 760px) in the mockup; the query carried into the bundle */
@media (max-width: 760px) {
/* WATCH, PRACTICE, MASTER on a phone (linked with media="(max-width: 760px)", so this file holds no query): one card a
   row; the heading's three steps stay on one line by sizing to the screen. */
.pl-h { font-size: min(27px, 6.1vw); }
.pl-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
/* stacked, each card its own column again: nothing to line up across */
.pl-card { display: flex; flex-direction: column; grid-row: auto; }
.pl-art { height: 280px; }

}


/* === program/guide.css === */

/* 4. THE GUIDE, around his photo and under his words (2026-11-20, Anderson: "incorporate all my projects and
 * accolades into animations around my picture ... on either side of me ... pop in and out in a delightful way";
 * the other businesses as badges in their own logos, each opening a card with a Learn more link).
 * The pops: four slots, two a side, clear of his face; js/guide.js moves the pieces through them. The phone's sizes
 * are guide-phone.css. */

/* a wider photo column so the pops have room on either side of him */
.pg-guide { grid-template-columns: 470px minmax(0, 1fr); gap: 44px; }
/* THE FACTS COME FROM BEHIND HIM (Anderson, 2026-11-20): two at a time, one beside each side of his head. A fact
   starts behind him (small, turned, at his middle), slides and turns out to its side; when its side's turn comes it
   slides back behind him and the next comes out on that side. The layer sits between the arch and his photo, so his
   cut-out hides a fact until it clears his head. No card behind a fact: the words carry a white outline. */
.gd-stage { min-height: 460px; isolation: isolate; }
.gd-stage::before { z-index: 0; }
.gd-stage > img { z-index: 2; }
.gd-pops { position: absolute; inset: 0; pointer-events: none; z-index: 1; perspective: 700px; }

/* BEHIND HIS CHEST, BESIDE HIS HEAD (Anderson, 2026-11-20: "It should end behind my chest but end to either side of my
   head"). A fact waits behind his chest (down --gd-drop, in toward his middle --gd-home, small and turned) where his
   shirt hides all of it; it comes out on a curve, rising behind his body first (translate, an ease-out) and then
   sliding and turning out beside his head (transform, an ease-in-out a beat later), and goes back the same way in
   reverse: in behind his head first, then down behind his chest. guide-check G5 and G6 read his photo's own pixels
   over every point of the fact at the start and at the end. */
.gd-pop {
  position: absolute; top: 15%; width: 190px; display: flex; align-items: center; gap: 8px;
  background: none; border: 0; box-shadow: none; padding: 0; --gd-drop: 205px;
  opacity: 1; translate: 0 var(--gd-drop);
  /* small (0.3) while it travels between his chest and his head, so it fits behind his neck: at 0.5 it was wider
     than his neck and showed beside it on the way, then hid behind his head again (G8's cover timeline) */
  transform: translate(var(--gd-home, 0px), -50%) scale(0.3) rotateY(var(--gd-spin, 0deg));
  /* back: in behind his head and small first, then down behind his chest */
  transition: transform 0.55s cubic-bezier(0.5, 0, 0.6, 1), translate 0.5s cubic-bezier(0.5, 0, 0.9, 0.6) 0.45s;
}
.gd-pop.is-in {
  translate: 0 0; transform: translate(0, -50%) scale(1) rotateY(0deg);
  /* out: up behind him while still small, then out beside his head, growing and turning as it clears him */
  transition: translate 0.6s cubic-bezier(0.2, 0.7, 0.3, 1), transform 1.1s cubic-bezier(0.45, 0, 0.2, 1) 0.35s;
}
/* a fact waiting its turn behind his chest is not drawn at all */
.gd-pop.is-parked { opacity: 0; }
.gd-pop.no-tr { transition: none !important; }
/* the two sides, beside his head and clear of his face (guide-check G1 measures it). Both travel on ONE line, his
   neck's own middle (--gd-axis, px right of the stage's middle, read from his photo's pixels by guide-check G9: his
   body is not centred in the photo, and a path on the stage's middle showed the right-hand fact beside his neck).
   --gd-home puts the small fact's middle on that line: the slot's 80 px from the middle plus half its width at 0.3. */
.gd-pop { --gd-axis: 8px; }
.gd-pop[data-slot="L"] { right: calc(50% + 80px); --gd-home: calc(108.5px + var(--gd-axis)); --gd-spin: 70deg;
  transform-origin: right center; flex-direction: row-reverse; text-align: right; }
.gd-pop[data-slot="R"] { left: calc(50% + 80px); --gd-home: calc(-108.5px + var(--gd-axis)); --gd-spin: -70deg;
  transform-origin: left center; }
.gd-pop[data-slot="L"] .gd-pop-t { align-items: flex-end; }

/* the icons stand bare too, outlined like the words */
.gd-ico { flex: none; width: 30px; height: 30px; fill: var(--pg-ink);
  filter: drop-shadow(0 0 1.2px #fff) drop-shadow(0 0 1.2px #fff) drop-shadow(0 0 1px #fff); }
.is-cred .gd-ico { fill: var(--pg-gold-deep); }
.is-tech .gd-ico { fill: #1d4ed8; color: #1d4ed8; }
.is-count .gd-ico { fill: var(--pg-green); }
.gd-pop .gd-mark { box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(15, 23, 42, 0.18); }
.gd-pop-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.18; }
/* the outline: a white ring drawn by eight shadows, so the words read over the arch, the page or his shirt */
.gd-pop-t b, .gd-pop-t em {
  text-shadow: 1.5px 0 0 #fff, -1.5px 0 0 #fff, 0 1.5px 0 #fff, 0 -1.5px 0 #fff,
               1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 0 0 4px #fff;
}
.gd-pop-t b { font-family: var(--pg-head); font-size: 15px; font-weight: 700; color: var(--pg-ink); }
.gd-pop-t em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--pg-soft); margin-top: 2px; }

/* a business's mark: its own logo on a white disc; GED is our mark with GED on a tag */
.gd-mark {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 1px var(--pg-line); display: grid; place-items: center; overflow: visible;
}
/* stronger than the photo's own rule (`.pg-guide-photo img`, its width set for his picture in page-sections.css and
   page-phone.css), which would otherwise size every logo in a pop like his photo */
.gd-mark img, .gd-stage .gd-mark img { position: static; width: 78%; height: 78%; object-fit: contain; display: block; }
/* THE OTHER FIELDS, ONE FACT (2026-11-21): the three logos in a row over the words, stacked toward his head's side */
.gd-pop.is-also { flex-direction: column; align-items: flex-start; gap: 7px; }
.gd-pop.is-also[data-slot="L"] { flex-direction: column; align-items: flex-end; }
.gd-also-marks { display: flex; gap: 7px; }
.gd-pop.is-also .gd-mark { width: 38px; height: 38px; }
.gd-mark.is-ged i {
  position: absolute; right: -6px; bottom: -4px; padding: 1px 5px; border-radius: 6px; background: var(--pg-ink); color: #fff;
  font: 800 9px/1.3 var(--pg-head); letter-spacing: 0.6px; font-style: normal;
}

/* the buttons under his line (2026-11-21), then the other businesses last and quiet */
.gd-actions { margin-top: 22px; }

/* ---------- the other businesses, under his words ---------- */
.gd-family { margin-top: 26px; }
.gd-family-label {
  margin: 0 0 10px; font-family: var(--pg-head); font-weight: 700; font-size: 12px; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--pg-muted);
}
.gd-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.gd-badge-wrap { position: relative; }
.gd-badge {
  display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--pg-line); border-radius: 999px;
  background: var(--pg-card); cursor: pointer; font: inherit; box-shadow: var(--pg-shadow); transition: border-color 0.2s, transform 0.2s;
}
.gd-badge:hover, .gd-badge[aria-expanded="true"] { border-color: var(--pg-gold); transform: translateY(-1px); }
.gd-badge:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.gd-badge .gd-mark { width: 36px; height: 36px; }
.gd-badge-name { font-family: var(--pg-head); font-weight: 700; font-size: 14px; color: var(--pg-ink); }

/* the card a badge opens: above it, its own logo, one line, Learn more */
.gd-card {
  position: absolute; left: 50%; bottom: calc(100% + 12px); z-index: 20; width: 260px; padding: 14px 16px;
  background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 14px; box-shadow: var(--pg-shadow-lg);
  transform: translateX(calc(-50% + var(--gd-shift, 0px)));
  animation: gd-card-in 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gd-card[hidden] { display: none; }
.gd-card::after {
  content: ""; position: absolute; left: calc(50% - var(--gd-shift, 0px)); bottom: -7px; width: 12px; height: 12px; margin-left: -6px;
  background: var(--pg-card); border-right: 1px solid var(--pg-line); border-bottom: 1px solid var(--pg-line); transform: rotate(45deg);
}
@keyframes gd-card-in { from { opacity: 0; translate: 0 8px; scale: 0.92; } to { opacity: 1; translate: 0 0; scale: 1; } }
.gd-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.gd-card-top b { font-family: var(--pg-head); font-size: 15px; color: var(--pg-ink); }
.gd-card p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.45; color: var(--pg-soft); }
.gd-more {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--pg-gold);
  color: var(--pg-ink); font: 700 13px var(--pg-head); text-decoration: none;
}
.gd-more::after { content: "\2192"; }
.gd-more:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .gd-pop, .gd-pop.is-in { transition: none; }
  .gd-card { animation: none; }
}


/* === ../../../modules/classroom/static/css/classroom-league-badge-base.css === */

/* THE LEAGUE ON A BADGE (2026-11-13, the boards' checkpoint 2; the approved mock, version 19: flame.css, champ.css).
 * classroom-league-badge.js wraps a badge's picture in .cls-lg and draws the art; every color is here, four tones from
 * a flame's edge to its heart, named by [data-flame] so a badge and its picker swatch read the same row. The art is
 * drawn past the picture (around and above it), never moving the layout: the badge keeps its box and every name its
 * mark. No media query: it sizes with the picture (--dl-badge-size). Bundled into the student and chat dock bundles. */

:root {
    --lg-f1: #b91c1c; --lg-f2: #f97316; --lg-f3: #facc15; --lg-f4: #fff7c2;
    --lg-ring: #facc15; --lg-ring-deep: #a16207;
}
[data-flame="ember"]   { --lg-f1: #b91c1c; --lg-f2: #f97316; --lg-f3: #facc15; --lg-f4: #fff7c2; }
[data-flame="crimson"] { --lg-f1: #7f1d1d; --lg-f2: #dc2626; --lg-f3: #fb7185; --lg-f4: #ffe4e6; }
[data-flame="gold"]    { --lg-f1: #a16207; --lg-f2: #eab308; --lg-f3: #fde047; --lg-f4: #fefce8; }
[data-flame="emerald"] { --lg-f1: #065f46; --lg-f2: #10b981; --lg-f3: #6ee7b7; --lg-f4: #f0fdf4; }
[data-flame="azure"]   { --lg-f1: #1e3a8a; --lg-f2: #2563eb; --lg-f3: #7dd3fc; --lg-f4: #f0f9ff; }
[data-flame="violet"]  { --lg-f1: #4c1d95; --lg-f2: #7c3aed; --lg-f3: #c4b5fd; --lg-f4: #faf5ff; }
[data-flame="magenta"] { --lg-f1: #86198f; --lg-f2: #d946ef; --lg-f3: #f0abfc; --lg-f4: #fdf4ff; }
[data-flame="silver"]  { --lg-f1: #475569; --lg-f2: #94a3b8; --lg-f3: #e2e8f0; --lg-f4: #ffffff; }
/* Charged is never picked: one gold for every Contender who wears it */
[data-flame="charged"] { --lg-f1: #92400e; --lg-f2: #f59e0b; --lg-f3: #facc15; --lg-f4: #fffbeb; }

.cls-lg {
    position: relative;
    display: block;
    flex: none;
    width: var(--dl-badge-size);
    height: var(--dl-badge-size);
}
.cls-lg > .dl-badge-img { position: relative; z-index: 1; }

/* A CHAMPION: on fire, in their color; the flame burns past the picture, above and around it */
.cls-lg-fire {
    position: absolute;
    left: -33.3%;
    bottom: -13.3%;
    width: 166.7%;
    height: 166.7%;
    overflow: visible;
    pointer-events: none;
    filter: drop-shadow(0 0 2px var(--lg-f2));
}
.cls-lg-fl1 { fill: var(--lg-f1); }
.cls-lg-fl2 { fill: var(--lg-f2); }
.cls-lg-fl3 { fill: var(--lg-f3); }
.cls-lg-fl4 { fill: var(--lg-f4); }
.dl-badge .cls-lg--champion > .dl-badge-img { box-shadow: 0 0 0 1.5px var(--lg-f3); }

/* CHARGED: the same hue behind the badge, pulsing, in the one gold every Charged student wears */
.cls-lg-glow {
    position: absolute;
    inset: -30%;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle closest-side, var(--lg-f2) 62%, color-mix(in srgb, var(--lg-f2) 55%, transparent) 78%, transparent 100%);
    animation: cls-lg-pulse 2.2s ease-in-out infinite;
}
.dl-badge .cls-lg--charged > .dl-badge-img { box-shadow: 0 0 0 1.5px var(--lg-f3); }
@keyframes cls-lg-pulse { 0%, 100% { opacity: .5; transform: scale(.88); } 50% { opacity: 1; transform: scale(1.06); } }

/* ELITE: a wreath of laurels in their color, a shimmer running up its leaves, and a gold ring on the insignia */
.cls-lg-art {
    position: absolute;
    left: -33.3%;
    top: -33.3%;
    width: 166.7%;
    height: 166.7%;
    overflow: visible;
    pointer-events: none;
}
.cls-lg-leaf { fill: var(--lg-f2); stroke: var(--lg-f1); stroke-width: .8; animation: cls-lg-shimmer 2.6s ease-in-out infinite; }
@keyframes cls-lg-shimmer { 0%, 60%, 100% { fill: var(--lg-f2); } 30% { fill: var(--lg-f4); } }
.dl-badge .cls-lg--elite > .dl-badge-img { box-shadow: 0 0 0 1.5px var(--lg-ring), 0 0 0 2.5px var(--lg-ring-deep); }

@media (prefers-reduced-motion: reduce) {
    .cls-lg-glow { animation: none; opacity: .85; }
    .cls-lg-leaf { animation: none; }
}

/* the student's own badge, when they may pick its color: a press opens the strip (classroom-league-pick.js) */
.dl-badge.is-lg-pickable { cursor: pointer; border-radius: 6px; }
.dl-badge.is-lg-pickable:focus-visible { outline: 2px solid var(--lg-f2); outline-offset: 2px; }


/* === program/lc-stage.css === */

/* THE LIVE CLASS SECTION, the frame (2026-11-19; one screen on every size since 2026-11-22): a panel one screen high
 * that owns the screen while the class plays in it, the parts taking turns on its stage by themselves (js/lc-stage.js).
 * Laptop: the steps beside the stage. The phone's own layout is lc-phone.css. --lc-h is the scroll region's height,
 * set by lc-stage.js. The parts' own pieces are lc-practice, lc-notes, lc-calc, lc-compete and lc-watch.css. */

.lc {
  --lc-h: 820px;
  position: relative;
  /* ONE SCREEN on every screen since 2026-11-22: the parts take turns by themselves (js/lc-stage.js), no pin */
  height: auto;
  background: linear-gradient(180deg, var(--pg-bg) 0%, #fff 30%, #fff 70%, var(--pg-bg) 100%);
}
.lc *, .lc *::before, .lc *::after { box-sizing: border-box; }
.lc-pin {
  position: relative;
  height: var(--lc-h);
  max-width: var(--pg-max); margin: 0 auto;
  padding: calc(var(--lc-h) * 0.08) var(--pg-gutter);
  display: grid; grid-template-columns: minmax(300px, 0.78fr) 1.5fr; gap: 40px; align-items: center;
}

/* the steps: the one on stage lit, every one a button that moves the page to its beat */
.lc-title { margin-bottom: 22px; }
.lc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lc-step {
  width: 100%; display: flex; gap: 14px; align-items: flex-start; text-align: left; cursor: pointer;
  padding: 14px 16px; border-radius: 16px; border: 1px solid transparent; background: none; font: inherit; color: inherit;
  transition: background .3s, border-color .3s, opacity .3s;
  opacity: .55;
}
.lc-step:hover { opacity: .85; }
.lc-step.is-on { opacity: 1; background: #fff; border-color: var(--pg-line); box-shadow: var(--pg-shadow); }
.lc-step:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.lc-num {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font: 700 14px/1 var(--pg-head); background: var(--pg-line-soft); color: var(--pg-soft);
}
.lc-step.is-on .lc-num { background: var(--pg-ink); color: var(--pg-gold); }
.lc-step-t { display: grid; gap: 4px; }
.lc-step-t strong { font: 700 17px/1.25 var(--pg-head); color: var(--pg-ink); }
.lc-step-t > span { font-size: 14.5px; line-height: 1.5; color: var(--pg-soft); display: none; }
.lc-step.is-on .lc-step-t > span { display: block; }

/* the stage: the canvas the pieces play on, its pause and (phone) its dots */
.lc-stage { position: relative; height: calc(var(--lc-h) * 0.84); }
.lc-canvas {
  position: relative; width: 100%; height: 100%;
  container-type: size;
  border-radius: 24px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 50% at 30% 20%, rgba(253, 204, 5, .10), transparent 70%),
    linear-gradient(180deg, #f8fafc, #eef2f7);
  border: 1px solid var(--pg-line);
  box-shadow: var(--pg-shadow-lg);
}
.lc-pause {
  position: absolute; right: 14px; bottom: 14px; z-index: 30; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--pg-line); background: rgba(255, 255, 255, .92); cursor: pointer; display: grid; place-items: center;
}
.lc-pause-i { width: 10px; height: 12px; border-left: 3.5px solid var(--pg-ink); border-right: 3.5px solid var(--pg-ink); }
.lc-play-i { display: none; width: 0; height: 0; border-left: 11px solid var(--pg-ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.lc.is-paused .lc-pause-i { display: none; }
.lc.is-paused .lc-play-i { display: block; }
.lc-dots { display: none; }
.lc-dots button { font: inherit; }

/* EACH PART ITS OWN LAYER (2026-11-22): the stage's own box (cq units still resolve on the canvas, the layer is no
 * container and, with no z-index, no stacking context, so every piece keeps its z-index against the room and the
 * finger). Only the part on stage is drawn; display none, so nothing a part leaves behind can show under another. */
.lc-part { position: absolute; inset: 0; display: none; }
.lc-part.is-current { display: block; }
/* the course's mark wherever a mark stands (drawn by the motion library) */
.lc [data-mark] { display: inline-block; }
.lc [data-mark] svg { display: block; width: 100%; height: 100%; }
/* a recording is not live: the room's LIVE pill is off for part 5 */
.lc[data-beat="4"] .lc-live { visibility: hidden; }

/* the class page under the pieces, faint: its bar */
.lc-room { position: absolute; inset: 0; pointer-events: none; }
.lc-room-bar {
  position: absolute; left: 0; right: 0; top: 0; height: 7.4cqh; padding: 0 2.4cqw;
  display: flex; align-items: center; gap: 1.2cqw; background: #fff; border-bottom: 1px solid var(--pg-line);
  font: 700 1.7cqw/1 var(--pg-head); color: var(--pg-ink);
}
.lc-room-bar img { width: 2.6cqw; height: 2.6cqw; }
.lc-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: .6cqw; font: 800 1.3cqw/1 var(--pg-body);
  letter-spacing: .1em; text-transform: uppercase; color: #dc2626; font-style: normal;
}
.lc-live i { width: .9cqw; height: .9cqw; border-radius: 50%; background: #dc2626; box-shadow: 0 0 0 .4cqw rgba(220, 38, 38, .18); }

/* the pointer a student's finger is drawn as */
.lc-tap {
  position: absolute; left: 0; top: 0; z-index: 25; width: 4.4cqw; height: 4.4cqw; margin: -2.2cqw 0 0 -2.2cqw;
  border-radius: 50%; background: rgba(15, 23, 42, .18); border: .35cqw solid rgba(15, 23, 42, .55); opacity: 0; pointer-events: none;
}

/* the #full address (full-length pictures): no pin, the stage on its first beat, finished */
html.is-full .lc { height: auto; }
html.is-full .lc-pin { position: static; height: 820px; }
/* reduced motion (lc-stage.js sets is-calm): every beat drawn finished, nothing to pause */
.lc.is-calm .lc-pause { display: none; }


/* === program/lc-practice.css === */

/* THE LIVE CLASS SECTION, PART 1: practice alongside Coach (2026-11-22). The student's own try of the class's real
 * problem fills the stage first; then Coach (the Studio's pointing photo, his arm to the viewer's right) points at the
 * class's own board, which fast-forwards through his real frames while the work it shows lights beside it; the student's
 * answer, under him, turns out right. Every size is a share of the canvas (cqw, cqh). The phone's places are
 * lc-practice-phone.css. js/lc-practice.js moves it all. */

.lc-p1-intro, .lc-p1-try, .lc-p1-coach, .lc-p1-board, .lc-p1-steps, .lc-p1-mine { position: absolute; visibility: hidden; }

/* ---------- the page's own new-question entrance (never the classroom's themed curtain) ---------- */
.lc-p1-intro { inset: 0; z-index: 9; display: grid; place-items: center; pointer-events: none; }
.lc-p1-band {
  width: 100%; padding: 5cqh 6cqw; display: flex; align-items: center; justify-content: center; gap: 3cqw;
  background: linear-gradient(90deg, #f8c400, var(--pg-gold) 30%, #fde047 50%, var(--pg-gold) 70%, #f8c400);
  box-shadow: 0 2cqw 6cqw rgba(180, 83, 9, .28);
}
.lc-p1-band-mark { flex: none; width: 13cqw; height: 13cqw; padding: 2.4cqw; border-radius: 50%; background: var(--pg-ink); box-shadow: 0 0 0 .6cqw rgba(15, 23, 42, .12); }
.lc-p1-band-t { display: grid; gap: .9cqw; }
.lc-p1-band-t em { font: 800 1.6cqw/1 var(--pg-body); letter-spacing: .2em; text-transform: uppercase; color: var(--pg-gold-deep); font-style: normal; }
.lc-p1-band-t b { font: 700 7cqw/1 var(--pg-head); color: var(--pg-ink); letter-spacing: -.01em; }
.lc-p1-band-t i { font: 700 2.2cqw/1 var(--pg-body); color: var(--pg-ink-2); font-style: normal; }

/* ---------- the try: the question card as the student page draws it, at the stage's whole size ---------- */
.lc-p1-try {
  left: 3cqw; right: 3cqw; top: 10.5cqh; bottom: 4cqh; z-index: 6; padding: 2.6cqw 3cqw;
  display: flex; flex-direction: column; gap: 2cqh;
  background: #fff; border-radius: 2.2cqw; border: 1px solid var(--pg-line); box-shadow: 0 1.6cqw 4.4cqw rgba(15, 23, 42, .16);
}
.lc-p1-top { display: flex; align-items: center; gap: 1.6cqw; }
.lc-p1-num { font: 800 1.6cqw/1 var(--pg-body); letter-spacing: .14em; text-transform: uppercase; color: var(--pg-muted); }
.lc-p1-goal { padding: .7cqw 1.4cqw; border-radius: 99px; background: #e0ecff; color: #1d4ed8; font: 700 1.6cqw/1 var(--pg-body); }
.lc-p1-timer { margin-left: auto; display: flex; align-items: center; gap: 1.2cqw; width: 30cqw; }
.lc-p1-bar { flex: 1; height: 1.1cqw; border-radius: 99px; background: var(--pg-line-soft); overflow: hidden; }
.lc-p1-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--pg-gold); }
.lc-p1-t { font: 700 2.2cqw/1 var(--pg-head); color: var(--pg-ink); font-variant-numeric: tabular-nums; }
.lc-p1-try.is-locked .lc-p1-bar i { background: #cbd5e1; }

.lc-p1-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1.05fr; gap: 3cqw; align-items: center; }
.lc-p1-ask { display: grid; gap: 4cqh; }
.lc-p1-text { margin: 0; font: 600 4cqw/1.25 var(--pg-body); color: var(--pg-ink); text-wrap: balance; }
.lc-p1-ch { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.8cqw; }
.lc-p1-ch li {
  display: flex; align-items: center; gap: 1.6cqw; padding: 2.4cqw 1.8cqw; border-radius: 1.6cqw;
  border: .25cqw solid var(--pg-line); background: #fff; font: 700 3.8cqw/1 var(--pg-head); color: var(--pg-ink);
}
.lc-p1-ch li > b {
  flex: none; width: 5cqw; height: 5cqw; border-radius: 50%; display: grid; place-items: center;
  background: var(--pg-line-soft); font: 800 2.2cqw/1 var(--pg-body);
}
.lc-p1-ch li.is-picked { border-color: var(--pg-ink); box-shadow: 0 0 0 .35cqw var(--pg-gold); }
.lc-p1-ch li.is-picked > b { background: var(--pg-ink); color: var(--pg-gold); }
.lc-p1-fig { display: block; width: 100%; height: auto; max-height: 62cqh; }

.lc-p1-foot { display: flex; align-items: center; gap: 1.6cqw; }
.lc-p1-submit, .lc-p1-locked { padding: 1.4cqw 3.4cqw; border-radius: 99px; font: 700 2.4cqw/1 var(--pg-head); background: var(--pg-gold); color: var(--pg-ink); }
.lc-p1-locked { display: none; background: var(--pg-ink); color: #fff; }
.lc-p1-try.is-locked .lc-p1-submit { display: none; }
.lc-p1-try.is-locked .lc-p1-locked { display: inline-block; }

/* ---------- Coach, a new pose a step (each photo 1000 tall, a retina laptop never stretches it) ----------
 * The box is his height; each photo stands on its bottom and is placed so its FACE sits at --ax: left = --ax minus
 * the face's share of the photo's width (--hx) times its width (--ar x --h). One shoot, so the faces match in size. */
.lc-p1-coach { --h: 56cqh; --ax: 20cqw; left: 0; top: 12cqh; height: var(--h); width: 0; z-index: 4; }
.lc-p1-coach img {
  position: absolute; bottom: 0; height: 100%; width: auto; max-width: none; opacity: 0;
  left: calc(var(--ax) - var(--hx) * var(--ar) * var(--h));
  filter: drop-shadow(0 1cqw 2cqw rgba(15, 23, 42, .18));
  /* his arm reaches the canvas edge, outside the card: the photo's last stretch fades so its cut is never a line */
  -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 99%); mask-image: linear-gradient(180deg, #000 86%, transparent 99%);
}
.lc-p1-coach img[data-pose="0"] { --hx: .31; --ar: .966; opacity: 1; }   /* 2717, pointing */
.lc-p1-coach img[data-pose="1"] { --hx: .44; --ar: .95; }                 /* 2713, pointing, the side look */
/* 2715, both hands pointing: his arms span wider than any other pose, so it is drawn 7% smaller (its own --h) and 2cqw
 * right, his other hand inside the canvas edge and his forearm clear of the steps' heading */
.lc-p1-coach img[data-pose="2"] { --hx: .52; --ar: 1.14; --ax: 22cqw; --h: 52cqh; height: calc(var(--h)); }
.lc-p1-coach img[data-pose="3"] { --hx: .40; --ar: .963; }                /* 2716, pointing, big smile */
.lc-p1-coach img[data-pose="4"] { --hx: .54; --ar: .708; }                /* 2711, thumbs up */

/* ---------- the class's board: his real frames, never wider than they are (640 CSS px = 1280 at 2x) ---------- */
.lc-p1-board {
  left: 42cqw; top: 17cqh; width: 55cqw; max-width: 640px; aspect-ratio: 16 / 9; z-index: 3;
  border-radius: 1.6cqw; background: #fff; border: .35cqw solid var(--pg-ink); box-shadow: 0 1.6cqw 4.4cqw rgba(15, 23, 42, .22);
}
/* his frames clip inside the border; the LIVE and fast-forward tags sit ON the border, off his writing */
.lc-p1-shots { position: absolute; inset: 0; overflow: hidden; border-radius: 1.3cqw; }
.lc-p1-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.lc-p1-shots img[data-shot="0"] { opacity: 1; }
.lc-p1-live {
  position: absolute; left: 1.6cqw; top: 0; transform: translateY(-55%); display: inline-flex; align-items: center; gap: .7cqw;
  padding: .7cqw 1.3cqw; border-radius: .9cqw; background: #dc2626; color: #fff; font: 800 1.5cqw/1 var(--pg-body);
  letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 .5cqw 1.2cqw rgba(220, 38, 38, .35);
}
.lc-p1-live i { width: .9cqw; height: .9cqw; border-radius: 50%; background: #fff; }
.lc-p1-ff {
  position: absolute; right: 1.6cqw; top: 0; transform: translateY(-55%); display: inline-flex; align-items: center; gap: .6cqw;
  padding: .7cqw 1.3cqw; border-radius: .9cqw; background: var(--pg-ink); color: var(--pg-gold); font: 800 1.4cqw/1 var(--pg-body);
  letter-spacing: .08em; text-transform: uppercase; opacity: 0;
}
.lc-p1-ff svg { width: 1.6cqw; height: 1.6cqw; fill: currentColor; }
.lc-p1-scrub { position: absolute; left: 0; right: 0; bottom: 0; height: .8cqw; background: rgba(15, 23, 42, .12); }
.lc-p1-scrub i { display: block; height: 100%; width: 0; background: var(--pg-gold); }

/* ---------- the work the board shows, lit as it lands ---------- */
/* one row a step, filling the column under the board to just above the pause button */
/* left of 42cqw: his forearm, coming down from the hand, clears the heading and the first row */
.lc-p1-steps { left: 42cqw; right: 3cqw; top: 53cqh; bottom: 10cqh; z-index: 3; display: flex; flex-direction: column; }
.lc-p1-eye { margin: 0 0 1.4cqh; font: 800 1.4cqw/1 var(--pg-body); letter-spacing: .14em; text-transform: uppercase; color: var(--pg-gold-deep); }
.lc-p1-steps ol { flex: 1; min-height: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; gap: 1cqh; }
.lc-p1-steps li {
  display: flex; align-items: center; gap: 2cqw; padding: 0 2cqw; border-radius: 1.4cqw; background: #fff; border: 1px solid var(--pg-line);
  box-shadow: var(--pg-shadow); opacity: .35;
}
.lc-p1-steps li.is-on { opacity: 1; }
.lc-p1-steps li[data-step="4"].is-on { background: var(--pg-gold-soft); border-color: var(--pg-gold); }
.lc-p1-steps em { flex: none; width: 15cqw; font: 800 1.25cqw/1 var(--pg-body); letter-spacing: .14em; text-transform: uppercase; color: var(--pg-muted); font-style: normal; }
.lc-p1-steps b { font: 700 2.8cqw/1 var(--pg-head); color: var(--pg-ink); white-space: nowrap; }

/* ---------- the student's answer, under Coach (it hides where his photo is cut) ---------- */
.lc-p1-mine {
  left: 3cqw; width: 34cqw; top: 67cqh; bottom: 4cqh; z-index: 5; padding: 2cqw 2.2cqw; display: flex; flex-direction: column; justify-content: center;
  background: #fff; border-radius: 1.8cqw; border: 1px solid var(--pg-line); box-shadow: 0 1.2cqw 3.4cqw rgba(15, 23, 42, .16);
}
.lc-p1-mine { justify-content: space-between; gap: 1.6cqh; }
.lc-p1-mine .lc-p1-eye { margin: 0; color: var(--pg-muted); }
.lc-p1-mine-top { display: flex; align-items: center; min-height: 4.2cqw; }
/* the four choices as the student left them: D picked, turning green once Coach's board lands on it */
.lc-p1-mini { flex: 1; min-height: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 1cqw; }
.lc-p1-mini li {
  display: flex; align-items: center; gap: 1.2cqw; padding: 0 1.2cqw; border-radius: 1.2cqw; border: .2cqw solid var(--pg-line);
  font: 700 2.6cqw/1 var(--pg-head); color: var(--pg-muted);
}
.lc-p1-mini b {
  flex: none; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; display: grid; place-items: center;
  background: var(--pg-line-soft); font: 800 1.6cqw/1 var(--pg-body);
}
.lc-p1-mini li.is-picked { color: var(--pg-ink); border-color: var(--pg-ink); box-shadow: 0 0 0 .3cqw var(--pg-gold); }
.lc-p1-mini li.is-picked b { background: var(--pg-ink); color: var(--pg-gold); }
.lc-p1-ok {
  margin-left: auto; display: inline-flex; align-items: center; gap: .8cqw; padding: .9cqw 1.6cqw; border-radius: 99px;
  background: #dcfce7; color: #166534; font: 800 2cqw/1 var(--pg-head); font-style: normal; opacity: 0;
}
.lc-p1-ok [data-mark] { width: 2.6cqw; height: 2.6cqw; }
.lc-p1-mine.is-right { border-color: #16a34a; box-shadow: 0 0 0 .35cqw rgba(22, 163, 74, .25), 0 1.2cqw 3.4cqw rgba(15, 23, 42, .16); }
.lc-p1-mine.is-right .lc-p1-mini li.is-picked { border-color: #16a34a; box-shadow: 0 0 0 .3cqw rgba(22, 163, 74, .3); }
.lc-p1-mine.is-right .lc-p1-mini li.is-picked b { background: #16a34a; color: #fff; }


/* === program/lc-notes.css === */

/* THE LIVE CLASS SECTION, PART 2: "Focus on understanding, not memorizing." (2026-11-22). The 11/18 class's own notes,
 * page over page, the method of part 1's problem lit on page 2; then that night's Cheat Sheet, drawn in the page's own
 * look (never the classroom's widget), its real content. Sizes are shares of the canvas (cqw, cqh); the phone's
 * places are lc-notes-phone.css; js/lc-notes.js moves it all. */

.lc-p2-notes, .lc-p2-thumbs, .lc-p2-sheet { position: absolute; visibility: hidden; }

/* ---------- the notes: a card, its pages stacked inside (the recording's PDF pages, 1600 wide) ---------- */
.lc-p2-notes {
  left: 3cqw; top: 11cqh; width: 64cqw; z-index: 3; overflow: hidden;
  background: #fff; border-radius: 1.8cqw; border: 1px solid var(--pg-line); box-shadow: 0 1.6cqw 4.4cqw rgba(15, 23, 42, .16);
}
.lc-p2-notes-top { display: flex; align-items: center; gap: 1.4cqw; padding: 1.3cqw 1.8cqw; border-bottom: 1px solid var(--pg-line); }
.lc-p2-tag { padding: .6cqw 1.2cqw; border-radius: 99px; background: var(--pg-ink); color: var(--pg-gold); font: 800 1.2cqw/1 var(--pg-body); letter-spacing: .12em; text-transform: uppercase; }
.lc-p2-notes-top b { font: 700 1.9cqw/1 var(--pg-head); color: var(--pg-ink); }
.lc-p2-pg { margin-left: auto; font: 700 1.4cqw/1 var(--pg-body); color: var(--pg-muted); font-style: normal; font-variant-numeric: tabular-nums; }
.lc-p2-leaves { position: relative; aspect-ratio: 16 / 9; background: #fff; }
.lc-p2-leaves img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lc-p2-leaves img[data-leaf="1"] { opacity: 0; }
/* the method of part 1's problem, lit on page 2: the "Add the Pieces" panel (its place read off the page) */
.lc-p2-ring {
  position: absolute; left: 1.1%; top: 10.2%; width: 32.6%; height: 88.6%; border-radius: 1.4cqw; opacity: 0;
  box-shadow: 0 0 0 .5cqw var(--pg-gold), 0 0 3cqw rgba(253, 204, 5, .55);
}

/* ---------- the pages, small, beside it: which page is up ---------- */
.lc-p2-thumbs { left: 70cqw; right: 3cqw; top: 11cqh; z-index: 3; display: grid; gap: 2.4cqh; }
.lc-p2-thumb { display: grid; gap: .8cqh; opacity: .45; transition: opacity .3s; }
.lc-p2-thumb img { display: block; width: 100%; height: auto; border-radius: 1cqw; border: .25cqw solid var(--pg-line); background: #fff; }
.lc-p2-thumb em { font: 800 1.2cqw/1 var(--pg-body); letter-spacing: .12em; text-transform: uppercase; color: var(--pg-muted); font-style: normal; }
.lc-p2-thumb.is-on { opacity: 1; }
.lc-p2-thumb.is-on img { border-color: var(--pg-gold); box-shadow: 0 0 0 .3cqw rgba(253, 204, 5, .35); }

/* ---------- the Cheat Sheet: open all class, the night's four sections ---------- */
.lc-p2-sheet {
  /* bottom 8cqh: clear of the stage's pause button in the corner */
  left: 3cqw; right: 3cqw; top: 56cqh; bottom: 8cqh; z-index: 4; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 1.8cqw; border: .25cqw solid var(--pg-ink); box-shadow: 0 1.6cqw 4.4cqw rgba(15, 23, 42, .2);
}
.lc-p2-sheet-top { display: flex; align-items: center; gap: 1.2cqw; padding: 1.2cqw 1.8cqw; background: var(--pg-ink); color: #fff; }
.lc-p2-sheet-icon { width: 2.6cqw; height: 2.6cqw; color: var(--pg-gold); }
.lc-p2-sheet-icon svg { display: block; width: 100%; height: 100%; }
.lc-p2-sheet-top b { font: 700 2.1cqw/1 var(--pg-head); }
.lc-p2-sheet-sub { font: 600 1.5cqw/1 var(--pg-body); color: #cbd5e1; }
.lc-p2-sheet-top em { margin-left: auto; padding: .6cqw 1.2cqw; border-radius: 99px; background: var(--pg-gold); color: var(--pg-ink); font: 800 1.2cqw/1 var(--pg-body); letter-spacing: .1em; text-transform: uppercase; font-style: normal; }
.lc-p2-secs { flex: 1; min-height: 0; list-style: none; margin: 0; padding: 1.4cqw; display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 1.2cqw; }
.lc-p2-secs > li {
  display: flex; flex-direction: column; gap: 1cqh; min-width: 0; padding: 1.4cqw; border-radius: 1.2cqw; background: var(--pg-bg); border: 1px solid var(--pg-line);
}
.lc-p2-secs > li.is-lit { background: var(--pg-gold-soft); border-color: var(--pg-gold); box-shadow: 0 0 0 .3cqw rgba(253, 204, 5, .3); }
.lc-p2-n { width: 3cqw; height: 3cqw; border-radius: 50%; display: grid; place-items: center; background: var(--pg-ink); color: var(--pg-gold); font: 800 1.5cqw/1 var(--pg-body); }
.lc-p2-secs > li > b { font: 700 1.95cqw/1.15 var(--pg-head); color: var(--pg-ink); }
.lc-p2-f { margin: 0; font: 700 2.3cqw/1.2 var(--pg-head); color: var(--pg-gold-deep); }
.lc-p2-secs small { font: 500 1.45cqw/1.35 var(--pg-body); color: var(--pg-soft); }
.lc-p2-facts { margin: 0; display: grid; gap: .9cqh; }
.lc-p2-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1cqw; }
.lc-p2-facts dt { font: 700 1.45cqw/1 var(--pg-body); color: var(--pg-muted); }
.lc-p2-facts dd { margin: 0; font: 700 2.1cqw/1 var(--pg-head); color: var(--pg-ink); white-space: nowrap; }
.lc-p2-frac { display: inline-flex; flex-direction: column; align-items: center; vertical-align: middle; font-size: .72em; line-height: 1.05; }
.lc-p2-frac span:first-child { border-bottom: .15cqw solid currentColor; padding: 0 .3cqw; }


/* === program/lc-calc.css === */

/* THE LIVE CLASS SECTION, PART 3: "Learn to Calculate Confidently." (2026-11-22). A mental math round of the page's own
 * design: the round card (the clock, the marks line, the problem, the count, "All 3 marks!") and the night's rounds as
 * bars, this round's growing live. Sizes are shares of the canvas; the phone's places are lc-calc-phone.css;
 * js/lc-calc.js moves it all. */

.lc-p3-round, .lc-p3-rounds { position: absolute; visibility: hidden; }

/* ---------- the round ---------- */
.lc-p3-round {
  left: 3cqw; top: 11cqh; width: 56cqw; bottom: 8cqh; z-index: 3; display: flex; flex-direction: column; overflow: hidden;
  padding: 2.4cqw 2.6cqw; gap: 3cqh; background: #fff; border-radius: 2cqw; border: 1px solid var(--pg-line);
  box-shadow: 0 1.6cqw 4.4cqw rgba(15, 23, 42, .16);
}
.lc-p3-top { display: flex; align-items: center; gap: 1.4cqw; }
.lc-p3-tag { padding: .6cqw 1.2cqw; border-radius: 99px; background: var(--pg-ink); color: var(--pg-gold); font: 800 1.2cqw/1 var(--pg-body); letter-spacing: .12em; text-transform: uppercase; }
.lc-p3-top b { font: 700 2.4cqw/1 var(--pg-head); color: var(--pg-ink); }
.lc-p3-clock { margin-left: auto; padding: .8cqw 1.4cqw; border-radius: 1cqw; background: var(--pg-gold); font: 700 2.2cqw/1 var(--pg-head); color: var(--pg-ink); font-variant-numeric: tabular-nums; }
/* the marks line: a mark at 10, 15 and 20 right (half, three quarters and all of it) */
/* the marks sit ON the line, big, the line running through their foot, the number under (as the mock draws it) */
.lc-p3-line { position: relative; height: 10cqw; margin: 0 4cqw; }
.lc-p3-line::before, .lc-p3-fill { content: ""; position: absolute; left: 0; top: 5.6cqw; height: 1.3cqw; border-radius: 99px; }
.lc-p3-line::before { right: 0; background: var(--pg-line-soft); border: 1px solid var(--pg-line); }
.lc-p3-fill { width: 0; background: linear-gradient(90deg, #f8c400, var(--pg-gold)); box-shadow: 0 0 1.2cqw rgba(253, 204, 5, .5); }
.lc-p3-mk { position: absolute; top: 0; z-index: 1; width: 8cqw; margin-left: -4cqw; display: grid; justify-items: center; gap: .3cqw; }
.lc-p3-mk[data-at="10"] { left: 50%; }
.lc-p3-mk[data-at="15"] { left: 75%; }
.lc-p3-mk[data-at="20"] { left: 100%; }
.lc-p3-mk [data-mark] { width: 7cqw; height: 7cqw; opacity: .22; filter: grayscale(1); }
.lc-p3-mk.is-on [data-mark] { opacity: 1; filter: drop-shadow(0 0 1cqw rgba(253, 204, 5, .55)); }
.lc-p3-mk em { font: 800 1.4cqw/1 var(--pg-body); color: var(--pg-muted); font-style: normal; margin-top: .4cqw; }
.lc-p3-prob { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 2cqw; }
.lc-p3-q { font: 700 9cqw/1 var(--pg-head); color: var(--pg-ink); letter-spacing: -.02em; }
.lc-p3-eq { font: 700 6cqw/1 var(--pg-head); color: var(--pg-muted); }
.lc-p3-a {
  min-width: 15cqw; padding: 1.4cqw 2cqw; border-radius: 1.6cqw; border: .35cqw solid var(--pg-ink); text-align: center;
  font: 700 7cqw/1 var(--pg-head); color: var(--pg-ink); font-variant-numeric: tabular-nums; min-height: 10.6cqw;
}
.lc-p3-count { margin: 0; text-align: center; font: 700 2.4cqw/1 var(--pg-body); color: var(--pg-soft); }
.lc-p3-count b { font: 700 4.4cqw/1 var(--pg-head); color: var(--pg-ink); font-variant-numeric: tabular-nums; }
/* all three marks: the page's own celebration, a dark band, the three marks over turning rays */
/* all three marks, the mock's moving-up moment: the fire on a dark band with the three marks over it, the words on
 * white under it; it covers the whole problem area, so nothing of the last problem shows round it */
.lc-p3-all {
  position: absolute; left: 2.6cqw; right: 2.6cqw; top: 26%; bottom: 15%; z-index: 2; display: flex; flex-direction: column;
  border-radius: 2cqw; border: .3cqw solid var(--pg-ink); background: #fff; overflow: hidden; opacity: 0;
  box-shadow: 0 2cqw 5cqw rgba(15, 23, 42, .35);
}
.lc-p3-fire { position: relative; flex: 1.3; min-height: 0; background: linear-gradient(180deg, #0b1220, #3b2408); }
.lc-p3-fire canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lc-p3-three { position: absolute; inset: 0; }
.lc-p3-three [data-mark] { position: absolute; top: 18%; width: 22%; height: auto; aspect-ratio: 1; margin-left: -11%; filter: drop-shadow(0 .4cqw 1cqw rgba(0, 0, 0, .5)); }
.lc-p3-three [data-mark]:nth-child(1) { left: 20%; }
.lc-p3-three [data-mark]:nth-child(2) { left: 50%; }
.lc-p3-three [data-mark]:nth-child(3) { left: 80%; }
.lc-p3-all-t { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2cqh; padding: 1.6cqw; text-align: center; }
.lc-p3-all-t em { font: 800 1.4cqw/1 var(--pg-body); letter-spacing: .16em; text-transform: uppercase; color: var(--pg-gold-deep); font-style: normal; }
.lc-p3-all-t b { font: 700 4.6cqw/1 var(--pg-head); color: var(--pg-ink); white-space: nowrap; }
.lc-p3-all-t small { font: 500 1.6cqw/1.2 var(--pg-body); color: var(--pg-soft); }

/* ---------- the night's rounds ---------- */
.lc-p3-rounds {
  left: 62cqw; right: 3cqw; top: 11cqh; bottom: 8cqh; z-index: 3; display: flex; flex-direction: column; padding: 2.2cqw;
  background: #fff; border-radius: 2cqw; border: 1px solid var(--pg-line); box-shadow: var(--pg-shadow-lg);
  /* --lab: the height of a bar's number and round label under it, measured off the pictures (the rules meet the bars) */
  --u: 2.2cqh; --lab: 5.7cqh;
}
.lc-p3-chart { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; padding-left: 3.4cqw; }
.lc-p3-rule { position: absolute; left: 0; right: 0; height: 0; border-top: .2cqw dashed var(--pg-line); bottom: calc(var(--lab) + var(--k) * var(--u)); }
.lc-p3-rule[data-at="10"] { --k: 10; }
.lc-p3-rule[data-at="15"] { --k: 15; }
.lc-p3-rule[data-at="20"] { --k: 20; border-top-color: var(--pg-gold); }
.lc-p3-rule em { position: absolute; left: 0; top: -1.7cqw; font: 800 1.2cqw/1 var(--pg-body); color: var(--pg-muted); font-style: normal; }
.lc-p3-col { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; }
.lc-p3-ms { display: flex; gap: .3cqw; height: 3cqw; margin-bottom: .8cqh; }
.lc-p3-ms [data-mark] { width: 2.6cqw; height: 2.6cqw; }
.lc-p3-bar { display: block; width: 72%; height: calc(var(--v, 0) * var(--u)); border-radius: 1cqw 1cqw .3cqw .3cqw; background: #cbd5e1; }
.lc-p3-col.is-now .lc-p3-bar { background: linear-gradient(180deg, #fde047, var(--pg-gold)); box-shadow: 0 0 1.6cqw rgba(253, 204, 5, .45); }
.lc-p3-col b { margin-top: 1cqh; font: 700 2.6cqw/1 var(--pg-head); color: var(--pg-ink); font-variant-numeric: tabular-nums; }
.lc-p3-col em { margin-top: .6cqh; font: 800 1.15cqw/1 var(--pg-body); letter-spacing: .1em; text-transform: uppercase; color: var(--pg-muted); font-style: normal; }
.lc-p3-sum { margin: 1.6cqh 0 0; font: 600 1.6cqw/1.35 var(--pg-body); color: var(--pg-soft); opacity: 0; }
.lc-p3-sum b { color: var(--pg-ink); }


/* === program/lc-compete.css === */

/* THE LIVE CLASS SECTION, PART 4: "Use your competitive side to learn faster." (2026-11-22). The class board of the
 * page's own design: three leagues as tabs, five rows that reorder by --slot, the ladder Contender, Champion, Elite under
 * them, and the move up as its own moment. Shares of the canvas; the phone's places are lc-compete-phone.css. */

.lc-p4-board, .lc-p4-up { position: absolute; visibility: hidden; }

.lc-p4-board {
  left: 3cqw; right: 3cqw; top: 11cqh; bottom: 8cqh; z-index: 3; display: flex; flex-direction: column; gap: 1.6cqh;
  padding: 2.2cqw 2.4cqw; background: #fff; border-radius: 2cqw; border: 1px solid var(--pg-line); box-shadow: 0 1.6cqw 4.4cqw rgba(15, 23, 42, .16);
  --rh: 9.6cqh; --rg: 1.2cqh;
}
.lc-p4-tabs { display: flex; gap: .8cqw; padding: .6cqw; border-radius: 1.4cqw; background: var(--pg-line-soft); align-self: flex-start; }
.lc-p4-tabs span { padding: 1cqw 2cqw; border-radius: 1cqw; font: 700 1.7cqw/1 var(--pg-head); color: var(--pg-muted); transition: background .3s, color .3s; }
.lc-p4-tabs span.is-on { background: var(--pg-ink); color: var(--pg-gold); }
.lc-p4-eye { margin: 0; }
.lc-p4-rows { position: relative; list-style: none; margin: 0; padding: 0; height: calc(5 * var(--rh) + 4 * var(--rg)); flex: none; }
/* the Champions' list sits exactly over the Contenders' (pulled up by its own height and the board's gap) */
.lc-p4-board { --gap: 1.6cqh; gap: var(--gap); }
.lc-p4-rows[data-list="ch"] { margin-top: calc(-1 * (5 * var(--rh) + 4 * var(--rg)) - var(--gap)); visibility: hidden; }
.lc-p4-row {
  position: absolute; left: 0; right: 0; height: var(--rh); top: calc(var(--slot, 0) * (var(--rh) + var(--rg)));
  display: flex; align-items: center; gap: 1.8cqw; padding: 0 2cqw; border-radius: 1.4cqw; background: var(--pg-bg); border: 1px solid var(--pg-line);
}
.lc-p4-row img { width: 5.4cqh; height: 5.4cqh; border-radius: 50%; }
.lc-p4-pl { width: 3cqw; font: 700 2.6cqw/1 var(--pg-head); color: var(--pg-muted); text-align: center; }
.lc-p4-row span { flex: 1; font: 700 2.3cqw/1 var(--pg-head); color: var(--pg-ink); }
.lc-p4-row em { font: 700 2.8cqw/1 var(--pg-head); color: var(--pg-ink); font-style: normal; font-variant-numeric: tabular-nums; }
.lc-p4-gain { font: 800 1.8cqw/1 var(--pg-body); color: #16a34a; font-style: normal; opacity: 0; }
.lc-p4-row.is-you { z-index: 2; background: var(--pg-gold-soft); border-color: var(--pg-gold); box-shadow: 0 .8cqw 2.4cqw rgba(180, 83, 9, .18); }
.lc-p4-row.is-you .lc-p4-pl { color: var(--pg-gold-deep); }
.lc-p4-row.is-first { box-shadow: 0 0 0 .4cqw var(--pg-gold), 0 0 3cqw rgba(253, 204, 5, .6); }

/* the ladder under the board: where you are among the three leagues */
.lc-p4-ladder { margin-top: auto; display: flex; align-items: center; gap: 1.4cqw; }
.lc-p4-step { display: inline-flex; align-items: center; gap: 1cqw; padding: 1cqw 1.8cqw; border-radius: 99px; border: .25cqw solid var(--pg-line); font: 700 1.8cqw/1 var(--pg-head); color: var(--pg-muted); }
.lc-p4-step i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: var(--pg-line); }
.lc-p4-step.is-past { color: var(--pg-ink); }
.lc-p4-step.is-past i { background: #16a34a; }
.lc-p4-step.is-now { background: var(--pg-ink); border-color: var(--pg-ink); color: var(--pg-gold); }
.lc-p4-step.is-now i { background: var(--pg-gold); box-shadow: 0 0 0 .4cqw rgba(253, 204, 5, .35); }
.lc-p4-step.is-next { border-style: dashed; border-color: var(--pg-gold); color: var(--pg-gold-deep); }
.lc-p4-arrow { flex: 1; height: .3cqw; border-radius: 99px; background: var(--pg-line); max-width: 8cqw; }

/* the move up: its own moment over the board */
.lc-p4-up {
  left: 50%; top: 50%; width: 64cqw; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 1.8cqh; overflow: hidden;
  padding: 4cqw 3cqw; border-radius: 2.4cqw; background: var(--pg-ink); color: #fff; text-align: center; box-shadow: 0 3cqw 8cqw rgba(15, 23, 42, .4);
}
.lc-p4-up-rays {
  position: absolute; left: 50%; top: 42%; width: 90cqw; height: 90cqw; margin: -45cqw 0 0 -45cqw; z-index: -1; opacity: .3;
  background: repeating-conic-gradient(from 0deg, rgba(253, 204, 5, .6) 0deg 7deg, transparent 7deg 18deg);
}
.lc-p4-up-eye { margin: 0; font: 800 1.5cqw/1 var(--pg-body); letter-spacing: .16em; text-transform: uppercase; color: var(--pg-gold); }
.lc-p4-up-badge { width: 15cqw; height: 15cqw; border-radius: 50%; padding: .8cqw; background: linear-gradient(135deg, #fff4b8, var(--pg-gold) 45%, #b45309); box-shadow: 0 0 4cqw rgba(253, 204, 5, .6); }
.lc-p4-up-badge img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.lc-p4-up-t { margin: 0; font: 600 2.6cqw/1.2 var(--pg-body); }
.lc-p4-up-t b { display: block; margin-top: 1cqh; font: 700 6cqw/1 var(--pg-head); color: var(--pg-gold); }
.lc-p4-up-next { margin: 0; padding: .8cqw 1.8cqw; border-radius: 99px; border: .2cqw dashed rgba(253, 204, 5, .6); font: 700 1.7cqw/1 var(--pg-head); color: var(--pg-gold); }


/* === program/lc-watch.css === */

/* THE LIVE CLASS SECTION, PART 5: "Watch anytime, anywhere." (2026-11-22; rebuilt the same night, Anderson: "this one is
 * dumb. improve this properly for marketing"). The library found by course and unit, then the two replays each DOING what
 * it does: the Interactive Replay (the problem worked, Coach's solution, the goal credit) and the Full Class Replay (the
 * class as it ran, its chat, its questions to jump to, Skip to the solution). On a laptop the two sit side by side and
 * play one after the other; a phone's places are lc-watch-phone.css; js/lc-watch.js moves it all. Shares of the canvas.
 *
 * ONE SIZE UNIT, --u (2026-11-23, Anderson on the live page at a 1280x720 laptop: the goal credit and the class chat ran
 * past their cards, "Goal complete" sat on "class.", the filters sat on the library's cards; "this formatting sucks").
 * Every piece was sized in WIDTH units (cqw) on a stage whose HEIGHT is the screen's, so a wide, short screen drew them
 * taller than their cards. --u is the smaller of a width share and a height share: where the part fit (a 1440x900
 * laptop, a square stage) it is the width share as before; on a short screen everything shrinks together to fit. The
 * boxes' own places (left, right, top, a card's width) stay shares of the canvas. A replay card's bottom is never
 * closer than 54px to the canvas's foot, where the stage's pause button (34px, 14px in) lives; --u's height share is
 * the card's own height (89cqh less that bottom) times the share that fit on the square laptop stage, less 3%.
 * Proof: `p5-fit-check`. */

.lc-canvas { --p5-foot: max(6cqh, 54px); --u: min(1cqw, calc((89cqh - var(--p5-foot)) * .0117)); }

.lc-p5-lib, .lc-p5-try, .lc-p5-full { position: absolute; visibility: hidden; }

/* ---------- the library ---------- */
.lc-p5-lib {
  left: 3cqw; right: 3cqw; top: 11cqh; bottom: 6cqh; z-index: 3; display: flex; flex-direction: column; gap: 1.8cqh; padding: calc(2.4 * var(--u));
  background: #fff; border-radius: calc(2 * var(--u)); border: 1px solid var(--pg-line); box-shadow: 0 calc(1.6 * var(--u)) calc(4.4 * var(--u)) rgba(15, 23, 42, .16);
}
.lc-p5-top { display: flex; align-items: center; gap: calc(1.4 * var(--u)); }
.lc-p5-top b { font: 700 calc(2.8 * var(--u))/1 var(--pg-head); color: var(--pg-ink); }

/* the library's two filters; the Unit filter appears once a course is picked (js/lc-watch.js) */
.lc-p5-filters { position: relative; z-index: 6; display: flex; gap: calc(1.4 * var(--u)); }
.lc-p5-sel {
  position: relative; display: inline-flex; align-items: center; gap: calc(1 * var(--u)); padding: calc(1.1 * var(--u)) calc(1.6 * var(--u)); border-radius: calc(1.2 * var(--u)); min-width: calc(24 * var(--u));
  border: calc(.2 * var(--u)) solid var(--pg-line); background: var(--pg-bg); transition: border-color .25s, background .25s;
}
.lc-p5-sel em { font: 800 calc(1.15 * var(--u))/1 var(--pg-body); letter-spacing: .12em; text-transform: uppercase; color: var(--pg-muted); font-style: normal; }
.lc-p5-sel b { font: 700 calc(1.8 * var(--u))/1 var(--pg-head); color: var(--pg-ink); white-space: nowrap; }
.lc-p5-sel > i { margin-left: auto; width: calc(1 * var(--u)); height: calc(1 * var(--u)); border-right: calc(.3 * var(--u)) solid var(--pg-soft); border-bottom: calc(.3 * var(--u)) solid var(--pg-soft); transform: rotate(45deg) translateY(calc(-.3 * var(--u))); }
.lc-p5-sel.is-set { border-color: var(--pg-gold); background: var(--pg-gold-soft); }
.lc-p5-sel[data-sel="unit"] { visibility: hidden; }
/* its open menu: the library's own options, the one about to be picked lit as the finger reaches it */
.lc-p5-menu {
  position: absolute; left: 0; top: calc(100% + .6 * var(--u)); min-width: 100%; display: grid; padding: calc(.6 * var(--u)); border-radius: calc(1.2 * var(--u)); visibility: hidden;
  background: #fff; border: 1px solid var(--pg-line); box-shadow: 0 calc(1.6 * var(--u)) calc(4 * var(--u)) rgba(15, 23, 42, .22); transform-origin: 50% 0;
}
.lc-p5-menu span { padding: calc(.85 * var(--u)) calc(1.2 * var(--u)); border-radius: calc(.8 * var(--u)); font: 600 calc(1.5 * var(--u))/1.1 var(--pg-body); color: var(--pg-ink); white-space: nowrap; transition: background .15s; }
.lc-p5-menu span:first-child { color: var(--pg-muted); }
.lc-p5-menu span.is-hover { background: var(--pg-gold-soft); box-shadow: inset calc(.35 * var(--u)) 0 0 var(--pg-gold); font-weight: 700; }

/* the cards: six cells, a real class in each, its own picture over its course and unit. The grid's width is in --u too
   (a card's picture is 16:9, so its height follows its width): on a short screen the grid narrows and stays centred */
.lc-p5-grid {
  flex: 1; min-height: 0; list-style: none; margin: 0; padding: 0; position: relative; width: min(100%, calc(94 * var(--u))); align-self: center;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, max-content); gap: calc(1.6 * var(--u)) calc(1.4 * var(--u)); align-content: center;
}
.lc-p5-card.is-s0 { grid-area: 1 / 1; } .lc-p5-card.is-s1 { grid-area: 1 / 2; } .lc-p5-card.is-s2 { grid-area: 1 / 3; }
.lc-p5-card.is-s3 { grid-area: 2 / 1; } .lc-p5-card.is-s4 { grid-area: 2 / 2; } .lc-p5-card.is-s5 { grid-area: 2 / 3; }
.lc-p5-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: calc(1.4 * var(--u));
  background: #fff; border: 1px solid var(--pg-line); box-shadow: 0 calc(.6 * var(--u)) calc(1.6 * var(--u)) rgba(15, 23, 42, .08); transform-origin: 50% 50%;
}
/* the newest Math Knowledge classes wait off the grid until the course is picked */
.lc-p5-card[data-set="mk"] { visibility: hidden; }
.lc-p5-card.is-match { z-index: 3; border-color: var(--pg-gold); box-shadow: 0 0 0 calc(.4 * var(--u)) var(--pg-gold), 0 calc(2 * var(--u)) calc(5 * var(--u)) rgba(180, 83, 9, .28); }
.lc-p5-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #fff; border-bottom: 1px solid var(--pg-line); }
/* height 100%: the picture's own height attribute must never set the card's height */
.lc-p5-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lc-p5-thumb em {
  position: absolute; right: calc(.7 * var(--u)); bottom: calc(.7 * var(--u)); padding: calc(.4 * var(--u)) calc(.8 * var(--u)); border-radius: calc(.6 * var(--u)); background: rgba(15, 23, 42, .82); color: #fff;
  font: 700 calc(1.05 * var(--u))/1 var(--pg-body); font-style: normal;
}
.lc-p5-meta { display: grid; gap: calc(.6 * var(--u)); padding: calc(1.2 * var(--u)) calc(1.4 * var(--u)) calc(1.4 * var(--u)); min-width: 0; }
.lc-p5-meta i { font: 800 calc(1.15 * var(--u))/1.1 var(--pg-body); letter-spacing: .08em; text-transform: uppercase; color: var(--pg-gold-deep); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-p5-meta b { font: 700 calc(1.8 * var(--u))/1.2 var(--pg-head); color: var(--pg-ink); min-height: 2.4em; }
.lc-p5-meta small { font: 600 calc(1.3 * var(--u))/1 var(--pg-body); color: var(--pg-muted); }

/* ---------- the two replays: a card each, the same frame ---------- */
.lc-p5-try, .lc-p5-full {
  /* space-between: the pieces spread over the whole card, never a hole in the middle (pass 1 read a hole in each) */
  top: 11cqh; bottom: var(--p5-foot); width: 45.6cqw; z-index: 3; display: flex; flex-direction: column; justify-content: space-between; gap: 1.6cqh; padding: calc(2 * var(--u));
  background: #fff; border-radius: calc(2 * var(--u)); border: 1px solid var(--pg-line); box-shadow: 0 calc(1.6 * var(--u)) calc(4.4 * var(--u)) rgba(15, 23, 42, .16);
}
.lc-p5-try { left: 3cqw; }
.lc-p5-full { right: 3cqw; }
.lc-p5-head { display: grid; gap: .9cqh; justify-items: start; }
.lc-p5-pill {
  padding: calc(.7 * var(--u)) calc(1.4 * var(--u)); border-radius: 99px; background: var(--pg-ink); color: #fff;
  font: 800 calc(1.25 * var(--u))/1 var(--pg-body); letter-spacing: .12em; text-transform: uppercase;
}
.lc-p5-pill.is-gold { background: var(--pg-gold); color: var(--pg-ink); }
.lc-p5-head b { font: 700 calc(2.9 * var(--u))/1.1 var(--pg-head); color: var(--pg-ink); letter-spacing: -.01em; }

/* the Interactive Replay: the problem on your own */
.lc-p5-q { position: relative; display: grid; gap: 1.2cqh; padding: calc(2 * var(--u)); border-radius: calc(1.6 * var(--u)); border: 1px solid var(--pg-line); background: var(--pg-bg); }
.lc-p5-q-top { display: flex; align-items: center; gap: calc(1 * var(--u)); }
.lc-p5-q-top span { font: 800 calc(1.2 * var(--u))/1 var(--pg-body); letter-spacing: .14em; text-transform: uppercase; color: var(--pg-muted); }
.lc-p5-q-top em { margin-left: auto; padding: calc(.5 * var(--u)) calc(1 * var(--u)); border-radius: 99px; background: #e0ecff; color: #1d4ed8; font: 700 calc(1.15 * var(--u))/1 var(--pg-body); font-style: normal; }
.lc-p5-q-body { display: flex; align-items: center; gap: calc(1.6 * var(--u)); }
.lc-p5-fig { flex: none; width: calc(17 * var(--u)); height: auto; }
.lc-p5-ask { flex: 1; min-width: 0; display: grid; gap: 1.2cqh; }
.lc-p5-ask p { margin: 0; font: 600 calc(2.3 * var(--u))/1.3 var(--pg-body); color: var(--pg-ink); }
.lc-p5-ch { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: calc(.9 * var(--u)); }
.lc-p5-ch li {
  display: flex; align-items: center; gap: calc(.9 * var(--u)); padding: calc(1.1 * var(--u)) calc(1.1 * var(--u)); border-radius: calc(1 * var(--u)); border: calc(.2 * var(--u)) solid var(--pg-line); background: #fff;
  font: 700 calc(2.3 * var(--u))/1 var(--pg-head); color: var(--pg-ink); transition: border-color .2s, background .2s;
}
.lc-p5-ch li b { width: calc(2.6 * var(--u)); height: calc(2.6 * var(--u)); border-radius: 50%; display: grid; place-items: center; background: var(--pg-line-soft); font: 800 calc(1.2 * var(--u))/1 var(--pg-body); }
.lc-p5-ch li.is-picked { border-color: var(--pg-ink); box-shadow: 0 0 0 calc(.25 * var(--u)) var(--pg-gold); }
.lc-p5-ch li.is-picked b { background: var(--pg-ink); color: var(--pg-gold); }
.lc-p5-ch li.is-right { border-color: #16a34a; background: #f0fdf4; box-shadow: 0 0 0 calc(.3 * var(--u)) rgba(22, 163, 74, .25); }
.lc-p5-ch li.is-right b { background: #16a34a; color: #fff; }
.lc-p5-right {
  position: absolute; right: calc(1.4 * var(--u)); top: calc(-1.4 * var(--u)); display: inline-flex; align-items: center; gap: calc(.6 * var(--u)); padding: calc(.6 * var(--u)) calc(1.2 * var(--u)); border-radius: 99px;
  background: #16a34a; color: #fff; font: 800 calc(1.3 * var(--u))/1 var(--pg-head); box-shadow: 0 calc(.6 * var(--u)) calc(1.6 * var(--u)) rgba(22, 163, 74, .35); opacity: 0;
}
.lc-p5-right [data-mark] { width: calc(1.6 * var(--u)); height: calc(1.6 * var(--u)); filter: brightness(0) invert(1); }

/* then Coach's solution, his real frames playing */
.lc-p5-sol { display: flex; align-items: center; gap: calc(1.6 * var(--u)); }
.lc-p5-sol-pic { position: relative; flex: none; width: calc(28 * var(--u)); aspect-ratio: 16 / 9; border-radius: calc(1.2 * var(--u)); overflow: hidden; border: calc(.25 * var(--u)) solid var(--pg-ink); background: #fff; }
.lc-p5-sol-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lc-p5-sol-pic img:not([data-s="0"]) { opacity: 0; }
.lc-p5-play {
  position: absolute; left: 50%; top: 50%; width: calc(4.4 * var(--u)); height: calc(4.4 * var(--u)); margin: calc(-2.2 * var(--u)) 0 0 calc(-2.2 * var(--u)); border-radius: 50%;
  background: rgba(15, 23, 42, .78); box-shadow: 0 0 0 calc(.4 * var(--u)) rgba(255, 255, 255, .6);
}
.lc-p5-play::after { content: ""; position: absolute; left: calc(1.7 * var(--u)); top: calc(1.2 * var(--u)); border-left: calc(1.6 * var(--u)) solid #fff; border-top: calc(1 * var(--u)) solid transparent; border-bottom: calc(1 * var(--u)) solid transparent; }
.lc-p5-sol-t { display: grid; gap: .7cqh; min-width: 0; }
.lc-p5-sol-t em { font: 800 calc(1.15 * var(--u))/1 var(--pg-body); letter-spacing: .14em; text-transform: uppercase; color: var(--pg-gold-deep); font-style: normal; }
.lc-p5-sol-t b { font: 700 calc(2.2 * var(--u))/1.15 var(--pg-head); color: var(--pg-ink); }
.lc-p5-sol-t small { font: 500 calc(1.5 * var(--u))/1.3 var(--pg-body); color: var(--pg-soft); }

/* the same goal credit as class; the room above it holds "Goal complete", which stands on its top edge */
.lc-p5-goal {
  position: relative; display: flex; align-items: center; gap: calc(1.6 * var(--u)); padding: calc(1.8 * var(--u)) calc(1.8 * var(--u)); margin-top: calc(1.4 * var(--u));
  border-radius: calc(1.6 * var(--u)); border: 1px solid var(--pg-line); background: #fff; box-shadow: var(--pg-shadow);
}
.lc-p5-chip { flex: none; width: calc(5.6 * var(--u)); height: calc(5.6 * var(--u)); border-radius: 50%; display: grid; place-items: center; background: #e0ecff; color: #1d4ed8; font: 800 calc(2.2 * var(--u))/1 var(--pg-head); }
.lc-p5-goal-main { flex: 1; min-width: 0; display: grid; gap: .6cqh; }
.lc-p5-goal-main p { margin: 0; font: 700 calc(1.2 * var(--u))/1 var(--pg-body); color: var(--pg-muted); }
.lc-p5-goal-main > p:first-child { letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.lc-p5-goal-main > b { font: 700 calc(2.1 * var(--u))/1.1 var(--pg-head); color: var(--pg-ink); }
.lc-p5-goal-main p b { color: var(--pg-ink); }
.lc-p5-gbar { display: block; height: calc(1.2 * var(--u)); border-radius: 99px; background: var(--pg-line-soft); overflow: hidden; }
.lc-p5-gbar i { display: block; height: 100%; width: 75%; border-radius: inherit; background: #2563eb; }
.lc-p5-done {
  position: absolute; right: calc(1.4 * var(--u)); top: calc(-1.6 * var(--u)); padding: calc(.7 * var(--u)) calc(1.3 * var(--u)); border-radius: 99px; background: var(--pg-gold);
  font: 800 calc(1.3 * var(--u))/1 var(--pg-head); color: var(--pg-ink); box-shadow: 0 calc(.6 * var(--u)) calc(1.6 * var(--u)) rgba(180, 83, 9, .3); opacity: 0;
}

/* the Full Class Replay: the class as it ran */
/* its width in --u too (16:9, so its height follows its width), centred when that is narrower than the card */
.lc-p5-vid { position: relative; flex: none; width: min(100%, calc(44 * var(--u))); align-self: center; aspect-ratio: 16 / 9; border-radius: calc(1.4 * var(--u)); overflow: hidden; border: calc(.3 * var(--u)) solid var(--pg-ink); background: #fff; }
.lc-p5-vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lc-p5-vid img:not([data-f="0"]) { opacity: 0; }
/* bottom left, over the board's empty corner (top left it covered the class's question) */
.lc-p5-tagrec {
  position: absolute; left: calc(1 * var(--u)); bottom: calc(2.2 * var(--u)); display: inline-flex; align-items: center; gap: calc(.6 * var(--u)); padding: calc(.5 * var(--u)) calc(1 * var(--u)); border-radius: 99px;
  background: var(--pg-ink); color: #fff; font: 800 calc(1.1 * var(--u))/1 var(--pg-body); letter-spacing: .12em; text-transform: uppercase;
}
.lc-p5-tagrec::before { content: ""; width: 0; height: 0; border-left: calc(1 * var(--u)) solid var(--pg-gold); border-top: calc(.6 * var(--u)) solid transparent; border-bottom: calc(.6 * var(--u)) solid transparent; }
.lc-p5-skip {
  position: absolute; right: calc(1 * var(--u)); bottom: calc(2.4 * var(--u)); display: inline-flex; align-items: center; gap: calc(.7 * var(--u)); padding: calc(.8 * var(--u)) calc(1.3 * var(--u)); border-radius: 99px;
  background: var(--pg-gold); color: var(--pg-ink); font: 800 calc(1.3 * var(--u))/1 var(--pg-head); box-shadow: 0 calc(.6 * var(--u)) calc(1.6 * var(--u)) rgba(15, 23, 42, .3); opacity: 0;
}
.lc-p5-skip i { width: calc(.9 * var(--u)); height: calc(.9 * var(--u)); border-right: calc(.3 * var(--u)) solid var(--pg-ink); border-top: calc(.3 * var(--u)) solid var(--pg-ink); transform: rotate(45deg); }
.lc-p5-scrub { position: absolute; left: 0; right: 0; bottom: 0; height: calc(.9 * var(--u)); background: rgba(15, 23, 42, .18); }
.lc-p5-scrub i { display: block; height: 100%; width: 8%; background: var(--pg-gold); }

/* the class's questions: a press jumps to one */
.lc-p5-toc { list-style: none; margin: 0; padding: 0; display: flex; gap: calc(.8 * var(--u)); flex-wrap: nowrap; }
.lc-p5-toc li {
  display: inline-flex; align-items: center; gap: calc(.8 * var(--u)); padding: calc(1.1 * var(--u)) calc(1.4 * var(--u)); border-radius: calc(1 * var(--u)); border: calc(.2 * var(--u)) solid var(--pg-line); background: var(--pg-bg);
  font: 600 calc(1.5 * var(--u))/1 var(--pg-body); color: var(--pg-soft); white-space: nowrap; transition: background .25s, border-color .25s, color .25s;
}
.lc-p5-toc li b { font: 800 calc(1.5 * var(--u))/1 var(--pg-head); color: var(--pg-ink); }
.lc-p5-toc li[data-q="3"] { flex: 1; min-width: 0; overflow: hidden; }
.lc-p5-toc li.is-on { background: var(--pg-ink); border-color: var(--pg-ink); color: var(--pg-gold); }
.lc-p5-toc li.is-on b { color: var(--pg-gold); }

/* the class's chat, replaying with it: its own labelled box, as tall as its five lines (two there, three arriving) */
.lc-p5-chatbox { display: grid; gap: 1.2cqh; padding: calc(1.6 * var(--u)) calc(1.8 * var(--u)); border-radius: calc(1.4 * var(--u)); background: var(--pg-bg); border: 1px solid var(--pg-line); }
.lc-p5-chat-h { margin: 0; font: 800 calc(1.15 * var(--u))/1 var(--pg-body); letter-spacing: .12em; text-transform: uppercase; color: var(--pg-muted); }
.lc-p5-chat { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2cqh; }
.lc-p5-chat li { display: flex; align-items: center; gap: calc(1.2 * var(--u)); }
.lc-p5-chat img { flex: none; width: calc(4.2 * var(--u)); height: calc(4.2 * var(--u)); border-radius: 50%; }
.lc-p5-chat span { display: grid; gap: .3cqh; font: 500 calc(1.8 * var(--u))/1.2 var(--pg-body); color: var(--pg-ink); }
.lc-p5-chat b { font: 700 calc(1.35 * var(--u))/1 var(--pg-head); color: var(--pg-soft); }


/* === program/courses.css === */

/* THE COURSES (page/courses.html, rebuilt 2026-11-22 to StoryBrand and search): the four AFQT subtests at equal weight,
 * Math Basics as the way in, the two job openers, the two buttons. Each card its picture over the pain, the fix and the
 * win. The phone's places are courses-phone.css. */

.cs-group { margin-top: 30px; }
.cs-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.cs-group-head .pg-h3 { margin: 0; font-size: 24px; }
.cs-group-head p { margin: 0; font-size: 15px; color: var(--pg-soft); }

.cs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cs-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-card {
  min-width: 0; display: flex; flex-direction: column; overflow: hidden;
  background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 18px; box-shadow: var(--pg-shadow);
}
.cs-card-pic { padding: 14px 16px 6px; color: var(--pg-ink); background: linear-gradient(180deg, #f8fafc, #fff); border-bottom: 1px solid var(--pg-line-soft); }
.cs-card-pic .hc-art { display: block; width: 100%; height: auto; aspect-ratio: 320 / 180; }
.cs-card-pic .hc-art text { font-family: var(--pg-head); }
.cs-card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 18px 18px; }
.cs-card h4 { margin: 0; font: 700 16.5px/1.25 var(--pg-head); color: var(--pg-ink); display: flex; align-items: center; gap: 8px; }
/* the pain in the student's own terms, the fix, the win */
.cs-pain { margin: 0; font: 700 15px/1.35 var(--pg-head); color: #b91c1c; }
.cs-fix { margin: 0; font-size: 14px; line-height: 1.5; color: var(--pg-soft); }
.cs-win { margin: 0; padding-left: 22px; position: relative; font: 600 14px/1.45 var(--pg-body); color: var(--pg-ink); }
.cs-win::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border-radius: 50%; background: #16a34a;
  -webkit-mask: radial-gradient(circle, #000 64%, transparent 66%); mask: radial-gradient(circle, #000 64%, transparent 66%);
}
.cs-win::after { content: ""; position: absolute; left: 4px; top: 5px; width: 6px; height: 3.5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.cs-link { margin-top: auto; align-self: flex-start; padding-top: 6px; font: 700 14px/1 var(--pg-head); color: #15803d; text-decoration: none; }
.cs-link::after { content: " \203A"; }

/* Mechanical Comprehension's picture: its pulley, moving */
.cs-card-mc .cs-card-pic { display: grid; place-items: center; }
/* the pulley fills its side of the card (Anderson, 2026-11-22: "the MC animation can take up more of the space") */
.cs-card-mc .cs-card-pic { padding: 8px 10px; }
.cs-card-mc .pg-stage-rig { width: 100%; max-width: none; margin: 0 auto; }
/* General Science's four icons two by two, not one by four (his word): the hero's picture regrouped in place, each
   icon scaled 0.8 round the view box's origin and moved to its cell, each label under its icon */
/* (js/courses.js gives this copy a 320 x 300 view box: the icons at 1.5x fill it, cells at x 90 / 230, y 80 / 215) */
.cs-card[data-cs-art="gs"] .hc-art { aspect-ratio: 320 / 300; }
.cs-card[data-cs-art="gs"] .gs-cell { transform: translate(28.5px, -34px) scale(1.5); }
.cs-card[data-cs-art="gs"] .gs-flask { transform: translate(54.5px, -34px) scale(1.5); }
.cs-card[data-cs-art="gs"] .gs-atom { transform: translate(-202.5px, 101px) scale(1.5); }
.cs-card[data-cs-art="gs"] .gs-planet { transform: translate(-176.5px, 101px) scale(1.5); }
.cs-card[data-cs-art="gs"] .gs-labels { font-size: 18px; }
.cs-card[data-cs-art="gs"] .gs-labels text:nth-child(1) { transform: translate(49px, 12px); }
.cs-card[data-cs-art="gs"] .gs-labels text:nth-child(2) { transform: translate(113px, 12px); }
.cs-card[data-cs-art="gs"] .gs-labels text:nth-child(3) { transform: translate(-105px, 147px); }
.cs-card[data-cs-art="gs"] .gs-labels text:nth-child(4) { transform: translate(-41px, 147px); }
.cs-grid-2 .cs-card { flex-direction: row; }
.cs-grid-2 .cs-card-pic { flex: none; width: 44%; border-bottom: 0; border-right: 1px solid var(--pg-line-soft); display: grid; place-items: center; }
.cs-grid-2 .cs-card-body { justify-content: center; }

/* THE WAY IN: Math Basics, for a student years away from math */
.cs-start {
  margin-top: 18px; display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 18px;
  background: var(--pg-ink); color: #e2e8f0;
}
.cs-start-tag {
  flex: none; padding: 6px 12px; border-radius: 99px; background: var(--pg-gold); color: var(--pg-ink);
  font: 800 11px/1 var(--pg-body); letter-spacing: .1em; text-transform: uppercase;
}
.cs-start-copy h3 { margin: 0 0 4px; font: 700 18px/1.25 var(--pg-head); color: #fff; }
.cs-start-copy p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #cbd5e1; }

.cs-actions { margin-top: 28px; justify-content: center; }


/* === program/page-promo.css === */

/* THE CODE IN THE ADDRESS (2026-11-22): the tag on every See plans button saying which code is applied (js/page-promo.js
 * fills it and unhides it when the address carries ?promo=CODE). A tag on the button's top edge, ink with a gold rim, so
 * it reads on the light page and on the close's ink alike. Holds no query: the phone keeps the same tag. */

.pg-btn[data-plans] { position: relative; }
.pg-code {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -58%);
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; pointer-events: none;
  padding: 4px 10px 4px 7px; border-radius: 999px; border: 1.5px solid var(--pg-gold);
  background: var(--pg-ink); color: #fff; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
  font-family: var(--pg-body); font-weight: 700; font-size: 11px; letter-spacing: 0.2px; line-height: 1;
}
.pg-code[hidden] { display: none; }
.pg-code b { color: var(--pg-gold); font-weight: 800; letter-spacing: 0.6px; }
.pg-code svg { width: 13px; height: 13px; flex: none; }
/* the action rows leave room above for the tag when a code is on */
.has-code .pg-actions { padding-top: 8px; }

/* the header: the tag beside the small button, not on it (the header is too short for a tag on the edge) */
.pg-code.is-head { position: static; transform: none; box-shadow: none; }


/* === program/page-phone.css === */

/* linked under (max-width: 760px) in the mockup; the query carried into the bundle */
@media (max-width: 760px) {
/**
 * The ASVAB Program page, mockup: PHONE (linked with media="(max-width: 760px)", so this file holds no query).
 * One column; the header keeps the brand, the gold action and the menu; nothing wider than the screen.
 */
:root { --pg-gutter: 16px; }

.pg-header { gap: 10px; padding: 8px var(--pg-gutter); }
.pg-logo { width: 32px; height: 32px; }
.pg-brand-name { font-size: 15px; }
.pg-nav, .pg-signin { display: none; }
/* the header has no room for the code's tag on a phone; the hero's button carries it on the first screen */
.pg-code.is-head:not([hidden]) { display: none; }
.pg-burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px;
  border: 1px solid var(--pg-line); border-radius: 10px; background: var(--pg-card); padding: 0 10px; cursor: pointer;
}
.pg-burger span { display: block; height: 2px; border-radius: 1px; background: var(--pg-ink); }

.pg-title { font-size: 35px; letter-spacing: -0.8px; }
.pg-sub { font-size: 16.5px; }
.pg-h2 { font-size: 27px; }
.pg-h3 { font-size: 24px; }
.pg-lead { font-size: 15.5px; }
.pg-actions { flex-direction: column; }
.pg-actions .pg-btn { width: 100%; }
.pg-btn-lg { padding: 14px 20px; }

/* The hero: one column, the course carousel under the copy; the everything view three across, all on one screen */
.pg-hero { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 28px var(--pg-gutter) 32px; }
.hc-with { font-size: 10.5px; letter-spacing: 1.6px; }
.hc-with img { width: 18px; height: 18px; }
.hc-name { font-size: 22px; margin: 6px 0 10px; gap: 8px; }
.hc-line { font-size: 14px; margin-top: 10px; }
.hc-see-word.is-click { display: none; }
.hc-see-word.is-tap { display: inline; }
/* a phone closes the view with a tap anywhere (its hint says so under the tiles), so no Close button over the title */
.hc-all-close { display: none; }
.hc-all { padding: 14px 10px; }
.hc-all-title { flex-direction: column; font-size: 17px; gap: 4px; margin-bottom: 8px; text-align: center; text-wrap: balance; }
.hc-all-title img { width: 24px; height: 24px; }
.hc-all-hint.is-tap { display: block; }
.hc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 0; }
/* the faint rules for two columns: a line over every tile below the first row, one left of every right-hand tile */
.hc-grid > .hc-slide { border: 0; padding: 8px 4px 10px; }
.hc-grid > .hc-slide:nth-child(n+3) { border-top: 1px solid var(--hc-rule); }
.hc-grid > .hc-slide:nth-child(2n) { border-left: 1px solid var(--hc-rule); }
.hc-grid .hc-name { font-size: 12.5px; margin-bottom: 2px; gap: 4px; letter-spacing: -0.1px; }
.hc-grid .hc-name .pg-tag { font-size: 7px; padding: 1px 4px; }
.hc-grid .hc-line { display: none; }
/* nine in two columns: the last (Every Update, Free) closes the view across both, never alone on half a row */
.hc-grid > .hc-slide:last-child { grid-column: 1 / -1; }
.hc-grid .lcf-live { font-size: 9px; padding: 3px 8px; }

/* The Hall of Fame: one row that swipes, each card most of the screen */
.hf-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; margin: 0 calc(var(--pg-gutter) * -1); padding-left: var(--pg-gutter); padding-right: var(--pg-gutter); scroll-padding: 0 var(--pg-gutter); }
.hf-card { scroll-snap-align: start; }
.hf-actions { margin-top: 18px; }

.pg-section { padding: 40px var(--pg-gutter); }
.pg-head { margin-bottom: 20px; }
.pg-cards-3, .pg-steps, .pg-stakes, .pg-faq { grid-template-columns: minmax(0, 1fr); }

/* The guide: the photo on its arch, then the words */
.pg-guide { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 32px; }
.pg-guide-photo::before { left: 50%; right: auto; width: 270px; margin-left: -135px; }
.pg-guide-photo img { width: 250px; }
.pg-guide-copy { padding-bottom: 40px; }
.pg-said p { font-size: 16.5px; }

/* Features: words first, then the picture */
.pg-feature, .pg-feature.is-flip { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.pg-feature.is-flip > .pg-feature-copy { order: 0; }
/* The carousels: the screen full width, the tabs a row of numbers, the open one's words under them */
.pg-show-head { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 18px; }
.pg-car { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pg-car-device { padding: 0 4px 4px; border-radius: 12px; }
.pg-car-chrome { padding: 6px 4px; }
.pg-car-chrome em { font-size: 10.5px; }
.pg-car-tabs { flex-direction: row; flex-wrap: wrap; gap: 6px; }
.pg-car-tab { width: auto; grid-template-columns: 28px; padding: 7px 8px 9px; border-radius: 10px; }
.pg-car-text { display: none; }
.pg-car-cap { display: flex; flex-direction: column; gap: 3px; }
.pg-car-cap strong { font-family: var(--pg-head); font-weight: 700; font-size: 17px; color: var(--pg-ink); }
.pg-car-cap span { font-size: 15px; line-height: 1.45; color: var(--pg-soft); }
.pg-ck-num { font-size: 44px; }
.pg-courses { grid-template-columns: minmax(0, 1fr); }
.pg-course { display: block; }
.pg-course .pg-stage-mark { float: right; width: 56px; margin: -6px 0 0 10px; }
.pg-units { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
.pg-mc-art { grid-template-columns: minmax(0, 1fr); }
.pg-stage-rig { max-width: 250px; margin: 0 auto; }

/* The close: the photo smaller, beside the sign-off */
.pg-close-inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
.pg-close-photo { display: none; }
.pg-close-copy { padding: 40px 0 44px; }
.pg-close-title { font-size: 31px; }
.pg-close-sub { font-size: 16px; }

}


/* === program/lc-phone.css === */

/* linked under (max-width: 760px) in the mockup; the query carried into the bundle */
@media (max-width: 760px) {
/* THE LIVE CLASS SECTION on a phone held upright (linked with media="(max-width: 760px)", so no query here).
 * The section is the whole screen: the title, the stage (the most of it) and the one step on stage under it, with its
 * dots. Each part's own phone places are its own file (lc-practice-phone, lc-notes-phone, lc-calc-phone,
 * lc-compete-phone, lc-watch-phone.css); this file is the frame. */

/* ONE SCREEN, no pin (Anderson, 2026-11-22: "left-right swiping, not up-down"): an up-down swipe scrolls the page past
 * the section; a left-right swipe on the stage, or a dot, changes the part (js/lc-stage.js). */
.lc { height: auto; }
.lc-pin {
  position: relative; height: var(--lc-h);
  display: flex; flex-direction: column; gap: 10px; align-items: stretch;
  padding: 14px var(--pg-gutter) 12px;
}
.lc-stage { touch-action: pan-y; }
.lc-copy { display: contents; }
.lc-copy > .pg-eyebrow { order: 0; margin: 0; }
.lc-title { order: 1; font-size: 22px; margin: 0; }
.lc-stage { order: 2; flex: 1 1 auto; min-height: 0; height: auto; }
.lc-steps { order: 3; display: block; min-height: 96px; }
.lc-steps li { display: none; }
.lc-steps li:has(.is-on) { display: block; }
.lc-step, .lc-step.is-on { padding: 10px 4px 0; opacity: 1; background: none; border: 0; box-shadow: none; }
.lc-step-t strong { font-size: 16px; }
.lc-step-t > span { font-size: 14px; }
.lc-num { width: 26px; height: 26px; font-size: 13px; }

.lc-canvas { aspect-ratio: auto; height: 100%; border-radius: 20px; }
/* the dots are buttons: each one a 28 px target around a small dot */
.lc-dots { display: flex; position: absolute; left: 0; right: 0; bottom: -2px; justify-content: center; gap: 0; transform: translateY(100%); }
.lc-dots button { width: 28px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.lc-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--pg-line); transition: width .25s, background .25s; }
.lc-dots button.is-on::before { background: var(--pg-ink); width: 18px; }
.lc-pause { right: 10px; bottom: 10px; width: 30px; height: 30px; }

/* the class page as the phone draws it */
.lc-room-bar { height: 9cqh; padding: 0 4cqw; gap: 2.4cqw; font-size: 4cqw; }
.lc-room-bar img { width: 6cqw; height: 6cqw; }
.lc-live { font-size: 3.2cqw; gap: 1.4cqw; }
.lc-live i { width: 2.2cqw; height: 2.2cqw; }
.lc-tap { width: 10cqw; height: 10cqw; margin: -5cqw 0 0 -5cqw; border-width: .8cqw; }

}


/* === program/lc-practice-phone.css === */

/* linked under (max-width: 760px) in the mockup; the query carried into the bundle */
@media (max-width: 760px) {
/* THE LIVE CLASS SECTION, PART 1 on a phone held upright (linked with media="(max-width: 760px)", so no query here).
 * The canvas is tall: the try fills it, the figure over the question; then Coach top left pointing at the work beside
 * him, standing on the board (the board's top edge hides where his photo is cut), the board the screen's width, the
 * student's answer under it. */

.lc-p1-try { left: 3cqw; right: 3cqw; top: 11cqh; bottom: 3cqh; padding: 4cqw; gap: 2cqh; border-radius: 4.4cqw; }
.lc-p1-top { gap: 2cqw; flex-wrap: wrap; }
.lc-p1-num { font-size: 3cqw; }
.lc-p1-goal { font-size: 3cqw; padding: 1.2cqw 2.2cqw; }
.lc-p1-timer { width: 100%; margin-left: 0; gap: 2.4cqw; }
.lc-p1-bar { height: 2.2cqw; }
.lc-p1-t { font-size: 4.2cqw; }
.lc-p1-body { display: flex; flex-direction: column-reverse; justify-content: center; gap: 2.4cqh; }
.lc-p1-fig { width: auto; max-width: 70cqw; height: 24cqh; max-height: none; margin: 0 auto; }
.lc-p1-ask { gap: 2.4cqh; width: 100%; }
.lc-p1-text { font-size: 5.2cqw; text-align: center; }
.lc-p1-ch { gap: 2.4cqw; }
.lc-p1-ch li { padding: 2.6cqw 3cqw; gap: 2.6cqw; border-radius: 3cqw; border-width: .45cqw; font-size: 5.6cqw; }
.lc-p1-ch li > b { width: 8cqw; height: 8cqw; font-size: 3.8cqw; }
.lc-p1-ch li.is-picked { box-shadow: 0 0 0 .7cqw var(--pg-gold); }
.lc-p1-foot { gap: 2.4cqw; }
.lc-p1-submit, .lc-p1-locked { padding: 2.6cqw 5cqw; font-size: 4.2cqw; }

/* the entrance: the mark over the words, the band the screen's width */
.lc-p1-band { flex-direction: column; gap: 2.4cqh; padding: 5cqh 6cqw; }
.lc-p1-band-mark { width: 22cqw; height: 22cqw; padding: 4cqw; }
.lc-p1-band-t { justify-items: center; gap: 1.6cqw; text-align: center; }
.lc-p1-band-t em { font-size: 3cqw; }
.lc-p1-band-t b { font-size: 12cqw; }
.lc-p1-band-t i { font-size: 4cqw; }

/* Coach top left, his finger short of the work beside him; his cut hidden under the board's top edge */
.lc-p1-coach { --h: 33cqh; --ax: 13cqw; top: 14.5cqh; }
.lc-p1-coach img[data-pose="2"] { --ax: 15cqw; --h: 31cqh; }   /* both hands: his other hand inside the edge, his finger short of the steps */
.lc-p1-board { left: 3cqw; right: 3cqw; width: auto; top: 47.5cqh; z-index: 5; border-radius: 3cqw; border-width: .7cqw; }
.lc-p1-shots { border-radius: 2.3cqw; }
.lc-p1-live { left: 3cqw; padding: 1.3cqw 2.2cqw; gap: 1.2cqw; border-radius: 1.6cqw; font-size: 2.9cqw; }
.lc-p1-live i { width: 1.8cqw; height: 1.8cqw; }
.lc-p1-ff { right: 3cqw; padding: 1.3cqw 2.2cqw; gap: 1.2cqw; border-radius: 1.6cqw; font-size: 2.7cqw; }
.lc-p1-ff svg { width: 3cqw; height: 3cqw; }
.lc-p1-scrub { height: 1.4cqw; }

.lc-p1-steps { left: 52cqw; right: 3cqw; top: 11.5cqh; bottom: auto; height: 33cqh; }
.lc-p1-eye { font-size: 2.4cqw; letter-spacing: .08em; white-space: nowrap; margin-bottom: 1.2cqh; }
.lc-p1-steps ol { gap: 1.2cqh; }
.lc-p1-steps li { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1cqw; padding: 0 2.6cqw; border-radius: 2.6cqw; }
.lc-p1-steps em { width: auto; font-size: 2.3cqw; }
.lc-p1-steps b { font-size: 4cqw; }

/* the answer card clear of the pause button in the corner */
.lc-p1-mine { left: 3cqw; right: 13cqw; width: auto; top: auto; bottom: 2.5cqh; height: 16cqh; padding: 2.4cqw 3.4cqw; gap: 1cqh; border-radius: 3.6cqw; }
.lc-p1-mine-top { min-height: 7cqw; }
.lc-p1-mini { grid-template-columns: repeat(4, 1fr); gap: 1.6cqw; }
.lc-p1-mini li { justify-content: center; gap: 1.2cqw; padding: 0; border-radius: 2.2cqw; border-width: .4cqw; font-size: 3.8cqw; }
.lc-p1-mini b { width: 5.4cqw; height: 5.4cqw; font-size: 2.6cqw; }
.lc-p1-mini li.is-picked { box-shadow: 0 0 0 .6cqw var(--pg-gold); }
.lc-p1-ok { padding: 1.4cqw 2.6cqw; gap: 1.4cqw; font-size: 3.6cqw; }
.lc-p1-ok [data-mark] { width: 4.4cqw; height: 4.4cqw; }

}


/* === program/lc-notes-phone.css === */

/* linked under (max-width: 760px) in the mockup; the query carried into the bundle */
@media (max-width: 760px) {
/* THE LIVE CLASS SECTION, PART 2 on a phone held upright (linked with media="(max-width: 760px)", so no query here).
 * The notes the screen's width at the top; the pages' thumbnails go (the page count in the notes' bar says it); the
 * Cheat Sheet under them, its four sections two by two. */

.lc-p2-notes { left: 3cqw; right: 3cqw; width: auto; top: 11cqh; border-radius: 3.4cqw; }
.lc-p2-notes-top { gap: 2cqw; padding: 2.2cqw 3cqw; }
.lc-p2-tag { font-size: 2.4cqw; padding: 1.1cqw 2cqw; }
.lc-p2-notes-top b { font-size: 3.6cqw; }
.lc-p2-pg { font-size: 2.8cqw; }
.lc-p2-ring { border-radius: 2cqw; box-shadow: 0 0 0 .9cqw var(--pg-gold), 0 0 5cqw rgba(253, 204, 5, .55); }
.lc-p2-thumbs { display: none; }

/* the sheet takes the whole stage once the notes step aside (js/lc-notes.js), clear of the pause button */
.lc-p2-sheet { left: 3cqw; right: 3cqw; top: 11cqh; bottom: 8cqh; border-radius: 3.4cqw; border-width: .5cqw; }
.lc-p2-sheet-top { gap: 2cqw; padding: 2.2cqw 3cqw; }
.lc-p2-sheet-icon { width: 4.6cqw; height: 4.6cqw; }
.lc-p2-sheet-top b { font-size: 4cqw; }
.lc-p2-sheet-top b, .lc-p2-sheet-top em { white-space: nowrap; }
.lc-p2-sheet-sub { display: none; }
.lc-p2-sheet-top em { font-size: 2.4cqw; padding: 1.1cqw 2cqw; }
.lc-p2-secs { grid-template-columns: 1.15fr 1fr; grid-auto-rows: 1fr; padding: 2.4cqw; gap: 2cqw; }
/* each section's words centred in its cell and set large: the cell is the screen's quarter */
.lc-p2-secs > li { gap: 1.2cqh; padding: 3cqw; border-radius: 2.4cqw; justify-content: center; }
.lc-p2-n { width: 6.4cqw; height: 6.4cqw; font-size: 3.2cqw; }
.lc-p2-secs > li > b { font-size: 4.3cqw; }
.lc-p2-f { font-size: 4.9cqw; }
.lc-p2-secs small { font-size: 3.4cqw; }
.lc-p2-facts { gap: 1.4cqh; }
.lc-p2-facts dt { font-size: 3.3cqw; }
.lc-p2-facts dd { font-size: 4.3cqw; }

}


/* === program/lc-calc-phone.css === */

/* linked under (max-width: 760px) in the mockup; the query carried into the bundle */
@media (max-width: 760px) {
/* THE LIVE CLASS SECTION, PART 3 on a phone held upright (linked with media="(max-width: 760px)", so no query here).
 * The round the screen's width on top; the night's rounds under it, the bars shorter. */

.lc-p3-round { left: 3cqw; right: 3cqw; width: auto; top: 11cqh; bottom: auto; height: 45cqh; padding: 4cqw; gap: 2cqh; border-radius: 3.6cqw; }
.lc-p3-top { gap: 2cqw; }
.lc-p3-tag { font-size: 2.3cqw; padding: 1.1cqw 2cqw; }
.lc-p3-top b { font-size: 4.2cqw; }
.lc-p3-clock { font-size: 4cqw; padding: 1.4cqw 2.4cqw; border-radius: 2cqw; }
.lc-p3-line { height: 16cqw; margin: 0 7cqw; }
.lc-p3-line::before, .lc-p3-fill { top: 9cqw; height: 2.2cqw; }
.lc-p3-mk { width: 14cqw; margin-left: -7cqw; }
.lc-p3-mk [data-mark] { width: 11.5cqw; height: 11.5cqw; }
.lc-p3-mk em { font-size: 2.6cqw; margin-top: .6cqw; }
.lc-p3-q { font-size: 15cqw; }
.lc-p3-eq { font-size: 10cqw; }
.lc-p3-a { min-width: 24cqw; font-size: 11cqw; min-height: 17cqw; border-width: .6cqw; border-radius: 3cqw; }
.lc-p3-count { font-size: 4cqw; }
.lc-p3-count b { font-size: 7.4cqw; }
/* under the marks line (it covered the line's foot and the marks poked over its top edge) down to the round's foot */
.lc-p3-all { left: 4cqw; right: 4cqw; top: 40%; bottom: 3%; border-radius: 3.6cqw; }
.lc-p3-all-t em { font-size: 2.6cqw; }
.lc-p3-all-t b { font-size: 8cqw; }
.lc-p3-all-t small { font-size: 3cqw; }

.lc-p3-rounds { left: 3cqw; right: 3cqw; top: 58cqh; bottom: 8cqh; padding: 3.4cqw; border-radius: 3.6cqw; --u: .78cqh; --lab: 4.8cqh; }
.lc-p3-rounds .lc-p1-eye { margin-bottom: .6cqh; }
.lc-p3-chart { gap: 3cqw; padding-left: 6cqw; }
.lc-p3-rule em { font-size: 2.3cqw; top: -3cqw; }
.lc-p3-ms { height: 5cqw; margin-bottom: .4cqh; }
.lc-p3-ms [data-mark] { width: 4.6cqw; height: 4.6cqw; }
.lc-p3-col b { margin-top: .5cqh; font-size: 4.4cqw; }
.lc-p3-col em { font-size: 2.2cqw; }
.lc-p3-sum { display: none; }

}


/* === program/lc-compete-phone.css === */

/* linked under (max-width: 760px) in the mockup; the query carried into the bundle */
@media (max-width: 760px) {
/* THE LIVE CLASS SECTION, PART 4 on a phone held upright (linked with media="(max-width: 760px)", so no query here).
 * The board the screen's width and most of its height; the tabs across; the ladder at its foot. */

.lc-p4-board { left: 3cqw; right: 3cqw; top: 11cqh; bottom: 8cqh; padding: 3.4cqw; --gap: 1.4cqh; border-radius: 3.6cqw; --rh: 8.4cqh; --rg: 1cqh; }
.lc-p4-tabs { align-self: stretch; gap: 1.2cqw; padding: 1cqw; border-radius: 2.6cqw; }
.lc-p4-tabs span { flex: 1; text-align: center; padding: 2.2cqw 1cqw; border-radius: 2cqw; font-size: 3.4cqw; }
.lc-p4-row { gap: 3cqw; padding: 0 3.4cqw; border-radius: 2.6cqw; }
.lc-p4-row img { width: 5cqh; height: 5cqh; }
.lc-p4-pl { width: 5cqw; font-size: 4.6cqw; }
.lc-p4-row span { font-size: 4.2cqw; }
.lc-p4-row em { font-size: 5cqw; }
.lc-p4-gain { font-size: 3.4cqw; }
.lc-p4-ladder { gap: 1.6cqw; justify-content: space-between; }
.lc-p4-step { gap: 1.4cqw; padding: 1.8cqw 2.4cqw; font-size: 3.2cqw; }
.lc-p4-step i { width: 2.6cqw; height: 2.6cqw; }
.lc-p4-arrow { max-width: 5cqw; }
.lc-p4-up { width: 86cqw; gap: 1.6cqh; padding: 6cqw 4cqw; border-radius: 4cqw; }
.lc-p4-up-eye { font-size: 2.8cqw; }
.lc-p4-up-badge { width: 28cqw; height: 28cqw; padding: 1.4cqw; }
.lc-p4-up-t { font-size: 4.6cqw; }
.lc-p4-up-t b { font-size: 10cqw; }
.lc-p4-up-next { font-size: 3.2cqw; padding: 1.4cqw 3cqw; }

}


/* === program/lc-watch-phone.css === */

/* linked under (max-width: 760px) in the mockup; the query carried into the bundle */
@media (max-width: 760px) {
/* THE LIVE CLASS SECTION, PART 5 on a phone held upright (linked with media="(max-width: 760px)", so no query here).
 * The library a screen's width, the cards one a row; then each replay takes the whole stage, one after the other
 * (js/lc-watch.js plays them in turn on a phone). Every size in --u (lc-watch.css, 2026-11-23): here the smaller of a
 * width share and the replay card's own height (89cqh less its foot, clear of the pause) times the share that fit on a
 * 390x844 phone, less 3%, so a short phone (an iPhone SE) draws it all smaller instead of past its card. */

.lc-canvas { --p5-foot: max(4cqh, 54px); --u: min(1cqw, calc((89cqh - var(--p5-foot)) * .0067)); }

.lc-p5-lib { bottom: 4cqh; padding: calc(3.4 * var(--u)); gap: 1.4cqh; border-radius: calc(3.6 * var(--u)); }
.lc-p5-top b { font-size: calc(4.6 * var(--u)); }
/* the two filters stacked, each the panel's width (the unit's name is long) */
.lc-p5-filters { flex-direction: column; gap: calc(1.6 * var(--u)); }
.lc-p5-sel { min-width: 0; gap: calc(2 * var(--u)); padding: calc(2.2 * var(--u)) calc(2.8 * var(--u)); border-radius: calc(2.4 * var(--u)); }
.lc-p5-sel em { font-size: calc(2.3 * var(--u)); flex: none; }
.lc-p5-sel b { font-size: calc(3.2 * var(--u)); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lc-p5-sel > i { flex: none; width: calc(1.8 * var(--u)); height: calc(1.8 * var(--u)); border-width: calc(.5 * var(--u)); }
.lc-p5-menu { top: calc(100% + 1.2 * var(--u)); padding: calc(1.2 * var(--u)); border-radius: calc(2.4 * var(--u)); }
.lc-p5-menu span { padding: calc(1.5 * var(--u)) calc(2.2 * var(--u)); border-radius: calc(1.6 * var(--u)); font-size: calc(3.1 * var(--u)); }
.lc-p5-menu span.is-hover { box-shadow: inset calc(.8 * var(--u)) 0 0 var(--pg-gold); }

/* four cards, two by two (the fifth and sixth cells are the laptop's); the grid's width in --u, as on a laptop */
.lc-p5-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(2.4 * var(--u)); width: min(100%, calc(90 * var(--u))); }
.lc-p5-card.is-s2 { grid-area: 2 / 1; } .lc-p5-card.is-s3 { grid-area: 2 / 2; }
.lc-p5-card.is-s4, .lc-p5-card.is-s5 { display: none; }
.lc-p5-card { border-radius: calc(2.6 * var(--u)); }
.lc-p5-card.is-match { box-shadow: 0 0 0 calc(.9 * var(--u)) var(--pg-gold), 0 calc(3 * var(--u)) calc(7 * var(--u)) rgba(180, 83, 9, .28); }
.lc-p5-thumb em { right: calc(1.4 * var(--u)); bottom: calc(1.4 * var(--u)); padding: calc(.8 * var(--u)) calc(1.4 * var(--u)); border-radius: calc(1.2 * var(--u)); font-size: calc(2.3 * var(--u)); }
.lc-p5-meta { gap: calc(1 * var(--u)); padding: calc(2 * var(--u)) calc(2.2 * var(--u)) calc(2.4 * var(--u)); }
.lc-p5-meta i { font-size: calc(2.2 * var(--u)); }
.lc-p5-meta b { font-size: calc(3.3 * var(--u)); }
.lc-p5-meta small { font-size: calc(2.4 * var(--u)); }

/* each replay the whole stage */
.lc-p5-try, .lc-p5-full { left: 3cqw; right: 3cqw; width: auto; top: 11cqh; bottom: var(--p5-foot); padding: calc(4 * var(--u)); gap: 1.6cqh; border-radius: calc(3.6 * var(--u)); }
.lc-p5-head { gap: 1.2cqh; }
.lc-p5-pill { font-size: calc(2.6 * var(--u)); padding: calc(1.4 * var(--u)) calc(2.8 * var(--u)); }
.lc-p5-head b { font-size: calc(5.4 * var(--u)); }

.lc-p5-q { padding: calc(3.4 * var(--u)); gap: 1.4cqh; border-radius: calc(3 * var(--u)); }
.lc-p5-q-top span { font-size: calc(2.6 * var(--u)); }
.lc-p5-q-top em { font-size: calc(2.6 * var(--u)); padding: calc(1.1 * var(--u)) calc(2.2 * var(--u)); }
/* the figure beside the question (stacked over it, the card ran the goal off the stage: pass 1) */
.lc-p5-q-body { gap: calc(3 * var(--u)); }
.lc-p5-fig { width: calc(25 * var(--u)); }
.lc-p5-ask { gap: 1.2cqh; }
.lc-p5-ask p { font-size: calc(3.5 * var(--u)); }
.lc-p5-ch { gap: calc(1.6 * var(--u)); }
.lc-p5-ch li { gap: calc(1.4 * var(--u)); padding: calc(1.5 * var(--u)) calc(1.6 * var(--u)); border-radius: calc(2 * var(--u)); border-width: calc(.45 * var(--u)); font-size: calc(3.6 * var(--u)); }
.lc-p5-ch li b { width: calc(5 * var(--u)); height: calc(5 * var(--u)); font-size: calc(2.5 * var(--u)); }
.lc-p5-right { right: calc(3 * var(--u)); top: calc(-3 * var(--u)); gap: calc(1.4 * var(--u)); padding: calc(1.4 * var(--u)) calc(2.6 * var(--u)); font-size: calc(3.2 * var(--u)); }
.lc-p5-right [data-mark] { width: calc(3.6 * var(--u)); height: calc(3.6 * var(--u)); }

.lc-p5-sol { gap: calc(3.4 * var(--u)); }
.lc-p5-sol-pic { width: calc(42 * var(--u)); border-radius: calc(2.4 * var(--u)); border-width: calc(.5 * var(--u)); }
.lc-p5-play { width: calc(9 * var(--u)); height: calc(9 * var(--u)); margin: calc(-4.5 * var(--u)) 0 0 calc(-4.5 * var(--u)); }
.lc-p5-play::after { left: calc(3.5 * var(--u)); top: calc(2.5 * var(--u)); border-left-width: calc(3.2 * var(--u)); border-top-width: calc(2 * var(--u)); border-bottom-width: calc(2 * var(--u)); }
.lc-p5-sol-t em { font-size: calc(2.4 * var(--u)); }
.lc-p5-sol-t b { font-size: calc(4 * var(--u)); }
.lc-p5-sol-t small { font-size: calc(3 * var(--u)); }

.lc-p5-goal { gap: calc(3 * var(--u)); padding: calc(3.2 * var(--u)) calc(3.4 * var(--u)); border-radius: calc(3 * var(--u)); margin-top: calc(2.4 * var(--u)); }
.lc-p5-chip { width: calc(10 * var(--u)); height: calc(10 * var(--u)); font-size: calc(4 * var(--u)); }
.lc-p5-goal-main p { font-size: calc(2.6 * var(--u)); }
.lc-p5-goal-main > b { font-size: calc(3.8 * var(--u)); }
.lc-p5-gbar { height: calc(2.2 * var(--u)); }
.lc-p5-done { right: calc(3 * var(--u)); top: calc(-3.4 * var(--u)); font-size: calc(2.9 * var(--u)); padding: calc(1.5 * var(--u)) calc(2.8 * var(--u)); }

.lc-p5-vid { width: min(100%, calc(95 * var(--u))); border-radius: calc(2.6 * var(--u)); border-width: calc(.6 * var(--u)); }
.lc-p5-tagrec { left: calc(2 * var(--u)); bottom: calc(4.4 * var(--u)); font-size: calc(2.4 * var(--u)); padding: calc(1.1 * var(--u)) calc(2.2 * var(--u)); gap: calc(1.2 * var(--u)); }
.lc-p5-tagrec::before { border-left-width: calc(2 * var(--u)); border-top-width: calc(1.2 * var(--u)); border-bottom-width: calc(1.2 * var(--u)); }
.lc-p5-skip { right: calc(2 * var(--u)); bottom: calc(4.6 * var(--u)); font-size: calc(3 * var(--u)); padding: calc(1.8 * var(--u)) calc(2.8 * var(--u)); gap: calc(1.4 * var(--u)); }
.lc-p5-skip i { width: calc(1.8 * var(--u)); height: calc(1.8 * var(--u)); border-width: calc(.6 * var(--u)); }
.lc-p5-scrub { height: calc(1.8 * var(--u)); }
.lc-p5-toc { gap: calc(1.6 * var(--u)); }
.lc-p5-toc li { padding: calc(2 * var(--u)) calc(2.2 * var(--u)); border-radius: calc(2 * var(--u)); font-size: calc(2.9 * var(--u)); gap: calc(1.6 * var(--u)); }
.lc-p5-toc li b { font-size: calc(3 * var(--u)); }
.lc-p5-chatbox { padding: calc(2.6 * var(--u)); gap: 1.2cqh; border-radius: calc(2.6 * var(--u)); }
.lc-p5-chat-h { font-size: calc(2.4 * var(--u)); }
.lc-p5-chat { gap: 1.1cqh; }
.lc-p5-chat li { gap: calc(2.4 * var(--u)); }
.lc-p5-chat img { width: calc(8 * var(--u)); height: calc(8 * var(--u)); }
.lc-p5-chat span { font-size: calc(3.5 * var(--u)); }
.lc-p5-chat b { font-size: calc(2.8 * var(--u)); }

}


/* === program/wall-phone.css === */

/* linked under (max-width: 760px) in the mockup; the query carried into the bundle */
@media (max-width: 760px) {
/* THE SWEARING-IN WALL on a phone (linked with media="(max-width: 760px)", so this file holds no query):
   smaller frames in the drifting rows. */
:root { --wall-h: 128px; }
.wall { margin-top: 34px; }
.wall-line { font-size: 14.5px; padding: 0 8px; }
.wall-frame { padding: 5px; }
.wall-mat { padding: 6px; }
.wall-row { padding: 16px 0; }
.wall-track .wall-frame { margin-right: 18px; }
.wall-every { padding: 54px 12px 16px; }
.wall-every-head .wall-x { position: fixed; top: 12px; right: 12px; }
.wall-every-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }

/* the lockup at a phone's size: the head's fits 358 px, the overlays' sit under the Close button */
.hof { --hof-s: 0.52; }
.hof.is-moment { --hof-s: 0.46; }
.hof.is-every { --hof-s: 0.42; }
.hf-lockup { margin-bottom: 12px; }

/* a student opened, on a phone: the lockup under Close, the photo as large as the screen allows, the plate and
   arrows in one row */
.wm { padding: 56px 10px 18px; }
.wm-x { top: 12px; right: 12px; }
.wm-photo {
  max-width: 88vw; max-height: calc(100dvh - 260px); border-width: 8px;
  box-shadow: 0 0 0 6px var(--wall-frame), 0 0 0 8px var(--pg-gold), 0 20px 44px rgba(0, 0, 0, 0.6);
}
.wm-row { gap: 10px; }
.wm-plate { min-width: 0; padding: 9px 18px 8px; }
.wm-plate span { font-size: 21px; }
.wm-step { width: 42px; height: 42px; font-size: 26px; }

}


/* === program/guide-phone.css === */

/* linked under (max-width: 760px) in the mockup; the query carried into the bundle */
@media (max-width: 760px) {
/* The guide on a phone: linked with media="(max-width: 760px)", so this file holds no query. The photo column is
 * the whole width; the facts are narrower and sit closer to his head, still clear of his face. */
.pg-guide { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.gd-stage { min-height: 0; }
.gd-pop { width: 112px; gap: 5px; top: 13%; --gd-drop: 150px; --gd-axis: 6px; }
/* the slot's 62 px from the middle plus half the fact's width at 0.3 (guide.css says why) */
.gd-pop[data-slot="L"] { right: calc(50% + 62px); --gd-home: calc(78.8px + var(--gd-axis)); }
.gd-pop[data-slot="R"] { left: calc(50% + 62px); --gd-home: calc(-78.8px + var(--gd-axis)); }
.gd-ico { width: 22px; height: 22px; }
.gd-pop .gd-mark { width: 28px; height: 28px; }
.gd-pop.is-also { gap: 5px; }
.gd-also-marks { gap: 4px; }
.gd-pop.is-also .gd-mark { width: 26px; height: 26px; }
.gd-pop.is-also .gd-mark.is-ged i { font-size: 7px; padding: 0 3px; right: -4px; bottom: -3px; }
.gd-pop-t b { font-size: 12px; }
.gd-pop-t em { font-size: 10.5px; }
.gd-badges { gap: 8px; }
.gd-badge { padding: 5px 12px 5px 5px; gap: 8px; }
.gd-badge .gd-mark { width: 32px; height: 32px; }
.gd-badge-name { font-size: 13px; }
.gd-card { width: min(260px, calc(100vw - 32px)); }

}


/* === program/courses-phone.css === */

/* linked under (max-width: 760px) in the mockup; the query carried into the bundle */
@media (max-width: 760px) {
/* THE COURSES on a phone (linked with media="(max-width: 760px)", so no query here): two cards a row for the AFQT four,
 * one a row for the job openers, the Math Basics strip stacked. */

.cs-group-head .pg-h3 { font-size: 21px; }
.cs-group-head p { font-size: 14px; }
.cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cs-grid-2 { grid-template-columns: minmax(0, 1fr); }
.cs-card-pic { padding: 10px 10px 4px; }
.cs-card-body { padding: 10px 12px 14px; gap: 6px; }
.cs-card h4 { font-size: 14.5px; }
.cs-pain { font-size: 13.5px; }
.cs-fix { font-size: 13px; }
.cs-win { font-size: 13px; padding-left: 20px; }
.cs-link { font-size: 13px; }
.cs-grid-2 .cs-card-pic { width: 40%; }
.cs-start { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
.cs-start-copy h3 { font-size: 17px; }
.cs-start-copy p { font-size: 14px; }

}


/* === program/page-tablet.css === */

/**
 * The ASVAB Program page: A TABLET HELD UPRIGHT (2026-11-22, the move into the site; the mockup knew only a laptop
 * and a phone). An iPad upright (820 wide) takes the laptop's layout, where four cards across left a student's name
 * three words to a line and the course cards' words a word or two a line. Two across on a tablet held upright.
 */
@media (min-width: 761px) and (max-width: 1024px) and (orientation: portrait) {
  .hf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* === program/page-landscape.css === */

/**
 * The ASVAB Program page: A PHONE HELD SIDEWAYS (2026-11-22, the move into the site; the mockup knew only a laptop
 * and a phone held upright). A landscape phone is wider than the phone tier (760), so it takes the laptop's layout on
 * a screen about 390 tall: the hero's words were sized for 900, the headline filled the screen and its button fell
 * below it. Keyed on HEIGHT (CODING_PARADIGM §10): the laptop's layout, set for a short screen.
 */
@media (max-height: 500px) and (orientation: landscape) {
  .pg-hero { padding: 18px var(--pg-gutter) 22px; gap: 24px; }
  .pg-hero .pg-eyebrow { margin-bottom: 6px; }
  .pg-title { font-size: 30px; letter-spacing: -0.6px; margin-bottom: 10px; }
  .pg-sub { font-size: 14.5px; line-height: 1.45; margin-bottom: 14px; }
  .pg-hero .pg-btn-lg { padding: 11px 18px; font-size: 14.5px; }
  .pg-h2 { font-size: 27px; }
  .pg-h3 { font-size: 22px; }
  .pg-section { padding-top: 36px; padding-bottom: 36px; }
  /* the course carousel set the hero's height: its name and picture sized for the short screen, the copy at the top */
  .pg-hero { align-items: start; }
  .hc-name { font-size: 24px; }
  .hc-art { max-height: 150px; }
  .hc-line { margin-top: 6px; font-size: 13.5px; }
}
