/* =========================================================
   PULSE / FORM — Modern Fitness Studio Template
   Design language: Brutalist + Swiss + MD3 + Gestalt
   ========================================================= */

:root {
    /* ---------- Brand Colors (editable) ---------- */
    --brand-primary:   #C5DD17;   /* Electric lime — energy, performance */
    --brand-secondary: #1A1A1A;   /* Deep charcoal — strength, discipline */
    --brand-accent:    #F4FFD8;   /* Pale cream — softness, contrast surface */

    /* ---------- Surfaces & Text ---------- */
    --bg-color:    #FFFFFF;
    --bg-alt:      #F4FFD8;
    --bg-dark:     #1A1A1A;
    --text-color:  #1A1A1A;
    --text-muted:  #4A4A4A;
    --text-invert: #FFFFFF;
    --rule-color:  #1A1A1A;

    /* ---------- Type ---------- */
    --font-heading:   'Urbanist', sans-serif;
    --font-body:      'Inter', sans-serif;
    --font-mono:      'JetBrains Mono', monospace;
    --font-size-base: 16px;

    /* ---------- Shape (sharp by default — brutalist) ---------- */
    --border-radius: 4px;
    --btn-radius:    2px;

    /* ---------- Layout tokens ---------- */
    --rule-weight: 2px;
    --grid-gap:    32px;
    --section-pad: 96px;
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
    color: var(--text-color);
    text-transform: uppercase;
}

h1 { font-size: clamp(48px, 8vw, 128px); letter-spacing: -0.04em; }
h2 { font-size: clamp(36px, 5vw, 72px); letter-spacing: -0.03em; }
h3 { font-size: clamp(24px, 2.5vw, 36px); }
h4 { font-size: clamp(20px, 1.8vw, 24px); }

p { margin: 0 0 1em; }

::selection { background: var(--brand-primary); color: var(--brand-secondary); }

/* =========================================================
   LAYOUT PRIMITIVES
   ========================================================= */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

.section { padding: var(--section-pad) 0; }
.section--alt  { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--text-invert); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--text-invert); }

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
}
.eyebrow::before {
    content: "";
    width: 32px;
    height: 2px;
    background: var(--brand-primary);
    display: inline-block;
}
.section--dark .eyebrow { color: var(--text-invert); }

.divider-rule {
    height: var(--rule-weight);
    background: var(--rule-color);
    width: 100%;
    margin: 0;
    border: 0;
}
.section--dark .divider-rule { background: #FFFFFF; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: var(--rule-weight) solid var(--brand-secondary);
    border-radius: var(--btn-radius);
    background: var(--brand-secondary);
    color: var(--text-invert);
    transition: transform .15s ease, background .15s ease, color .15s ease;
    cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--brand-primary); }

.btn--primary {
    background: var(--brand-primary);
    color: var(--brand-secondary);
    border-color: var(--brand-secondary);
}
.btn--primary:hover { box-shadow: 4px 4px 0 var(--brand-secondary); }

.btn--ghost {
    background: transparent;
    color: var(--brand-secondary);
    border-color: var(--brand-secondary);
}
.section--dark .btn--ghost { color: var(--text-invert); border-color: var(--text-invert); }

.btn--big { padding: 24px 40px; font-size: 17px; }
.btn--full { width: 100%; }

.btn .arrow { font-family: var(--font-mono); font-weight: 400; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg-color);
    border-bottom: var(--rule-weight) solid var(--rule-color);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    max-width: 1440px;
    margin: 0 auto;
}
.nav__brand {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.nav__brand-mark {
    width: 28px; height: 28px;
    background: var(--brand-primary);
    display: inline-block;
    border: var(--rule-weight) solid var(--brand-secondary);
}
.nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
}
.nav__links a:hover::after,
.nav__links a.is-active::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--brand-primary);
}
.nav__cta { display: inline-flex; }
.nav__toggle {
    display: none;
    width: 44px; height: 44px;
    border: var(--rule-weight) solid var(--brand-secondary);
    background: var(--bg-color);
    border-radius: var(--btn-radius);
    align-items: center; justify-content: center;
    flex-direction: column; gap: 5px;
    padding: 0;
}
.nav__toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--brand-secondary);
}

/* Mobile drawer */
.nav__drawer {
    display: none;
    background: var(--brand-secondary);
    color: var(--text-invert);
    padding: 32px;
    border-top: var(--rule-weight) solid var(--brand-primary);
}
.nav__drawer.is-open { display: block; }
.nav__drawer ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 20px;
}
.nav__drawer a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-invert);
}
.nav__drawer .btn { margin-top: 16px; }

/* =========================================================
   HERO — Brutalist editorial
   ========================================================= */
.hero {
    background: var(--bg-color);
    border-bottom: var(--rule-weight) solid var(--rule-color);
    overflow: hidden;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 78vh;
}
.hero__copy {
    padding: 64px 48px 48px;
    border-right: var(--rule-weight) solid var(--rule-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
}
.hero__display {
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.92;
    letter-spacing: -0.05em;
    font-size: clamp(56px, 11vw, 168px);
    margin: 0;
}
.hero__display .accent {
    color: var(--brand-secondary);
    background: var(--brand-primary);
    padding: 0 0.1em;
    display: inline-block;
}
.hero__lede {
    max-width: 520px;
    font-size: 18px;
    line-height: 1.55;
    color: var(--text-muted);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__visual {
    position: relative;
    background: var(--brand-secondary);
    overflow: hidden;
    min-height: 480px;
}
.hero__visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(15%) contrast(1.05);
}
.hero__visual-tag {
    position: absolute;
    bottom: 24px; left: 24px; right: 24px;
    background: var(--brand-primary);
    color: var(--brand-secondary);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 14px 18px;
    display: flex; justify-content: space-between; gap: 16px;
}

/* Marquee strip below hero */
.marquee {
    background: var(--brand-secondary);
    color: var(--brand-primary);
    border-top: var(--rule-weight) solid var(--brand-primary);
    border-bottom: var(--rule-weight) solid var(--brand-primary);
    padding: 18px 0;
    overflow: hidden;
}
.marquee__track {
    display: flex; gap: 56px;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 22px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 24px; }
.marquee__track .dot {
    width: 10px; height: 10px;
    background: var(--brand-primary);
    border-radius: 50%;
    display: inline-block;
}
@keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =========================================================
   STATS — Quick value strip
   ========================================================= */
.stats {
    border-bottom: var(--rule-weight) solid var(--rule-color);
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat {
    padding: 56px 32px;
    border-right: var(--rule-weight) solid var(--rule-color);
}
.stat:last-child { border-right: none; }
.stat__num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(48px, 5vw, 72px);
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--brand-secondary);
}
.stat__label {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-top: 12px;
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.sec-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap);
    align-items: end;
    margin-bottom: 56px;
}
.sec-head__title { margin: 0; }
.sec-head__meta {
    text-align: right;
    color: var(--text-muted);
    max-width: 420px;
    margin-left: auto;
}

/* =========================================================
   CARDS — Classes / Trainers (collection-style)
   ========================================================= */
.card-grid {
    display: grid;
    gap: 0;
    border-top: var(--rule-weight) solid var(--rule-color);
    border-left: var(--rule-weight) solid var(--rule-color);
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    border-right: var(--rule-weight) solid var(--rule-color);
    border-bottom: var(--rule-weight) solid var(--rule-color);
    background: var(--bg-color);
    display: flex; flex-direction: column;
    transition: background .2s ease;
}
.card:hover { background: var(--bg-alt); }

.card__media {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    background: var(--brand-secondary);
}
.card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    filter: grayscale(10%) contrast(1.04);
}
.card:hover .card__media img { transform: scale(1.04); }

.card__index {
    position: absolute;
    top: 16px; left: 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-secondary);
    background: var(--brand-primary);
    padding: 6px 10px;
    letter-spacing: 0.14em;
}

.card__body {
    padding: 28px;
    display: flex; flex-direction: column;
    gap: 12px;
    flex: 1;
}
.card__cat {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.card__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    line-height: 1.05;
    text-transform: uppercase;
    margin: 0;
}
.card__desc { color: var(--text-muted); margin: 0; font-size: 15px; line-height: 1.55; }
.card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #E2E2E2;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-color);
}
.intensity {
    display: inline-flex; gap: 4px;
}
.intensity span {
    width: 10px; height: 10px;
    background: #E2E2E2;
    display: inline-block;
}
.intensity span.on { background: var(--brand-secondary); }

/* =========================================================
   FEATURED — Editorial split
   ========================================================= */
.split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    border: var(--rule-weight) solid var(--rule-color);
}
.split--reverse { grid-template-columns: 1fr 1.1fr; }
.split__media {
    background: var(--brand-secondary);
    min-height: 480px;
    overflow: hidden;
}
.split__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(15%) contrast(1.05);
}
.split__copy {
    padding: 56px 48px;
    display: flex; flex-direction: column;
    justify-content: center;
    gap: 16px;
    border-left: var(--rule-weight) solid var(--rule-color);
}
.split--reverse .split__copy {
    border-left: 0;
    border-right: var(--rule-weight) solid var(--rule-color);
    order: -1;
}
.split--reverse .split__media { border-left: 0; }

/* =========================================================
   PRICING / MEMBERSHIP TIERS
   ========================================================= */
.tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: var(--rule-weight) solid var(--rule-color);
}
.tier {
    padding: 48px 36px;
    border-right: var(--rule-weight) solid var(--rule-color);
    display: flex; flex-direction: column;
    background: var(--bg-color);
}
.tier:last-child { border-right: none; }
.tier--featured {
    background: var(--brand-secondary);
    color: var(--text-invert);
}
.tier--featured h3 { color: var(--text-invert); }
.tier--featured .tier__desc { color: #C8C8C8; }
.tier--featured .tier__list li { color: var(--text-invert); border-color: #333; }
.tier--featured .tier__list li::before { background: var(--brand-primary); }
.tier__name {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
}
.tier__price {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 64px;
    line-height: 1;
    margin: 16px 0 4px;
    letter-spacing: -0.03em;
}
.tier__price .currency { font-size: 28px; vertical-align: super; font-weight: 700; }
.tier__price .per { font-size: 14px; font-weight: 500; color: var(--text-muted); margin-left: 6px; font-family: var(--font-body); }
.tier--featured .tier__price .per { color: #C8C8C8; }
.tier__desc { color: var(--text-muted); margin: 8px 0 24px; font-size: 14px; }
.tier__list { list-style: none; padding: 0; margin: 0 0 32px; }
.tier__list li {
    padding: 12px 0 12px 28px;
    border-bottom: 1px solid #E2E2E2;
    font-size: 15px;
    position: relative;
}
.tier__list li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 16px;
    background: var(--brand-primary);
    color: var(--brand-secondary);
    display: inline-flex;
    align-items: center; justify-content: center;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
}
.tier .btn { margin-top: auto; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: var(--rule-weight) solid var(--rule-color);
    border-left: var(--rule-weight) solid var(--rule-color);
}
.quote {
    padding: 40px;
    border-right: var(--rule-weight) solid var(--rule-color);
    border-bottom: var(--rule-weight) solid var(--rule-color);
    display: flex; flex-direction: column; gap: 24px;
    background: var(--bg-color);
}
.quote__mark {
    font-family: var(--font-heading);
    font-size: 96px;
    line-height: 0.6;
    color: var(--brand-primary);
    font-weight: 900;
    margin-bottom: -16px;
}
.quote__text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.25;
    margin: 0;
    flex: 1;
}
.quote__person {
    display: flex; align-items: center; gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #E2E2E2;
}
.quote__avatar {
    width: 44px; height: 44px;
    background: var(--brand-secondary);
    color: var(--brand-primary);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
}
.quote__name { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.quote__role { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.14em; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 8px;
}
.gallery__cell {
    overflow: hidden;
    background: var(--brand-secondary);
}
.gallery__cell img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.05);
    transition: transform .4s ease;
}
.gallery__cell:hover img { transform: scale(1.06); }
.gallery__cell:nth-child(1) { grid-row: 1 / 3; }

/* =========================================================
   MAP
   ========================================================= */
.map-wrap {
    border: var(--rule-weight) solid var(--rule-color);
    background: var(--brand-secondary);
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}
.map-wrap__placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 16px;
    color: var(--text-invert);
    background: var(--brand-secondary);
}
/* Flat-color "blueprint" border accents around the placeholder — no gradients */
.map-wrap__placeholder::before,
.map-wrap__placeholder::after {
    content: "";
    position: absolute;
    background: var(--brand-primary);
    pointer-events: none;
}
.map-wrap__placeholder::before { top: 24px;    left: 24px;  width: 60px; height: 2px; box-shadow: 0 58px 0 var(--brand-primary); }
.map-wrap__placeholder::after  { top: 24px; right: 24px;  width: 2px;  height: 60px; box-shadow: -58px 0 0 var(--brand-primary); }
.map-wrap__pin {
    width: 48px; height: 48px;
    background: var(--brand-primary);
    border: 3px solid var(--text-invert);
    transform: rotate(45deg);
    border-radius: 50% 50% 50% 0;
    margin-bottom: 8px;
}
.map-wrap__addr {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.04em;
}
.map-wrap__addr-sub {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.14em;
    color: #C8C8C8;
    text-transform: uppercase;
}

/* =========================================================
   FINAL CTA STRIP
   ========================================================= */
.cta-strip {
    background: var(--brand-primary);
    color: var(--brand-secondary);
    padding: 96px 32px;
    border-top: var(--rule-weight) solid var(--brand-secondary);
    border-bottom: var(--rule-weight) solid var(--brand-secondary);
}
.cta-strip__inner {
    max-width: 1440px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
}
.cta-strip__title {
    font-size: clamp(40px, 6vw, 96px);
    margin: 0;
    line-height: 0.95;
}
.cta-strip__actions { display: flex; flex-direction: column; gap: 16px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: var(--brand-secondary);
    color: var(--text-invert);
    padding: 80px 0 32px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--grid-gap);
    padding-bottom: 56px;
    border-bottom: 1px solid #333;
}
.footer__brand {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 12px;
}
.footer__about { color: #C8C8C8; max-width: 320px; font-size: 15px; }
.footer__col h5 {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--brand-primary);
    margin: 0 0 20px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: #E5E5E5; font-size: 15px; }
.footer__col a:hover { color: var(--brand-primary); }
.footer__bottom {
    padding-top: 24px;
    display: flex; justify-content: space-between; gap: 24px;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #999;
    flex-wrap: wrap;
}

/* =========================================================
   PAGE HEADERS (interior pages)
   ========================================================= */
.page-head {
    padding: 80px 0 64px;
    border-bottom: var(--rule-weight) solid var(--rule-color);
    background: var(--bg-color);
}
.page-head__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--grid-gap);
    align-items: end;
}
.page-head__title {
    font-size: clamp(56px, 9vw, 144px);
    margin: 0;
    line-height: 0.92;
}
.page-head__lede {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 0 8px auto;
    text-align: right;
}
.crumbs {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 32px;
    display: flex; gap: 8px;
}
.crumbs span { color: var(--brand-secondary); }

/* =========================================================
   ABOUT-PAGE: philosophy / amenities
   ========================================================= */
.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: var(--rule-weight) solid var(--rule-color);
    border-left: var(--rule-weight) solid var(--rule-color);
}
.principle {
    padding: 40px;
    border-right: var(--rule-weight) solid var(--rule-color);
    border-bottom: var(--rule-weight) solid var(--rule-color);
}
.principle__num {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--brand-secondary);
    margin-bottom: 24px;
    letter-spacing: 0.16em;
}
.principle__title {
    font-size: 28px;
    margin-bottom: 12px;
}
.principle__body { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

.amenities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: var(--rule-weight) solid var(--rule-color);
    border-left: var(--rule-weight) solid var(--rule-color);
}
.amenity {
    padding: 32px;
    border-right: var(--rule-weight) solid var(--rule-color);
    border-bottom: var(--rule-weight) solid var(--rule-color);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    align-items: start;
}
.amenity__icon {
    width: 64px; height: 64px;
    background: var(--brand-primary);
    color: var(--brand-secondary);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 24px;
    border: var(--rule-weight) solid var(--brand-secondary);
}
.amenity h4 { font-size: 20px; margin-bottom: 8px; }
.amenity p { color: var(--text-muted); margin: 0; font-size: 15px; }

/* =========================================================
   CLASS SCHEDULE (Classes page)
   ========================================================= */
.schedule {
    border: var(--rule-weight) solid var(--rule-color);
    overflow-x: auto;
}
.schedule table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}
.schedule th, .schedule td {
    padding: 18px 16px;
    border-bottom: 1px solid #E2E2E2;
    text-align: left;
    font-size: 14px;
    vertical-align: middle;
}
.schedule th {
    background: var(--brand-secondary);
    color: var(--text-invert);
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    border-bottom: var(--rule-weight) solid var(--brand-primary);
}
.schedule td.day {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--bg-alt);
    width: 140px;
}
.schedule td.class {
    font-weight: 600;
}
.schedule td.time {
    font-family: var(--font-mono);
    color: var(--text-muted);
}
.schedule td.coach {
    color: var(--text-muted);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
    border-top: var(--rule-weight) solid var(--rule-color);
    border-bottom: var(--rule-weight) solid var(--rule-color);
}
.faq__item {
    border-bottom: 1px solid #D8D8D8;
    padding: 28px 0;
}
.faq__item:last-child { border-bottom: none; }
.faq__q {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    display: flex; justify-content: space-between; gap: 24px;
    cursor: pointer;
    margin: 0;
}
.faq__q::after {
    content: "+";
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 28px;
    line-height: 1;
    color: var(--brand-secondary);
    transition: transform .2s ease;
}
.faq__a {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 760px;
    margin: 16px 0 0;
}

/* =========================================================
   TRAINER PROFILE CARDS
   ========================================================= */
.trainer-card { display: flex; flex-direction: column; }
.trainer-card .card__media { aspect-ratio: 3/4; }
.trainer-card .card__body { gap: 14px; }
.trainer-card .card__title { font-size: 28px; }
.trainer-card .specialty {
    color: var(--brand-secondary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 600;
    background: var(--brand-primary);
    align-self: flex-start;
    padding: 6px 10px;
}
.trainer-card .certs {
    list-style: none; padding: 0; margin: 4px 0 0;
    display: flex; flex-wrap: wrap; gap: 6px;
}
.trainer-card .certs li {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    border: 1px solid #D8D8D8;
    padding: 4px 8px;
}

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap);
    align-items: stretch;
}
.contact-form {
    border: var(--rule-weight) solid var(--rule-color);
    padding: 48px;
    background: var(--bg-color);
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.field label {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brand-secondary);
}
.field input,
.field select,
.field textarea {
    padding: 14px 16px;
    border: 2px solid var(--brand-secondary);
    background: var(--bg-color);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-color);
    border-radius: var(--btn-radius);
    transition: border-color .2s ease, background .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    background: var(--brand-accent);
    border-color: var(--brand-secondary);
}
.contact-info {
    background: var(--brand-secondary);
    color: var(--text-invert);
    padding: 48px;
    display: flex; flex-direction: column; gap: 32px;
    border: var(--rule-weight) solid var(--brand-secondary);
}
.info-block h5 {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin: 0 0 12px;
}
.info-block p { font-size: 18px; margin: 0; line-height: 1.5; }
.info-block .big {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 28px;
    text-transform: uppercase;
}
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
    display: flex; justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #333;
    font-size: 15px;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list .day { font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 13px; }
.hours-list .time { font-family: var(--font-mono); color: #C8C8C8; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    :root { --section-pad: 72px; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: var(--rule-weight) solid var(--rule-color); }
    .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .quotes { grid-template-columns: repeat(2, 1fr); }
    .principles { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: 200px 200px 200px; }
    .gallery__cell:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
    .tiers { grid-template-columns: 1fr; }
    .tier { border-right: 0; border-bottom: var(--rule-weight) solid var(--rule-color); }
    .tier:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
    :root { --section-pad: 56px; --grid-gap: 20px; }
    .container { padding: 0 20px; }
    .nav__inner { padding: 14px 20px; }
    .nav__links { display: none; }
    .nav__cta { display: none; }
    .nav__toggle { display: inline-flex; }

    .hero__inner { grid-template-columns: 1fr; min-height: auto; }
    .hero__copy { padding: 40px 24px; border-right: 0; border-bottom: var(--rule-weight) solid var(--rule-color); gap: 32px; }
    .hero__visual { min-height: 360px; }

    .sec-head { grid-template-columns: 1fr; }
    .sec-head__meta { text-align: left; margin-left: 0; }
    .page-head__inner { grid-template-columns: 1fr; }
    .page-head__lede { text-align: left; margin: 16px 0 0; }

    .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
    .quotes { grid-template-columns: 1fr; }
    .principles { grid-template-columns: 1fr; }
    .amenities { grid-template-columns: 1fr; }
    .split, .split--reverse { grid-template-columns: 1fr; }
    .split--reverse .split__copy { order: 0; border-right: 0; border-bottom: var(--rule-weight) solid var(--rule-color); }
    .split__copy { padding: 32px 24px; border-left: 0; border-top: var(--rule-weight) solid var(--rule-color); }
    .split__media { min-height: 280px; }

    .footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .footer__bottom { flex-direction: column; gap: 8px; }

    .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px 180px; }

    .cta-strip__inner { grid-template-columns: 1fr; }
    .cta-strip { padding: 56px 24px; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-form, .contact-info { padding: 32px 24px; }
    .contact-form .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }

    .stats__grid { grid-template-columns: 1fr; }
    .stat { border-right: none; border-bottom: var(--rule-weight) solid var(--rule-color); }
    .stat:last-child { border-bottom: none; }

    .marquee__track { font-size: 18px; gap: 32px; }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
*:focus-visible {
    outline: 3px solid var(--brand-primary);
    outline-offset: 3px;
}
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--brand-secondary);
    color: var(--brand-primary);
    padding: 12px 20px;
    z-index: 100;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
}
.skip-link:focus { left: 16px; top: 16px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
