/* =========================================================
   Yash Technical Institute — V6 "Editorial Swiss"
   Archivo display · hairline grid · black/white + Swiss red
   All V5 motion preserved + stack wipes, particles, expansion
   ========================================================= */

/* ---------- TOKENS ---------- */
:root {
    --font-display: "Archivo", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;

    --bg: #fafaf7;
    --bg-alt: #f1f0ea;
    --surface: #ffffff;
    --ink: #121210;
    --text: #121210;
    --muted: #6d6d64;
    --line: #dcdcd2;
    --accent: #e30613;

    --radius: 4px;
    --header-h: 76px;
    --ease: cubic-bezier(.22, 1, .36, 1);

    /* ink-on-paper bands (footer, CTA) stay dark in both themes */
    --ink-band: #121210;
    --on-ink: #fafaf7;
    --pulse: rgba(227, 6, 19, .45);
    --glow: rgba(227, 6, 19, .08);

    --pad: clamp(20px, 5vw, 64px);
    --shadow: 0 1px 2px rgba(18, 18, 16, .05), 0 12px 32px -14px rgba(18, 18, 16, .12);
    color-scheme: light;
}

html[data-theme="dark"] {
    --bg: #0f0f0d;
    --bg-alt: #161613;
    --surface: #141412;
    --ink: #f2f1ec;
    --text: #f2f1ec;
    --muted: #9c9b90;
    --line: #2c2c27;
    --accent: #ff4b3e;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 40px -14px rgba(0, 0, 0, .6);
    --ink-band: #0a0a09;
    --on-ink: #f2f1ec;
    --pulse: rgba(255, 75, 62, .5);
    --glow: rgba(255, 75, 62, .16);
    color-scheme: dark;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color .35s var(--ease), color .35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {

    body.has-cursor,
    body.has-cursor * {
        cursor: none !important;
    }
}

img,
svg,
canvas {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

::selection {
    background: var(--accent);
    color: #fff;
}

.mono {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: var(--pad);
}

/* solid layer sections that stack over each other */
.layer {
    position: relative;
    background: var(--bg);
}

/* SplitText line wrapper */
.s-line {
    display: block;
    overflow: hidden;
}

/* ---------- PRELOADER ---------- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: var(--bg);
    display: grid;
    place-items: center;
}

.preloader.is-done {
    pointer-events: none;
}

.pre-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.pre-count {
    font-family: var(--font-display);
    font-size: clamp(4rem, 14vw, 7.5rem);
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.pre-bar {
    width: min(320px, 60vw);
    height: 2px;
    background: var(--line);
    overflow: hidden;
}

.pre-bar span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--accent);
    transform-origin: 0 50%;
    transform: scaleX(0);
}

.pre-label {
    color: var(--muted);
}

/* ---------- BRAND MARK ---------- */
.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: .95rem;
    border-radius: var(--radius);
}

.pre-mark {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
    animation: pre-pulse 1.6s var(--ease) infinite;
}

@keyframes pre-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

/* ---------- CUSTOM CURSOR ---------- */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 320;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
    will-change: transform;
}

.cursor-dot {
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    background: var(--accent);
}

.cursor-ring {
    width: 38px;
    height: 38px;
    margin: -19px 0 0 -19px;
    border: 1.5px solid var(--ink);
    transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), border-color .25s;
}

.cursor-ring.is-hover {
    width: 62px;
    height: 62px;
    margin: -31px 0 0 -31px;
    border-color: var(--accent);
}

@media (hover: none),
(pointer: coarse) {

    .cursor-dot,
    .cursor-ring {
        display: none;
    }
}

/* ---------- CLICK BURST — keycap press ---------- */
.burst-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 315;
}

.burst {
    position: absolute;
    left: 0;
    top: 0;
    will-change: transform;
}

.burst-cap,
.burst-mini,
.burst-ring,
.burst-br,
.burst-spark {
    position: absolute;
    left: 0;
    top: 0;
    translate: -50% -50%;
    will-change: transform;
}

/* the pressed key: pops down, then springs off */
.burst-cap,
.burst-mini {
    font-family: var(--font-mono);
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
    white-space: nowrap;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 5px;
    box-shadow: 0 2px 0 var(--line-strong), 0 6px 12px -6px rgba(18, 18, 16, .28);
}

.burst-cap {
    font-size: .72rem;
    padding: 5px 9px;
}

.burst-mini {
    font-size: .56rem;
    padding: 3px 6px;
    color: var(--accent);
    box-shadow: 0 1px 0 var(--line-strong);
}

.burst-ring {
    width: 28px;
    height: 28px;
    border: 1px solid var(--accent);
    border-radius: 50%;
}

/* focus brackets snapping in around the click point */
.burst-br {
    width: 13px;
    height: 13px;
    border: 0 solid var(--accent);
}

.burst-br.is-tl {
    border-top-width: 2px;
    border-left-width: 2px;
}

.burst-br.is-tr {
    border-top-width: 2px;
    border-right-width: 2px;
}

.burst-br.is-bl {
    border-bottom-width: 2px;
    border-left-width: 2px;
}

.burst-br.is-br {
    border-bottom-width: 2px;
    border-right-width: 2px;
}

.burst-spark {
    width: 9px;
    height: 2px;
    border-radius: 1px;
}

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 200;
}

#progress-bar {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--accent);
    transform-origin: 0 50%;
    transform: scaleX(0);
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 150;
    border-bottom: 1px solid transparent;
    transition: background-color .35s var(--ease), border-color .35s var(--ease);
}

.site-header.is-scrolled {
    background: var(--bg);
    border-bottom-color: var(--line);
}

.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    will-change: transform;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.02rem;
    line-height: 1.1;
    letter-spacing: -.01em;
}

.brand-name em {
    display: block;
    font-style: normal;
    font-weight: 500;
    font-size: .66rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--muted);
}

.site-nav {
    display: flex;
    gap: 30px;
}

.nav-item {
    position: relative;
    font-size: .86rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--muted);
    padding: 6px 0;
    transition: color .25s;
}

.nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: 100% 50%;
    transition: transform .35s var(--ease);
}

.nav-item:hover,
.nav-item.is-active {
    color: var(--ink);
}

.nav-item:hover::after,
.nav-item.is-active::after {
    transform: scaleX(1);
    transform-origin: 0 50%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    position: relative;
    overflow: hidden;
    transition: border-color .25s;
}

.theme-toggle:hover {
    border-color: var(--ink);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    position: absolute;
    transition: transform .45s var(--ease), opacity .3s;
}

.ico-sun {
    color: #b45309;
}

.ico-moon {
    color: #64748b;
}

html[data-theme="dark"] .ico-sun {
    transform: translateY(-140%) rotate(90deg);
    opacity: 0;
}

html[data-theme="light"] .ico-moon {
    transform: translateY(140%) rotate(-90deg);
    opacity: 0;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--ink);
    transition: transform .3s var(--ease);
}

.menu-toggle.is-open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 940px) {
    .site-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

/* ---------- BUTTONS ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .92rem;
    padding: 14px 26px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
    will-change: transform;
}

.btn svg {
    width: 17px;
    height: 17px;
    transition: transform .3s var(--ease);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-solid {
    background: var(--ink);
    color: var(--bg);
    isolation: isolate;
}

.btn-solid::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateY(101%);
    transition: transform .4s var(--ease);
    z-index: -1;
}

.btn-solid:hover::before {
    transform: translateY(0);
}

.btn-solid>* {
    position: relative;
    z-index: 1;
}

.btn-outline {
    border-color: var(--line);
    background: var(--surface);
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--ink);
}

.btn-sm {
    padding: 10px 18px;
    font-size: .8rem;
}

.btn-lg {
    padding: 17px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: .6;
    cursor: wait;
}

.ico-green {
    color: #1faa53;
}

html[data-theme="dark"] .ico-green {
    color: #34d375;
}

/* ---------- DRAWER ---------- */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 160;
    background: var(--bg);
    display: grid;
    place-items: center;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .55s var(--ease);
}

.drawer.is-open {
    clip-path: inset(0 0 0 0);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.drawer-link {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    text-transform: uppercase;
    letter-spacing: -.01em;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s;
    transition-delay: calc(var(--i, 0) * 60ms + 120ms);
}

.drawer.is-open .drawer-link {
    opacity: 1;
    transform: none;
}

.drawer-link:hover {
    color: var(--accent);
}

.drawer-cta {
    margin-top: 26px;
    align-self: center;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .5s var(--ease) .4s, transform .5s var(--ease) .4s;
}

.drawer.is-open .drawer-cta {
    opacity: 1;
    transform: none;
}

/* ---------- HERO ---------- */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: calc(var(--header-h) + 12px) 60px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(30px, 4vw, 70px);
    width: 100%;
    max-width: 1560px;
    margin-inline: auto;
    padding-inline: var(--pad);
}

.field-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    --field-line: rgba(18, 18, 16, .15);
    --field-dot: rgba(227, 6, 19, .5);
}

html[data-theme="dark"] .hero .field-canvas {
    --field-line: rgba(242, 241, 236, .11);
    --field-dot: rgba(255, 75, 62, .55);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1160px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 26px;
}

.eyebrow-rule {
    width: 34px;
    height: 1px;
    background: var(--accent);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--pulse);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(227, 6, 19, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(227, 6, 19, 0);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.7rem, min(8vw, 9.5vh), 6.2rem);
    line-height: .98;
    letter-spacing: -.025em;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
    padding-block: .04em;
}

.hero-title .line-in {
    display: block;
    will-change: transform;
}

.hero-title em {
    font-style: normal;
    color: var(--accent);
}

.grad,
.grad-text {
    color: var(--accent);
}

.scramble-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-height: 1.8em;
    margin-bottom: 22px;
}

.scramble-prefix {
    color: var(--accent);
}

.scramble-text {
    font-size: .82rem;
    letter-spacing: .18em;
    color: var(--ink);
}

.hero-lead {
    max-width: 56ch;
    font-size: 1.06rem;
    color: var(--muted);
    margin-bottom: 38px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-meta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 44px;
    color: var(--muted);
}

/* ---------- HERO visual — icon collage on the right ---------- */
.hero-visual {
    width: min(400px, 34vw);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    position: relative;
    z-index: 1;
}

.hv-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 20px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink);
    animation: hv-float 5.5s ease-in-out infinite;
}

.hv-tile:nth-child(2) {
    animation-delay: .9s;
}

.hv-tile:nth-child(3) {
    animation-delay: 1.8s;
}

.hv-tile:nth-child(4) {
    animation-delay: 2.7s;
}

.hv-tile:nth-child(5) {
    animation-delay: 3.6s;
}

.hv-tile:nth-child(6) {
    animation-delay: 4.5s;
}

.hv-tile svg {
    width: 26px;
    height: 26px;
    color: var(--accent);
}

.hv-chip {
    grid-column: span 1;
    align-self: center;
    justify-self: center;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .62rem;
    letter-spacing: .18em;
    color: var(--muted);
    background: var(--bg);
    white-space: nowrap;
}

.hv-chip-red {
    border-color: var(--accent);
    color: var(--accent);
}

@keyframes hv-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
}

.meta-rule {
    width: 48px;
    height: 1px;
    background: var(--line);
}

.scroll-cue {
    position: relative;
    align-self: center;
    margin-top: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    z-index: 1;
}

.cue-wheel {
    width: 20px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.cue-wheel span {
    width: 2px;
    height: 7px;
    background: var(--accent);
    border-radius: 2px;
    animation: cue 1.6s infinite var(--ease);
}

@keyframes cue {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    80% {
        transform: translateY(12px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ---------- MARQUEE ---------- */
.marquee {
    position: relative;
    z-index: 2;
    background: var(--ink);
    color: var(--bg);
    overflow: hidden;
    padding-block: 18px;
}

html[data-theme="dark"] .marquee {
    background: #161613;
    color: #f2f1ec;
}

.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-set {
    display: flex;
    align-items: center;
    gap: 34px;
    padding-right: 34px;
    white-space: nowrap;
}

.marquee-set span {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1rem, 2.4vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.marquee-set i {
    font-style: normal;
    color: var(--accent);
    font-size: .8rem;
}

/* ---------- SECTIONS ---------- */
.section {
    padding-block: clamp(84px, 12vh, 140px);
    border-bottom: 1px solid var(--line);
}

.section-head {
    margin-bottom: clamp(44px, 7vh, 76px);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 5.4vw, 4rem);
    line-height: 1.02;
    letter-spacing: -.02em;
    text-transform: uppercase;
    margin-top: 16px;
}

.section-title em {
    font-style: normal;
}

/* ---------- STATS BAND ---------- */
.stats-band {
    background: var(--bg-alt);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    margin-bottom: 70px;
}

.stat-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 30px 26px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    transition: transform .35s var(--ease);
}

.stat-cell:hover {
    transform: translateY(-4px);
}

.stat-num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    line-height: 1;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.stat-num .counter {
    color: var(--accent);
}

.stat-lbl {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}

.bars {
    display: grid;
    gap: 34px;
}

.bar-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 10px;
    gap: 10px 18px;
    align-items: center;
}

.bar-label {
    font-size: .95rem;
    font-weight: 600;
}

.bar-pct {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.bar {
    grid-column: 1 / -1;
    height: 3px;
    background: var(--line);
    overflow: hidden;
}

.bar-fill {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--accent);
    transform-origin: 0 50%;
    transform: scaleX(0);
}

@media (max-width: 860px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- COURSES — pinned horizontal ---------- */
.section-h {
    --intro-w: clamp(280px, 34vw, 430px);
    overflow: hidden;
    padding-block: 0;
}

.h-viewport {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.h-track {
    display: flex;
    align-items: center;
    gap: 26px;
    width: max-content;
    padding: 40px 4vw 40px calc(4vw + var(--intro-w) + 40px);
    will-change: transform;
}

.h-intro {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(4vw + var(--intro-w) + 20px);
    padding-left: 4vw;
    background: var(--bg);
    z-index: 2;
}

.h-intro-sub {
    margin-top: 22px;
    color: var(--accent);
    animation: nudge 1.6s var(--ease) infinite alternate;
}

@keyframes nudge {
    to {
        transform: translateX(12px);
    }
}

.hcard {
    position: relative;
    flex: 0 0 calc(100vw - 8vw - var(--intro-w) - 40px);
    min-height: clamp(380px, 52vh, 540px);
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(28px, 3vw, 44px);
    cursor: pointer;
    transform-style: preserve-3d;
    will-change: transform;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.hcard::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 60%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}

/* ---------- heading on the RIGHT (process) ---------- */
.h-viewport[data-slide="ltr"] .h-intro {
    left: auto;
    right: 0;
    padding-left: 0;
    padding-right: 4vw;
    align-items: flex-end;
    text-align: right;
    z-index: 3;
}

.h-viewport[data-slide="ltr"] .h-track {
    padding: 40px calc(4vw + var(--intro-w) + 40px) 40px 4vw;
}

.h-viewport[data-slide="ltr"] .hcard {
    flex-basis: calc(100vw - 8vw - var(--intro-w) - 40px);
}

.hcard:hover {
    border-color: var(--ink);
    box-shadow: var(--shadow);
}

.hcard:hover::before {
    opacity: 1;
}

.card-top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.chip {
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: var(--bg);
}

.chip-accent {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

html[data-theme="dark"] .chip-accent {
    color: #17140f;
}

.card-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.7rem;
    letter-spacing: -.01em;
    text-transform: uppercase;
    line-height: 1.05;
}

.card-sub {
    font-size: .8rem;
    font-weight: 600;
    color: var(--accent);
    margin: 4px 0 14px;
}

.card-body {
    font-size: .92rem;
    color: var(--muted);
    flex-grow: 1;
}

.card-open {
    position: absolute;
    top: 26px;
    right: 26px;
    color: var(--accent);
    font-size: .72rem;
    letter-spacing: .08em;
    opacity: .8;
    transition: opacity .25s, transform .25s var(--ease);
}

html[data-theme="dark"] .card-open {
    opacity: .95;
}

.hcard:hover .card-open {
    opacity: 1;
    transform: scale(1.15);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .86rem;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding-bottom: 3px;
    width: max-content;
    transition: color .25s, border-color .25s;
}

.card-link svg {
    width: 15px;
    height: 15px;
    transition: transform .3s var(--ease);
}

.card-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.card-link:hover svg {
    transform: translateX(4px);
}

.h-end {
    flex: 0 0 calc(100vw - 8vw - var(--intro-w) - 40px);
    min-height: clamp(380px, 52vh, 540px);
    display: grid;
    place-items: center;
    text-align: center;
}

.h-end-note {
    display: block;
    margin-top: 18px;
    color: var(--muted);
    font-size: .85rem;
}

@media (max-width: 900px) {
    /* same pinned horizontal slide as desktop — on a phone the heading sits ABOVE the
       strip instead of masking a side, because there is no spare width */
    .section-h {
        --intro-w: 0px;
    }

    .h-viewport {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        height: 100vh;
        height: 100svh;
        padding: calc(var(--header-h) + 8px) 0 clamp(18px, 4svh, 40px);
    }

    .h-intro,
    .h-viewport[data-slide="ltr"] .h-intro {
        position: static;
        flex: 0 0 auto;
        width: 100%;
        padding: 0 4vw;
        left: auto;
        right: auto;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        background: transparent;
        z-index: auto;
    }

    .h-track,
    .h-viewport[data-slide="ltr"] .h-track {
        flex: 1 1 auto;
        gap: 16px;
        padding: 22px 4vw 0;
    }

    .hcard,
    .h-viewport[data-slide="ltr"] .hcard {
        flex-basis: min(84vw, 420px);
        min-height: 0;
        padding: clamp(22px, 6vw, 34px);
    }

    .h-end {
        flex-basis: min(84vw, 340px);
        min-height: 0;
    }

    .h-intro-sub {
        margin-top: 12px;
    }
}

/* landscape phones: the heading sits above the strip, so on a short screen it has
   to give the strip room or the cards get cut off by the pinned viewport */
@media (max-width: 900px) and (max-height: 560px) {
    .h-viewport {
        padding-top: calc(var(--header-h) + 2px);
        padding-bottom: 6px;
    }

    .h-intro .eyebrow {
        margin-bottom: 0;
    }

    .h-intro .section-title {
        font-size: clamp(1.45rem, 5.2vw, 2.15rem);
    }

    .h-intro-sub {
        display: none;
    }

    .h-track,
    .h-viewport[data-slide="ltr"] .h-track {
        padding-top: 8px;
    }

    .hcard,
    .h-viewport[data-slide="ltr"] .hcard {
        padding: 12px 16px;
    }
}

/* ---------- WHY — sticky split ---------- */
.why-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(40px, 7vw, 90px);
    align-items: start;
}

.why-sticky {
    position: sticky;
    top: calc(var(--header-h) + 40px);
}

.why-meter {
    margin-top: 36px;
    height: 3px;
    width: 100%;
    max-width: 220px;
    background: var(--line);
    overflow: hidden;
}

#why-fill {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--accent);
    transform-origin: 0 50%;
    transform: scaleX(0);
}

.why-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.why-row {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 20px;
    align-items: start;
    padding: 34px 8px;
    border-bottom: 1px solid var(--line);
    transition: background-color .3s var(--ease), padding-left .3s var(--ease);
}

.why-row:hover {
    background: var(--bg-alt);
    padding-left: 20px;
}

.why-row h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: -.01em;
    margin-bottom: 8px;
}

.why-row p {
    font-size: .95rem;
    color: var(--muted);
}

.why-num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.2rem;
    line-height: 1;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-sticky {
        position: static;
    }
}

/* ---------- PROCESS — step cards (inside horizontal track) ---------- */
.stack-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 26px;
    align-items: center;
    cursor: default;
}

.stack-num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3.4rem, 8vw, 5.4rem);
    line-height: 1;
    color: var(--accent);
}

.stack-card h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    text-transform: uppercase;
    letter-spacing: -.01em;
    margin-bottom: 10px;
}

.stack-card p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 56ch;
}

.stack-tag {
    position: absolute;
    top: 20px;
    right: 24px;
    color: var(--muted);
    opacity: .9;
}

@media (max-width: 640px) {
    .stack-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero {
        padding-block: calc(var(--header-h) + 6px) 64px;
    }

    .hero .eyebrow {
        margin-bottom: 18px;
    }

    .hero-title {
        margin-bottom: 20px;
    }

    .scramble-row {
        margin-bottom: 14px;
    }

    .hero-lead {
        margin-block: 0 22px;
        font-size: 1rem;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn-lg {
        padding: 13px 18px;
        font-size: .9rem;
    }

    .hero-meta {
        margin-top: 26px;
        gap: 10px 16px;
        font-size: .6rem;
        letter-spacing: .1em;
    }
}

/* ---------- REVIEWS ---------- */
#reviews {
    background: var(--bg-alt);
}

.review-swiper {
    padding-bottom: 8px;
}

.review {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    transform-style: preserve-3d;
    will-change: transform;
    transition: border-color .3s;
}

.review:hover {
    border-color: var(--ink);
}

.stars {
    color: var(--accent);
    letter-spacing: .22em;
    font-size: .95rem;
}

.review>p {
    font-size: 1.02rem;
    line-height: 1.65;
    flex-grow: 1;
}

.review footer {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.review footer div {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.review footer strong {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .95rem;
    text-transform: uppercase;
}

.review footer span:not(.avatar) {
    font-family: var(--font-mono);
    font-size: .64rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.avatar {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--font-display);
    font-weight: 800;
}

.review-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 34px;
}

.rev-btn {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform .3s var(--ease), background-color .25s, color .25s, border-color .25s;
}

.rev-btn svg {
    width: 17px;
    height: 17px;
}

.rev-btn:hover {
    transform: scale(1.06);
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.review-swiper .swiper-pagination {
    position: static;
    width: auto;
    display: flex;
    gap: 7px;
}

.review-swiper .swiper-pagination-bullet {
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: var(--line);
    opacity: 1;
    transition: background-color .3s, width .3s var(--ease);
}

.review-swiper .swiper-pagination-bullet-active {
    background: var(--accent);
    width: 34px;
}

/* ---------- CTA BAND ---------- */
.cta-band {
    position: relative;
    background: var(--ink-band);
    color: var(--on-ink);
    overflow: hidden;
    padding-block: clamp(70px, 12vh, 130px);
    display: grid;
    place-items: center;
    border-bottom: 0;
    text-align: center;
}

html[data-theme="dark"] .cta-band {
    background: #161613;
}

.cta-band .field-canvas {
    --field-line: rgba(250, 250, 247, .28);
    --field-dot: rgba(255, 75, 62, .8);
    opacity: .6;
}

.cta-text {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.4rem, 9vw, 6rem);
    line-height: 1;
    letter-spacing: -.02em;
    text-transform: uppercase;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(250, 250, 247, .5);
    transition: color .4s var(--ease), -webkit-text-stroke-color .4s var(--ease);
    will-change: transform;
    padding-inline: var(--pad);
}

html[data-theme="dark"] .cta-text {
    -webkit-text-stroke-color: rgba(242, 241, 236, .5);
}

.cta-text:hover {
    color: var(--accent);
    -webkit-text-stroke-color: transparent;
}

.cta-arrow {
    display: inline-block;
    color: var(--accent);
    -webkit-text-stroke: 0;
    transition: transform .4s var(--ease);
}

.cta-text:hover .cta-arrow {
    transform: translateX(18px);
}

/* the huge outlined line only stays on one screen at desktop widths — let it wrap below that */
@media (max-width: 1440px) {
    .cta-band {
        padding-inline: var(--pad);
        grid-template-columns: minmax(0, 100%);
    }

    .cta-text {
        justify-self: stretch;
        min-width: 0;
        white-space: normal;
        padding-inline: 0;
        line-height: 1.06;
        font-size: clamp(1.75rem, 7.2vw, 4.6rem);
        -webkit-text-stroke-width: 1.2px;
    }
}

/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(44px, 7vw, 90px);
    align-items: start;
}

.contact-lead {
    margin-top: 22px;
    margin-bottom: 26px;
    max-width: 46ch;
    color: var(--muted);
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.contact-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 22px 6px;
    border-bottom: 1px solid var(--line);
    transition: padding-left .3s var(--ease);
}

.contact-list li:hover {
    padding-left: 16px;
}

.contact-list strong {
    font-family: var(--font-mono);
    font-size: .66rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-list a,
.contact-list span:not(:first-child) {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}

.contact-list a {
    width: max-content;
    border-bottom: 1px solid var(--line);
    transition: color .25s, border-color .25s;
}

.contact-list a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(26px, 4vw, 44px);
    box-shadow: var(--shadow);
}

.field-wrap {
    position: relative;
}

.field-wrap input,
.field-wrap textarea,
.field-wrap select {
    width: 100%;
    font: inherit;
    font-size: .95rem;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1.5px solid var(--line);
    border-radius: 0;
    padding: 14px 2px;
    outline: none;
    transition: border-color .3s;
}

.field-wrap select {
    appearance: none;
    cursor: pointer;
}

.field-wrap textarea {
    resize: vertical;
    min-height: 96px;
}

.field-wrap input:focus,
.field-wrap textarea:focus,
.field-wrap select:focus {
    border-color: var(--accent);
}

.field-wrap label {
    position: absolute;
    left: 2px;
    top: 14px;
    color: var(--muted);
    font-size: .95rem;
    pointer-events: none;
    transition: top .25s var(--ease), font-size .25s var(--ease), color .25s, letter-spacing .25s;
}

.field-wrap input:focus+label,
.field-wrap input:not(:placeholder-shown)+label,
.field-wrap textarea:focus+label,
.field-wrap textarea:not(:placeholder-shown)+label,
.field-wrap select:focus~label,
.field-wrap select.has-value~label,
.field-wrap select:valid~label {
    top: -10px;
    font-size: .66rem;
    font-family: var(--font-mono);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
}

.field-wrap select option {
    background: var(--surface);
    color: var(--ink);
}

.select-label {
    /* floats via select:valid~label like the other fields */
}

/* custom course dropdown */
.field-wrap select.is-native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    padding: 0;
    border: 0;
}

.sel-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 0;
    border-bottom: 1.5px solid var(--line);
    padding: 14px 2px;
    font: inherit;
    font-size: .95rem;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: border-color .3s;
}

.sel-btn:hover,
.sel-btn.is-open {
    border-color: var(--ink);
}

.sel-btn:focus-visible {
    outline: none;
    border-color: var(--accent);
}

.sel-chev {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: var(--muted);
    transition: transform .35s var(--ease), color .3s;
}

.sel-btn.is-open .sel-chev {
    transform: rotate(180deg);
    color: var(--accent);
}

.sel-list {
    position: absolute;
    z-index: 60;
    left: 0;
    right: 0;
    top: 54px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 44px rgba(18, 18, 16, .16);
    padding: 6px;
    max-height: 252px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}

html[data-theme="dark"] .sel-list {
    box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
}

.sel-list.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.sel-opt {
    width: 100%;
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 12px;
    background: transparent;
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-size: .92rem;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.sel-opt .sel-i {
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .12em;
    color: var(--muted);
    min-width: 18px;
}

.sel-opt:hover,
.sel-opt:focus-visible {
    outline: none;
    background: var(--bg-alt);
}

.sel-opt:hover .sel-i {
    color: var(--accent);
}

.sel-opt[aria-selected="true"] {
    color: var(--accent);
    font-weight: 600;
}

.sel-opt[aria-selected="true"]::after {
    content: "+";
    margin-left: auto;
    font-family: var(--font-mono);
}

.field-err {
    min-height: 18px;
    margin-top: 5px;
    font-size: .76rem;
    color: var(--accent);
}

.has-error input,
.has-error select {
    border-color: var(--accent);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- MODAL ---------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 260;
    display: grid;
    place-items: center;
    padding: var(--pad);
    visibility: hidden;
}

.modal.is-open {
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 9, .62);
    opacity: 0;
}

.modal-panel {
    position: relative;
    width: min(620px, 100%);
    max-height: min(84svh, 700px);
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(28px, 5vw, 48px);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
    opacity: 0;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: background-color .25s, color .25s, border-color .25s;
}

.modal-close svg {
    width: 16px;
    height: 16px;
}

.modal-close:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.modal-kicker {
    color: var(--accent);
    margin-bottom: 12px;
}

.modal-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    text-transform: uppercase;
    letter-spacing: -.02em;
    line-height: 1.02;
}

.modal-desc {
    margin-top: 14px;
    color: var(--muted);
}

.modal-points {
    margin: 26px 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.modal-points li {
    display: flex;
    gap: 14px;
    align-items: baseline;
    padding: 13px 2px;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
}

.modal-points li::before {
    content: "—";
    color: var(--accent);
    font-weight: 700;
}

.modal-meta {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
    color: var(--muted);
}

.modal-meta span:first-child {
    color: var(--ink);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--ink-band);
    color: var(--on-ink);
    padding-block: clamp(56px, 9vh, 90px) 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: clamp(34px, 5vw, 60px);
    padding-bottom: 54px;
    border-bottom: 1px solid rgba(250, 250, 247, .14);
}

.footer-brand p {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    text-transform: uppercase;
    margin-top: 18px;
    color: var(--on-ink);
}

.footer-sub {
    font-weight: 400 !important;
    font-size: .88rem !important;
    text-transform: none !important;
    opacity: .6;
    margin-top: 8px !important;
    max-width: 260px;
}

.footer-brand .brand-mark {
    background: var(--on-ink);
    color: var(--ink-band);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: .64rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    opacity: .55;
    margin-bottom: 8px;
}

.footer-col a {
    font-size: .92rem;
    opacity: .85;
    width: max-content;
    transition: opacity .25s, color .25s, transform .25s var(--ease);
}

.footer-col a:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateX(4px);
}

.footer-col span {
    font-size: .92rem;
    opacity: .85;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 28px;
    font-size: .8rem;
    opacity: .65;
}

.footer-bottom .grad-text {
    color: var(--accent);
    opacity: 1;
}

@media (max-width: 860px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- TO TOP ---------- */
#to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 140;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(16px) scale(.92);
    pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .25s;
}

#to-top.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

#to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

#to-top svg {
    width: 18px;
    height: 18px;
}

/* ---------- MISC ---------- */
.hide-mobile {
    display: inline-flex;
}

@media (max-width: 720px) {
    .hide-mobile {
        display: none;
    }
}

/* Lenis */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}