:root {
    --ink: #1d2a24;
    --ink-soft: #55625c;
    --paper: #ffffff;
    --mist: #f3f6f2;
    --sage: #2f6b54;
    --sage-dark: #21513e;
    --coral: #e96f51;
    --line: #dce4de;
    --shadow: 0 18px 48px rgba(29, 42, 36, 0.1);
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

.icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    stroke-width: 1.8;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 72px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(220, 228, 222, 0.9);
    backdrop-filter: blur(14px);
}

.site-nav {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--paper);
    background: var(--sage);
    border-radius: 50%;
}

.brand-mark .icon {
    width: 18px;
    height: 18px;
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a,
.nav-login {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.nav-links a:hover,
.nav-login:hover {
    color: var(--sage);
}

.nav-toggle {
    width: 42px;
    height: 42px;
    display: none;
    place-items: center;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 20px;
    color: var(--paper);
    background: var(--sage);
    border: 1px solid var(--sage);
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
    color: var(--paper);
    background: var(--sage-dark);
    border-color: var(--sage-dark);
    transform: translateY(-1px);
}

.button-secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(29, 42, 36, 0.24);
}

.button-secondary:hover {
    color: var(--ink);
    background: var(--paper);
    border-color: var(--ink);
}

.button-coral {
    background: var(--coral);
    border-color: var(--coral);
}

.button-coral:hover {
    background: #ce573c;
    border-color: #ce573c;
}

.hero {
    position: relative;
    min-height: clamp(590px, 82svh, 780px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #e8ece8;
    background-image: url("../img/yoga-multik-hero.webp");
    background-position: center right;
    background-size: cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 62%;
    background: rgba(246, 248, 245, 0.86);
    border-right: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px), var(--container));
    padding: 72px 0 126px;
}

.hero-copy {
    width: min(500px, 48%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    color: var(--sage-dark);
    font-size: 13px;
    font-weight: 800;
}

.hero h1,
.section-heading h2,
.studio-copy h2,
.contact-copy h2 {
    margin: 0;
    font-family: "Lora", Georgia, serif;
    font-weight: 600;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 500px;
    font-size: 66px;
    line-height: 1.02;
}

.hero-lead {
    max-width: 520px;
    margin: 24px 0 30px;
    color: #314039;
    font-size: 19px;
    line-height: 1.6;
}

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

.hero-next {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    color: var(--paper);
    background: rgba(24, 39, 32, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-next-inner {
    min-height: 98px;
    display: grid;
    grid-template-columns: 180px 1fr auto auto;
    align-items: center;
    gap: 30px;
}

.hero-next-label,
.meta-label {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 800;
}

.hero-next-title {
    font-family: "Lora", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
}

.hero-next-meta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-next-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.hero-next .button {
    min-height: 42px;
    background: var(--coral);
    border-color: var(--coral);
}

.section {
    padding: 96px 0;
}

.section-muted {
    background: var(--mist);
}

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

.section-heading-row {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.section-heading h2,
.studio-copy h2,
.contact-copy h2 {
    font-size: 44px;
    line-height: 1.14;
}

.section-heading p,
.studio-copy > p,
.contact-copy > p {
    margin: 14px 0 0;
    color: var(--ink-soft);
    font-size: 17px;
}

.schedule-list {
    border-top: 1px solid var(--line);
}

.schedule-item {
    min-height: 112px;
    display: grid;
    grid-template-columns: 115px 100px minmax(220px, 1fr) 180px 140px;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.schedule-date strong,
.schedule-time {
    display: block;
    font-size: 17px;
}

.schedule-date span,
.schedule-class p {
    color: var(--ink-soft);
    font-size: 13px;
}

.schedule-class h3 {
    margin: 0 0 4px;
    font-family: "Lora", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
}

.schedule-class p {
    margin: 0;
}

.schedule-spots {
    justify-self: start;
    padding: 6px 10px;
    color: var(--sage-dark);
    background: #e0efe7;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.schedule-spots.is-low {
    color: #8a321e;
    background: #f9ddd5;
}

.schedule-spots.is-full {
    color: var(--ink-soft);
    background: #e6e9e7;
}

.schedule-item .button {
    justify-self: end;
}

.empty-state {
    padding: 44px 0;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.direction-item {
    min-height: 290px;
    padding: 34px;
    background: var(--paper);
}

.direction-number {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 48px;
    color: var(--paper);
    background: var(--sage);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
}

.direction-item:nth-child(2) .direction-number {
    background: var(--coral);
}

.direction-item:nth-child(3) .direction-number {
    color: var(--ink);
    background: #cad7a8;
}

.direction-item h3 {
    margin: 0 0 10px;
    font-family: "Lora", Georgia, serif;
    font-size: 26px;
    font-weight: 600;
}

.direction-item p {
    margin: 0;
    color: var(--ink-soft);
}

.direction-meta {
    display: flex;
    gap: 14px;
    margin-top: 22px;
    color: var(--sage-dark);
    font-size: 12px;
    font-weight: 800;
}

.passes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.pass-card {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.pass-card.is-featured {
    color: var(--paper);
    background: var(--sage-dark);
    border-color: var(--sage-dark);
    box-shadow: var(--shadow);
}

.pass-kicker {
    margin: 0 0 34px;
    color: var(--sage);
    font-size: 12px;
    font-weight: 800;
}

.is-featured .pass-kicker,
.is-featured .pass-details,
.is-featured .pass-description {
    color: rgba(255, 255, 255, 0.74);
}

.pass-card h3 {
    margin: 0;
    font-family: "Lora", Georgia, serif;
    font-size: 27px;
    font-weight: 600;
}

.pass-description {
    min-height: 72px;
    margin: 12px 0 18px;
    color: var(--ink-soft);
    font-size: 14px;
}

.pass-price {
    margin: 0 0 6px;
    font-size: 34px;
    font-weight: 800;
}

.pass-details {
    margin: 0 0 28px;
    color: var(--ink-soft);
    font-size: 13px;
}

.pass-card .button {
    width: 100%;
    margin-top: auto;
}

.is-featured .button {
    color: var(--ink);
    background: var(--paper);
    border-color: var(--paper);
}

.studio-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    align-items: center;
    gap: 72px;
}

.studio-image {
    aspect-ratio: 16 / 11;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.studio-points {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.studio-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.studio-point .icon {
    margin-top: 3px;
    color: var(--coral);
}

.studio-point strong,
.studio-point span {
    display: block;
}

.studio-point span {
    color: var(--ink-soft);
    font-size: 14px;
}

.contact-band {
    color: var(--paper);
    background: #24362e;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
}

.contact-copy > p {
    color: rgba(255, 255, 255, 0.72);
}

.contact-actions {
    display: flex;
    gap: 12px;
}

.contact-actions .button-secondary {
    color: var(--paper);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.38);
}

.site-footer {
    padding: 32px 0 96px;
    background: #18251f;
    color: rgba(255, 255, 255, 0.65);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 13px;
}

.footer-inner a {
    color: var(--paper);
    text-decoration: none;
}

.mobile-dock {
    position: fixed;
    z-index: 60;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(29, 42, 36, 0.18);
    backdrop-filter: blur(12px);
}

.mobile-dock .button {
    padding: 0 12px;
}

:focus-visible {
    outline: 3px solid rgba(233, 111, 81, 0.48);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .nav-links,
    .nav-actions .nav-login,
    .nav-actions > .button {
        display: none;
    }

    .nav-toggle {
        display: grid;
    }

    .nav-links.is-open {
        position: fixed;
        inset: 72px 0 auto 0;
        display: grid;
        gap: 0;
        padding: 14px 20px 24px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .nav-links.is-open a {
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }

    .hero-copy {
        width: 58%;
    }

    .hero::before {
        width: 72%;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-next-inner {
        grid-template-columns: 140px 1fr auto;
    }

    .hero-next-meta {
        display: none;
    }

    .schedule-item {
        grid-template-columns: 100px 80px minmax(200px, 1fr) 130px;
    }

    .schedule-spots {
        display: none;
    }

    .studio-layout {
        gap: 42px;
    }
}

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

    .site-header,
    .site-nav {
        height: 64px;
    }

    .nav-links.is-open {
        inset: 64px 0 auto 0;
    }

    .hero {
        min-height: 650px;
        align-items: flex-start;
        background-position: 68% center;
    }

    .hero::before {
        width: 100%;
        background: rgba(246, 248, 245, 0.84);
        border-right: 0;
    }

    .hero-inner {
        padding: 72px 0 146px;
    }

    .hero-copy {
        width: 100%;
    }

    .hero h1 {
        max-width: 420px;
        font-size: 48px;
    }

    .hero-lead {
        max-width: 420px;
        font-size: 17px;
    }

    .hero-next-inner {
        min-height: 112px;
        grid-template-columns: 1fr auto;
        gap: 14px;
    }

    .hero-next-label {
        display: none;
    }

    .hero-next-title {
        font-size: 18px;
    }

    .hero-next .button {
        width: 44px;
        min-height: 44px;
        padding: 0;
        font-size: 0;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading-row,
    .contact-layout,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading-row {
        display: flex;
    }

    .section-heading h2,
    .studio-copy h2,
    .contact-copy h2 {
        font-size: 36px;
    }

    .schedule-item {
        min-height: 0;
        grid-template-columns: 68px 1fr auto;
        align-items: start;
        gap: 12px;
    }

    .schedule-time {
        grid-column: 1;
        grid-row: 2;
        font-size: 14px;
    }

    .schedule-class {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .schedule-class h3 {
        font-size: 19px;
    }

    .schedule-item .button {
        width: 44px;
        min-height: 44px;
        grid-column: 3;
        grid-row: 1 / span 2;
        padding: 0;
        font-size: 0;
    }

    .directions-grid,
    .passes-grid,
    .studio-layout {
        grid-template-columns: 1fr;
    }

    .direction-item {
        min-height: 240px;
    }

    .direction-number {
        margin-bottom: 32px;
    }

    .studio-layout {
        gap: 36px;
    }

    .contact-layout {
        display: flex;
    }

    .contact-actions {
        width: 100%;
        flex-direction: column;
    }

    .site-footer {
        padding-bottom: 104px;
    }

    .footer-inner {
        display: flex;
    }

    .mobile-dock {
        display: grid;
    }
}

@media (max-width: 420px) {
    .brand-label {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        width: min(100%, 320px);
    }
}

@media (max-width: 760px) and (max-height: 560px) {
    .mobile-dock {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
