.tmf-about {
    --tmf-about-red: #f05454;
    --tmf-about-red-soft: rgba(240, 84, 84, 0.14);
    --tmf-about-border: rgba(255, 255, 255, 0.11);
    --tmf-about-panel: #242121;
    --tmf-about-panel-deep: #1d1b1b;
    --tmf-about-text: #ededed;
    --tmf-about-muted: #aaa3a3;
    max-width: 1180px;
    margin: 24px auto 64px;
    padding: 0 20px 40px;
    color: var(--tmf-about-text);
}

.tmf-about *,
.tmf-about *::before,
.tmf-about *::after {
    box-sizing: border-box;
}

.tmf-about-kicker {
    margin-bottom: 10px;
    color: var(--tmf-about-red);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tmf-about h1,
.tmf-about h2,
.tmf-about h3,
.tmf-about p {
    margin-top: 0;
}

.tmf-about h1,
.tmf-about h2,
.tmf-about h3 {
    color: #f5f2f2;
}

/* About hero intentionally mirrors the homepage hero proportions.
   Official Wizards of the Coast artwork source:
   https://magic.wizards.com/en/products/the-brothers-war */
.tmf-about-hero {
    position: relative;
    min-height: 365px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #414141;
    background:
        linear-gradient(90deg, rgba(14, 14, 14, 0.98), rgba(14, 14, 14, 0.84) 54%, rgba(14, 14, 14, 0.34)),
        url('https://images.ctfassets.net/s5n2t79q9icq/5s6h7KJffSi5fyEf9wSDvO/fe8fbdb5a11b5e801426cfadaf094499/JHf3OI8Gz2_1920x700.jpg?q=80') center / cover no-repeat;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.tmf-about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 3px solid var(--tmf-about-red);
    pointer-events: none;
}

.tmf-about-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 690px;
    padding: 43px;
}

.tmf-about-hero h1 {
    max-width: 690px;
    margin: 8px 0 15px;
    font-size: 2.9rem;
    line-height: 1.03;
    letter-spacing: -0.025em;
}

.tmf-about-lead {
    max-width: 625px;
    margin: 0 0 22px;
    color: #d0d0d0;
    font-size: 1.04rem;
    line-height: 1.72;
}

.tmf-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.tmf-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 17px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.tmf-about-btn:hover,
.tmf-about-btn:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.tmf-about-btn--primary {
    background: var(--tmf-about-red);
    color: #fff !important;
}

.tmf-about-btn--primary:hover,
.tmf-about-btn--primary:focus-visible {
    background: #ff6464;
}

.tmf-about-btn--secondary {
    border-color: rgba(255, 255, 255, 0.19);
    background: rgba(255, 255, 255, 0.045);
    color: #e8e4e4 !important;
}

.tmf-about-btn--secondary:hover,
.tmf-about-btn--secondary:focus-visible {
    border-color: rgba(240, 84, 84, 0.75);
    background: rgba(240, 84, 84, 0.08);
}

.tmf-about-section {
    padding: 72px 0 0;
}

.tmf-about-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 26px;
}

.tmf-about-section-head--compact,
.tmf-about-section-head--stacked {
    grid-template-columns: 1fr;
}

.tmf-about-section-head--stacked {
    gap: 0;
}

.tmf-about-section-intro {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--tmf-about-muted);
    line-height: 1.7;
}

.tmf-about-section-head h2,
.tmf-about-founder h2,
.tmf-about-cta h2 {
    margin-bottom: 0;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.tmf-about-section-head > p,
.tmf-about-cta p {
    margin-bottom: 0;
    color: var(--tmf-about-muted);
    line-height: 1.7;
}

.tmf-about-build-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.tmf-about-build-card {
    position: relative;
    display: flex;
    min-height: 265px;
    flex-direction: column;
    padding: 22px;
    overflow: hidden;
    border: 1px solid var(--tmf-about-border);
    border-radius: 8px;
    background: linear-gradient(180deg, #292525 0%, #211f1f 100%);
    color: inherit !important;
    text-decoration: none !important;
    transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.tmf-about-build-card::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -70px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(240, 84, 84, 0.07);
    pointer-events: none;
}

.tmf-about-build-card:hover,
.tmf-about-build-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(240, 84, 84, 0.65);
    background: linear-gradient(180deg, #2d2727 0%, #231f1f 100%);
    outline: none;
}

.tmf-about-card-index {
    color: var(--tmf-about-red);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.tmf-about-build-card h3 {
    margin: 42px 0 10px;
    font-size: 1.18rem;
}

.tmf-about-build-card p {
    margin-bottom: 18px;
    color: #aaa3a3;
    font-size: 0.9rem;
    line-height: 1.62;
}

.tmf-about-card-link {
    margin-top: auto;
    color: #ddd8d8;
    font-size: 0.77rem;
    font-weight: 800;
}

.tmf-about-card-link::after {
    content: " →";
    color: var(--tmf-about-red);
}

.tmf-about-founder {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    gap: 42px;
    align-items: stretch;
    margin-top: 76px;
    padding: 28px;
    border: 1px solid var(--tmf-about-border);
    border-radius: 10px;
    background:
        linear-gradient(115deg, rgba(240, 84, 84, 0.08), transparent 36%),
        var(--tmf-about-panel-deep);
}

.tmf-about-founder-photo {
    min-height: 350px;
    overflow: hidden;
    border-radius: 7px;
    background: #161515;
}

.tmf-about-founder-photo img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    object-position: center 34%;
    display: block;
}

.tmf-about-founder-copy {
    align-self: center;
    padding: 18px 18px 18px 0;
}

.tmf-about-founder-role {
    margin: 13px 0 22px;
    color: var(--tmf-about-red);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tmf-about-founder-copy > p:not(.tmf-about-founder-role):not(.tmf-about-founder-note) {
    max-width: 720px;
    color: #bbb5b5;
    line-height: 1.72;
}

.tmf-about-founder-note {
    max-width: 720px;
    margin: 22px 0 0;
    padding: 14px 16px;
    border-left: 3px solid var(--tmf-about-red);
    background: rgba(255, 255, 255, 0.035);
    color: #d3cece;
    line-height: 1.6;
}

.tmf-about-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tmf-about-principles article {
    padding: 24px;
    border-top: 2px solid var(--tmf-about-red);
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
}

.tmf-about-principles span,
.tmf-about-person-label {
    color: var(--tmf-about-red);
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tmf-about-principles h3 {
    margin: 16px 0 10px;
    font-size: 1.04rem;
    line-height: 1.35;
}

.tmf-about-principles p {
    margin-bottom: 0;
    color: var(--tmf-about-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.tmf-about-playgroup {
    padding-top: 80px;
}

.tmf-about-playgroup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tmf-about-person {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    min-height: 154px;
    padding: 18px;
    border: 1px solid var(--tmf-about-border);
    border-radius: 8px;
    background: #222020;
}

.tmf-about-person img {
    width: 112px;
    height: 112px;
    border-radius: 6px;
    object-fit: cover;
    display: block;
    filter: saturate(0.86) contrast(1.03);
}

.tmf-about-person h3 {
    margin: 5px 0 8px;
    font-size: 1rem;
}

.tmf-about-person p {
    margin-bottom: 0;
    color: #a9a3a3;
    font-size: 0.84rem;
    line-height: 1.58;
}

.tmf-about-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    margin-top: 76px;
    margin-bottom: 6px;
    padding: 32px;
    border: 1px solid rgba(240, 84, 84, 0.28);
    border-radius: 10px;
    background:
        radial-gradient(circle at 90% 50%, rgba(240, 84, 84, 0.14), transparent 30%),
        linear-gradient(135deg, #292323, #1e1c1c);
}

.tmf-about-cta p {
    max-width: 720px;
    margin-top: 10px;
}

.tmf-about-actions--end {
    justify-content: flex-end;
}

@media (max-width: 980px) {
    .tmf-about-hero {
        background-position: 58% center;
    }

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

    .tmf-about-founder {
        grid-template-columns: 235px minmax(0, 1fr);
    }

    .tmf-about-founder-photo,
    .tmf-about-founder-photo img {
        min-height: 320px;
    }

    .tmf-about-cta {
        grid-template-columns: 1fr;
    }

    .tmf-about-actions--end {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .tmf-about {
        margin-top: 14px;
        padding: 0 14px 28px;
    }

    .tmf-about-hero {
        min-height: 340px;
        background-position: 58% center;
    }

    .tmf-about-hero-copy {
        padding: 24px;
    }

    .tmf-about-hero h1 {
        font-size: 2.15rem;
    }

    .tmf-about-section,
    .tmf-about-playgroup {
        padding-top: 56px;
    }

    .tmf-about-section-head {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tmf-about-founder {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 58px;
        padding: 20px;
    }

    .tmf-about-founder-photo {
        max-height: 440px;
    }

    .tmf-about-founder-photo img {
        min-height: 0;
        aspect-ratio: 4 / 3;
        object-position: center 25%;
    }

    .tmf-about-founder-copy {
        padding: 0 2px 4px;
    }

    .tmf-about-principles,
    .tmf-about-playgroup-grid {
        grid-template-columns: 1fr;
    }

    .tmf-about-cta {
        margin-top: 58px;
        padding: 26px 22px;
    }
}

@media (max-width: 520px) {
    .tmf-about-hero h1 {
        font-size: 1.95rem;
    }

    .tmf-about-build-grid {
        grid-template-columns: 1fr;
    }

    .tmf-about-build-card {
        min-height: 225px;
    }

    .tmf-about-person {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 14px;
    }

    .tmf-about-person img {
        width: 82px;
        height: 82px;
    }

    .tmf-about-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .tmf-about-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tmf-about-btn,
    .tmf-about-build-card {
        transition: none;
    }

    .tmf-about-btn:hover,
    .tmf-about-btn:focus-visible,
    .tmf-about-build-card:hover,
    .tmf-about-build-card:focus-visible {
        transform: none;
    }
}
