@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    color-scheme: dark;
    --ink: #11130f;
    --ink-soft: #191c16;
    --paper: #eee9db;
    --muted: #a7a99c;
    /* --acid: #c5db73; */
    --acid: red;
    --red: #ad4036;
    --line: rgba(238, 233, 219, .14);
    --display: "Barlow Condensed", Impact, sans-serif;
    --body: "DM Sans", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--body);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.wrap {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--acid);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 24px;
    height: 1px;
    background: currentColor;
    content: "";
}

.display {
    font-family: var(--display);
    font-weight: 800;
    text-transform: uppercase;
}

.section {
    padding: 112px 0;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 48px;
}

.section-heading h2 {
    margin: 16px 0;
    font: 800 clamp(2.8rem, 6vw, 5.2rem)/.92 var(--display);
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.section-heading p {
    max-width: 520px;
    color: var(--muted);
    line-height: 1.8;
}

.site-header {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(238, 233, 219, .12);
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--acid);
    color: var(--acid);
    font: 800 1.25rem var(--display);
    transform: rotate(-6deg);
}

.brand-name {
    font: 700 .76rem/1.15 var(--display);
    letter-spacing: .15em;
}

.brand-name span {
    display: block;
    color: var(--muted);
    font: 500 .56rem var(--body);
    letter-spacing: .18em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 38px);
}

.nav-links a {
    color: #d4d2c6;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--acid);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--paper);
    cursor: pointer;
}

.hero {
    min-height: 740px;
    min-height: min(860px, 100svh);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 77% 43%, rgba(92, 111, 46, .3), transparent 31%),
        linear-gradient(90deg, #11130f 4%, rgba(17, 19, 15, .97) 31%, rgba(17, 19, 15, .54) 67%, rgba(17, 19, 15, .22)),
        linear-gradient(0deg, #11130f 0%, transparent 34%),
        repeating-linear-gradient(104deg, transparent 0 74px, rgba(204, 218, 148, .035) 75px 77px, transparent 78px 139px),
        #22281c;
}

.hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 80%, rgba(9, 10, 8, .1), #11130f 75%),
        linear-gradient(180deg, rgba(17, 19, 15, .15), transparent 50%, #11130f);
    content: "";
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 85px;
}

.hero-copy {
    width: min(560px, 54%);
}

.hero-kicker {
    margin-bottom: 22px;
}

.hero h1 {
    margin: 0;
    font: 900 clamp(5.4rem, 12vw, 10.4rem)/.73 var(--display);
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.hero h1 span {
    display: block;
    color: var(--acid);
}

.hero-subtitle {
    margin: 29px 0 15px;
    color: #dedccf;
    font: 600 clamp(1rem, 2vw, 1.3rem)/1.3 var(--display);
    letter-spacing: .13em;
    text-transform: uppercase;
}

.hero-copy>p {
    max-width: 440px;
    color: #b9bbad;
    font-size: .92rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 31px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 21px;
    border: 1px solid var(--acid);
    background: var(--acid);
    color: var(--ink);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.button:hover {
    transform: translateY(-2px);
    background: transparent;
    color: var(--acid);
}

.button-secondary {
    border-color: rgba(238, 233, 219, .38);
    background: transparent;
    color: var(--paper);
}

.button-secondary:hover {
    border-color: var(--acid);
    color: var(--acid);
}

.hero-art {
    position: absolute;
    z-index: 1;
    top: 14%;
    right: max(4%, calc((100vw - 1280px) / 2));
    width: min(54vw, 700px);
    height: 77%;
    min-height: 470px;
    filter: drop-shadow(0 30px 46px rgba(0, 0, 0, .45));
}

.hero-art svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hero-stamp {
    position: absolute;
    right: 8%;
    bottom: 12%;
    width: 114px;
    height: 114px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(197, 219, 115, .55);
    border-radius: 50%;
    color: var(--acid);
    font: 700 .62rem/1.4 var(--body);
    letter-spacing: .16em;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(12deg);
}

.hero-stamp strong {
    display: block;
    font: 800 1.35rem var(--display);
}

.hero-index {
    position: absolute;
    bottom: 32px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: .62rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.hero-index::before {
    width: 38px;
    height: 1px;
    background: var(--acid);
    content: "";
}

.story {
    background: var(--paper);
    color: var(--ink);
}

.story-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 9%;
    align-items: start;
}

.story .eyebrow {
    color: #687737;
}

.story .section-heading {
    position: sticky;
    top: 30px;
    margin: 0;
}

.story .section-heading p {
    color: #55584d;
}

.story-copy {
    padding-top: 4px;
}

.story-copy p {
    margin: 0 0 21px;
    color: #4c4f45;
    font-size: .96rem;
    line-height: 1.9;
}

.story-copy strong {
    color: var(--ink);
}

.story-quote {
    margin: 35px 0 0;
    padding: 20px 0 20px 22px;
    border-left: 2px solid var(--red);
    color: #34372f;
    font: 600 1.35rem/1.4 var(--display);
    text-transform: uppercase;
}

.story-quote span {
    display: block;
    margin-top: 10px;
    color: #76786e;
    font: 700 .62rem var(--body);
    letter-spacing: .15em;
}

.combat {
    background: #171a14;
}

.combat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.combat-card {
    min-height: 220px;
    padding: 26px 24px;
    background: #171a14;
}

.combat-number {
    color: var(--acid);
    font: 700 .75rem var(--display);
    letter-spacing: .13em;
}

.combat-card h3 {
    margin: 36px 0 10px;
    font: 700 1.55rem var(--display);
    text-transform: uppercase;
}

.combat-card p {
    margin: 0;
    color: var(--muted);
    font-size: .83rem;
    line-height: 1.7;
}

.characters {
    overflow: hidden;
    background: #20241a;
}

.character-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 320px;
    margin-bottom: 20px;
    border: 1px solid var(--line);
    background: #191c16;
}

.character-art {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 52% 46%, rgba(197, 219, 115, .2), transparent 35%),
        repeating-linear-gradient(70deg, transparent 0 55px, rgba(197, 219, 115, .055) 56px 58px, transparent 59px 110px),
        #252a1d;
}

.character-art::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 65%, #191c16);
    content: "";
}

.character-portrait {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 0;
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    transform: translateX(-50%);
}

.character-sigil {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    place-items: center;
    color: rgba(238, 233, 219, .82);
    font: 900 clamp(9rem, 22vw, 17rem)/1 var(--display);
    text-shadow: 0 12px 45px rgba(0, 0, 0, .4);
}

.character-sigil[hidden] {
    display: none;
}

.character-file {
    position: absolute;
    z-index: 1;
    right: 24px;
    bottom: 22px;
    color: var(--acid);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.character-info {
    align-self: center;
    padding: 38px clamp(26px, 5vw, 70px) 38px 25px;
}

.character-info h3 {
    margin: 13px 0 10px;
    font: 800 clamp(3rem, 6vw, 5rem)/.9 var(--display);
    text-transform: uppercase;
}

.character-info p {
    color: var(--muted);
    font-size: .89rem;
    line-height: 1.8;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.tag {
    padding: 7px 10px;
    border: 1px solid var(--line);
    color: #d1d3c4;
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.roster {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.roster-card {
    min-height: 177px;
    padding: 20px;
    border: 1px solid var(--line);
    background: rgba(17, 19, 15, .56);
    color: var(--paper);
    cursor: pointer;
    text-align: left;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.roster-card:hover {
    transform: translateY(-3px);
    border-color: rgba(197, 219, 115, .65);
}

.roster-card[aria-pressed="true"] {
    border-color: var(--acid);
    background: rgba(197, 219, 115, .1);
}

.roster-card:focus-visible {
    outline: 2px solid var(--acid);
    outline-offset: 3px;
}

.roster-card .role {
    color: var(--acid);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.roster-card .name {
    display: block;
    margin: 19px 0 7px;
    font: 700 1.55rem var(--display);
    text-transform: uppercase;
}

.roster-card .card-description {
    display: block;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.65;
}

.worlds {
    background: var(--ink);
}

.world-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.world-card {
    position: relative;
    min-height: 355px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(238, 233, 219, .14);
    background: #20241a;
    isolation: isolate;
}

.world-card::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: var(--world-scene);
    content: "";
    transition: transform .55s ease;
}

.world-card::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 15, 12, .98), rgba(13, 15, 12, .04) 78%);
    content: "";
}

.world-card:hover::before {
    transform: scale(1.06);
}

.world-card:nth-child(1) {
    --world-scene: radial-gradient(ellipse at 54% 24%, rgba(174, 113, 64, .36), transparent 38%), linear-gradient(90deg, transparent 24%, rgba(15, 17, 14, .55) 25% 34%, transparent 35% 58%, rgba(15, 17, 14, .6) 59% 68%, transparent 69%), linear-gradient(180deg, #68604a 0%, #33372b 52%, #22251c 100%);
}

.world-card:nth-child(2) {
    --world-scene: radial-gradient(ellipse at 45% 31%, rgba(138, 165, 70, .33), transparent 45%), repeating-linear-gradient(98deg, transparent 0 32px, rgba(26, 46, 23, .6) 33px 42px, transparent 43px 65px), linear-gradient(180deg, #45523a, #20281c 75%);
}

.world-card:nth-child(3) {
    --world-scene: radial-gradient(ellipse at 70% 36%, rgba(149, 171, 139, .2), transparent 30%), repeating-linear-gradient(105deg, transparent 0 37px, rgba(15, 24, 19, .68) 38px 48px, transparent 49px 76px), linear-gradient(180deg, #414940, #20251f 78%);
}

.world-card:nth-child(4) {
    --world-scene: radial-gradient(ellipse at 50% 36%, rgba(180, 55, 43, .29), transparent 35%), repeating-linear-gradient(0deg, transparent 0 48px, rgba(210, 205, 181, .08) 49px 50px), linear-gradient(180deg, #3c3b34, #20211e 78%);
}

.world-index {
    position: absolute;
    top: 19px;
    right: 20px;
    color: rgba(238, 233, 219, .65);
    font: 700 .8rem var(--display);
}

.world-card h3 {
    margin: 0 0 9px;
    font: 700 1.8rem var(--display);
    text-transform: uppercase;
}

.world-card p {
    margin: 0;
    color: #b8baad;
    font-size: .76rem;
    line-height: 1.7;
}

.mystery {
    position: relative;
    overflow: hidden;
    padding: 95px 0;
    border-block: 1px solid var(--line);
    background: linear-gradient(100deg, #29291f, #171a14 70%);
}

.mystery::after {
    position: absolute;
    top: -130px;
    right: -70px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(197, 219, 115, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 40px rgba(197, 219, 115, .025), 0 0 0 90px rgba(197, 219, 115, .02);
    content: "";
}

.mystery-inner {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

.mystery h2 {
    margin: 14px 0 16px;
    font: 800 clamp(2.8rem, 6vw, 5.1rem)/.9 var(--display);
    text-transform: uppercase;
}

.mystery p {
    max-width: 620px;
    color: #b7b8aa;
    line-height: 1.8;
}

.mystery details {
    margin-top: 28px;
}

.mystery summary {
    width: fit-content;
    padding: 13px 0;
    border-bottom: 1px solid var(--acid);
    color: var(--acid);
    cursor: pointer;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    list-style: none;
    text-transform: uppercase;
}

.mystery summary::-webkit-details-marker {
    display: none;
}

.mystery summary::after {
    margin-left: 12px;
    content: "+";
}

.mystery details[open] summary::after {
    content: "−";
}

.mystery .reveal {
    max-width: 650px;
    padding-top: 14px;
    color: #d4d2c6;
    font-size: .9rem;
    line-height: 1.8;
}

footer {
    padding: 32px 0;
    background: #0d0f0c;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-note {
    color: #85877b;
    font-size: .68rem;
    letter-spacing: .08em;
}

.footer-top {
    color: var(--acid);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .section {
        padding: 82px 0;
    }

    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .nav-links {
        position: absolute;
        top: 78px;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        padding: 16px 24px 22px;
        border-bottom: 1px solid var(--line);
        background: #11130f;
    }

    .nav-links.is-open {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .nav-links a {
        padding: 13px 0;
    }

    .hero {
        min-height: 790px;
        min-height: 100svh;
        align-items: flex-end;
    }

    .hero-inner {
        padding-top: 110px;
        padding-bottom: 100px;
    }

    .hero-copy {
        width: min(540px, 88%);
    }

    .hero-art {
        top: 10%;
        right: -13%;
        width: 78vw;
        height: 53%;
        min-height: 320px;
        opacity: .7;
    }

    .hero-stamp {
        right: 7%;
        bottom: 15%;
        width: 89px;
        height: 89px;
        font-size: .5rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .story .section-heading {
        position: static;
    }

    .combat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .character-feature {
        grid-template-columns: 1fr;
    }

    .character-art {
        min-height: 300px;
    }

    .character-art::after {
        background: linear-gradient(0deg, #191c16, transparent 45%);
    }

    .character-info {
        padding: 10px 28px 32px;
    }

    .roster {
        grid-template-columns: repeat(2, 1fr);
    }

    .world-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .world-card {
        min-height: 310px;
    }
}

@media (max-width: 520px) {
    .wrap {
        width: min(100% - 36px, 1180px);
    }

    .hero {
        min-height: 730px;
        min-height: 100svh;
    }

    .hero-art {
        top: 10%;
        right: -28%;
        width: 105vw;
        opacity: .55;
    }

    .hero-copy {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(5.2rem, 23vw, 7.2rem);
    }

    .hero-copy>p {
        font-size: .84rem;
    }

    .hero-index {
        bottom: 20px;
        white-space: nowrap;
    }

    .combat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .combat-card {
        min-height: 205px;
        padding: 19px 15px;
    }

    .combat-card h3 {
        margin-top: 28px;
        font-size: 1.35rem;
    }

    .combat-card p {
        font-size: .75rem;
    }

    .roster {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .roster-card {
        min-height: 170px;
        padding: 15px;
    }

    .roster-card .name {
        font-size: 1.3rem;
    }

    .roster-card .card-description {
        font-size: .7rem;
    }

    .world-grid {
        grid-template-columns: 1fr;
    }

    .world-card {
        min-height: 300px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}