:root {
    --waypoint-deep-green: #0B3D2E;
    --waypoint-off-white: #E8E6DF;
    --waypoint-muted-gold: #A08A6A;
    --waypoint-gray: #6B6B6B;
    --waypoint-ink: #081f18;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Roboto", Arial, sans-serif;
    background: var(--waypoint-deep-green);
    color: var(--waypoint-off-white);
    line-height: 1.5;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.site-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(160, 138, 106, 0.06), transparent 42%),
        radial-gradient(circle at 90% 10%, rgba(232, 230, 223, 0.08), transparent 35%);
    pointer-events: none;
    z-index: 0;
}

header,
main,
footer {
    position: relative;
    z-index: 1;
}

main {
    width: min(1120px, 92vw);
    margin: 0 auto;
    padding: 2rem 0 4rem;
    flex: 1;
}

a {
    color: var(--waypoint-off-white);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.label {
    color: var(--waypoint-muted-gold);
    font-weight: 700;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    font-family: "Oswald", "Bebas Neue", sans-serif;
    letter-spacing: 0.06em;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.1;
}

p {
    margin-top: 0;
}

.eyebrow {
    color: var(--waypoint-muted-gold);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.section-heading {
    margin-bottom: 0.85rem;
    font-size: clamp(1.75rem, 4.7vw, 2.55rem);
}

.section-copy {
    color: rgba(232, 230, 223, 0.82);
    max-width: 65ch;
}

.section-block {
    margin-top: 4rem;
}

.button-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.waypoint-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    padding: 0.72rem 1.22rem;
    min-height: 44px;
    border: 1px solid transparent;
}

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

.waypoint-btn--primary {
    background: var(--waypoint-muted-gold);
    color: var(--waypoint-ink);
    box-shadow: 0 6px 20px rgba(8, 31, 24, 0.3);
}

.waypoint-btn--secondary {
    border-color: rgba(232, 230, 223, 0.75);
    color: var(--waypoint-off-white);
    background: transparent;
}

.waypoint-card {
    border-radius: 14px;
    border: 1px solid rgba(232, 230, 223, 0.14);
    background: rgba(0, 0, 0, 0.14);
    padding: 1.25rem;
}

.waypoint-card__title {
    font-size: 1.12rem;
    margin-bottom: 0.5rem;
}

.waypoint-card__content {
    color: rgba(232, 230, 223, 0.84);
    margin-bottom: 0;
}

.site-grid {
    display: grid;
    gap: 1rem;
}

.site-header {
    padding: 1rem 0.8rem;
    border-bottom: 1px solid rgba(232, 230, 223, 0.14);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(3px);
}

.site-header__inner {
    width: min(1120px, 92vw);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.site-brand {
    display: inline-flex;
    text-decoration: none;
}

.site-logo {
    width: 210px;
    max-width: 52vw;
    height: auto;
}

.site-nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    align-items: center;
    justify-content: center;
}

.site-nav > a {
    text-decoration: none;
    color: rgba(232, 230, 223, 0.9);
    font-size: 0.95rem;
}

.site-nav__cta {
    margin-left: 0;
}

.site-footer {
    border-top: 1px solid rgba(232, 230, 223, 0.14);
    background: rgba(0, 0, 0, 0.24);
    padding: 1.25rem 0.8rem 1.6rem;
}

.site-footer__inner {
    width: min(1120px, 92vw);
    margin: 0 auto;
    color: rgba(232, 230, 223, 0.77);
    font-size: 0.92rem;
    display: grid;
    gap: 1.1rem;
    justify-items: center;
    text-align: center;
}

.site-footer__section,
.site-footer__column-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

.site-footer__section .eyebrow {
    margin: 0;
}

.site-footer__brand,
.site-footer__address,
.site-footer__social {
    margin: 0;
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.55rem 0.9rem;
}

.site-footer__bottom {
    width: min(1120px, 92vw);
    margin: 1.1rem auto 0;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(232, 230, 223, 0.14);
    color: rgba(232, 230, 223, 0.62);
    text-align: center;
    font-size: 0.84rem;
}

.site-footer__bottom p {
    margin: 0;
}

.social-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
}

.home-hero {
    border-radius: 18px;
    border: 1px solid rgba(232, 230, 223, 0.14);
    background: linear-gradient(150deg, rgba(0, 0, 0, 0.28), rgba(11, 61, 46, 0.25));
    padding: 1.5rem 1.2rem;
}

.home-hero h1 {
    font-size: clamp(2.1rem, 8vw, 4rem);
    margin-bottom: 0.85rem;
}

.home-hero__subtext {
    font-size: 1.04rem;
    color: rgba(232, 230, 223, 0.86);
    max-width: 60ch;
}

.home-hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 1.35rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.community-section-grid {
    gap: 1.2rem;
}

.community-section-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 14px;
    display: block;
    margin: 0 auto;
}

.icon-grid-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0.8rem;
    align-items: flex-start;
}

.icon-grid-item__content {
    min-width: 0;
}

.icon-grid-item .waypoint-card__title {
    margin-bottom: 0.35rem;
}

.icon-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(160, 138, 106, 0.24);
    color: var(--waypoint-muted-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.schedule-preview-list,
.steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.schedule-preview-item,
.steps-list li {
    border: 1px solid rgba(232, 230, 223, 0.16);
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    background: rgba(0, 0, 0, 0.12);
}

.schedule-preview-item strong {
    display: block;
    color: var(--waypoint-muted-gold);
    margin-bottom: 0.45rem;
}

.schedule-preview-item__sessions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.3rem;
    color: rgba(232, 230, 223, 0.84);
    font-size: 0.95rem;
}

.schedule-preview-item__more {
    margin-top: 0.55rem;
    display: inline-flex;
    border-radius: 999px;
    padding: 0.18rem 0.62rem;
    border: 1px solid rgba(232, 230, 223, 0.2);
    background: rgba(0, 0, 0, 0.2);
    color: rgba(232, 230, 223, 0.8);
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

.waypoint-cta {
    margin-top: 4rem;
    border-radius: 16px;
    padding: 1.5rem 1.2rem;
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(160, 138, 106, 0.38);
    position: relative;
    overflow: hidden;
}

.waypoint-cta::after {
    content: "➜";
    position: absolute;
    right: 1rem;
    bottom: 0.65rem;
    color: rgba(160, 138, 106, 0.35);
    font-size: 1.8rem;
}

.schedule-day-grid {
    display: none;
}

.schedule-day-accordion details {
    border-radius: 12px;
    border: 1px solid rgba(232, 230, 223, 0.16);
    background: rgba(0, 0, 0, 0.15);
    padding: 0.65rem 0.8rem;
    margin-bottom: 0.65rem;
}

.schedule-day-accordion summary {
    cursor: pointer;
    font-family: "Oswald", "Bebas Neue", sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.class-list {
    list-style: none;
    margin: 0.8rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.class-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.34rem 0.7rem;
    border: 1px solid transparent;
    color: var(--waypoint-off-white);
}

.class-pill--functional-fitness { background: rgba(160, 138, 106, 0.24); border-color: rgba(160, 138, 106, 0.48); }
.class-pill--trx { background: rgba(54, 104, 88, 0.4); border-color: rgba(111, 171, 149, 0.5); }
.class-pill--yoga { background: rgba(77, 92, 120, 0.42); border-color: rgba(127, 145, 180, 0.5); }
.class-pill--strength { background: rgba(88, 79, 63, 0.48); border-color: rgba(166, 142, 103, 0.55); }
.class-pill--open-gym { background: rgba(107, 107, 107, 0.35); border-color: rgba(151, 151, 151, 0.52); }

.schedule-day-grid__item h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.form-page {
    display: grid;
    gap: 1.25rem;
}

.flash-success {
    margin: 0;
    border-radius: 10px;
    border: 1px solid rgba(111, 171, 149, 0.55);
    background: rgba(54, 104, 88, 0.32);
    color: var(--waypoint-off-white);
    padding: 0.8rem 0.95rem;
    font-weight: 600;
}

.contact-layout {
    display: grid;
    gap: 1rem;
}

.contact-map {
    width: 100%;
    height: 280px;
    border: 0;
    border-radius: 10px;
}

.waypoint-form {
    display: grid;
    gap: 1rem;
}

.waypoint-form .form-row {
    margin: 0;
}

.waypoint-form label,
.waypoint-form legend {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(232, 230, 223, 0.84);
    font-weight: 600;
}

.waypoint-form input,
.waypoint-form textarea,
.waypoint-form select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(232, 230, 223, 0.24);
    background: rgba(8, 31, 24, 0.42);
    color: var(--waypoint-off-white);
    font: inherit;
    padding: 0.7rem 0.8rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.waypoint-form textarea {
    min-height: 150px;
    resize: vertical;
}

.waypoint-form input::placeholder,
.waypoint-form textarea::placeholder {
    color: rgba(232, 230, 223, 0.52);
}

.waypoint-form input:focus,
.waypoint-form textarea:focus,
.waypoint-form select:focus {
    border-color: rgba(160, 138, 106, 0.9);
    box-shadow: 0 0 0 3px rgba(160, 138, 106, 0.2);
    background: rgba(8, 31, 24, 0.58);
}

.waypoint-form .form-error-message {
    margin-top: 0.4rem;
    color: #ffd3ca;
    font-size: 0.84rem;
}

.waypoint-form .form-help {
    margin-top: 0.4rem;
    color: rgba(232, 230, 223, 0.66);
    font-size: 0.84rem;
}

.waypoint-form .waypoint-form__actions {
    margin-top: 0.25rem;
}

.coach-profile-card {
    padding: 0.65rem;
}

.coach-profile-card__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

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

@media (min-width: 768px) {
    .site-header__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .site-nav {
        justify-content: flex-end;
    }

    .site-nav__cta {
        margin-left: 0.45rem;
    }

    .site-footer__inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-items: start;
        text-align: left;
        align-items: start;
    }

    .site-footer__section,
    .site-footer__column-links {
        align-items: flex-start;
    }

    .site-footer__social {
        justify-content: flex-start;
    }

    .site-footer__bottom {
        text-align: left;
    }

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

    .community-section-grid {
        align-items: center;
    }

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

    .home-hero {
        padding: 2rem;
    }

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

    .contact-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        align-items: start;
    }

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

    .schedule-day-accordion {
        display: none;
    }
}

@media (min-width: 1024px) {
    .schedule-day-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
