/* =========================================================
   Calmlyss — AI Site template
   Design tokens derived from reference study (calmlyss.webflow.io)
   ========================================================= */

:root {
    --ink: #301100;
    --ink-soft: #4a2312;
    --muted: #6b584e;
    --muted-soft: #8b7a70;
    --line: rgba(48, 17, 0, 0.12);
    --line-strong: rgba(48, 17, 0, 0.2);
    --cream: #f9f6f3;
    --cream-deep: #f2eae2;
    --sand: #ece0d4;
    --white: #ffffff;
    --clay: #c0714f;
    --clay-soft: #e8cbb9;
    --olive: #7d8571;
    --danger: #b4462f;
    --radius-xl: 34px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --pill: 999px;
    --container: 1240px;
    --gutter: 40px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --font-sans: "Geist", "Inter", "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 2px solid var(--clay);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 24px;
    top: -80px;
    z-index: 200;
    padding: 12px 20px;
    border-radius: var(--pill);
    background: var(--ink);
    color: var(--cream);
    font-size: 14px;
    transition: top 0.3s var(--ease);
}

.skip-link:focus {
    top: 20px;
}

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: 120px 0;
    position: relative;
}

.section--tight {
    padding: 84px 0;
}

.section--cream {
    background: var(--cream);
}

.section--deep {
    background: var(--cream-deep);
}

.section--ink {
    background: var(--ink);
    color: var(--cream);
}

.stack {
    display: grid;
    gap: 24px;
}

/* ---------- Typography ---------- */
.display-1,
.heading-1 {
    font-size: clamp(46px, 6.2vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.heading-2 {
    font-size: clamp(32px, 4.1vw, 56px);
    line-height: 1.18;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.heading-3 {
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.25;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.heading-4 {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    font-size: 1.06em;
}

.lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
}

.body-text {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.small {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted-soft);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clay);
}

.section--ink .eyebrow {
    color: rgba(249, 246, 243, 0.7);
}

.section-heading {
    display: grid;
    gap: 20px;
    max-width: 720px;
}

.section-heading--center {
    margin: 0 auto;
    text-align: center;
    justify-items: center;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 24px;
    border-radius: var(--pill);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.2;
    transition: transform 0.35s var(--ease), background 0.3s var(--ease),
        color 0.3s var(--ease), border-color 0.3s var(--ease);
    will-change: transform;
}

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

.btn__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: transform 0.35s var(--ease);
}

.btn:hover .btn__icon {
    transform: rotate(45deg);
}

.btn__icon svg {
    width: 14px;
    height: 14px;
}

.btn--light {
    background: var(--white);
    color: var(--ink);
}

.btn--light .btn__icon {
    background: rgba(48, 17, 0, 0.1);
}

.btn--dark {
    background: var(--ink);
    color: var(--cream);
}

.btn--dark .btn__icon {
    background: rgba(249, 246, 243, 0.16);
    color: var(--cream);
}

.btn--clay {
    background: var(--clay);
    color: var(--white);
}

.btn--clay .btn__icon {
    background: rgba(255, 255, 255, 0.2);
}

.btn--ghost {
    border: 1px solid var(--line-strong);
    color: var(--ink);
}

.btn--ghost:hover {
    border-color: var(--ink);
}

.section--ink .btn--ghost {
    border-color: rgba(249, 246, 243, 0.3);
    color: var(--cream);
}

.btn--block {
    width: 100%;
    justify-content: space-between;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 3px;
    transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}

.text-link:hover {
    gap: 12px;
    border-color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 90;
    padding: 18px 0;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease),
        border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 21px;
    letter-spacing: -0.02em;
    transition: color 0.4s var(--ease);
}

.brand__mark {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    border-radius: var(--pill);
    font-size: 14px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: background 0.3s var(--ease), color 0.3s var(--ease),
        border-color 0.3s var(--ease);
}

.nav__link:hover {
    background: rgba(255, 255, 255, 0.28);
}

.nav__link.is-active {
    background: var(--clay);
    border-color: transparent;
    color: var(--white);
}

.header-cta {
    display: inline-flex;
}

/* light (scrolled / inner pages) state */
.site-header.is-solid {
    background: rgba(249, 246, 243, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--line);
}

.site-header.is-solid .brand {
    color: var(--ink);
}

.site-header.is-solid .nav__link {
    color: var(--ink);
    background: rgba(48, 17, 0, 0.05);
    border-color: rgba(48, 17, 0, 0.1);
}

.site-header.is-solid .nav__link:hover {
    background: rgba(48, 17, 0, 0.1);
}

.site-header.is-solid .nav__link.is-active {
    background: var(--clay);
    border-color: transparent;
    color: var(--white);
}

.site-header.is-solid .btn--light {
    background: var(--ink);
    color: var(--cream);
}

.site-header.is-solid .btn--light .btn__icon {
    background: rgba(249, 246, 243, 0.18);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    place-items: center;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: var(--white);
}

.site-header.is-solid .menu-toggle {
    background: rgba(48, 17, 0, 0.06);
    border-color: rgba(48, 17, 0, 0.14);
    color: var(--ink);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle span + span {
    margin-top: 5px;
}

body.menu-open .menu-toggle span:first-child {
    transform: translateY(3.25px) rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
}

body.menu-open {
    overflow: hidden;
}

/* mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 120px var(--gutter) 48px;
    background: var(--ink);
    color: var(--cream);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
        visibility 0.4s;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.mobile-menu__link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(249, 246, 243, 0.14);
    font-size: clamp(28px, 8vw, 40px);
    letter-spacing: -0.02em;
}

.mobile-menu__link .serif-italic {
    opacity: 0.5;
    font-size: 15px;
    font-family: var(--font-sans);
    font-style: normal;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mobile-menu .btn {
    margin-top: 32px;
    justify-content: space-between;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
    padding: 150px 0 0;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.6) 28%,
        rgba(0, 0, 0, 0.34) 72%,
        rgba(0, 0, 0, 0) 92%
    );
}

.hero__lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    pointer-events: none;
}

.hero__lines span {
    width: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.hero__inner {
    position: relative;
    z-index: 2;
    flex: 1;
}

.hero__copy {
    max-width: 660px;
}

.hero__title {
    font-size: clamp(44px, 6.3vw, 82px);
    line-height: 1;
    letter-spacing: -0.008em;
    font-weight: 400;
}

.hero__title .serif-italic {
    display: inline-block;
    margin-left: -0.02em;
}

.hero__lead {
    margin-top: 28px;
    max-width: 480px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.hero__actions {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero__marquee {
    position: relative;
    z-index: 2;
    margin-top: 64px;
    padding-bottom: 0;
    display: grid;
    gap: 16px;
    overflow: hidden;
}

.hero-marquee__row {
    display: flex;
    width: max-content;
    gap: 16px;
    animation: calmlyss-marquee 46s linear infinite;
}

.hero-marquee__row--reverse {
    animation-direction: reverse;
}

.hero-marquee__row:hover {
    animation-play-state: paused;
}

.hero-avatar {
    position: relative;
    flex: 0 0 auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-avatar__label {
    position: absolute;
    inset: auto 0 10px 0;
    text-align: center;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.hero-avatar:hover .hero-avatar__label {
    opacity: 1;
}

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

.hero-scroll {
    position: absolute;
    right: var(--gutter);
    bottom: 32px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    writing-mode: vertical-rl;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative;
    padding: 190px 0 72px;
    background: var(--cream);
    overflow: hidden;
}

.page-hero__shape {
    position: absolute;
    right: -120px;
    top: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(192, 113, 79, 0.22),
        rgba(249, 246, 243, 0) 68%
    );
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    display: grid;
    gap: 24px;
    max-width: 880px;
}

.page-hero__title {
    font-size: clamp(38px, 5.2vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    font-weight: 400;
}

.page-hero__lead {
    max-width: 560px;
    font-size: 18px;
    color: var(--muted);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted-soft);
}

.breadcrumb a:hover {
    color: var(--ink);
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}

.about-copy {
    display: grid;
    gap: 24px;
}

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

.about-media__item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--sand);
}

.about-media__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-media__item--tall {
    grid-row: span 2;
    aspect-ratio: 3 / 4;
}

.about-media__item--wide {
    aspect-ratio: 4 / 3;
}

.about-media__item--small {
    aspect-ratio: 1 / 1;
}

.about-media__badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: rgba(249, 246, 243, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    color: var(--ink);
    line-height: 1.5;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    border-top: 1px solid var(--line);
    padding-top: 28px;
    margin-top: 8px;
}

.stat__value {
    font-size: clamp(30px, 3vw, 40px);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat__label {
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted);
}

.value-list {
    display: grid;
    gap: 18px;
}

.value-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.value-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.value-item__mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(192, 113, 79, 0.14);
    color: var(--clay);
    font-size: 13px;
    font-family: var(--font-serif);
    font-style: italic;
}

/* ---------- Cards / grids ---------- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

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

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

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
        border-color 0.4s var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(48, 17, 0, 0.18);
    box-shadow: 0 24px 48px -32px rgba(48, 17, 0, 0.35);
}

.card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--sand);
}

.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.card:hover .card__media img {
    transform: scale(1.04);
}

.card__body {
    padding: 26px;
    display: grid;
    gap: 14px;
}

.card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--pill);
    background: rgba(48, 17, 0, 0.05);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.chip--clay {
    background: rgba(192, 113, 79, 0.14);
    color: #8f4d31;
}

.card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 6px;
}

.price {
    font-size: 20px;
    letter-spacing: -0.01em;
}

/* teacher cards */
.teacher-card {
    display: grid;
    gap: 18px;
    text-align: center;
    justify-items: center;
}

.teacher-card__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--sand);
    border: 1px solid var(--line);
}

.teacher-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.teacher-card:hover .teacher-card__photo img {
    transform: scale(1.05);
}

.teacher-card__role {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 17px;
    color: var(--clay);
}

.teacher-card__focus {
    font-size: 13px;
    color: var(--muted-soft);
}

/* ---------- Schedule ---------- */
.schedule {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    overflow: hidden;
}

.schedule__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(249, 246, 243, 0.7);
}

.schedule__tab {
    padding: 8px 16px;
    border-radius: var(--pill);
    font-size: 13px;
    color: var(--muted);
    border: 1px solid transparent;
    transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.schedule__tab:hover {
    background: rgba(48, 17, 0, 0.06);
}

.schedule__tab.is-active {
    background: var(--ink);
    color: var(--cream);
}

.schedule__row {
    display: grid;
    grid-template-columns: 120px 120px minmax(0, 1fr) 150px 120px;
    gap: 18px;
    align-items: center;
    padding: 20px 26px;
    border-bottom: 1px solid var(--line);
    transition: background 0.3s var(--ease);
}

.schedule__row:last-child {
    border-bottom: 0;
}

.schedule__row:hover {
    background: rgba(249, 246, 243, 0.8);
}

.schedule__row[hidden] {
    display: none;
}

.schedule__day {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-soft);
}

.schedule__time {
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

.schedule__class {
    font-size: 17px;
}

.schedule__teacher {
    font-size: 14px;
    color: var(--muted);
}

.schedule__spots {
    justify-self: start;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: var(--pill);
    background: rgba(125, 133, 113, 0.16);
    color: #55603f;
}

.schedule__spots--low {
    background: rgba(192, 113, 79, 0.16);
    color: #8f4d31;
}

/* ---------- Pricing ---------- */
.price-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 36px;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid var(--line);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -40px rgba(48, 17, 0, 0.4);
}

.price-card--featured {
    background: var(--ink);
    color: var(--cream);
    border-color: transparent;
}

.price-card__tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: var(--pill);
    background: rgba(192, 113, 79, 0.18);
    color: var(--clay);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price-card--featured .price-card__tag {
    background: rgba(249, 246, 243, 0.14);
    color: var(--cream);
}

.price-card__amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 46px;
    letter-spacing: -0.03em;
    line-height: 1;
}

.price-card__amount span {
    font-size: 14px;
    letter-spacing: 0;
    color: var(--muted);
}

.price-card--featured .price-card__amount span {
    color: rgba(249, 246, 243, 0.7);
}

.price-card__list {
    display: grid;
    gap: 12px;
    font-size: 15px;
    padding-top: 4px;
}

.price-card__list li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: var(--muted);
}

.price-card--featured .price-card__list li {
    color: rgba(249, 246, 243, 0.78);
}

.price-card__list svg {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: var(--clay);
}

.price-card--featured .price-card__list svg {
    color: var(--clay-soft);
}

.price-card .btn {
    margin-top: auto;
}

/* ---------- Gallery ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 180px;
    gap: 16px;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--sand);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item--tall {
    grid-row: span 2;
}

.gallery__item--wide {
    grid-column: span 2;
}

/* ---------- Testimonials ---------- */
.quote-slider {
    position: relative;
    display: grid;
    gap: 32px;
}

.quote-slide {
    display: none;
    gap: 32px;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) 260px;
}

.quote-slide.is-active {
    display: grid;
}

.quote-slide__text {
    font-size: clamp(22px, 2.6vw, 34px);
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.quote-slide__author {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--muted);
}

.quote-slide__author img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.quote-slide__media {
    width: 260px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--sand);
}

.quote-slide__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.quote-btn {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.quote-btn:hover {
    background: var(--ink);
    color: var(--cream);
    border-color: transparent;
}

.quote-dots {
    display: flex;
    gap: 8px;
}

.quote-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(48, 17, 0, 0.2);
    transition: width 0.3s var(--ease), background 0.3s var(--ease);
}

.quote-dot.is-active {
    width: 26px;
    border-radius: var(--pill);
    background: var(--clay);
}

/* ---------- Blog ---------- */
.post-card {
    display: grid;
    gap: 18px;
    align-content: start;
}

.post-card__media {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--sand);
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.post-card:hover .post-card__media img {
    transform: scale(1.04);
}

.post-card__meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-soft);
}

.post-card__title {
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.post-card:hover .post-card__title {
    color: var(--clay);
}

.article {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 26px;
}

.article p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--muted);
}

.article h2 {
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.25;
    font-weight: 400;
    letter-spacing: -0.015em;
    margin-top: 16px;
}

.article blockquote {
    margin: 8px 0;
    padding: 28px 32px;
    border-left: 2px solid var(--clay);
    background: rgba(192, 113, 79, 0.07);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.4;
    color: var(--ink-soft);
}

.article figure {
    display: grid;
    gap: 12px;
}

.article figure img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.article figcaption {
    font-size: 13px;
    color: var(--muted-soft);
    text-align: center;
}

.article__hero {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16 / 8;
    background: var(--sand);
}

.article__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 76px 64px;
    background: var(--ink);
    color: var(--cream);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
}

.cta-band::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(249, 246, 243, 0.16);
    pointer-events: none;
}

.cta-band__title {
    font-size: clamp(30px, 3.6vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 400;
    max-width: 620px;
}

.cta-band__lead {
    margin-top: 16px;
    color: rgba(249, 246, 243, 0.72);
    max-width: 460px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: rgba(249, 246, 243, 0.7);
    padding: 88px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(249, 246, 243, 0.14);
}

.footer-brand {
    display: grid;
    gap: 20px;
    max-width: 320px;
}

.footer-brand .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cream);
    font-size: 21px;
}

.footer-col__title {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(249, 246, 243, 0.5);
    margin-bottom: 18px;
}

.footer-col ul {
    display: grid;
    gap: 12px;
    font-size: 15px;
}

.footer-col a:hover {
    color: var(--cream);
}

.footer-subscribe {
    display: flex;
    gap: 8px;
    padding: 6px;
    border-radius: var(--pill);
    border: 1px solid rgba(249, 246, 243, 0.2);
    background: rgba(249, 246, 243, 0.06);
    max-width: 340px;
}

.footer-subscribe input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--cream);
    padding: 8px 16px;
    font-size: 14px;
}

.footer-subscribe input::placeholder {
    color: rgba(249, 246, 243, 0.45);
}

.footer-subscribe button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--ink);
    flex: 0 0 auto;
    transition: transform 0.3s var(--ease);
}

.footer-subscribe button:hover {
    transform: scale(1.05);
}

.footer-subscribe__msg {
    margin-top: 10px;
    font-size: 13px;
    color: var(--clay-soft);
    min-height: 18px;
}

.footer-subscribe__msg.is-error {
    color: #f0b9a4;
}

.footer-subscribe__msg.is-success {
    color: var(--clay-soft);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 28px;
    font-size: 13px;
    color: rgba(249, 246, 243, 0.5);
}

.footer-bottom__links {
    display: flex;
    gap: 20px;
}

/* ---------- Forms ---------- */
.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: grid;
    gap: 24px;
}

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

.field {
    display: grid;
    gap: 8px;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--ink);
}

.field label .req {
    color: var(--clay);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
    appearance: none;
}

.field textarea {
    min-height: 148px;
    resize: vertical;
}

.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b584e' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px;
    padding-right: 42px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--clay);
    box-shadow: 0 0 0 3px rgba(192, 113, 79, 0.16);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(180, 70, 47, 0.12);
}

.field__error {
    font-size: 13px;
    color: var(--danger);
    min-height: 16px;
}

.checkbox {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    font-size: 14px;
    color: var(--muted);
}

.checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--clay);
    margin: 0;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.form-status {
    display: none;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    font-size: 15px;
    line-height: 1.5;
}

.form-status.is-visible {
    display: flex;
}

.form-status--success {
    background: rgba(125, 133, 113, 0.14);
    color: #48523a;
    border: 1px solid rgba(125, 133, 113, 0.3);
}

.form-status--error {
    background: rgba(180, 70, 47, 0.1);
    color: #8c2f1d;
    border: 1px solid rgba(180, 70, 47, 0.28);
}

.btn.is-busy {
    pointer-events: none;
    opacity: 0.7;
}

.btn.is-busy .btn__label::after {
    content: "…";
}

.contact-aside {
    display: grid;
    gap: 28px;
    align-content: start;
}

.contact-block {
    display: grid;
    gap: 6px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.contact-block:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-block__label {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-soft);
}

.contact-block__value {
    font-size: 17px;
    color: var(--ink);
}

.contact-block__value a:hover {
    color: var(--clay);
}

.hours-list {
    display: grid;
    gap: 10px;
    font-size: 15px;
    color: var(--muted);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.map-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--sand);
    aspect-ratio: 16 / 7;
}

.map-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.6);
}

/* ---------- FAQ ---------- */
.faq-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 24px 0;
    text-align: left;
    font-size: clamp(17px, 1.8vw, 21px);
    letter-spacing: -0.01em;
}

.faq-question__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    transition: transform 0.35s var(--ease), background 0.35s var(--ease),
        color 0.35s var(--ease);
}

.faq-question[aria-expanded="true"] .faq-question__icon {
    transform: rotate(45deg);
    background: var(--ink);
    color: var(--cream);
    border-color: transparent;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--ease);
}

.faq-answer > div {
    overflow: hidden;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer p {
    padding: 0 0 26px;
    max-width: 720px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

/* ---------- Reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

.no-js [data-reveal],
.is-static [data-reveal] {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
    .nav {
        gap: 6px;
    }

    .nav__link {
        padding: 8px 15px;
        font-size: 13px;
    }

    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

    .about-grid {
        gap: 48px;
    }
}

@media (max-width: 991px) {
    :root {
        --gutter: 28px;
    }

    .section {
        padding: 88px 0;
    }

    .nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .hero {
        padding-top: 128px;
        min-height: auto;
    }

    .hero__marquee {
        margin-top: 48px;
    }

    .hero-avatar {
        width: 112px;
        height: 112px;
    }

    .hero-scroll {
        display: none;
    }

    .about-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .about-media {
        order: 2;
    }

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

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

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 160px;
    }

    .cta-band {
        grid-template-columns: minmax(0, 1fr);
        padding: 56px 40px;
    }

    .quote-slide {
        grid-template-columns: minmax(0, 1fr);
    }

    .quote-slide__media {
        width: 180px;
        order: -1;
    }

    .schedule__row {
        grid-template-columns: 92px 92px minmax(0, 1fr);
        row-gap: 8px;
        padding: 18px 20px;
    }

    .schedule__teacher {
        grid-column: 3;
    }

    .schedule__spots {
        grid-column: 3;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .page-hero {
        padding: 150px 0 56px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 16px;
    }

    .section {
        padding: 72px 0;
    }

    .grid-3,
    .grid-4,
    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-card {
        padding: 26px;
    }

    .hero__title {
        font-size: clamp(38px, 10.4vw, 56px);
    }

    .hero__lead {
        font-size: 16px;
    }

    .hero-avatar {
        width: 92px;
        height: 92px;
    }

    .hero-marquee__row {
        gap: 12px;
    }

    .section-head {
        margin-bottom: 36px;
    }

    .cta-band {
        padding: 40px 26px;
    }

    .footer-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .gallery {
        grid-auto-rows: 140px;
    }

    .page-hero__title {
        font-size: clamp(34px, 9vw, 48px);
    }

    .site-footer {
        padding-top: 64px;
    }

    .article blockquote {
        padding: 22px 20px;
    }

    .about-media__badge {
        width: 84px;
        height: 84px;
        font-size: 10px;
    }
}

@media (max-width: 479px) {
    :root {
        --gutter: 20px;
    }

    .hero {
        padding-top: 112px;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: space-between;
    }

    .schedule__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .schedule__teacher,
    .schedule__spots {
        grid-column: 1;
    }

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 120px;
    }

    .stats {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .hero-marquee__row {
        animation: none !important;
    }
}

/* =========================================================
   Events — retreats, workshops, archive and detail page
   ========================================================= */
.section--tight-top {
    padding-top: 56px;
}

.event-rows {
    display: grid;
    gap: 14px;
}

.event-row {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 22px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
        box-shadow 0.35s var(--ease);
}

.event-row:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    box-shadow: 0 20px 44px rgba(48, 17, 0, 0.07);
}

.event-row__date {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 14px 0;
    border-radius: var(--radius-sm);
    background: var(--cream-deep);
}

.event-row__month {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clay);
}

.event-row__day {
    font-family: var(--font-serif);
    font-size: 34px;
    line-height: 1;
}

.event-row__main {
    display: grid;
    gap: 6px;
}

.event-row__kind {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-soft);
}

.event-row__title {
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.event-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    font-size: 14px;
    color: var(--muted);
}

.event-row__arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--ink);
    transition: background 0.3s var(--ease), color 0.3s var(--ease),
        border-color 0.3s var(--ease);
}

.event-row:hover .event-row__arrow {
    background: var(--ink);
    border-color: transparent;
    color: var(--cream);
}

.event-row--past {
    background: transparent;
    border-color: var(--line);
}

.event-row--past .event-row__title {
    color: var(--muted);
}

.event-row--past .event-row__date {
    background: rgba(48, 17, 0, 0.05);
}

.event-row--past .event-row__month {
    color: var(--muted-soft);
}

.event-row--past:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--line);
}

.event-row--past:hover .event-row__arrow {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.event-facts {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 1fr 1fr;
    gap: 1px;
    margin-bottom: 32px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.event-fact {
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 22px 24px;
    background: var(--cream);
}

.event-fact__label {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-soft);
}

.event-fact__value {
    font-size: 16px;
    line-height: 1.35;
}

.event-fact .small {
    font-size: 13px;
    color: var(--muted);
}

.event-hero {
    aspect-ratio: 21 / 9;
    margin-bottom: 56px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.event-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-body {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.event-body__text p {
    margin: 0 0 20px;
    color: var(--muted);
}

.event-body__text p:first-child {
    font-size: 19px;
    line-height: 1.65;
    color: var(--ink-soft);
}

.event-body__aside {
    display: grid;
    gap: 18px;
}

.event-panel__box {
    padding: 26px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.event-panel__title {
    margin: 0 0 14px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--clay);
}

.event-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.event-list li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
}

.event-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clay);
}

.event-notes {
    margin-top: 48px;
    padding: 30px 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.event-notice {
    margin-top: 28px;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    background: var(--sand);
    font-size: 15px;
    color: var(--ink-soft);
}

.event-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.event-cta h2 {
    margin: 0 0 8px;
}

.event-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.event-row-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
}

.event-row-inline .small {
    margin: 0;
    max-width: 54ch;
}

.notfound {
    display: grid;
    justify-items: start;
    gap: 18px;
    max-width: 640px;
}

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

@media (max-width: 991px) {
    .event-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .event-hero {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 767px) {
    .section--tight-top {
        padding-top: 32px;
    }

    .event-row {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 16px;
        padding: 16px;
    }

    .event-row__arrow {
        display: none;
    }

    .event-row__title {
        font-size: 20px;
    }

    .event-row__date {
        padding: 10px 0;
    }

    .event-row__day {
        font-size: 27px;
    }

    .event-facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .event-hero {
        aspect-ratio: 4 / 3;
        border-radius: var(--radius-lg);
        margin-bottom: 36px;
    }

    .event-notes {
        padding: 24px;
    }

    .event-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .event-cta__actions .btn {
        width: 100%;
    }
}


/* select-inset-fix:20261116:v1 */
/* Single native selects only; keep site colours, borders, sizing and interaction. */
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){
 -webkit-appearance:none!important; -moz-appearance:none!important; appearance:none!important;
 padding-inline-end:44px!important;
 background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%)!important;
 background-position:right 22px center,right 16px center!important;
 background-size:6px 6px,6px 6px!important; background-repeat:no-repeat!important;
}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):dir(rtl){background-position:left 16px center,left 22px center!important}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):is(.field select){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b584e' stroke-width='1.5'/%3E%3C/svg%3E")!important;background-position:right 16px center!important;background-size:12px!important;background-repeat:no-repeat!important}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):is(.field select):dir(rtl){background-position:left 16px center!important}
@media (forced-colors:active){select:not([multiple]):is(:not([size]),[size="0"],[size="1"]),select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):is(.field select){-webkit-appearance:auto!important;-moz-appearance:auto!important;appearance:auto!important;background-image:none!important}}
