
/* =========================================
   MAISON BELLE — STYLIST ACADEMY
   Designed by BraxMOV Learning Studio
   ========================================= */

/* DESIGN SYSTEM */

:root {
    --wine: #722f37;
    --burgundy: #501629;
    --deep-wine: #35101f;
    --gold: #d4af37;
    --light-gold: #f1d98b;
    --blush: #fff0f2;
    --rose: #efd4da;
    --ivory: #fffbf5;
    --white: #ffffff;
    --text: #382630;
    --muted: #705960;
    --border: #e7d6da;

    --success: #236443;
    --success-bg: #eaf6ed;
    --error: #9e263b;
    --error-bg: #fff0f1;

    --font-display: Georgia, "Times New Roman", serif;
    --font-body: Arial, Helvetica, sans-serif;

    --radius: 16px;
    --shadow: 0 10px 35px rgba(80, 22, 41, 0.07);
}

/* RESET */

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--burgundy);
}

h1,
h2 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
    font-size: 1.05rem;
}

p {
    color: var(--muted);
}

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

/* ACCESSIBILITY */

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 1000;
    padding: 12px 20px;
    background: var(--burgundy);
    color: var(--white);
    border: 2px solid var(--gold);
}

.skip-link:focus {
    top: 16px;
}

:focus-visible {
    outline: 3px solid var(--wine);
    outline-offset: 4px;
    box-shadow: 0 0 0 6px var(--white);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* HEADER */

.topbar {
    min-height: 86px;
    padding: 18px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--burgundy);
    border-bottom: 3px solid var(--gold);
    color: var(--white);
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-monogram {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: 1px solid var(--gold);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--light-gold);
}

.brand-name {
    display: block;
    font-family: var(--font-display);
    font-size: 23px;
    letter-spacing: 3px;
    color: var(--light-gold);
}

.brand-label {
    display: block;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--white);
}

.header-label {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* COURSE LAYOUT */

.course-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    min-height: calc(100vh - 86px);
}

.sidebar {
    background: var(--white);
    border-right: 1px solid var(--border);
    padding: 34px 22px;
}

.sidebar-heading h2 {
    font-size: 27px;
    margin: 12px 0 8px;
}

.sidebar-heading p {
    font-size: 13px;
}

.eyebrow {
    display: block;
    color: var(--wine);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* PROGRESS */

.progress-container {
    margin: 30px 0;
}

.progress-details {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

.progress-details strong {
    color: var(--wine);
}

progress {
    display: block;
    width: 100%;
    height: 8px;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: var(--rose);
    accent-color: var(--wine);
}

progress::-webkit-progress-bar {
    background: var(--rose);
}

progress::-webkit-progress-value {
    background: var(--wine);
    border-radius: 20px;
}

progress::-moz-progress-bar {
    background: var(--wine);
}

/* LESSON NAVIGATION */

.lesson-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lesson-list li {
    margin-bottom: 7px;
}

.lesson-link {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    text-align: left;
    font-size: 13px;
    line-height: 1.5;
    transition: background 0.2s ease;
}

.lesson-number {
    font-family: var(--font-display);
    font-size: 19px;
    color: var(--wine);
    flex-shrink: 0;
}

.lesson-link:hover {
    background: var(--blush);
}

.lesson-link.active {
    background: var(--burgundy);
    color: var(--white);
    border-left: 4px solid var(--gold);
}

.lesson-link.active .lesson-number {
    color: var(--light-gold);
}

.lesson-link.completed {
    border-right: 3px solid var(--success);
}

.sidebar-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted);
}

.sidebar-footer strong {
    display: block;
    color: var(--wine);
    margin-top: 5px;
}

/* MAIN CONTENT */

main {
    min-width: 0;
    padding: clamp(20px, 4vw, 55px);
}

.lesson-panel {
    max-width: 1100px;
    margin: 0 auto;
    animation: reveal 0.35s ease;
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO */

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(
        135deg,
        #fff0f2,
        #f8dce3
    );
    border: 1px solid var(--rose);
    box-shadow: var(--shadow);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: clamp(28px, 5vw, 65px);
}

.hero h1 {
    margin: 18px 0;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-family: var(--font-display);
    color: var(--wine);
    font-size: 23px;
}

.hero-description {
    max-width: 540px;
    margin-bottom: 28px;
    font-size: 15px;
}

.hero-art {
    min-height: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(
        ellipse at 30% 20%,
        #9a4960,
        #501629 65%,
        #35101f
    );
    color: var(--light-gold);
}

.art-ring {
    position: absolute;
    width: 230px;
    height: 230px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    box-shadow:
        0 0 0 15px rgba(212,175,55,0.08),
        0 0 0 35px rgba(212,175,55,0.05);
}

.art-monogram {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(65px, 8vw, 115px);
    font-style: italic;
    line-height: 1;
    letter-spacing: -10px;
}

.art-caption {
    position: relative;
    margin-top: 20px;
    font-size: 9px;
    letter-spacing: 4px;
}

/* COURSE METADATA */

.course-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 25px 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.meta-item {
    padding: 22px 16px;
    text-align: center;
}

.meta-item + .meta-item {
    border-left: 1px solid var(--border);
}

.meta-item strong {
    display: block;
    font-family: var(--font-display);
    color: var(--burgundy);
    font-size: 25px;
    font-weight: 400;
}

.meta-item span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

/* CONTENT CARDS */

.content-card,
.activity-card,
.instruction-card {
    margin: 24px 0;
    padding: clamp(22px, 4vw, 36px);
    border-radius: var(--radius);
}

.content-card {
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.activity-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold);
    box-shadow: var(--shadow);
}

.instruction-card {
    background: var(--blush);
    border-left: 4px solid var(--wine);
}

.content-card p:last-child,
.instruction-card p:last-child {
    margin-bottom: 0;
}

.lesson-heading {
    padding: 10px 0 5px;
}

.lesson-heading h1 {
    margin: 10px 0 15px;
}

.lesson-heading p {
    font-size: 18px;
}

/* LEARNING OBJECTIVES */

.objective-list {
    padding-left: 24px;
    margin-bottom: 0;
}

.objective-list li {
    padding: 10px 0 10px 5px;
}

.objective-list li::marker {
    color: var(--wine);
}

/* FEATURE CARDS */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card {
    background: var(--ivory);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 12px;
}

.feature-number {
    display: block;
    color: var(--wine);
    font-family: var(--font-display);
    font-size: 35px;
    margin-bottom: 12px;
}

.feature-card p {
    margin: 0;
    font-size: 14px;
}

/* BUTTONS */

.primary-button,
.secondary-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.primary-button {
    background: var(--wine);
    color: var(--white);
    border: 1px solid var(--wine);
    box-shadow: 0 4px 0 var(--gold);
}

.primary-button:hover {
    background: var(--burgundy);
    transform: translateY(-2px);
}

.secondary-button {
    background: var(--white);
    color: var(--wine);
    border: 1px solid var(--wine);
}

.secondary-button:hover {
    background: var(--blush);
}

button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.lesson-actions {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin: 30px 0;
}

/* QUESTIONS AND ANSWERS */

.question {
    border: none;
    margin: 20px 0;
    padding: 0;
    min-width: 0;
}

.question legend {
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 15px;
    padding: 0;
}

.answer-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--ivory);
    cursor: pointer;
    transition: background 0.2s ease;
}

.answer-option:hover {
    background: var(--blush);
}

.answer-option:has(input:checked) {
    background: var(--blush);
    border-color: var(--wine);
    box-shadow: inset 0 0 0 1px var(--wine);
}

.answer-option input {
    accent-color: var(--wine);
    width: 19px;
    height: 19px;
    margin: 4px 0 0;
    flex-shrink: 0;
}

.feedback:empty {
    margin: 0;
    padding: 0;
}

.feedback:not(:empty) {
    margin-top: 20px;
    padding: 18px;
    background: var(--blush);
    border-left: 4px solid var(--wine);
    border-radius: 8px;
}

.feedback.correct {
    background: var(--success-bg);
    color: var(--success);
    border-color: var(--success);
}

.feedback.incorrect {
    background: var(--error-bg);
    color: var(--error);
    border-color: var(--error);
}

/* CLIENT SIMULATION */

.scenario-box {
    padding: 28px;
    margin: 20px 0;
    border-radius: 12px;
    background: var(--blush);
    border-left: 3px solid var(--gold);
}

.scenario-box blockquote {
    margin: 0;
    color: var(--burgundy);
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 30px);
    font-style: italic;
    line-height: 1.4;
}

/* SEQUENCE ACTIVITY */

.sequence-row {
    display: grid;
    grid-template-columns: 1fr 160px;
    align-items: center;
    gap: 15px;
    padding: 17px;
    margin-bottom: 12px;
    background: var(--ivory);
    border: 1px solid var(--border);
    border-radius: 10px;
}

/* FORM INPUTS */

input[type="number"],
select {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    background: var(--white);
    color: var(--text);
    border: 1px solid #a88c94;
    border-radius: 8px;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* FINANCIAL RESULTS */

.earnings-result {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 30px;
    margin: 25px 0;
    background: var(--burgundy);
    color: var(--white);
    border-radius: 12px;
    border-bottom: 3px solid var(--gold);
}

.earnings-result output {
    font-family: var(--font-display);
    font-size: clamp(38px, 6vw, 52px);
    color: var(--light-gold);
}

.earnings-result small {
    color: var(--white);
    font-size: 12px;
}

/* ASSESSMENT */

.assessment-question {
    padding: 25px;
    margin: 20px 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* COMPLETION EXPERIENCE */

.completion-card {
    padding: clamp(30px, 7vw, 75px);
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gold);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.completion-monogram {
    display: grid;
    place-items: center;
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: var(--burgundy);
    color: var(--light-gold);
    border: 3px double var(--gold);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 35px;
}

.score-display {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 30px 0;
    padding: 25px;
    background: var(--blush);
    border-radius: 12px;
}

.score-display strong {
    color: var(--wine);
    font-family: var(--font-display);
    font-size: 60px;
    line-height: 1;
}

/* FOOTER */

.course-footer {
    padding: 25px 20px;
    text-align: center;
    background: var(--deep-wine);
    border-top: 2px solid var(--gold);
}

.course-footer p {
    margin: 5px 0;
    color: var(--white);
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* RESPONSIVE DESIGN */

@media (max-width: 1050px) {

    .course-layout {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .sidebar {
        padding: 28px 15px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 230px;
    }
}

@media (max-width: 760px) {

    .course-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 24px;
    }

    .lesson-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .lesson-link {
        height: 100%;
    }

    .sidebar-footer,
    .header-label {
        display: none;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-label {
        font-size: 9px;
    }

    main {
        padding: 20px;
    }

    .hero-content {
        padding: 30px;
    }

    .meta-item strong {
        font-size: 21px;
    }

    .meta-item span {
        font-size: 11px;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
    }

    .sequence-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {

    .lesson-list {
        grid-template-columns: 1fr;
    }

    .course-meta {
        grid-template-columns: 1fr;
    }

    .meta-item + .meta-item {
        border-left: none;
        border-top: 1px solid var(--border);
    }
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

