:root {
    --ink: #070708;
    --night: #101012;
    --panel: #17171b;
    --panel-2: #202027;
    --line: rgba(255, 255, 255, .12);
    --text: #f8f1e7;
    --muted: #bfb4a5;
    --red: #d71920;
    --red-2: #ff3a2f;
    --gold: #d1a451;
    --cream: #fff5e4;
    --steel: #9fb7bd;
    --green: #34c77b;
    --radius: 8px;
    --shadow: 0 26px 70px rgba(0, 0, 0, .38);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    color: var(--text);
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 76px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 76px),
        var(--ink);
    letter-spacing: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    z-index: 0;
    background:
        linear-gradient(120deg, rgba(215, 25, 32, .14), transparent 34%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 18px);
}

body::selection {
    background: var(--red);
    color: white;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

main {
    position: relative;
    z-index: 1;
    flex: 1;
    overflow: hidden;
}

.site-header,
.site-footer {
    position: relative;
    z-index: 20;
}

.site-header {
    position: sticky;
    top: 0;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 5vw;
    background: rgba(7, 7, 8, .9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 190px;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    color: white;
    font-weight: 950;
    background:
        linear-gradient(135deg, var(--red), #791014),
        var(--red);
    border: 1px solid rgba(255, 255, 255, .2);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 1rem;
}

.brand small {
    color: var(--muted);
    font-size: .73rem;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: wrap;
}

.main-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    color: #eadfce;
    border-radius: 7px;
    font-size: .92rem;
    font-weight: 720;
    transition: background .18s ease, transform .18s ease, color .18s ease;
}

.main-nav a:hover,
.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, .08);
}

.icon-link {
    width: 40px;
    padding: 0 !important;
}

.icon-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-cta {
    color: white !important;
    background: var(--red);
    box-shadow: 0 12px 28px rgba(215, 25, 32, .26);
}

.nav-cta.ghost {
    background: transparent;
    border: 1px solid var(--line);
    box-shadow: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 7px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: white;
}

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

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    font-size: .77rem;
}

.studio-hero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    align-items: stretch;
    background: var(--ink);
    isolation: isolate;
}

.studio-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 10px;
    background: repeating-linear-gradient(135deg, var(--red) 0 22px, var(--cream) 22px 34px, var(--gold) 34px 48px, #111 48px 62px);
    animation: barberMove 10s linear infinite;
    z-index: 3;
}

.studio-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(90deg, rgba(7, 7, 8, .96) 0%, rgba(7, 7, 8, .7) 43%, rgba(7, 7, 8, .2) 100%),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    animation: heroDrift 18s ease-in-out infinite alternate;
}

.studio-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 0 52%, rgba(215, 25, 32, .18) 52% 62%, transparent 62%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 84px);
    mix-blend-mode: screen;
}

.studio-hero__copy {
    align-self: center;
    max-width: 850px;
    padding: 78px 5vw 96px;
}

.studio-hero h1 {
    max-width: 900px;
    margin-bottom: 18px;
    font-size: 4.8rem;
    line-height: .95;
}

.studio-hero h2 {
    max-width: 740px;
    color: var(--cream);
    font-size: 1.42rem;
    line-height: 1.35;
}

.studio-hero p {
    max-width: 680px;
    color: #dfd2bf;
    line-height: 1.72;
    font-size: 1.05rem;
}

.studio-hero__rail {
    align-self: end;
    justify-self: end;
    width: min(380px, 80%);
    display: grid;
    gap: 10px;
    padding: 0 5vw 94px 0;
}

.studio-hero__rail span {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding-left: 18px;
    border-left: 3px solid var(--gold);
    background: linear-gradient(90deg, rgba(7, 7, 8, .8), rgba(7, 7, 8, .16));
    color: white;
    font-weight: 900;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    color: white;
    background: var(--red);
    border: 0;
    border-radius: 7px;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(215, 25, 32, .26);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
    transform: translateY(-2px);
    background: var(--red-2);
}

.btn.secondary {
    background: rgba(255, 255, 255, .08);
    border: 1px solid var(--line);
    box-shadow: none;
}

.btn.small {
    min-height: 38px;
    padding: 0 13px;
    font-size: .9rem;
}

.btn.full {
    width: 100%;
}

.ticker {
    overflow: hidden;
    background: #0d0d0f;
    border-block: 1px solid var(--line);
}

.ticker div {
    width: max-content;
    display: flex;
    gap: 34px;
    padding: 16px 0;
    animation: tickerMove 30s linear infinite;
}

.ticker span {
    color: rgba(248, 241, 231, .72);
    font-weight: 950;
    text-transform: uppercase;
    font-size: .86rem;
}

.course-showcase,
.brand-story,
.method-flow,
.mosaic-section,
.conversion-strip,
.faq-section,
.detail-grid,
.lesson-layout,
.student-grid,
.checkout-shell,
.split-section,
.gallery-band {
    padding: 86px 5vw;
}

.section-kicker {
    display: grid;
    grid-template-columns: minmax(220px, .45fr) minmax(0, 1fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 28px;
}

.section-kicker h2,
.brand-story h2,
.method-flow h2,
.mosaic-section h2,
.conversion-strip h2,
.faq-section h2,
.page-hero h1,
.course-detail-hero h1 {
    font-size: 3rem;
    line-height: 1.04;
}

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

.course-grid.wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 42px 5vw 86px;
}

.course-card {
    overflow: hidden;
    background: rgba(23, 23, 27, .92);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.course-card:hover {
    transform: translateY(-7px);
    border-color: rgba(209, 164, 81, .75);
    box-shadow: 0 32px 86px rgba(0, 0, 0, .48);
}

.course-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.96) contrast(1.06);
    transition: transform .34s ease, filter .34s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.055);
    filter: saturate(1.08) contrast(1.08);
}

.course-image span {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 7px 10px;
    color: white;
    background: rgba(7, 7, 8, .84);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 900;
}

.course-body {
    padding: 22px;
}

.course-body h3 {
    margin-bottom: 10px;
    font-size: 1.38rem;
    line-height: 1.18;
}

.course-body p {
    min-height: 52px;
    color: var(--muted);
    line-height: 1.55;
}

.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
}

.course-meta strong,
.price {
    color: var(--gold);
    font-size: 1.35rem;
}

.brand-story {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 52px;
    align-items: center;
    background: linear-gradient(90deg, #0d0d10, #141418);
    border-block: 1px solid var(--line);
}

.brand-story__image {
    position: relative;
}

.brand-story__image::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 18px;
    width: 72%;
    height: 100%;
    border: 1px solid rgba(209, 164, 81, .55);
}

.brand-story__image img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.brand-story__copy p,
.mosaic-copy p,
.conversion-strip p,
.faq-section p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.story-lines {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.story-lines span {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding-left: 16px;
    border-left: 3px solid var(--red);
    background: rgba(255, 255, 255, .045);
    color: var(--cream);
    font-weight: 850;
}

.method-flow {
    display: grid;
    grid-template-columns: minmax(220px, .4fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
}

.method-flow ol {
    counter-reset: none;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--line);
}

.method-flow li {
    min-height: 220px;
    display: grid;
    align-content: end;
    gap: 8px;
    padding: 20px;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 18px),
        var(--panel);
}

.method-flow span {
    color: var(--red-2);
    font-weight: 950;
}

.method-flow strong {
    font-size: 1.25rem;
}

.method-flow small {
    color: var(--muted);
    line-height: 1.5;
}

.mosaic-section {
    display: grid;
    grid-template-columns: minmax(260px, .45fr) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
    background: #0c0c0e;
    border-block: 1px solid var(--line);
}

.mosaic-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    grid-template-rows: 260px 260px;
    gap: 14px;
}

.mosaic-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    filter: saturate(.98) contrast(1.05);
    transition: transform .24s ease, filter .24s ease;
}

.mosaic-grid img:first-child {
    grid-row: span 2;
}

.mosaic-grid img:hover {
    transform: scale(1.025);
    filter: saturate(1.12) contrast(1.08);
}

.conversion-strip {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(215, 25, 32, .2), transparent 45%),
        #111114;
}

.conversion-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.conversion-actions a {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 900;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.conversion-actions a:hover {
    transform: translateY(-4px);
    border-color: rgba(209, 164, 81, .75);
    background: var(--panel-2);
}

.faq-section {
    display: grid;
    grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr);
    gap: 42px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

details {
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

summary {
    cursor: pointer;
    font-weight: 900;
}

details p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.62;
}

.page-hero {
    min-height: 310px;
    display: grid;
    align-content: center;
    padding: 72px 5vw;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 20px),
        #101014;
    border-bottom: 1px solid var(--line);
}

.page-hero p,
.course-detail-hero p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.04rem;
}

.payment-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 76px 5vw;
    background: #111115;
}

.payment-info article,
.purchase-panel,
.auth-card,
.checkout-form,
.checkout-summary,
.admin-form,
.admin-panel,
.metric-grid article,
.lesson-card,
.portal-item,
.announcement-list article {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.payment-info article,
.purchase-panel,
.auth-card,
.checkout-form,
.checkout-summary,
.admin-form,
.admin-panel,
.lesson-card,
.announcement-list article {
    padding: 24px;
}

.payment-info p,
.purchase-panel p,
.legal-text p,
.muted,
.empty {
    color: var(--muted);
    line-height: 1.6;
}

.course-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 44px;
    align-items: center;
    padding: 72px 5vw;
    background: #101014;
}

.course-detail-hero img,
.checkout-summary img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .55fr);
    gap: 38px;
    align-items: start;
}

.module-list,
.lesson-list,
.portal-list,
.announcement-list {
    display: grid;
    gap: 14px;
}

.module-list div {
    padding: 20px;
    background: #121216;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.module-list span,
.lesson-card span,
.announcement-list span,
.status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 26px;
    padding: 0 8px;
    margin-bottom: 8px;
    border-radius: 6px;
    background: rgba(209, 164, 81, .16);
    color: var(--gold);
    font-size: .78rem;
    font-weight: 900;
}

.module-list p,
.lesson-card p,
.announcement-list p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.58;
}

.purchase-panel {
    position: sticky;
    top: 92px;
}

.purchase-panel ul {
    margin: 18px 0 22px;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.7;
}

.legal-text {
    max-width: 920px;
    padding: 76px 5vw;
}

.legal-text h2 {
    margin-top: 28px;
}

.auth-shell {
    min-height: calc(100vh - 160px);
    display: grid;
    place-items: center;
    padding: 70px 5vw;
}

.auth-card {
    width: min(480px, 100%);
}

.auth-card h1,
.checkout-summary h1,
.admin-shell h1,
.student-grid h2,
.detail-grid h2 {
    font-size: 2.25rem;
    line-height: 1.12;
}

label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: #f5eadb;
    font-weight: 760;
}

input,
textarea,
select {
    width: 100%;
    min-height: 46px;
    color: var(--text);
    background: #101014;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 7px;
    padding: 10px 12px;
    outline: 0;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(209, 164, 81, .15);
}

.checkout-shell,
.student-grid,
.lesson-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 38px;
    align-items: start;
}

.checkout-summary img {
    margin-top: 22px;
}

.radio-card,
.terms-check,
.check-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: #111116;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.radio-card input,
.terms-check input,
.check-row input {
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
}

.radio-card small,
.terms-check span {
    color: var(--muted);
    line-height: 1.5;
}

.portal-item {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
}

.portal-item img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 6px;
}

.status.paid,
.status.approved,
.status.published {
    background: rgba(52, 199, 123, .16);
    color: var(--green);
}

.status.pending,
.status.draft {
    background: rgba(209, 164, 81, .16);
    color: var(--gold);
}

.status.disabled,
.status.rejected,
.status.refunded,
.status.hidden {
    background: rgba(215, 25, 32, .16);
    color: #ff8585;
}

.admin-shell {
    padding: 46px 5vw 86px;
}

.admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.admin-tabs a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--muted);
}

.admin-tabs a.active,
.admin-tabs a:hover {
    color: white;
    background: var(--red);
    border-color: var(--red);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.metric-grid article {
    padding: 22px;
}

.metric-grid span {
    color: var(--muted);
}

.metric-grid strong {
    display: block;
    margin-top: 8px;
    font-size: 2rem;
}

.admin-panel,
.admin-form {
    margin-bottom: 24px;
}

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

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--gold);
    font-size: .82rem;
    text-transform: uppercase;
}

td small {
    color: var(--muted);
}

.inline-form {
    display: grid;
    grid-template-columns: 120px minmax(180px, 1fr) auto;
    gap: 8px;
    min-width: 430px;
}

.inline-form input,
.inline-form select {
    min-height: 38px;
}

.link-danger {
    color: #ff8585;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-weight: 850;
}

.flash-stack {
    position: fixed;
    right: 20px;
    top: 92px;
    z-index: 80;
    display: grid;
    gap: 10px;
}

.flash {
    width: min(420px, calc(100vw - 40px));
    padding: 14px 16px;
    border-radius: var(--radius);
    background: #1b1b20;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.flash.success {
    border-color: rgba(52, 199, 123, .5);
}

.flash.error {
    border-color: rgba(215, 25, 32, .7);
}

.flash.warning {
    border-color: rgba(209, 164, 81, .7);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 30px 5vw;
    color: var(--muted);
    background: #070708;
    border-top: 1px solid var(--line);
}

.site-footer strong {
    color: var(--text);
}

.site-footer p {
    margin: 6px 0 0;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border-radius: 7px;
    color: var(--text);
}

.reveal {
    opacity: 1;
    transform: none;
}

.js-ready .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .62s ease, transform .62s ease;
}

.js-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroDrift {
    from {
        background-position: center center;
    }
    to {
        background-position: center 44%;
    }
}

@keyframes barberMove {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 124px 0;
    }
}

@keyframes tickerMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1180px) {
    .studio-hero h1 {
        font-size: 3.6rem;
    }

    .course-grid.wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .method-flow ol {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 920px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 5vw;
        right: 5vw;
        top: 66px;
        display: none;
        padding: 12px;
        background: #111115;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: grid;
        grid-template-columns: 1fr;
    }

    .main-nav a {
        justify-content: flex-start;
    }

    .main-nav .icon-link {
        width: 100%;
        justify-content: flex-start !important;
        padding: 0 11px !important;
    }

    .studio-hero,
    .section-kicker,
    .brand-story,
    .method-flow,
    .mosaic-section,
    .conversion-strip,
    .faq-section,
    .detail-grid,
    .lesson-layout,
    .student-grid,
    .checkout-shell,
    .course-detail-hero,
    .payment-info {
        grid-template-columns: 1fr;
    }

    .studio-hero {
        min-height: auto;
    }

    .studio-hero__copy {
        padding-top: 58px;
        padding-bottom: 46px;
    }

    .studio-hero__rail {
        justify-self: start;
        width: min(520px, 100%);
        padding: 0 5vw 70px;
    }

    .studio-hero h1,
    .section-kicker h2,
    .brand-story h2,
    .method-flow h2,
    .mosaic-section h2,
    .conversion-strip h2,
    .faq-section h2,
    .page-hero h1,
    .course-detail-hero h1 {
        font-size: 2.65rem;
    }

    .course-grid,
    .course-grid.wide,
    .conversion-actions,
    .metric-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .mosaic-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 240px);
    }

    .mosaic-grid img:first-child {
        grid-row: auto;
    }

    .purchase-panel {
        position: static;
    }

    .portal-item {
        grid-template-columns: 1fr;
    }

    .portal-item img {
        height: 210px;
    }

    .inline-form {
        grid-template-columns: 1fr;
        min-width: 260px;
    }

    .site-footer {
        display: grid;
        align-items: start;
    }
}

@media (max-width: 560px) {
    .brand {
        min-width: 0;
    }

    .brand small {
        display: none;
    }

    .studio-hero h1,
    .section-kicker h2,
    .brand-story h2,
    .method-flow h2,
    .mosaic-section h2,
    .conversion-strip h2,
    .faq-section h2,
    .page-hero h1,
    .course-detail-hero h1 {
        font-size: 2.1rem;
    }

    .hero-actions,
    .course-meta,
    .admin-head {
        display: grid;
    }

    .btn {
        width: 100%;
    }

    .course-showcase,
    .brand-story,
    .method-flow,
    .mosaic-section,
    .conversion-strip,
    .faq-section,
    .detail-grid,
    .lesson-layout,
    .student-grid,
    .checkout-shell,
    .split-section,
    .gallery-band,
    .course-detail-hero {
        padding: 56px 5vw;
    }

    .method-flow ol {
        grid-template-columns: 1fr;
    }
}

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

    .js-ready .reveal {
        opacity: 1;
        transform: none;
    }
}
