/*
|--------------------------------------------------------------------------
| The Balcony Gym Public Website
|--------------------------------------------------------------------------
| This stylesheet is intentionally separate from the login and dashboard
| stylesheet so legacy system rules cannot affect the public homepage.
*/

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

body {
    margin: 0;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* ============================================================
   PUBLIC WEBSITE V2 — EDITORIAL / NON-GENERIC GYM FRONTEND
   No decorative blobs, no glassmorphism, no gradient surfaces.
   ============================================================ */

.gym-site {
    --gym-navy: #062f49;
    --gym-navy-dark: #021f31;
    --gym-aqua: #119fc1;
    --gym-aqua-light: #dceff3;
    --gym-red: #cf1236;
    --gym-paper: #f4f1ea;
    --gym-white: #ffffff;
    --gym-ink: #14232e;
    --gym-muted: #63737d;
    --gym-line: #cad6da;
    margin: 0;
    min-height: 100vh;
    color: var(--gym-ink);
    background: var(--gym-white);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.55;
}

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

.gym-site a {
    color: inherit;
}

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

.gym-shell {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.gym-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--gym-white);
    border-bottom: 1px solid var(--gym-line);
}

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

.gym-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}

.gym-brand img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border: 1px solid var(--gym-line);
}

.gym-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.gym-brand-copy strong {
    color: var(--gym-navy);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.gym-brand-copy small {
    margin-top: 5px;
    color: var(--gym-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.gym-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.gym-navigation > a {
    position: relative;
    color: #40535f;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gym-navigation > a:not(.gym-login-link)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--gym-red);
    transition: right 0.2s ease;
}

.gym-navigation > a:not(.gym-login-link):hover::after {
    right: 0;
}

.gym-login-link {
    padding: 12px 18px;
    color: var(--gym-white) !important;
    background: var(--gym-navy);
    border: 1px solid var(--gym-navy);
}

.gym-login-link:hover {
    background: var(--gym-red);
    border-color: var(--gym-red);
}

.gym-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--gym-line);
    background: var(--gym-white);
    cursor: pointer;
}

.gym-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--gym-navy);
}

.gym-hero {
    min-height: 710px;
    display: flex;
    align-items: stretch;
    background: var(--gym-paper);
    border-bottom: 1px solid var(--gym-line);
}

.gym-hero-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.92fr)
        minmax(420px, 1.08fr);
    min-height: 710px;
}

.gym-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 78px 70px 78px 0;
    border-right: 1px solid var(--gym-line);
}

.gym-kicker,
.gym-overline {
    margin: 0 0 18px;
    color: var(--gym-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.gym-hero h1,
.gym-section-heading h2,
.gym-security h2,
.gym-contact h2 {
    margin: 0;
    color: var(--gym-navy-dark);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.gym-hero h1 {
    max-width: 680px;
    font-size: clamp(66px, 7vw, 112px);
}

.gym-hero h1 em {
    display: block;
    color: var(--gym-aqua);
    font-style: normal;
}

.gym-hero-copy > p {
    max-width: 640px;
    margin: 28px 0 0;
    color: #4f626d;
    font-size: 16px;
    line-height: 1.8;
}

.gym-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.gym-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 21px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.gym-button-primary {
    color: var(--gym-white);
    background: var(--gym-red);
    border-color: var(--gym-red);
}

.gym-button-primary:hover {
    background: var(--gym-navy);
    border-color: var(--gym-navy);
}

.gym-button-outline {
    color: var(--gym-navy);
    background: transparent;
    border-color: var(--gym-navy);
}

.gym-button-outline:hover {
    color: var(--gym-white);
    background: var(--gym-navy);
}

.gym-hero-facts {
    display: grid;
    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(180px, 0.8fr);
    gap: 24px;
    margin: 40px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--gym-line);
}

.gym-hero-facts div {
    min-width: 0;
}

.gym-hero-facts dt {
    color: var(--gym-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gym-hero-facts dd {
    margin: 6px 0 0;
    color: var(--gym-navy);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.gym-hero-facts a {
    text-decoration: none;
}

.gym-hero-media {
    position: relative;
    display: flex;
    align-items: center;
    padding: 56px 0 56px 56px;
    overflow: hidden;
}

.gym-photo-window {
    position: relative;
    width: 100%;
    height: 530px;
    overflow: hidden;
    border: 1px solid var(--gym-navy);
    background: var(--gym-navy);
}

.gym-photo-window > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.92) contrast(1.02);
}

.gym-photo-window::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 12px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.gym-photo-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    min-width: 62%;
    padding: 18px 20px;
    color: var(--gym-white);
    background: var(--gym-navy);
    border-top: 4px solid var(--gym-red);
}

.gym-photo-caption span,
.gym-photo-caption strong {
    display: block;
}

.gym-photo-caption span {
    color: #9ad7e4;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gym-photo-caption strong {
    margin-top: 5px;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.gym-hero-index {
    position: absolute;
    right: -5px;
    top: 12px;
    color: rgba(6, 47, 73, 0.08);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 190px;
    font-weight: 900;
    line-height: 1;
}

.gym-service-band {
    color: var(--gym-white);
    background: var(--gym-navy);
    border-bottom: 5px solid var(--gym-red);
}

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

.gym-service-grid > div {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.gym-service-grid > div:last-child {
    border-right: 0;
}

.gym-service-grid span {
    color: #7ed7e8;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
}

.gym-service-grid strong {
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gym-section {
    padding: 110px 0;
    background: var(--gym-white);
}

.gym-about-layout {
    display: grid;
    grid-template-columns:
        minmax(320px, 0.72fr)
        minmax(0, 1.28fr);
    gap: 78px;
}

.gym-section-heading {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 56px;
}

.gym-about-layout > .gym-section-heading {
    margin-bottom: 0;
}

.gym-section-number {
    padding-top: 6px;
    color: var(--gym-red);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 29px;
    font-weight: 800;
    border-top: 4px solid var(--gym-red);
}

.gym-section-heading h2 {
    max-width: 850px;
    font-size: clamp(46px, 5vw, 72px);
}

.gym-about-content {
    padding-top: 62px;
}

.gym-lead {
    margin: 0;
    color: #374e5b;
    font-size: 18px;
    line-height: 1.9;
}

.gym-principles {
    margin-top: 38px;
    border-top: 1px solid var(--gym-line);
}

.gym-principles article {
    display: grid;
    grid-template-columns:
        52px minmax(180px, 0.6fr)
        minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid var(--gym-line);
}

.gym-principles article > strong {
    color: var(--gym-aqua);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 23px;
}

.gym-principles h3 {
    margin: 0;
    color: var(--gym-navy);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
}

.gym-principles p {
    margin: 1px 0 0;
    color: var(--gym-muted);
    font-size: 13px;
    line-height: 1.7;
}

.gym-rates {
    padding: 110px 0;
    color: var(--gym-white);
    background: var(--gym-navy-dark);
}

.gym-section-heading-light h2 {
    color: var(--gym-white);
}

.gym-section-heading-light .gym-overline {
    color: #83d7e7;
}

.gym-section-heading-light .gym-section-number {
    color: var(--gym-red);
}

.gym-rate-explainer {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        70px
        minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin-bottom: 36px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.gym-rate-explainer > div:not(.gym-rate-plus) {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
}

.gym-rate-explainer span {
    color: #7ed7e8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gym-rate-explainer p {
    margin: 0;
    color: #c0d5dc;
    font-size: 12px;
    line-height: 1.7;
}

.gym-rate-plus {
    color: var(--gym-red);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 44px;
    font-weight: 800;
    text-align: center;
}

.gym-rate-table {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.gym-rate-table-head,
.gym-rate-row {
    display: grid;
    grid-template-columns:
        minmax(220px, 1.3fr)
        repeat(3, minmax(150px, 0.9fr));
    gap: 18px;
    align-items: center;
    min-height: 76px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.gym-rate-table-head {
    min-height: 54px;
    color: #7ed7e8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gym-rate-row > span {
    color: var(--gym-white);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
}

.gym-rate-row span small {
    display: block;
    margin-top: 3px;
    color: #9ab3bc;
    font-family: "Inter", Arial, sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.gym-rate-row > strong {
    color: var(--gym-white);
    font-size: 14px;
}

.gym-rate-row-foundation {
    background: var(--gym-red);
    margin: 0 -22px;
    padding: 0 22px;
    border-bottom-color: var(--gym-red);
}

.gym-rate-row-foundation span small {
    color: #ffd8df;
}

.gym-walkin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 32px;
    padding: 24px 0;
    border-top: 4px solid var(--gym-aqua);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.gym-walkin span {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
}

.gym-walkin p {
    margin: 4px 0 0;
    color: #a9c0c8;
    font-size: 11px;
}

.gym-walkin > strong {
    font-size: 25px;
}

.gym-rate-footnote {
    max-width: 900px;
    margin: 22px 0 0;
    color: #8faab4;
    font-size: 10px;
    line-height: 1.7;
}

.gym-process {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--gym-line);
}

.gym-process li {
    display: grid;
    grid-template-columns:
        110px minmax(0, 1fr);
    gap: 28px;
    padding: 30px 0;
    border-bottom: 1px solid var(--gym-line);
}

.gym-process li > span {
    color: var(--gym-red);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 40px;
    font-weight: 800;
}

.gym-process h3 {
    margin: 0;
    color: var(--gym-navy);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
}

.gym-process p {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--gym-muted);
    font-size: 13px;
    line-height: 1.75;
}

.gym-security {
    padding: 88px 0;
    color: var(--gym-white);
    background: var(--gym-aqua);
    border-top: 8px solid var(--gym-red);
}

.gym-security-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);
    gap: 80px;
    align-items: start;
}

.gym-security .gym-overline {
    color: var(--gym-navy);
}

.gym-security h2 {
    color: var(--gym-navy-dark);
    font-size: clamp(46px, 5vw, 70px);
}

.gym-security-copy {
    border-top: 1px solid rgba(2, 31, 49, 0.35);
}

.gym-security-copy p {
    margin: 0;
    padding: 22px 0;
    color: #07364e;
    font-size: 13px;
    line-height: 1.8;
    border-bottom: 1px solid rgba(2, 31, 49, 0.35);
}

.gym-contact {
    padding: 110px 0;
    background: var(--gym-paper);
}

.gym-contact-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(360px, 0.7fr);
    gap: 90px;
    align-items: end;
}

.gym-contact h2 {
    font-size: clamp(66px, 7vw, 110px);
}

.gym-contact > .gym-shell > div:first-child > p:last-child {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--gym-muted);
    font-size: 15px;
    line-height: 1.8;
}

.gym-contact-details {
    border-top: 4px solid var(--gym-red);
}

.gym-contact-details > div {
    padding: 22px 0;
    border-bottom: 1px solid var(--gym-line);
}

.gym-contact-details span,
.gym-contact-details strong,
.gym-contact-details a {
    display: block;
}

.gym-contact-details span {
    color: var(--gym-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.gym-contact-details strong,
.gym-contact-details > div a {
    margin-top: 7px;
    color: var(--gym-navy);
    font-size: 13px;
    line-height: 1.7;
    text-decoration: none;
}

.gym-contact-details > .gym-button {
    width: 100%;
    margin-top: 22px;
}

.gym-footer {
    padding: 28px 0;
    color: var(--gym-white);
    background: var(--gym-navy-dark);
}

.gym-footer-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.gym-footer-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.gym-footer-brand img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gym-footer-brand strong,
.gym-footer-brand span {
    display: block;
}

.gym-footer-brand strong {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 19px;
    text-transform: uppercase;
}

.gym-footer-brand span {
    margin-top: 4px;
    color: #88a8b3;
    font-size: 9px;
}

.gym-footer p {
    margin: 0;
    color: #88a8b3;
    font-size: 10px;
}

@media (max-width: 1080px) {
    .gym-hero-layout,
    .gym-about-layout,
    .gym-security-layout,
    .gym-contact-layout {
        grid-template-columns: 1fr;
    }

    .gym-hero-copy {
        padding: 70px 0 50px;
        border-right: 0;
        border-bottom: 1px solid var(--gym-line);
    }

    .gym-hero-media {
        padding: 40px 0 60px;
    }

    .gym-about-content {
        padding-top: 0;
    }

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

    .gym-service-grid > div:nth-child(2) {
        border-right: 0;
    }

    .gym-rate-explainer {
        grid-template-columns: 1fr;
    }

    .gym-rate-plus {
        text-align: left;
        line-height: 0.7;
    }
}

@media (max-width: 860px) {
    .gym-menu-button {
        display: block;
    }

    .gym-navigation {
        position: absolute;
        left: 24px;
        right: 24px;
        top: calc(100% + 1px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: var(--gym-white);
        border: 1px solid var(--gym-line);
    }

    .gym-navigation.is-open {
        display: flex;
    }

    .gym-navigation > a {
        padding: 13px;
    }

    .gym-navigation > a:not(.gym-login-link)::after {
        display: none;
    }

    .gym-login-link {
        margin-top: 6px;
        text-align: center;
    }

    .gym-rate-table-head {
        display: none;
    }

    .gym-rate-row {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(150px, 0.65fr);
        gap: 10px 18px;
        padding: 18px 0;
    }

    .gym-rate-row > span {
        grid-row: span 3;
    }

    .gym-rate-row > strong::before {
        display: block;
        margin-bottom: 2px;
        color: #79cddd;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .gym-rate-row > strong:nth-child(2)::before {
        content: "Membership";
    }

    .gym-rate-row > strong:nth-child(3)::before {
        content: "Monthly";
    }

    .gym-rate-row > strong:nth-child(4)::before {
        content: "Per session";
    }

    .gym-principles article {
        grid-template-columns: 45px minmax(0, 1fr);
    }

    .gym-principles article p {
        grid-column: 2;
    }
}

@media (max-width: 620px) {
    .gym-shell {
        width: min(100% - 28px, 1240px);
    }

    .gym-brand-copy small {
        display: none;
    }

    .gym-hero {
        min-height: auto;
    }

    .gym-hero-layout {
        min-height: auto;
    }

    .gym-hero h1 {
        font-size: 64px;
    }

    .gym-hero-copy > p {
        font-size: 14px;
    }

    .gym-hero-actions {
        flex-direction: column;
    }

    .gym-button {
        width: 100%;
    }

    .gym-hero-facts {
        grid-template-columns: 1fr;
    }

    .gym-photo-window {
        height: 400px;
    }

    .gym-hero-index {
        display: none;
    }

    .gym-service-grid {
        grid-template-columns: 1fr;
    }

    .gym-service-grid > div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .gym-service-grid > div:last-child {
        border-bottom: 0;
    }

    .gym-section,
    .gym-rates,
    .gym-contact {
        padding: 78px 0;
    }

    .gym-section-heading {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 15px;
        margin-bottom: 40px;
    }

    .gym-section-heading h2,
    .gym-security h2 {
        font-size: 46px;
    }

    .gym-lead {
        font-size: 16px;
    }

    .gym-rate-explainer > div:not(.gym-rate-plus) {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .gym-rate-row {
        grid-template-columns: 1fr;
    }

    .gym-rate-row > span {
        grid-row: auto;
        margin-bottom: 8px;
    }

    .gym-rate-row-foundation {
        margin: 0 -14px;
        padding: 18px 14px;
    }

    .gym-walkin {
        align-items: flex-start;
        flex-direction: column;
    }

    .gym-process li {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 14px;
    }

    .gym-contact h2 {
        font-size: 72px;
    }

    .gym-footer-layout {
        align-items: flex-start;
        flex-direction: column;
    }
}