:root {
    --ink: #4a1830;
    --ink-soft: #755260;
    --rose: #c2185b;
    --rose-deep: #9d174d;
    --sand: #e9dccb;
    --sand-light: #f7f2e9;
    --shell: #f3a3bd;
    --white: #ffffff;
    --line: rgba(74, 24, 48, 0.14);
    --shadow: 0 18px 50px rgba(106, 24, 60, 0.14);
    --radius: 18px;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: 'Avenir Next', Avenir, 'Trebuchet MS', Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        linear-gradient(rgba(248, 245, 238, 0.86), rgba(248, 245, 238, 0.94)),
        url('../images/background-image.png') center / cover fixed;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

body * {
    font-family: inherit;
}

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

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

body h1,
body h2,
body h3 {
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.18;
}

body h1 {
    font-size: clamp(2.15rem, 5vw, 4.25rem);
    letter-spacing: -0.035em;
}

body h2 {
    font-size: clamp(1.65rem, 3vw, 2.6rem);
}

body h3 {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

body p,
body li {
    color: var(--ink-soft);
}

body .black-text {
    color: var(--ink);
}

.full-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 242, 233, 0.94);
    box-shadow: 0 8px 30px rgba(74, 24, 48, 0.07);
    backdrop-filter: blur(14px);
}

body nav {
    width: min(100% - 40px, 1200px);
    min-height: 92px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: transparent;
}

body nav > h1 {
    flex: 1;
    min-width: 0;
    max-width: 260px;
    font-size: clamp(1.2rem, 2.2vw, 1.85rem);
    letter-spacing: -0.02em;
    text-align: center;
}

body .logo,
body .logo img {
    width: 126px;
}

.logo a {
    display: block;
}

body .large-screen-menu {
    display: none;
}

body .off-screen-menu {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 21;
    width: min(84vw, 360px);
    max-width: none;
    min-height: 100vh;
    height: 100vh;
    padding: 110px 36px 48px;
    display: none;
    align-items: flex-start;
    justify-content: center;
    background: var(--sand-light);
    box-shadow: -20px 0 60px rgba(74, 24, 48, 0.18);
    transform: none;
    right: 0;
}

body .off-screen-menu.active {
    display: flex;
    right: 0;
}

.off-screen-menu ul {
    width: 100%;
}

.off-screen-menu li + li {
    border-top: 1px solid var(--line);
}

body .off-screen-menu a {
    display: block;
    padding: 15px 4px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.35rem;
    text-align: left;
}

body .off-screen-menu li:last-child {
    margin-top: 22px;
    border: 0;
}

body .off-screen-menu li:last-child a,
body .large-screen-menu li:last-child a {
    color: var(--white);
    background: var(--rose);
    border-radius: 999px;
}

body .off-screen-menu li:last-child a {
    padding: 12px 22px;
    text-align: center;
}

body .ham-menu {
    position: relative;
    z-index: 22;
    width: 34px;
    height: 34px;
    cursor: pointer;
}

body .ham-menu span {
    position: absolute;
    left: 2px;
    width: 30px;
    height: 2px;
    border-radius: 3px;
    background: var(--ink);
    transform: none;
    transition: transform 260ms ease, opacity 180ms ease, top 260ms ease;
}

body .ham-menu span:nth-child(1) { top: 8px; }
body .ham-menu span:nth-child(2) { top: 16px; }
body .ham-menu span:nth-child(3) { top: 24px; }
body .ham-menu.active span:nth-child(1) { top: 16px; transform: rotate(45deg); }
body .ham-menu.active span:nth-child(2) { opacity: 0; }
body .ham-menu.active span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

body .footer {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: clamp(56px, 8vw, 96px);
    padding: 48px 24px;
    color: rgba(255, 255, 255, 0.82);
    background: var(--rose-deep);
    text-align: center;
}

body .footer h2,
body .footer h3 {
    color: var(--white);
}

body .footer h2 {
    display: block;
    margin: 0 0 18px;
    font-size: 1.55rem;
}

body .footer h3 {
    margin: 8px 0;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body .footer a {
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 4px;
}

body .footer .location {
    margin-bottom: 8px;
}

/* Homepage */
body .main-content {
    width: min(100% - 36px, 1120px);
    margin: 0 auto;
}

body #lashing-out-h1 {
    margin: 0 0 clamp(34px, 5vw, 58px);
    padding-top: clamp(54px, 8vw, 96px);
    font-size: clamp(2.7rem, 7vw, 5.2rem);
    font-weight: 500;
    text-align: center;
}

#lashing-out-h1::after {
    content: '';
    display: block;
    width: 64px;
    height: 2px;
    margin: 20px auto 0;
    background: var(--shell);
}

body .top,
body .bottom {
    display: grid;
    gap: clamp(26px, 5vw, 64px);
    align-items: center;
    margin: 0 0 clamp(64px, 10vw, 118px);
    animation: coastal-fade 700ms ease both;
}

body .bottom {
    animation-delay: 100ms;
}

body .main-content .top img,
body .main-content .bottom img {
    width: 100%;
    margin: 0;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.76);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

body .main-content .bottom img {
    aspect-ratio: 4 / 3;
}

body .effortless-beauty {
    margin: 0;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow);
    text-align: left;
    backdrop-filter: blur(8px);
}

body .effortless-beauty h2 {
    margin-bottom: 18px;
    text-align: left;
}

body .effortless-beauty p {
    max-width: 48ch;
    text-align: left;
}

body #follow-ig-bigscreen {
    display: block;
    text-align: center;
}

body #follow-ig-bigscreen h2 {
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--shell);
}

/* About */
body .about {
    width: min(100% - 36px, 1100px);
    margin: clamp(54px, 8vw, 96px) auto 0;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
    animation: coastal-fade 700ms ease both;
}

body .about img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

body .about p {
    margin: 0;
    padding: clamp(28px, 5vw, 58px);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.9;
    text-align: left;
}

/* Services */
body .service-list {
    position: static;
    width: min(100% - 36px, 1040px);
    margin: clamp(36px, 6vw, 70px) auto;
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow);
    animation: coastal-fade 650ms ease both;
}

body .service-list:first-of-type {
    margin-top: clamp(54px, 8vw, 92px);
}

body .service-list img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

body .service-text {
    position: static;
    width: auto;
    padding: clamp(30px, 5vw, 58px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0;
    text-align: left;
}

body .service-text h2 {
    margin-bottom: 22px;
    text-align: left;
}

.service-text h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    margin-top: 13px;
    background: var(--shell);
}

body .service-text p {
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.98rem;
    text-align: left;
    text-transform: capitalize;
}

body #fade-in-1,
body #fade-in-2,
body #fade-in-3,
body #fade-in-4 {
    animation: coastal-fade 500ms ease both;
}

body #fade-in-2 { animation-delay: 60ms; }
body #fade-in-3 { animation-delay: 120ms; }
body #fade-in-4 { animation-delay: 180ms; }

/* Education */
body .class-selection {
    width: 100%;
    margin: 0;
    padding: clamp(54px, 8vw, 92px) 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
}

body .class-selection > a {
    display: block;
}

body .each-class {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 34px rgba(106, 24, 60, 0.1);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

body .each-class:hover,
body .each-class:focus-within,
body .each-class.is-previewing {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

body .each-class img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

body .each-class p {
    min-height: 88px;
    padding: 22px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.08rem;
    line-height: 1.35;
}

@media (hover: none), (pointer: coarse) {
    body .each-class.is-previewing::after {
        content: 'Tap again to open';
        position: absolute;
        top: 14px;
        right: 14px;
        padding: 7px 11px;
        color: var(--white);
        border-radius: 999px;
        background: rgba(157, 23, 77, 0.94);
        box-shadow: 0 6px 16px rgba(74, 24, 48, 0.2);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.04em;
    }
}

/* Course pages */
body .main-content:has(.half-page) {
    padding-top: clamp(48px, 7vw, 84px);
    display: grid;
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
}

body .half-page {
    width: 100%;
    min-width: 0;
    padding: 0;
}

body .half-page:first-child {
    position: sticky;
    top: 132px;
}

body .half-page:first-child img {
    width: 100%;
    margin: 0 0 24px;
    border: 7px solid rgba(255, 255, 255, 0.78);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

body .half-page:nth-child(2) {
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
}

body .half-page:nth-child(2) *,
body .class-description p,
body .class-description h3,
body .class-description li {
    text-align: left;
}

body .half-page:nth-child(2) > h1 {
    margin-bottom: 22px;
    font-size: clamp(2rem, 4vw, 3.35rem);
}

body .checkout {
    margin: 0 0 34px;
    padding: 20px 22px;
    border-left: 3px solid var(--shell);
    background: var(--sand-light);
    text-align: left;
}

body .checkout > p {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.65rem;
}

body .dropdown-menu {
    margin: 12px 0 0;
}

body #course-select,
body #checkout-button {
    min-height: 48px;
    margin: 8px 8px 8px 0;
    padding: 11px 16px;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 0.95rem;
}

body #course-select {
    max-width: 100%;
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--white);
}

body #checkout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 1px solid var(--rose);
    background: var(--rose);
    box-shadow: 0 8px 20px rgba(157, 23, 77, 0.2);
    transition: background 180ms ease, transform 180ms ease;
}

body #checkout-button:hover {
    background: var(--rose-deep);
    transform: translateY(-1px);
}

body .class-description h2,
body .class-description h3 {
    margin: 30px 0 14px;
}

body .class-description p,
body .class-description li {
    margin-bottom: 12px;
    line-height: 1.75;
}

body .bulleted-list {
    padding-left: 0;
}

body .bulleted-list li {
    position: relative;
    padding-left: 22px;
}

body .bulleted-list li::before {
    position: absolute;
    left: 0;
    color: var(--shell);
}

/* Studios */
body .studios-main {
    width: min(100% - 36px, 900px);
    max-width: none;
    margin: clamp(54px, 8vw, 96px) auto 0;
    padding: clamp(30px, 6vw, 70px);
    color: var(--ink-soft);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-top: 6px solid var(--shell);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
    animation: coastal-fade 700ms ease both;
}

body .studios-main p,
body .studios-main h2,
body .studios-main h3 {
    margin: 0 0 20px;
    text-align: left;
}

body .studios-main h2 {
    margin-top: 42px;
}

body .studios-main a {
    color: var(--rose);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body .glow-fusion {
    margin: 30px 0 0;
    padding: 26px;
    border-radius: 14px;
    background: var(--sand-light);
}

@media (min-width: 760px) {
    body .top,
    body .bottom {
        grid-template-columns: 1.08fr 0.92fr;
    }

    body .bottom {
        grid-template-columns: 0.82fr 1.18fr;
    }

    body .bottom > a:last-child {
        grid-column: 2;
    }

    body .bottom > a:first-child {
        grid-row: 1;
        grid-column: 1;
    }

    body .about {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: stretch;
    }

    body .about img {
        height: 100%;
        max-height: none;
    }

    body .service-list {
        grid-template-columns: 1.1fr 0.9fr;
        min-height: 440px;
    }

    body .service-list:nth-of-type(even) {
        grid-template-columns: 0.9fr 1.1fr;
    }

    body .service-list:nth-of-type(even) .service-text {
        grid-column: 1;
        grid-row: 1;
    }

    body .service-list:nth-of-type(even) img {
        grid-column: 2;
    }
}

@media (min-width: 900px) {
    body nav {
        min-height: 108px;
    }

    body .logo,
    body .logo img {
        width: 162px;
    }

    body .ham-menu,
    body .off-screen-menu {
        display: none;
    }

    body .large-screen-menu {
        display: block;
        width: auto;
    }

    body .large-screen-menu ul {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: clamp(12px, 1.5vw, 22px);
    }

    body .large-screen-menu li {
        display: block;
    }

    body .large-screen-menu a {
        position: relative;
        display: block;
        padding: 10px 0;
        color: var(--ink);
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.09em;
        text-transform: uppercase;
    }

    body .large-screen-menu a::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 4px;
        left: 0;
        height: 1px;
        background: var(--shell);
        transform: scaleX(0);
        transition: transform 180ms ease;
    }

    body .large-screen-menu a:hover::after,
    body .large-screen-menu a:focus-visible::after {
        transform: scaleX(1);
    }

    body .large-screen-menu li:last-child a {
        padding: 11px 18px;
        box-shadow: 0 8px 20px rgba(157, 23, 77, 0.2);
    }

    body .large-screen-menu li:last-child a::after {
        display: none;
    }

    body .footer {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 34px;
        text-align: left;
    }

    body .footer h2 {
        margin: 0;
    }

    body .footer .location {
        margin: 0;
        text-align: center;
    }

    body .footer > a:last-child {
        justify-self: end;
    }

    body .main-content:has(.half-page) {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    }
}

@media (max-width: 899px) {
    body nav > h1 {
        display: none;
    }

    body .half-page:first-child {
        position: static;
    }
}

@media (min-width: 900px) and (max-width: 1120px) {
    body nav > h1 {
        display: none;
    }
}

@keyframes coastal-fade {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
