:root {
    --bg: #121212;
    --surface: #1e1e1e;
    --alt: #181818;
    --ink: #f7f5f0;
    --mute: #c6c1b9;
    --line: #3b3834;
    --forest: #080808;
    --sage: #ff9a54;
    --sage-dd: #ff9a54;
    --sage-xl: #39271c;
    --hero: #090909;
    --hero-text: #ffffff;
    --hero-accent: #ff9a54;
    --action: #ff9a54;
    --action-text: #16100c;
    --display: Arial, Helvetica, sans-serif;
    --cream: #f8f5ef;
    --forest2: #080808;
    --sage-d: #ff9a54;
    --sage-l: #39271c;
    --on-dark: #e1e3e6;
    --shadow-color: #0005;
}

:root {
    --serif: var(--display);
    --shadow: 0 12px 30px -18px var(--shadow-color);
    --shadow-lg: 0 25px 65px -22px var(--shadow-color)
}

body {
    color: var(--ink);
    background: var(--bg)
}

h1,
h2,
h3 {
    color: inherit
}

h1,
h2 {
    font-family: var(--display)
}

.nav {
    background: var(--bg);
    border-color: var(--line)
}

.logo,
.nav nav a:not(.btn) {
    color: var(--ink)
}

.nav nav {
    background: var(--bg)
}

.menu-toggle {
    background: var(--surface);
    color: var(--ink)
}

.hx {
    background: var(--hero);
    color: var(--hero-text)
}

.hx h1,
.hx .lead,
.hx .ticks {
    color: var(--hero-text)
}

.hx h1 em,
.hx .eyebrow,
.hero-index {
    color: var(--hero-accent)
}

.hx .btn:not(.btn-ghost) {
    background: var(--action);
    color: var(--action-text);
    border-color: var(--action)
}

.hx .btn:not(.btn-ghost):hover {
    filter: brightness(1.12);
    background: var(--action)
}

.hx .btn-ghost {
    color: var(--hero-text);
    border-color: var(--hero-text)
}

.hx .btn-ghost:hover {
    background: var(--hero-text);
    color: var(--hero)
}

.hx-visual:before {
    border-color: var(--hero-accent)
}

.hx-badge {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--sage-d)
}

.hx-badge small {
    color: var(--sage-dd)
}

.hx-stats,
.bento .b,
.mod,
.price-row,
.qa,
.legal-copy,
.gallery .ph:nth-child(n),
.gallery figcaption,
.chips span,
.tl-card,
.enroll-card {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line)
}

.hx-stats strong,
.price,
.gallery figcaption {
    color: var(--ink)
}

.sec.alt {
    background: var(--alt)
}

.sec-head .sub {
    border-color: var(--sage-d)
}

.bento .b p,
.qa p,
.tl-card span,
.mod .cur-list,
.enroll-card p {
    color: var(--mute)
}

.bento .b .ic {
    background: var(--sage-xl);
    color: var(--sage-dd)
}

#why .bento .tone,
.course-side,
.enroll,
.footer,
.page-hero,
.booking-aside {
    background: var(--forest);
    color: var(--cream)
}

#why .tone p,
.course-side p,
.enroll-head p,
.page-hero p,
.booking-aside p {
    color: var(--on-dark)
}

.course-side .eyebrow,
.course-side strong,
.enroll .eyebrow,
.enroll h2 {
    color: var(--sage)
}

.btn {
    background: var(--action);
    color: var(--action-text);
    border-color: var(--action)
}

.btn:hover {
    background: var(--action);
    color: var(--action-text);
    filter: brightness(1.12)
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line)
}

.footer {
    border-color: var(--sage)
}

.reading-progress {
    background: var(--action)
}

.booking-dialog,
.booking-panel,
.booking-form input:not([type=checkbox]),
.booking-form select,
.booking-form textarea {
    background: var(--surface);
    color: var(--ink)
}

.booking-loader,
.site-loader {
    background: var(--forest);
    color: var(--cream)
}

.load-wheel {
    border-color: var(--line);
    border-top-color: var(--sage);
    border-right-color: var(--sage)
}

.booking-summary,
.booking-progress .active,
.calendar-grid button,
.slot-grid button,
.calendar-head button,
.booking-back {
    background: var(--sage-xl);
    color: var(--ink)
}

.calendar-grid button:disabled {
    background: var(--surface)
}

.sticky-cta {
    background: var(--surface);
    color: var(--ink)
}

.variant-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: .72rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--hero-accent)
}

.variant-tag:before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 12px currentColor
}

.hx-copy {
    position: relative;
    z-index: 2
}

.hx .lead {
    opacity: .85
}

.section-index {
    display: block;
    font: 600 .72rem/1 var(--sans);
    letter-spacing: .16em;
    color: var(--sage-dd);
    margin-bottom: 12px
}

.gallery .ph img {
    background: var(--alt)
}

.mod summary::after,
.qa summary:after {
    color: var(--sage-dd)
}

.motion-ready .motion-item {
    transition-duration: .8s
}

.motion-ready .motion-item.visible {
    translate: 0 0
}

.variant-decoration {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden
}

.variant-decoration i {
    position: absolute;
    display: block
}

.hx-visual {
    isolation: isolate
}

.hx-frame {
    overflow: hidden
}

.hx-frame img {
    will-change: transform
}

.booking-close {
    color: var(--ink)
}

@media(max-width:720px) {
    .booking-close {
        color: var(--cream)
    }
}

@media(max-width:760px) {
    .hx {
        min-height: 0
    }

    .hx-grid {
        grid-template-columns: 1fr !important
    }

    .hx-copy {
        text-align: left !important
    }

    .hx-visual {
        width: 100%;
        max-width: 100%
    }

    .hx-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .sec-head {
        grid-template-columns: 1fr !important
    }

    .learning-layout,
    .course-layout,
    .enroll-layout {
        grid-template-columns: 1fr !important
    }

    .hx h1 {
        font-size: clamp(2.5rem, 10vw, 4rem) !important
    }

    .variant-decoration {
        opacity: .5
    }

    .nav-in {
        padding-inline: 12px
    }

    .gallery {
        grid-template-columns: 1fr !important
    }
}

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

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

    .motion-ready .motion-item {
        opacity: 1;
        translate: none
    }
}

.hx {
    min-height: calc(100svh - 80px);
    padding: 100px 0 85px;
    isolation: isolate
}

.hx-grid {
    display: block
}

.hx-copy {
    max-width: 760px
}

.hx h1 {
    font-size: clamp(3.7rem, 8vw, 8.2rem);
    font-weight: 800;
    line-height: .96;
    letter-spacing: -.07em
}

.hx .lead {
    max-width: 590px
}

.hx-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    padding: 0;
    z-index: -1;
    margin: 0;
    isolation: auto
}

.hx-frame {
    position: absolute;
    inset: 0;
    border-radius: 0;
    aspect-ratio: auto;
    box-shadow: none
}

.hx-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 22s ease-in-out infinite alternate
}

.hx-frame:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #090909f5 0%, #090909c7 45%, #09090925 100%), linear-gradient(0deg, #090909a0, transparent)
}

.hx-visual:before,
.hx-badge,
.hero-index,
.hx:after,
.hx:before {
    display: none
}

.hx-stats {
    margin-top: 0;
    border-radius: 0;
    background: #171717;
    box-shadow: none
}

.hx-stats strong {
    font-size: 2.8rem;
    font-weight: 800
}

.sec {
    padding-block: 105px
}

.sec-head {
    grid-template-columns: 1fr .5fr
}

.sec h2 {
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    font-weight: 800;
    letter-spacing: -.06em
}

.bento .b,
.mod,
.qa,
.price-row,
.tl-card,
.gallery .ph:nth-child(n) {
    border-radius: 4px
}

#why .bento {
    grid-template-columns: repeat(3, 1fr)
}

#why .bento .b {
    min-height: 260px
}

#why .bento .tone {
    background: #2d1b12
}

.learning-layout {
    grid-template-columns: 1.3fr .7fr
}

.learning-layout>.ph {
    --ratio: 1/1 !important;
    border-radius: 3px
}

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

.course-side {
    border-radius: 3px;
    background: #2b1a12
}

.course-side img {
    aspect-ratio: 16/9
}

.gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 22px;
    scrollbar-color: #ff9a54 #252525
}

.gallery .ph:nth-child(n) {
    flex: 0 0 42%;
    scroll-snap-align: start;
    min-width: 260px
}

.gallery-control {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 15px
}

.gallery-control button {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 10px 18px;
    cursor: pointer
}

.variant-decoration i {
    height: 3px;
    width: 120px;
    background: #ff9a54;
    bottom: 24px;
    left: 5%;
    animation: scan 6s ease-in-out infinite alternate
}

.variant-decoration i:nth-child(n+2) {
    display: none
}

@keyframes scan {
    to {
        transform: translateX(60vw)
    }
}

.btn {
    border-radius: 3px
}

.tips {
    background: var(--surface);
    color: var(--ink)
}

.motion-ready .motion-item {
    translate: 0 35px
}

.motion-ready .motion-item.visible {
    translate: 0 0
}

@media(max-width:760px) {
    .hx {
        min-height: 78svh;
        padding: 70px 0
    }

    .hx-frame {
        aspect-ratio: auto
    }

    .hx-frame:after {
        background: #090909b5
    }

    .gallery .ph:nth-child(n) {
        flex-basis: 86%
    }

    .sec {
        padding-block: 65px
    }

    .hx-stats strong {
        font-size: 1.7rem
    }

    #why .bento .b {
        min-height: 0
    }
}