.teos-about {
    --about-ink: #ece7dc;
    --about-text: #b0b4bd;
    --about-muted: #aaa08c;
    --about-gold: #e2b777;
    --about-line: rgba(226, 183, 119, .2);
    color: var(--about-text);
    font-size: 15px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.teos-about h1,
.teos-about h2,
.teos-about h3 {
    color: var(--about-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.3;
    text-transform: none;
}

.teos-about h1 {
    margin: 16px 0 22px;
    font-size: clamp(26px, 2.5vw, 36px);
    letter-spacing: -.025em;
}

.teos-about h1 span { color: var(--about-gold); }
.teos-about h2 { margin: 10px 0 20px; font-size: 25px; }
.teos-about h3 { margin: 0 0 10px; font-size: 19px; }
.teos-about p { margin: 0 0 18px; }
.teos-about strong { color: var(--about-ink); font-weight: 600; }

.teos-about .teos-about__eyebrow {
    margin: 0;
    color: var(--about-gold);
    font: 600 10px/1.8 Arial, sans-serif;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.teos-about__intro {
    padding: 22px 0 32px;
    background: radial-gradient(ellipse at 50% 0, rgba(226, 183, 119, .07), transparent 70%);
}

.page-cover--gameplay {
    aspect-ratio: 3 / 1;
    object-fit: cover;
    object-position: top center;
}

.teos-about .teos-about__lead { font-size: 17px; color: var(--about-ink); }
.teos-about .teos-about__byline { margin-bottom: 0; font-size: 12px; line-height: 1.8; }

.teos-about__section { padding: 32px 0 16px; border-top: 1px solid var(--about-line); }

.teos-about__activities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0;
    padding: 0;
    list-style: none;
}

.teos-about__activities li {
    padding: 6px 12px;
    border: 1px solid var(--about-line);
    background: rgba(226, 183, 119, .04);
    color: var(--about-ink);
    font-size: 12px;
}

.teos-about a { color: var(--about-gold); }
.teos-about em { color: var(--about-ink); }
.teos-about code { padding: 1px 5px; background: rgba(255, 255, 255, .06); color: var(--about-ink); font-size: .9em; }
.teos-about .teos-about__note { color: var(--about-muted); font-size: 13px; }

/* World and Gameplay: a hero, section banners and cards. Every picture slot
   has a gradient of its own, so the pages look finished before the art
   arrives; an <img> inside a slot covers it once the file is uploaded. */
.teos-about__hero,
.teos-about__banner {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border: 1px solid var(--about-line);
    background:
        radial-gradient(ellipse at 78% 12%, rgba(226, 183, 119, .16), transparent 55%),
        radial-gradient(ellipse at 10% 100%, rgba(120, 52, 40, .22), transparent 60%),
        linear-gradient(150deg, #241b13, #0c0a08);
}

.teos-about__hero > img,
.teos-about__banner > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teos-about__hero::after,
.teos-about__banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 6, 5, 0) 25%, rgba(8, 6, 5, .9));
    pointer-events: none;
}

.teos-about__hero { min-height: 280px; margin-bottom: 18px; padding: 48px 34px 34px; }

/* With art, the picture sits whole above the title and fades into the
   page, so no face or logo ends up under the text. */
.teos-about__hero:has(> img) { display: block; min-height: 0; padding: 0 0 30px; }
.teos-about__hero:has(> img)::after { display: none; }

.teos-about__hero > img:first-child {
    position: static;
    display: block;
    height: auto;
    max-height: 380px;
    object-position: top center;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(180deg, #000 55%, transparent);
}

.teos-about__hero:has(> img) .teos-about__hero-inner { margin: -36px 34px 0; }
.teos-about__hero-inner { position: relative; z-index: 1; max-width: 660px; }
.teos-about__hero h1 { margin: 10px 0 16px; font-size: clamp(30px, 3.4vw, 44px); text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
.teos-about__hero .teos-about__lead { margin: 0; }

.teos-about__banner { min-height: 150px; margin-bottom: 18px; padding: 22px 26px; }
.teos-about__banner:has(> img) { min-height: 0; aspect-ratio: 21 / 9; }
.teos-about__banner > :not(img) { position: relative; z-index: 1; }
.teos-about__banner { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.teos-about__banner h2 { margin: 4px 0 0; font-size: 32px; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }

.teos-about__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }

.teos-about .teos-about__toc a,
.teos-about .teos-about__chips li {
    padding: 5px 12px;
    border: 1px solid var(--about-line);
    background: rgba(226, 183, 119, .05);
    color: var(--about-ink);
    font-size: 12px;
    text-decoration: none;
}

.teos-about .teos-about__toc a:hover { border-color: var(--about-gold); color: var(--about-gold); }

.teos-about__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.teos-about .teos-about__chips li { padding: 3px 10px; font-size: 11px; letter-spacing: .03em; }
.teos-about__place .teos-about__chips { margin: 0 0 18px; }

.teos-about__callout {
    margin: 24px 0 28px;
    padding: 18px 22px;
    border-left: 3px solid #c0503f;
    background: linear-gradient(90deg, rgba(192, 80, 63, .16), rgba(192, 80, 63, .02));
}

.teos-about .teos-about__callout h3 { margin-bottom: 6px; color: #f0a091; font: 600 12px/1.6 Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.teos-about__callout p { margin: 0; }

.teos-about__bosses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
    margin: 0 0 26px;
}

.teos-about__boss {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--about-line);
    background: rgba(255, 255, 255, .025);
    transition: border-color .2s, transform .2s;
}

.teos-about__boss:hover { border-color: rgba(226, 183, 119, .5); transform: translateY(-2px); }
.teos-about__boss-portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #15110d; }

.teos-about__boss-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .4s;
}

.teos-about__boss:hover .teos-about__boss-portrait img { transform: scale(1.04); }

.teos-about__boss-title {
    position: absolute;
    inset: auto 0 0;
    padding: 70px 16px 14px;
    background: linear-gradient(180deg, transparent, rgba(8, 6, 5, .95));
}

.teos-about .teos-about__boss-title h3 { margin: 0; font-size: 22px; letter-spacing: .02em; }
.teos-about .teos-about__boss-title p { margin: 0; color: var(--about-gold); font-size: 13px; font-style: italic; }
.teos-about__boss-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 14px 16px 16px; }
.teos-about .teos-about__boss-body > p:first-child { margin: 0; font-size: 14px; line-height: 1.7; }
.teos-about .teos-about__facts { margin: auto 0 0; color: var(--about-muted); font-size: 12px; }

/* A section's text with the one boss who lives there beside it. */
.teos-about__feature { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 24px; align-items: start; }
.teos-about__feature > p { margin: 0; }

.teos-about__tiers { display: grid; gap: 8px; margin: 18px 0; padding: 0; list-style: none; }
.teos-about__tiers li { padding: 12px 16px; border-left: 3px solid rgba(226, 183, 119, .45); background: rgba(255, 255, 255, .025); font-size: 14px; }
.teos-about__tiers li:nth-child(2) { border-left-color: #c9783f; }
.teos-about__tiers li:nth-child(3) { border-left-color: #c0503f; background: rgba(192, 80, 63, .07); }
.teos-about__tiers span { display: block; color: var(--about-muted); font: 600 10px/1.8 Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; }

.teos-about__overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 8px; }

.teos-about a.teos-about__tile {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2px;
    min-height: 170px;
    padding: 18px;
    border: 1px solid var(--about-line);
    background:
        linear-gradient(180deg, rgba(8, 6, 5, .1), rgba(8, 6, 5, .92)),
        var(--art, none) center / cover no-repeat,
        linear-gradient(150deg, #241b13, #0c0a08);
    color: var(--about-text);
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    transition: border-color .2s;
}

.teos-about a.teos-about__tile:hover { border-color: var(--about-gold); }
.teos-about__tile strong { color: var(--about-ink); font: 400 24px/1.3 Georgia, "Times New Roman", serif; }

.teos-about__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
.teos-about__steps li { padding: 14px 14px 12px; border-top: 2px solid var(--about-gold); background: rgba(255, 255, 255, .03); font-size: 13px; line-height: 1.55; }
.teos-about__steps strong { display: block; margin-bottom: 4px; color: var(--about-gold); font: 400 20px/1.3 Georgia, "Times New Roman", serif; }

.teos-about__table-wrap { margin: 22px 0; overflow-x: auto; }
.teos-about__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.teos-about__table caption { caption-side: top; padding: 0 0 8px; color: var(--about-muted); font-size: 12px; }
.teos-about__table th,
.teos-about__table td { padding: 10px 12px; border-bottom: 1px solid var(--about-line); text-align: left; vertical-align: top; }
.teos-about__table thead th { color: var(--about-gold); font: 600 11px/1.6 Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.teos-about__table tbody th { color: var(--about-ink); font-weight: 600; white-space: nowrap; }
.teos-about__table tbody tr:hover { background: rgba(226, 183, 119, .04); }

.teos-about__principles { display: grid; gap: 12px; margin: 24px 0 10px; }
.teos-about__principle { padding: 18px 20px; border-left: 2px solid var(--about-gold); background: rgba(255, 255, 255, .025); }
.teos-about__principle h3 { font-size: 18px; }
.teos-about__principle p { margin: 0; font-size: 14px; }

.teos-about__address { margin: 0 0 18px; font-style: normal; white-space: pre-line; }
.teos-about a.teos-about__contact-link { color: var(--about-gold); text-decoration: underline; }
.teos-about a.teos-about__contact-link:focus-visible { outline: 2px solid var(--about-gold); outline-offset: 4px; }

.teos-about__join {
    margin-top: 20px;
    padding: 30px 20px;
    border: 1px solid var(--about-line);
    background: linear-gradient(150deg, rgba(226, 183, 119, .07), transparent);
    text-align: center;
}

.teos-about__join h2 { margin-top: 0; }
.teos-about__join p { font-size: 14px; }
.teos-about__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.teos-about a.teos-about__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid var(--about-line);
    border-radius: 2px;
    color: var(--about-ink);
    font-size: 13px;
    text-decoration: none;
}

.teos-about a.teos-about__button--primary { border-color: #c69654; background: #d7ad70; color: #18130e; font-weight: 700; }
.teos-about a.teos-about__button:hover { border-color: var(--about-gold); background: rgba(226, 183, 119, .12); color: var(--about-ink); }
.teos-about a.teos-about__button--primary:hover { background: #e9c58e; color: #18130e; }
.teos-about a.teos-about__button:focus-visible { outline: 2px solid var(--about-gold); outline-offset: 4px; }

@media (max-width: 575px) {
    .teos-about { font-size: 14px; }
    .teos-about__intro { padding-top: 8px; }
    .teos-about h2 { font-size: 22px; }
    .teos-about__hero { min-height: 240px; padding: 36px 18px 22px; }
    .teos-about__hero:has(> img) .teos-about__hero-inner { margin: -20px 18px 0; }
    .teos-about__banner { padding: 18px; }
    .teos-about__banner:has(> img) { aspect-ratio: 16 / 9; }
    .teos-about__banner h2 { font-size: 26px; }
    .teos-about__overview { grid-template-columns: 1fr; }
    .teos-about__feature { grid-template-columns: 1fr; }
    .teos-about a.teos-about__tile { min-height: 120px; }
    .teos-about__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .teos-about__table tbody th { white-space: normal; }
    .teos-about__join { padding: 26px 16px; }
    .teos-about__actions { flex-direction: column; }
}
