@import url('components/plugins.css');
@import url('components/theme.css');
@import url('components/header.css');
@import url('components/hero.css');
@import url('components/reviews.css');
@import url('components/lessons-stages.css');
@import url('components/about-us.css');
@import url('components/faq-section.css');
@import url('components/faq-page.css');
@import url('components/cta-banner.css');

body {
    font-family: var(--font-family-body);
    margin: 0;
    background: var(--main-body-color);
    color: var(--ink);
}

.app-shell,
.main {
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}

.main {
    min-height: 50vh;
}

.site-footer {
    --site-footer-wave-fill: var(--main-content-color, #ffffff);
    background: var(--primary-color-darkest);
    color: #fff;
    margin-top: 0;
    padding: 0 0 1.5rem;
    position: relative;
}

/* Same path as home hero bottom wave; flipped so the scallop sits on the footer top */
.site-footer__wave {
    display: block;
    width: 100%;
    height: clamp(56px, 8vw, 96px);
    color: var(--site-footer-wave-fill);
    transform: scaleY(-1);
    pointer-events: none;
}

.footer-inner {
    padding-top: 1.25rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-brand {
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    text-decoration: none;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-col a:hover {
    color: var(--secondary-color-lighter);
}

.footer-heading {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--secondary-color-lighter);
}

.powered-by {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.powered-by__label {
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
}

.powered-by__link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.powered-by__logo {
    display: block;
    height: 28px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.page-body {
    padding: 2rem 0 4rem;
}

.page-intro {
    max-width: 720px;
    margin-bottom: 2rem;
}

.page-intro p {
    color: var(--muted);
}

.form-grid {
    display: grid;
    gap: 1rem;
    max-width: 640px;
    margin: 1.5rem 0;
}

.field label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(var(--primary-color-rgba), 0.2);
    border-radius: 10px;
    font: inherit;
    box-sizing: border-box;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: 2px solid rgba(var(--primary-color-rgba), 0.35);
    border-color: var(--primary-color);
}

.section--white {
    background: var(--main-content-color);
}

.section--soft {
    background: var(--surface-soft);
}

.section-block {
    padding: 3.5rem 0;
}

.section-block--soft {
    background: var(--surface-soft);
}

.section-block--white {
    background: var(--surface);
}

.section-kicker {
    display: inline-block;
    font-family: var(--font-family-hero);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

::deep .section-light__kicker,
::deep .section-brand__kicker {
    font-family: var(--font-family-hero);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lesson-grids {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.lesson-grid,
.area-grid,
.venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.lesson-grids .lesson-grid {
    margin-top: 0;
}

.lesson-grid--row3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lesson-grid--row2 {
    grid-template-columns: repeat(2, minmax(0, 22rem));
    justify-content: center;
}

.lesson-card,
.area-chip,
.venue-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.35rem;
    border: 1px solid rgba(var(--primary-color-rgba), 0.1);
    box-shadow: 0 6px 18px rgba(var(--primary-color-rgba), 0.06);
}

.lesson-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.lesson-card__icon {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid rgba(var(--primary-color-rgba), 0.35);
    box-shadow: 0 6px 14px rgba(var(--primary-color-rgba), 0.2);
}

.lesson-card__icon img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.lesson-card h3,
.venue-card h3 {
    margin: 0 0 0.5rem;
    color: var(--primary-color);
    font-size: 1.15rem;
}

.lesson-card p,
.venue-card p {
    margin: 0;
    color: var(--muted);
}

.lesson-card a {
    display: inline-block;
    margin-top: auto;
    padding-top: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color-darker);
    text-decoration: none;
}

@media (max-width: 900px) {
    .lesson-grid--row3 {
        grid-template-columns: 1fr;
    }

    .lesson-grid--row2 {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
}

/* Year-round teaching stamp */
.year-round-stamp {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    max-width: 34rem;
    margin: 1.75rem auto 0;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 20%, rgba(var(--secondary-color-rgba), 0.18), transparent 42%),
        linear-gradient(135deg, rgba(var(--primary-color-rgba), 0.08), rgba(var(--secondary-color-rgba), 0.1));
    border: 1px solid rgba(var(--primary-color-rgba), 0.16);
    box-shadow: 0 10px 28px rgba(var(--primary-color-rgba), 0.08);
}

.year-round-stamp--home {
    margin-top: 2rem;
}

.year-round-stamp--lessons {
    margin: 0 auto 1.5rem;
}

.year-round-stamp__seal {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 5.25rem;
    height: 5.25rem;
    border-radius: 50%;
    background: var(--gradient-water);
    color: #fff;
    text-align: center;
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.65),
        0 0 0 7px rgba(var(--primary-color-rgba), 0.28),
        0 8px 18px rgba(var(--primary-color-rgba), 0.28);
    transform: rotate(-6deg);
}

.year-round-stamp__weeks {
    display: block;
    font-family: var(--font-family-display);
    font-size: 2rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
}

.year-round-stamp__weeks-label {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.year-round-stamp__copy {
    min-width: 0;
}

.year-round-stamp__lead {
    margin: 0 0 0.25rem;
    color: var(--primary-color-darker);
    font-family: var(--font-family-hero);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
}

.year-round-stamp__detail {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

@media (max-width: 560px) {
    .year-round-stamp {
        flex-direction: column;
        text-align: center;
        padding: 1.15rem 1rem;
    }

    .year-round-stamp__seal {
        transform: none;
    }
}

/* Lessons hub ? pricing, stages, FAQ */
.pricing-section {
    margin-top: 1.5rem;
}

.pricing-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 1rem;
}

.pricing-grid--group {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pricing-grid--private {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.pricing-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.35rem;
    border: 1px solid rgba(var(--primary-color-rgba), 0.1);
    box-shadow: 0 6px 18px rgba(var(--primary-color-rgba), 0.06);
}

.pricing-card--compact {
    padding: 1.15rem;
}

.pricing-card--inline {
    padding: 1.15rem;
}

.pricing-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: var(--primary-color);
}

.pricing-card__amount {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color-darker);
    line-height: 1.2;
}

.pricing-card__period {
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
}

.pricing-card__note,
.pricing-card__detail {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.pricing-card__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
}

.pricing-footnote {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.pricing-subheading {
    margin: 2rem 0 0;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.pricing-subheading__from {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
}

.pricing-link {
    margin: 1.25rem 0 0;
}

.pricing-link a {
    font-weight: 700;
    color: var(--secondary-color-darker);
    text-decoration: none;
}

.pricing-callout {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--surface-soft);
    border-radius: 16px;
    border: 1px solid rgba(var(--primary-color-rgba), 0.08);
}

.pricing-callout__title {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    color: var(--primary-color);
}

.pricing-intro {
    margin: 0 0 1.25rem;
    color: var(--muted);
    max-width: 720px;
}

.pricing-table-wrap {
    overflow-x: auto;
    margin-top: 1rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(var(--primary-color-rgba), 0.06);
}

.pricing-table th,
.pricing-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(var(--primary-color-rgba), 0.08);
}

.pricing-table thead th {
    background: var(--surface-soft);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--primary-color);
}

.pricing-table tbody th {
    font-weight: 600;
    color: var(--primary-color-darker);
}

.pricing-table__detail {
    display: block;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.pricing-table td {
    font-weight: 700;
    white-space: nowrap;
}

.stage-list {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.stage-block {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(var(--primary-color-rgba), 0.1);
}

.stage-block h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.stage-block p {
    margin: 0;
    color: var(--muted);
}

.faq-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 800px;
}

.faq-item h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: var(--primary-color-darker);
}

.faq-item p {
    margin: 0;
    color: var(--muted);
}

.area-chip {
    text-align: center;
    font-weight: 700;
    padding: 1rem;
    color: var(--primary-color-darker);
    text-decoration: none;
    display: block;
}

a.area-chip:hover {
    color: var(--secondary-color-darker);
    border-color: rgba(var(--secondary-color-rgba), 0.35);
}

/* Areas we serve — map card carousel */
.areas-carousel {
    --areas-carousel-gap: 1rem;
    position: relative;
    margin-top: 1.75rem;
    padding: 0 2.75rem 0.5rem;
}

.areas-carousel__track {
    display: flex;
    gap: var(--areas-carousel-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.35rem 0.15rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.areas-carousel__track::-webkit-scrollbar {
    display: none;
}

.areas-carousel__slide {
    flex: 0 0 calc((100% - (3 * var(--areas-carousel-gap))) / 4);
    scroll-snap-align: start;
    min-width: 0;
}

.areas-carousel__nav {
    position: absolute;
    top: calc(50% - 1.75rem);
    transform: translateY(-50%);
    z-index: 3;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-color-rgba), 0.18);
    background: #fff;
    color: var(--primary-color, #8314EA);
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(var(--primary-color-rgba), 0.12);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.areas-carousel__nav:hover:not(:disabled) {
    background: var(--primary-color, #8314EA);
    color: #fff;
}

.areas-carousel__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.areas-carousel__nav--prev {
    left: 0;
}

.areas-carousel__nav--next {
    right: 0;
}

.areas-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.25rem;
}

.areas-carousel__dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(var(--primary-color-rgba), 0.22);
    cursor: pointer;
}

.areas-carousel__dot.is-active {
    background: var(--primary-color, #8314EA);
    transform: scale(1.15);
}

.area-map-card {
    position: relative;
    display: block;
    height: 22rem;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #f7f4fc;
    border: 1px solid rgba(var(--primary-color-rgba), 0.12);
    box-shadow: 0 8px 22px rgba(var(--primary-color-rgba), 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.area-map-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(var(--primary-color-rgba), 0.14);
}

.area-map-card__map {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.area-map-card__map .twx-map-card,
.area-map-card__map .twx-map,
.area-map-card__map .leaflet-container {
    height: 100%;
    min-height: 100%;
    width: 100%;
    border-radius: 0;
}

.area-map-card__content {
    position: absolute;
    z-index: 2;
    inset: 0 auto auto 0;
    width: 100%;
    padding: 1.1rem 1.15rem 4.5rem;
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.88) 38%,
        rgba(255, 255, 255, 0.35) 68%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
}

.area-map-card__title-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.area-map-card__pin {
    display: inline-flex;
    color: var(--primary-color, #8314EA);
    flex-shrink: 0;
}

.area-map-card__name {
    margin: 0;
    font-family: var(--font-family-hero, Georgia, "Times New Roman", serif);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--primary-color, #8314EA);
}

@media (max-width: 1100px) {
    .areas-carousel__slide {
        flex-basis: calc((100% - var(--areas-carousel-gap)) / 2);
    }
}

@media (max-width: 640px) {
    .areas-carousel {
        padding: 0 2.4rem 0.25rem;
    }

    .areas-carousel__slide {
        flex-basis: 85%;
    }

    .area-map-card {
        height: 20rem;
    }

    .area-map-card__name {
        font-size: 1.3rem;
    }
}


.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2rem;
}

.contact-aside {
    background: var(--surface-soft);
    border-radius: 16px;
    padding: 1.5rem;
    /* Stick like guide TOC while the form scrolls */
    position: sticky;
    top: calc(var(--twx-article-toc-top, var(--header-height, 72px)) + 1rem);
    align-self: start;
}

.contact-aside a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 800px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-aside {
        position: static;
    }
}

/* Team page */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(var(--primary-color-rgba), 0.1);
    box-shadow: 0 6px 18px rgba(var(--primary-color-rgba), 0.06);
}

.team-card__name {
    margin: 1rem 0 0.25rem;
    font-size: 1.2rem;
    color: var(--primary-color-darker);
}

.team-card__role {
    margin: 0 0 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--secondary-color-darker);
}

.team-card__bio {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
}

.team-card__bio--expanded {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}

.team-card__see-more {
    margin: 0.45rem 0 0;
    padding: 0;
    border: none;
    background: none;
    color: var(--primary-color);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.team-card__see-more:hover,
.team-card__see-more:focus-visible {
    text-decoration: underline;
    color: var(--primary-color-darker);
}

.team-card__see-more:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

.team-avatar {
    width: 132px;
    margin: 0 auto;
}

.team-avatar__ring {
    padding: 3px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgba), 0.2);
}

.team-avatar__inner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-avatar--brand .team-avatar__inner {
    background: var(--gradient-brand);
}

.team-avatar--water .team-avatar__inner {
    background: var(--gradient-water);
}

.team-avatar__inner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.18), transparent);
    pointer-events: none;
}

.team-avatar__initials {
    font-family: var(--font-family-hero);
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.team-avatar__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Bias toward the top of the source photo so heads aren't cropped by the square crop */
    object-position: center 22%;
    display: block;
}

.team-avatar--circle {
    width: 72px;
}

.team-avatar--circle .team-avatar__ring,
.team-avatar--circle .team-avatar__inner {
    border-radius: 50%;
}

.team-avatar--compact {
    width: 64px;
    flex: 0 0 auto;
}

.team-avatar--compact .team-avatar__initials {
    font-size: 1.15rem;
}

.team-avatar--circle.team-avatar--compact {
    width: 64px;
}

/* Home Meet-the-Team brand teaser */
.team-teaser__clip-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.section--brand.team-teaser {
    --teaser-avatar: 64px;
    --teaser-col-gap: 0.7rem;
    --teaser-pad-curve: 2.35rem;
    --teaser-pad-end: 0.9rem;
    --teaser-aside-gap: clamp(1.25rem, 3vw, 2.5rem);
    --teaser-aside-width: calc(
        var(--teaser-pad-curve)
        + (4 * var(--teaser-avatar))
        + (3 * var(--teaser-col-gap))
        + var(--teaser-pad-end)
    );
    /* Compact band: kicker + copy + CTAs, then a little air */
    --section-brand-pad: clamp(1.1rem, 2vw, 1.65rem);
}

.section--brand.team-teaser.section--brand--edge-top-wave {
    padding-top: calc(var(--section-brand-pad) + var(--section-brand-wave-height) * 0.4);
}

.section--brand.team-teaser.section--brand--edge-bottom-wave {
    padding-bottom: calc(var(--section-brand-pad) + var(--section-brand-wave-height) * 0.4);
}

/* Let the avatar panel position against the section (full height; wave clips) */
.section--brand.team-teaser .section-brand__body,
.section--brand.team-teaser .section-brand__content {
    position: static;
    width: min(1200px, 92vw);
    max-width: none;
    margin-inline: auto;
}

.section--brand.team-teaser .section-brand__head {
    width: min(1200px, 92vw);
    max-width: none;
    margin-inline: auto;
    margin-bottom: 0.55rem;
    padding-right: calc(var(--teaser-aside-width) + var(--teaser-aside-gap));
}

.team-teaser__layout {
    display: block;
    width: 100%;
    padding-right: calc(var(--teaser-aside-width) + var(--teaser-aside-gap));
}

.team-teaser__copy {
    color: rgba(255, 255, 255, 0.92);
    max-width: 38rem;
    position: relative;
    z-index: 3;
}

.team-teaser__title {
    margin: 0 0 0.65rem;
    font-family: var(--font-family-hero);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: #fff;
}

.team-teaser__copy p {
    margin: 0 0 1rem;
    font-size: clamp(0.98rem, 1.3vw, 1.08rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.team-teaser__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.team-teaser__actions .btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.team-teaser__actions .btn-outline:hover,
.team-teaser__actions .btn-outline:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

/* Full section height - wave SVGs (z-index 4) become the top/bottom cut-offs */
.team-teaser__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: var(--teaser-aside-width);
    z-index: 2;
    overflow: hidden;
    -webkit-clip-path: url(#sa-team-teaser-clip);
    clip-path: url(#sa-team-teaser-clip);
    background: rgba(255, 255, 255, 0.06);
}

.team-teaser__curve {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.team-teaser__curve path {
    fill: none;
    stroke: #ffffff;
    stroke-width: 12;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.team-teaser__marquees {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    gap: var(--teaser-col-gap);
    padding: 0 var(--teaser-pad-end) 0 var(--teaser-pad-curve);
    z-index: 1;
}

.team-teaser__col {
    overflow: hidden;
    flex: 0 0 var(--teaser-avatar);
    width: var(--teaser-avatar);
    height: 100%;
}

.team-teaser__track {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: max-content;
    gap: 0.75rem;
    align-items: center;
    animation: team-teaser-marquee-y var(--teaser-speed, 52s) linear infinite;
    animation-delay: var(--teaser-delay, 0s);
}

.team-teaser__col--reverse .team-teaser__track {
    animation-name: team-teaser-marquee-y-reverse;
}

@keyframes team-teaser-marquee-y {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

@keyframes team-teaser-marquee-y-reverse {
    from { transform: translateY(-50%); }
    to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .team-teaser__track {
        animation: none !important;
        transform: none !important;
    }
}

@media (max-width: 900px) {
    .section--brand.team-teaser .section-brand__head,
    .team-teaser__layout {
        padding-right: 0;
    }

    .team-teaser__layout {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .team-teaser__panel {
        position: relative;
        top: auto;
        bottom: auto;
        right: auto;
        align-self: center;
        width: min(var(--teaser-aside-width), 92vw);
        height: clamp(220px, 48vw, 300px);
        -webkit-clip-path: none;
        clip-path: none;
        border-radius: 20px;
    }

    .team-teaser__curve {
        display: none;
    }

    .team-teaser__marquees {
        padding-left: 0.85rem;
        justify-content: center;
    }

    .team-teaser__col {
        mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
        -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
    }
}

/* Venue pool cards (primary on /venues) */
.venue-section-count {
    display: inline-block;
    margin-left: 0.55rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    vertical-align: middle;
    background: rgba(var(--primary-color-rgba), 0.12);
    color: var(--primary-color);
}

.venues-carousel {
    --venues-carousel-gap: 1.25rem;
    position: relative;
    margin-top: 1.75rem;
    padding: 0 2.75rem 0.5rem;
}

.venues-carousel__track {
    display: flex;
    gap: var(--venues-carousel-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.35rem 0.15rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.venues-carousel__track::-webkit-scrollbar {
    display: none;
}

.venues-carousel__slide {
    flex: 0 0 calc((100% - (2 * var(--venues-carousel-gap))) / 3);
    scroll-snap-align: start;
    min-width: 0;
}

.venues-carousel__slide .venue-pool-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.venues-carousel__slide .venue-pool-card > p:last-of-type {
    flex: 1 1 auto;
}

.venues-carousel__nav {
    position: absolute;
    top: calc(50% - 1.75rem);
    transform: translateY(-50%);
    z-index: 3;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-color-rgba), 0.18);
    background: #fff;
    color: var(--primary-color, #8314EA);
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(var(--primary-color-rgba), 0.12);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.venues-carousel__nav:hover:not(:disabled) {
    background: var(--primary-color, #8314EA);
    color: #fff;
}

.venues-carousel__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.venues-carousel__nav--prev {
    left: 0;
}

.venues-carousel__nav--next {
    right: 0;
}

.venues-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.25rem;
}

.venues-carousel__dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(var(--primary-color-rgba), 0.22);
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.venues-carousel__dot:hover {
    background: rgba(var(--primary-color-rgba), 0.45);
}

.venues-carousel__dot.is-active {
    background: var(--primary-color, #8314EA);
    transform: scale(1.15);
}

@media (max-width: 1100px) {
    .venues-carousel__slide {
        flex-basis: calc((100% - var(--venues-carousel-gap)) / 2);
    }
}

@media (max-width: 640px) {
    .venues-carousel {
        padding: 0 2.4rem 0.25rem;
    }

    .venues-carousel__slide {
        flex-basis: 85%;
    }
}

.venue-grid--residents {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 900px;
}

.venue-pool-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 0 0 1.5rem;
    border: 1px solid rgba(var(--primary-color-rgba), 0.12);
    box-shadow: 0 8px 24px rgba(var(--primary-color-rgba), 0.08);
    overflow: hidden;
}

.venue-pool-card--residents {
    border-color: rgba(180, 120, 40, 0.22);
    box-shadow: 0 8px 24px rgba(180, 120, 40, 0.08);
}

.venue-pool-card h3,
.venue-pool-card .venue-pool-card__address,
.venue-pool-card .venue-pool-card__badge,
.venue-pool-card .venue-pool-card__tags,
.venue-pool-card p,
.venue-pool-card .btn {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.venue-pool-card h3 {
    margin-top: 1rem;
    margin-bottom: 0.35rem;
    color: var(--primary-color-darker);
    font-size: 1.2rem;
}

.venue-pool-card__tags {
    margin: 0.85rem 1.5rem 0;
}

.venue-pool-card__address {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.venue-pool-card__badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--surface-soft);
    color: var(--primary-color);
}

.venue-pool-card__badge--residents {
    background: rgba(180, 120, 40, 0.14);
    color: #8a5a12;
}

.venue-pool-card p {
    margin-bottom: 1rem;
    color: var(--muted);
}

.venue-card-image {
    aspect-ratio: 16 / 9;
    background: var(--gradient-water);
    position: relative;
    overflow: hidden;
}

.venue-card-image--residents {
    background: linear-gradient(135deg, #5a6a7a 0%, #3d4a56 55%, #2a3440 100%);
}

.venue-card-image__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.venue-card-image__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
}

.venue-card-image__waves {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 55%;
    color: #fff;
}

.venue-card-image__label {
    position: relative;
    z-index: 1;
    font-family: var(--font-family-hero);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.venue-map {
    margin: 1.25rem 0 0;
}

.venue-map__frame {
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(var(--primary-color-rgba), 0.12);
    box-shadow: 0 8px 24px rgba(var(--primary-color-rgba), 0.08);
}

.venue-map__frame .twx-map,
.venue-map__frame .leaflet-container {
    height: 100%;
    min-height: 360px;
    width: 100%;
}

.venue-detail-hero {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 900px) {
    .venue-detail-hero {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.venue-nap {
    margin-top: 1rem;
    padding: 1.15rem 1.25rem;
    border-radius: 16px;
    background: var(--surface-soft);
    border: 1px solid rgba(var(--primary-color-rgba), 0.1);
}

.venue-nap p {
    margin: 0 0 0.4rem;
}

.venue-nap p:last-child {
    margin-bottom: 0;
}

.venue-times {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.venue-times li {
    padding: 0.55rem 0.85rem;
    margin-bottom: 0.45rem;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid rgba(var(--primary-color-rgba), 0.1);
}

.venue-page-cta {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.venue-pool-card .venue-page-cta {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    justify-content: space-evenly;
}

.venue-pool-card .venue-page-cta .btn {
    margin-left: 0;
    margin-right: 0;
    flex: 1 1 0;
    text-align: center;
    justify-content: center;
}

@media (max-width: 420px) {
    .venue-pool-card .venue-page-cta {
        flex-wrap: wrap;
    }

    .venue-pool-card .venue-page-cta .btn {
        flex: 1 1 100%;
    }
}

.venue-pool-card__media-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.venue-pool-card h3 a {
    color: inherit;
    text-decoration: none;
}

.venue-pool-card h3 a:hover {
    text-decoration: underline;
}

.area-region {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.02em;
}

.privacy-policy h2 {
    margin-top: 2rem;
    font-size: 1.35rem;
    color: var(--primary-color-darker);
}

.privacy-policy h3 {
    margin-top: 1.25rem;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.privacy-policy ul {
    padding-left: 1.25rem;
    color: var(--muted);
}

.privacy-policy li {
    margin-bottom: 0.35rem;
}

.seo-breadcrumbs {
    margin: 0 0 1rem;
}

.seo-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.seo-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
}

.seo-breadcrumbs__item a {
    color: var(--primary-color);
    text-decoration: none;
}

.seo-breadcrumbs__item a:hover {
    text-decoration: underline;
}

.seo-breadcrumbs__sep {
    margin: 0 0.45rem;
    color: var(--muted);
    opacity: 0.7;
}

.seo-breadcrumbs__item [aria-current="page"] {
    color: var(--primary-color-darker);
    font-weight: 600;
}

/* PageHeader (Water/Wave) ? purple-led wash that continues from site header */
.page-header.page-header--theme-water,
.page-header.page-header--edge-wave {
    top: 0 !important;
    height: auto !important;
    min-height: clamp(220px, 34vh, 360px) !important;
    margin-bottom: 0 !important;
}

/* Solid brand base so the top-left reads continuous with the nav purple panel */
.page-header.page-header--theme-water .page-header__bg {
    background-color: var(--primary-color);
}

/*
 * Softer wash: primary purple holds the top-left, then eases toward aqua.
 * Lower opacity keeps movement subtle over the solid brand base.
 */
.page-header.page-header--theme-water .page-header__gradient,
.page-header.page-header--theme-water.page-header--fast .page-header__gradient,
html.js-animations-enabled .page-header.page-header--theme-water .page-header__gradient,
html.js-animations-enabled .page-header.page-header--theme-water.page-header--fast .page-header__gradient {
    opacity: 0.55 !important;
    animation: none !important;
    background: linear-gradient(
        150deg,
        var(--primary-color) 0%,
        var(--primary-color) 32%,
        #5b3ae0 58%,
        var(--secondary-color) 100%
    ) !important;
}

/* Quiet the colour blobs so the header feels calmer */
.page-header.page-header--theme-water .page-header__blob {
    opacity: 0.32 !important;
    filter: blur(52px);
}

.page-header.page-header--theme-water .page-header__blob--4,
.page-header.page-header--theme-water .page-header__blob--5 {
    display: none;
}

/* Give title + breadcrumbs room to breathe (not flush to the edges) */
.page-header.page-header--theme-water:not(.page-header--home) .page-header__content,
.page-header.page-header--edge-wave:not(.page-header--home) .page-header__content {
    padding-top: clamp(3rem, 6vw, 4.75rem) !important;
    padding-bottom: clamp(4rem, 9vw, 6rem) !important;
    padding-inline: clamp(1.5rem, 6vw, 3.5rem);
    box-sizing: border-box;
}

.page-header.page-header--theme-water .page-title,
.page-header.page-header--edge-wave .page-title {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(var(--content-max), 100%);
    margin-inline: auto;
    padding: 0 clamp(0.25rem, 1.5vw, 0.75rem);
    box-sizing: border-box;
    text-align: left;
}

/* Full-width crumbs, then two columns: title left / copy+CTAs right */
.page-header .page-title__main {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.25fr);
    align-items: center;
    gap: clamp(2.25rem, 5vw, 4rem);
    width: min(72rem, 100%);
    margin: 0.35rem auto 0;
}

.page-header .page-title__lead {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.page-header .page-title__aside {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
    align-items: flex-start;
}

.page-header .page-title__kicker {
    display: block;
    margin: 0 0 0.55rem;
    font-family: var(--font-family-body);
    font-size: clamp(0.8rem, 1.35vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

/* Match Home hero: Fredoka H1 + Nunito body for breadcrumbs / subtitle */
.page-header .page-title h1 {
    font-family: var(--font-family-hero);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.05;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 3.25rem);
}

.page-header .seo-breadcrumbs,
.page-header .seo-breadcrumbs__list,
.page-header .seo-breadcrumbs__item,
.page-header .seo-breadcrumbs__item a,
.page-header .seo-breadcrumbs__item [aria-current="page"],
.page-header .seo-breadcrumbs__sep,
.page-header .page-title .subheader {
    font-family: var(--font-family-body);
}

.page-header .seo-breadcrumbs {
    margin: 0 0 1.15rem;
    width: 100%;
    padding-inline: 0.1rem;
}

.page-header .seo-breadcrumbs__list {
    font-size: clamp(0.88rem, 1.2vw, 0.98rem);
    font-weight: 600;
}

.page-header .seo-breadcrumbs__list,
.page-header .seo-breadcrumbs__sep,
.page-header .seo-breadcrumbs__item [aria-current="page"] {
    color: rgba(255, 255, 255, 0.78);
}

.page-header .seo-breadcrumbs__item a {
    color: rgba(255, 255, 255, 0.92);
}

.page-header .seo-breadcrumbs__item a:hover {
    color: #fff;
}

.page-header .page-title .subheader {
    margin: 0;
    max-width: none;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
    text-align: left;
}

.page-header .page-title .subheader a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.page-header .page-title .area-region {
    margin: 0.65rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-family-body);
}

.page-header .page-title__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
}

.page-header .page-title__actions .btn-secondary {
    background: var(--secondary-color);
    color: #fff;
}

.page-header .page-title__actions .btn-secondary:hover,
.page-header .page-title__actions .btn-secondary:focus-visible {
    background: var(--secondary-color-darker);
}

.page-header .page-title__actions .btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.page-header .page-title__actions .btn-outline:hover,
.page-header .page-title__actions .btn-outline:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

@media (max-width: 840px) {
    .page-header .page-title__main {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

/* Shared SectionLight / SectionBrand surfaces ? stronger site-level contrast */
.section--light.section--surface-soft,
.section--light.section--light--soft {
    background: #efeaff !important;
}

.section--light.section--surface-mesh {
    background:
        radial-gradient(ellipse 80% 60% at 12% 18%, rgba(14, 165, 233, 0.16), transparent 55%),
        radial-gradient(ellipse 70% 50% at 88% 78%, rgba(131, 20, 234, 0.14), transparent 50%),
        #f8f5ff !important;
}

.section--light.section--surface-plain {
    background: #ffffff !important;
}

::deep .section-light__kicker,
::deep .section-brand__kicker {
    font-family: var(--font-family-body);
}

.guide-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.guide-hub-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.35rem;
    border: 1px solid rgba(var(--primary-color-rgba), 0.1);
}

.guide-hub-card__title {
    margin: 0.35rem 0 0.65rem;
    font-size: 1.2rem;
    line-height: 1.3;
}

.guide-hub-card__title a {
    color: var(--primary-color);
    text-decoration: none;
}

.guide-hub-card__title a:hover {
    text-decoration: underline;
}

.guide-hub-card p {
    margin: 0 0 0.85rem;
    color: var(--muted);
    font-size: 0.98rem;
}

.guide-hub-card__link {
    font-weight: 700;
    color: var(--secondary-color-darker);
    text-decoration: none;
}

.guide-hub-card__link:hover {
    text-decoration: underline;
}

.twx-article-site-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* Related banner links ? same treatment as .footer-col a */
.twx-article__related-content a,
.twx-article__related-content a:visited {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
}

.twx-article__related-content a:hover,
.twx-article__related-content a:focus-visible {
    color: var(--secondary-color-lighter) !important;
}

/* In-body guide backlinks (beat MudBlazor global `a` colour) */
.twx-article-section a {
    color: var(--primary-color) !important;
    font-weight: 700;
    text-decoration: underline !important;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
    text-decoration-color: color-mix(in srgb, var(--secondary-color) 70%, var(--primary-color));
}

.twx-article-section a:hover,
.twx-article-section a:focus-visible {
    color: var(--secondary-color-darker) !important;
    text-decoration-color: var(--secondary-color);
    background: color-mix(in srgb, var(--secondary-color) 12%, transparent);
}

/* HTML sitemap page styles live in TeamworX.BlazorControls HtmlSitemap (.twx-html-sitemap). */

