:root {
    --background: #fffdf8;
    --surface: #ffffff;

    --navy: #153b55;
    --text: #153b55;
    --text-soft: #5f7585;

    --teal: #33b7ca;
    --teal-dark: #1397ad;
    --teal-light: #e9f8fb;

    --orange: #ff6b2c;
    --orange-light: #fff0e8;

    --lime: #9bd600;
    --lime-light: #f1f9d8;

    --yellow: #ffc900;
    --yellow-light: #fff7cf;

    --line: #dce7ec;
    --shadow: 0 20px 50px rgba(21, 59, 85, 0.1);

    --radius-large: 30px;
    --radius-medium: 22px;
    --radius-small: 14px;

    --container-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    width: min(calc(100% - 40px), var(--container-width));
    margin: 0 auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 248, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.navigation {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    margin-top: -11px;
}

.logo span {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--navy);
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-left: auto;
}

.nav-links a {
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 700;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--teal);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(51, 183, 202, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(51, 183, 202, 0.28);
}

.button-small {
    min-height: 42px;
    padding: 0 20px;
    background: var(--orange);
    box-shadow: 0 10px 22px rgba(255, 107, 44, 0.2);
}

/* HERO */

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 90px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 40px;
}

.secondary-link {
    color: var(--teal-dark);
    font-weight: 700;
    margin-left: 24px;
}

.hero-card {
    position: relative;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.card-label {
    margin: 0;
    color: var(--teal-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sound-bars {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 22px 0;
    border-radius: 22px;
    background: var(--teal-light);
}

.sound-bars span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    animation: dot-pulse 2s ease-in-out infinite;
}

.sound-bars span:nth-child(1) {
    background: var(--orange);
    animation-delay: 0s;
}

.sound-bars span:nth-child(2) {
    background: var(--teal);
    animation-delay: .35s;
}

.sound-bars span:nth-child(3) {
    background: var(--lime);
    animation-delay: .70s;
}

.sound-bars span:nth-child(4) {
    background: var(--yellow);
    animation-delay: 1.05s;
}

.hero-card h2 {
    margin: 0 0 10px;
    font-size: 2.4rem;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.hero-card > p:not(.card-label) {
    margin: 0;
    color: var(--text-soft);
}

.progress-bar {
    height: 8px;
    margin: 28px 0 14px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6ebee;
}

.progress-bar span {
    display: block;
    width: 66%;
    height: 100%;
    border-radius: inherit;
    background: var(--orange);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    color: var(--text-soft);
    font-size: 0.82rem;
}

.card-footer strong {
    color: var(--navy);
}

/* FEATURES */

.features-section {
    padding: 65px 0 130px;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 42px;
}

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

.feature-card {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    background: var(--surface);
}

.feature-card:nth-child(1) {
    background: linear-gradient(
        180deg,
        var(--surface) 0%,
        var(--teal-light) 160%
    );
}

.feature-card:nth-child(2) {
    background: linear-gradient(
        180deg,
        var(--surface) 0%,
        var(--orange-light) 160%
    );
}

.feature-card:nth-child(3) {
    background: linear-gradient(
        180deg,
        var(--surface) 0%,
        var(--lime-light) 160%
    );
}

.feature-number {
    font-size: 1rem;
    font-weight: 800;
}

.feature-card:nth-child(1) .feature-number {
    color: var(--teal);
}

.feature-card:nth-child(2) .feature-number {
    color: var(--orange);
}

.feature-card:nth-child(3) .feature-number {
    color: var(--lime);
}

.feature-card h3 {
    font-size: 2rem;
    line-height: 1.15;
    margin: 12px 0 18px;
    min-height: 4.8rem;
    display: flex;
    align-items: flex-start;
}

.feature-card p {
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.75;
    color: var(--text-soft);
}

/* FOOTER */

.site-footer {
    padding: 34px 0;
    border-top: 1px solid var(--line);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--text-soft);
    font-size: 0.84rem;
}

.footer-content p {
    margin: 0;
}

.footer-logo {
    color: var(--navy);
    font-size: 1rem;
    font-weight: 800;
}

/* MOBILE */

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

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

    .feature-card {
        min-height: 240px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), var(--container-width));
    }

    .navigation {
        min-height: 68px;
    }

    .navigation .button-small {
        display: none;
    }

    .hero-card {
        padding: 24px;
    }

   .lessons-section {
    padding: 65px 0 105px;
}

.features-section {
    padding: 65px 0 130px;
}

    .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* ENROLMENT PAGE */

.enrolment-page {
    min-height: calc(100vh - 150px);
}

.enrolment-section {
    padding: 90px 0 110px;
}

.enrolment-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: 70px;
}

.enrolment-intro {
    position: sticky;
    top: 120px;
}

.enrolment-intro h1 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 1;
    letter-spacing: -0.065em;
}

.enrolment-intro > p:last-child {
    max-width: 520px;
    margin: 28px 0 0;
    color: var(--text-soft);
    font-size: 1.08rem;
}

.enrolment-form {
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: var(--surface);
    box-shadow: var(--shadow);
}

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

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--background);
    color: var(--text);
    font: inherit;
    outline: none;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.form-field input,
.form-field select {
    height: 54px;
    padding: 0 16px;
}

.form-field textarea {
    min-height: 150px;
    padding: 15px 16px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--teal);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(51, 183, 202, 0.13);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #93a3ad;
}

.consent-field {
    margin-top: 4px;
}

.consent-field label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0;
    color: var(--text-soft);
    font-weight: 500;
}

.consent-field input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 3px;
    accent-color: var(--teal);
}

.form-submit {
    width: 100%;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 900px) {
    .enrolment-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .enrolment-intro {
        position: static;
    }
}

@media (max-width: 620px) {
    .enrolment-section {
        padding: 65px 0 85px;
    }

    .enrolment-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .enrolment-intro h1 {
        font-size: clamp(2.8rem, 14vw, 4rem);
    }
}
/* THANK-YOU PAGE */

.thank-you-page {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
}

.thank-you-section {
    width: 100%;
    padding: 90px 0;
}

.thank-you-panel {
    max-width: 850px;
    padding: 90px 60px;
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: var(--surface);
    box-shadow: var(--shadow);
    text-align: center;
}

.thank-you-panel h1 {
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(3rem, 7vw, 5.4rem);
    line-height: 1;
    letter-spacing: -0.065em;
}

.thank-you-panel > p:not(.eyebrow) {
    max-width: 620px;
    margin: 28px auto 36px;
    color: var(--text-soft);
    font-size: 1.15rem;
}

@media (max-width: 620px) {
    .thank-you-panel {
        padding: 65px 24px;
    }
}
@keyframes dot-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.35);
        opacity: 0.65;
    }
}
@media (prefers-reduced-motion: reduce) {
    .sound-bars span {
        animation: none;
    }
}
/* =========================================
   Studio section
========================================= */

.studio-section {
    padding: 45px 0 100px;
    background: #f7fbfc;
}

.studio-heading {
    max-width: 720px;
    margin-bottom: 48px;
}

.studio-heading h2 {
    margin: 10px 0 18px;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    color: var(--navy);
}

.studio-heading p:last-child {
    max-width: 620px;
    margin: 0;
    color: var(--text-soft);
    font-size: 1.15rem;
    line-height: 1.6;
}

.studio-gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(3, 210px);
    gap: 18px;
}

.studio-photo {
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.studio-photo-main {
    grid-row: 1 / 4;
}

.studio-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.studio-photo:hover img {
    transform: scale(1.035);
}

@media (max-width: 850px) {
    .studio-section {
        padding: 80px 0;
    }

    .studio-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 330px 190px 190px;
    }

    .studio-photo-main {
        grid-column: 1 / 3;
        grid-row: auto;
    }
}

@media (max-width: 600px) {
    .studio-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .studio-photo,
    .studio-photo-main {
        grid-column: auto;
        grid-row: auto;
        height: 250px;
    }

    .studio-photo-main {
        height: 330px;
    }
}
/* =========================================
   Lessons section
========================================= */

.lessons-section {
    padding: 65px 0 95px;
    background: var(--surface);
    overflow: hidden;
}

.lessons-heading {
    margin-bottom: 42px;
}

.lessons-heading h2 {
    margin: 10px 0 0;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    color: var(--navy);
}

.instrument-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.instrument-card {
    min-width: 0;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.instrument-card:hover {
    transform: translateY(-6px);
}

.instrument-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 300ms ease;
}

.instrument-card:hover img {
    transform: scale(1.03);
}

/* Horizontal swipe on tablet and mobile */

@media (max-width: 900px) {
    .instrument-track {
        display: flex;
        gap: 18px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 4px 20px 22px;
        margin: 0 -20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .instrument-track::-webkit-scrollbar {
        display: none;
    }

    .instrument-card {
        flex: 0 0 72vw;
        max-width: 330px;
        scroll-snap-align: start;
    }
}

@media (max-width: 600px) {
    .lessons-section {
        padding: 65px 0 105px;
    }

    .instrument-card {
        flex-basis: 82vw;
        padding: 22px;
    }
}
/* ==========================
   FINAL CALL TO ACTION
========================== */

.cta-section {
    padding: 110px 20px;
    background: var(--teal-light);
    text-align: center;
}

.cta-section .container {
    max-width: 760px;
}

.cta-section .eyebrow {
    margin-bottom: 18px;
}

.cta-section h2 {
    margin-bottom: 24px;
    font-size: clamp(3rem, 6vw, 4.6rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: var(--navy);
}

.cta-copy {
    max-width: 640px;
    margin: 0 auto 42px;
    font-size: 1.18rem;
    line-height: 1.8;
    color: var(--text-soft);
}

.cta-section .button {
    min-width: 240px;
}

/* =========================================
   HERO BACKGROUND PHOTO
========================================= */

.hero {
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 80px 0 70px;

    background-image: url("../images/hero-student.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Hide the old image element */

.hero-background-image {
    display: none;
}


/* Keep hero content above the photo */

.hero-content {
    position: relative;
    z-index: 1;
}


/* Keep First Lesson card above the photo */

.hero-card {
    position: relative;
    z-index: 2;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .hero {
        min-height: auto;
        padding: 70px 0 60px;
        background-size: cover;
        background-position: center;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 620px) {

    .hero {
        min-height: auto;
        padding: 55px 0 50px;

        background-image: url("../images/hero-student.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

}
/* LARGER HERO ENQUIRY BUTTON */

.hero-buttons .button {
    font-size:22px;
    padding: 18px 30px;
    border-radius: 999px;
    font-weight: 720;
}
/* DISCOVER OUR STUDIO BUTTON */

.hero-buttons .secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    font-weight: 720;

    padding: 20px 36px;

    background: #F27F8C;
    color: #ffffff;

    border-radius: 999px;

    text-decoration: none;

    transition: transform 0.2s ease,
                box-shadow 0.2s ease,
                background 0.2s ease;
}

.hero-buttons .secondary-link:hover {
    background: #EE7A7A;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* HERO INSTRUMENT NAMES */

.hero-content .eyebrow {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
}
/* MOBILE HERO BUTTONS — EXACT ALIGNMENT */

@media (max-width: 768px) {

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        width: 100%;
    }

    .hero-buttons .button,
    .hero-buttons .secondary-link {
        width: 330px;
        max-width: calc(100% - 20px);
        height: 76px;
        padding: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        margin: 0;
        box-sizing: border-box;

        border-radius: 999px;

        font-size: 20px;
        font-weight: 700;
        line-height: 1;
        text-align: center;
    }
}
/* CENTRE INSTRUMENT NAMES ON MOBILE */

@media (max-width: 768px) {

    .hero-content .eyebrow {
        width: 100%;
        text-align: center;
    }

}
/* THURSDAY — CURRENT TEACHING DAY */

.day-choice.thursday-choice span {
    border-color: #9bcf62;
    background: #f1f9e8;
    color: #17384f;
}

.day-choice.thursday-choice input:checked + span {
    border-color: #86c440;
    background: #e4f5cf;
}
/* ========================================
   FINAL CTA — LARGER ENQUIRY BUTTON
======================================== */

.final-cta .btn {
    padding: 20px 48px;
    min-width: 320px;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 620px) {
    .final-cta .btn {
        width: 100%;
        max-width: 340px;
        min-width: 0;
        padding: 18px 28px;
        font-size: 1.1rem;
    }
}