/* ============================================================
   FelixChess coaching components
   Scoped styles for:
     .fc-coaching-hero
     .fc-coaching-section
     .fc-coaching-closer

   Legacy .fc-ch, .fc-cs, .fc-cc selectors are kept as aliases so
   existing CMS-authored pages continue to render correctly.
   ============================================================ */

.fc-coaching-page,
.fc-coaching-hero-wrap,
.fc-coaching-hero,
.fc-coaching-section,
.fc-coaching-closer-wrap,
.fc-coaching-closer,
.fc-coaching-section-wrap,
.fc-ch,
.fc-cs,
.fc-cc {
    --fc-coach-bg: #0a0c0a;
    --fc-coach-card: #141714;
    --fc-coach-card-hover: #191d19;
    --fc-coach-accent: #aaff00;
    --fc-coach-accent-dim: rgba(170, 255, 0, 0.12);
    --fc-coach-accent-border: rgba(170, 255, 0, 0.25);
    --fc-coach-text-primary: #e8ede8;
    --fc-coach-text-secondary: #8a9a8a;
    --fc-coach-text-muted: #556055;
    --fc-coach-border: rgba(255, 255, 255, 0.07);
    --fc-coach-border-accent: rgba(170, 255, 0, 0.18);
    --fc-coach-display-font: "Playfair Display", Georgia, serif;
    --fc-coach-body-font: "Source Sans 3", system-ui, sans-serif;
}


/* ============================================================
   Hero
   ============================================================ */

.fc-coaching-hero-wrap {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #202020;
}

.fc-coaching-hero,
.fc-ch {
    max-width: 860px;
    margin: 0 auto;
    padding: 7rem 2.5rem 5rem;
    text-align: center;
    color: var(--fc-coach-text-primary);
    font-family: var(--fc-coach-body-font);
}

.fc-coaching-hero__eyebrow,
.fc-ch__eyebrow {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--fc-coach-accent);
    font-family: var(--fc-coach-body-font);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.fc-coaching-hero__title,
.fc-ch__title {
    margin: 0 0 1.2rem;
    color: var(--fc-coach-text-primary);
    font-family: var(--fc-coach-display-font);
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.fc-coaching-hero__subtitle,
.fc-ch__subtitle {
    margin: 0 0 2.5rem;
    color: #8A9A8B;
    font-family: var(--fc-coach-display-font);
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
}

.fc-coaching-hero__rule,
.fc-ch__rule {
    width: 48px;
    height: 2px;
    margin: 0 auto 2.8rem;
    border: 0;
    background: var(--fc-coach-accent);
}

.fc-coaching-hero__rule.is-animated,
.fc-ch__rule.is-animated {
    animation: fc-coach-rule-grow 420ms ease-out both;
}

.fc-coaching-hero__statement,
.fc-ch__statement {
    max-width: 680px;
    margin: 0 auto;
    color: #8A9A8B;
    font-family: var(--fc-coach-body-font);
    font-size: 1.08rem;
    font-weight: 300;
    line-height: 1.8;
}

.fc-coaching-hero .fc-coaching-hero__title,
.fc-coaching-hero .fc-coaching-hero__title.fc-ch__title {
    color: #ffffff;
}

.fc-coaching-hero .fc-coaching-hero__subtitle,
.fc-coaching-hero .fc-coaching-hero__subtitle.fc-ch__subtitle,
.fc-coaching-hero .fc-coaching-hero__statement,
.fc-coaching-hero .fc-coaching-hero__statement.fc-ch__statement {
    color: #8A9A8B;
}


/* ============================================================
   Numbered coaching section card
   ============================================================ */

.fc-coaching-section-wrap {
    width: 100%;
    padding: 2rem 0;
    background: #202020;
}

.fc-coaching-section,
.fc-cs {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2.5rem;
    color: var(--fc-coach-text-primary);
    font-family: var(--fc-coach-body-font);
}

.fc-coaching-section__card,
.fc-cs__inner {
    position: relative;
    overflow: hidden;
    padding: 2.4rem 2.8rem;
    border: 0.5px solid var(--fc-coach-border);
    border-radius: 6px;
    background: var(--fc-coach-card);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.fc-coaching-section__card::before,
.fc-cs__inner::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: transparent;
    transition: background 0.25s ease;
}

.fc-coaching-section__card:hover,
.fc-coaching-section__card.is-hovered,
.fc-cs__inner:hover,
.fc-cs__inner.is-hovered {
    border-color: var(--fc-coach-border-accent);
    background: var(--fc-coach-card-hover);
}

.fc-coaching-section__card:hover::before,
.fc-coaching-section__card.is-hovered::before,
.fc-cs__inner:hover::before,
.fc-cs__inner.is-hovered::before {
    background: var(--fc-coach-accent);
}

.fc-coaching-section__number,
.fc-cs__number {
    margin: 0 0 0.6rem;
    color: var(--fc-coach-accent);
    font-family: var(--fc-coach-body-font);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.25;
    opacity: 0.8;
    text-transform: uppercase;
}

.fc-coaching-section__title,
.fc-cs__title {
    margin: 0 0 1rem;
    color: var(--fc-coach-text-primary);
    font-family: var(--fc-coach-display-font);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
}

.fc-coaching-section__body,
.fc-cs__body {
    color: var(--fc-coach-text-secondary);
    font-family: var(--fc-coach-body-font);
    font-size: 1rem;
    line-height: 1.8;
}

.fc-coaching-section__body p,
.fc-cs__body {
    margin: 0;
}

.fc-coaching-section__body p + p,
.fc-cs__body + .fc-cs__body {
    margin-top: 1rem;
}

.fc-coaching-section__body em,
.fc-cs__body em {
    color: var(--fc-coach-text-primary);
}


/* ============================================================
   Section callout and CTA link
   ============================================================ */

.fc-coaching-callout,
.fc-cs__callout {
    margin: 1.4rem 0 0.4rem;
    padding: 1.1rem 1.4rem;
    border: 0.5px solid var(--fc-coach-accent-border);
    border-radius: 4px;
    background: var(--fc-coach-accent-dim);
}

.fc-coaching-callout__label,
.fc-cs__callout-label {
    margin: 0 0 0.4rem;
    color: var(--fc-coach-accent);
    font-family: var(--fc-coach-body-font);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.25;
    text-transform: uppercase;
}

.fc-coaching-callout__body,
.fc-cs__callout-body {
    margin: 0;
    color: var(--fc-coach-text-secondary);
    font-family: var(--fc-coach-body-font);
    font-size: 0.95rem;
    line-height: 1.7;
}

.fc-coaching-callout__body p,
.fc-cs__callout-body p {
    margin: 0;
}

.fc-coaching-callout__body p + p,
.fc-cs__callout-body p + p {
    margin-top: 0.75rem;
}

.fc-coaching-hero .move-seq,
.fc-coaching-section .move-seq,
.fc-coaching-callout .move-seq,
.fc-coaching-closer .move-seq,
.fc-coaching-callout__body .move-seq,
.fc-coaching-callout__body .fc-cs__move-seq,
.fc-cs__callout-body .move-seq,
.fc-cs__callout-body .fc-cs__move-seq {
    padding: 0.15em 0.4em;
    border-radius: 3px;
    background: rgba(170, 255, 0, 0.08);
    color: var(--fc-coach-accent, #aaff00);
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    white-space: nowrap;
}

.fc-coaching-section .coach-text-white-italic,
.fc-coaching-callout .coach-text-white-italic,
.fc-coaching-hero .coach-text-white-italic,
.fc-coaching-closer .coach-text-white-italic {
    color: #ffffff;
    font-style: italic;
    font-weight: 400;
}

.fc-coaching-section .coach-text-accent-italic,
.fc-coaching-callout .coach-text-accent-italic,
.fc-coaching-hero .coach-text-accent-italic,
.fc-coaching-closer .coach-text-accent-italic {
    color: var(--fc-coach-accent, #aaff00);
    font-style: italic;
    font-weight: 400;
}

.fc-coaching-section .coach-text-white-normal,
.fc-coaching-callout .coach-text-white-normal,
.fc-coaching-hero .coach-text-white-normal,
.fc-coaching-closer .coach-text-white-normal {
    color: #ffffff;
    font-style: normal;
    font-weight: 400;
}

.fc-coaching-section__link,
.fc-cs__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.2rem;
    color: var(--fc-coach-accent);
    font-family: var(--fc-coach-body-font);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.fc-coaching-section__link:hover,
.fc-coaching-section__link:focus-visible,
.fc-cs__link:hover,
.fc-cs__link:focus-visible {
    opacity: 0.75;
}

.fc-coaching-section__link-arrow,
.fc-cs__link-arrow {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

.fc-coaching-section__link:hover .fc-coaching-section__link-arrow,
.fc-coaching-section__link:focus-visible .fc-coaching-section__link-arrow,
.fc-cs__link:hover .fc-cs__link-arrow,
.fc-cs__link:focus-visible .fc-cs__link-arrow {
    transform: translateX(3px);
}


/* ============================================================
   Closing quote and CTAs
   ============================================================ */

.fc-coaching-closer-wrap {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: #202020;
}

.fc-coaching-closer,
.fc-cc {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2.5rem 8rem;
    text-align: center;
    color: var(--fc-coach-text-primary);
    font-family: var(--fc-coach-body-font);
}

.fc-coaching-closer__rule,
.fc-cc__rule {
    width: 48px;
    height: 1px;
    margin: 0 auto 3rem;
    border: 0;
    background: var(--fc-coach-border-accent);
}

.fc-coaching-closer__quote,
.fc-cc__quote {
    max-width: 640px;
    margin: 0 auto 2.8rem;
    color: var(--fc-coach-text-secondary);
    font-family: var(--fc-coach-display-font);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.65;
    quotes: none;
}

.fc-coaching-closer__quote-em,
.fc-cc__quote-em {
    color: var(--fc-coach-text-primary);
    font-style: normal;
}

.fc-coaching-closer__cta-group,
.fc-cc__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.fc-coaching-btn,
.fc-cc__btn {
    display: inline-block;
    padding: 0.75rem 1.8rem;
    border-radius: 3px;
    font-family: var(--fc-coach-body-font);
    font-size: 0.88rem;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
}

.fc-coaching-btn--primary,
.fc-cc__btn--primary {
    border: 0;
    background: var(--fc-coach-accent);
    color: var(--fc-coach-bg);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.fc-coaching-btn--primary:hover,
.fc-coaching-btn--primary:focus-visible,
.fc-cc__btn--primary:hover,
.fc-cc__btn--primary:focus-visible {
    opacity: 0.88;
}

.fc-coaching-btn--secondary,
.fc-cc__btn--secondary {
    border: 0.5px solid var(--fc-coach-border);
    background: transparent;
    color: var(--fc-coach-text-secondary);
    font-weight: 400;
    letter-spacing: 0.04em;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.fc-coaching-btn--secondary:hover,
.fc-coaching-btn--secondary:focus-visible,
.fc-cc__btn--secondary:hover,
.fc-cc__btn--secondary:focus-visible {
    border-color: var(--fc-coach-border-accent);
    color: var(--fc-coach-text-primary);
}


/* ============================================================
   Motion hooks
   ============================================================ */

.fc-coaching-section,
.fc-cs {
    opacity: 1;
}

@keyframes fc-coach-rule-grow {
    from {
        opacity: 0.45;
        transform: scaleX(0.45);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}


/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 700px) {
    .fc-coaching-hero,
    .fc-ch {
        padding: 4rem 1.25rem 3rem;
    }

    .fc-coaching-section,
    .fc-cs {
        padding: 0 1.25rem;
    }

    .fc-coaching-section__card,
    .fc-cs__inner {
        padding: 1.6rem;
    }

    .fc-coaching-closer,
    .fc-cc {
        padding: 0 1.25rem 5rem;
    }

    .fc-coaching-closer__cta-group,
    .fc-cc__actions {
        flex-direction: column;
        align-items: center;
    }

    .fc-coaching-btn,
    .fc-cc__btn {
        width: 100%;
        text-align: center;
    }
}


/* Final scoped hero color overrides for authored rich text. */
.fc-coaching-hero .fc-coaching-hero__title,
.fc-coaching-hero .fc-coaching-hero__title.fc-ch__title,
.fc-coaching-hero .fc-coaching-hero__title p,
.fc-coaching-hero .fc-coaching-hero__title span {
    color: #ffffff;
}

.fc-coaching-hero .fc-coaching-hero__subtitle,
.fc-coaching-hero .fc-coaching-hero__subtitle.fc-ch__subtitle,
.fc-coaching-hero .fc-coaching-hero__subtitle.fc-ch__subtitle p,
.fc-coaching-hero .fc-coaching-hero__subtitle.fc-ch__subtitle span,
.fc-coaching-hero .fc-coaching-hero__subtitle.fc-ch__subtitle i,
.fc-coaching-hero .fc-coaching-hero__subtitle.fc-ch__subtitle em,
.fc-coaching-hero .fc-coaching-hero__statement,
.fc-coaching-hero .fc-coaching-hero__statement.fc-ch__statement,
.fc-coaching-hero .fc-coaching-hero__statement.fc-ch__statement p,
.fc-coaching-hero .fc-coaching-hero__statement.fc-ch__statement span,
.fc-coaching-hero .fc-coaching-hero__statement.fc-ch__statement i,
.fc-coaching-hero .fc-coaching-hero__statement.fc-ch__statement em {
    color: #8A9A8B;
}

.fc-coaching-hero__subtitle p,
.fc-coaching-hero__statement p {
    margin: 0;
}
