/* Fit People Club — Home hero.
   .hero--dark  = D1 version (default)
   .hero--light = D4 version (same copy, light palette) */

.hero--dark {
    --hero-bg: #121211;
    --hero-ink: #ECE8DF;
    --hero-muted: #A39F96;
    --hero-accent: #C8B79A;
    --hero-line: #4A4842;
    --hero-media-bg: #1E1E1C;
    --hero-img-filter: grayscale(1) brightness(0.82) contrast(1.05);
}

.hero--light {
    --hero-bg: #ECE8DF;
    --hero-ink: #1A1918;
    --hero-muted: #5C5850;
    --hero-accent: #6E5D44;
    --hero-line: #1A1918;
    --hero-media-bg: #2A2926;
    --hero-img-filter: grayscale(1) contrast(1.05);
}

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: var(--hero-bg);
    color: var(--hero-ink);
    font-family: 'Inter', system-ui, sans-serif;
}

.hero__content {
    padding: 48px 72px 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
}

.hero__brand {
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 300;
    font-style: italic;
    font-size: 22px;
    color: var(--hero-ink);
    text-decoration: none;
}

.hero__copy {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero__rule {
    width: 48px;
    height: 1px;
    background: var(--hero-accent);
}

.hero__title {
    margin: 0;
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 300;
    font-size: clamp(52px, 6.7vw, 96px);
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero__title em {
    font-style: italic;
    color: var(--hero-accent);
}

.hero__lead {
    margin: 0;
    max-width: 420px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--hero-muted);
}

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

.hero__btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity .2s ease, border-color .2s ease;
}

.hero__btn--solid {
    background: var(--hero-ink);
    color: var(--hero-bg);
}

.hero__btn--solid:hover { opacity: .88; }

.hero__btn--outline {
    border: 1px solid var(--hero-line);
    padding: 15px 31px;
    color: var(--hero-ink);
}

.hero__btn--outline:hover { border-color: var(--hero-ink); }

.hero__media {
    position: relative;
    overflow: hidden;
    background: var(--hero-media-bg);
}

.hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: var(--hero-img-filter);
}

/* Tablet and mobile: the photo moves to the top as a strip */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: 38vh auto;
    }
    .hero__media { order: -1; }
    .hero__content { padding: 32px 24px 40px; }
}
