@font-face {
    font-family: "Barlow Condensed";
    src: url("/assets/fonts/BarlowCondensed-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/assets/fonts/Manrope-Variable.ttf") format("truetype");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

:root {
    --bg: #11100f;
    --ivory: #f5f1e8;
    --gold: #eabc5a;
    --orange: #d57237;
    --red: #ae312a;
    --muted: #b5afa5;
    --line: #39352f;
    --panel: #191715;
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    color: var(--ivory);
    background: var(--bg);
    font-synthesis: none;
    color-scheme: dark
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0
}

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

button {
    font: inherit
}

a,
button,
summary {
    -webkit-tap-highlight-color: transparent
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 6px
}

::selection {
    background: var(--gold);
    color: var(--bg)
}

.site-header {
    height: 100px;
    padding: 0 4.5%;
    display: flex;
    align-items: center;
    gap: 56px;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 20
}

.logo {
    margin-right: auto;
    display: flex
}

.logo img {
    width: 116px;
    height: auto
}

.site-header nav {
    display: flex;
    gap: 32px;
    height: 100%;
    align-items: center
}

.site-header nav a {
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 13px;
    position: relative;
    color: var(--muted)
}

.site-header nav a:hover,
.site-header nav a[aria-current] {
    color: var(--ivory)
}

.site-header nav a[aria-current]:after {
    content: '';
    position: absolute;
    height: 3px;
    background: var(--gold);
    bottom: 0;
    left: 0;
    right: 0
}

.account {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px
}

.login span {
    margin-left: 14px;
    color: var(--muted)
}

.button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 34px;
    padding: 19px 23px;
    background: var(--gold);
    color: var(--bg);
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--gold);
    transition: background .2s, transform .2s
}

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

.compact {
    padding: 13px 18px;
    gap: 30px
}

.hero {
    padding: 30px 4.5% 72px
}

.hero-top {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    letter-spacing: 2px;
    font: 11px/1.5 'Courier New', monospace;
    color: var(--muted)
}

.hero-top>span:first-child:before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--orange);
    margin-right: 12px
}

.hero-top span span {
    margin: 0 13px;
    color: var(--orange)
}

.hero-top a {
    color: inherit;
    text-decoration: none
}

.hero-top a:hover,
.hero-top a:focus-visible {
    color: var(--orange);
    text-decoration: underline
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 6%;
    align-items: center;
    padding-top: 67px
}

.hero-copy {
    position: relative;
    z-index: 1
}

h1 {
    font-size: clamp(42px, 4.85vw, 78px);
    font-weight: 500;
    line-height: 1.035;
    letter-spacing: -.055em;
    margin: 0 0 30px;
}

.lead {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8
}

.lead p {
    margin: 0 0 16px
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 32px;
    flex-wrap: wrap
}

.text-button {
    font-size: 13px;
    border-bottom: 1px solid var(--line);
    padding: 15px 0
}

.text-button span {
    margin-left: 20px;
    color: var(--gold)
}

.text-button:hover {
    color: var(--gold)
}

.brand-plate {
    aspect-ratio: 1/1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--panel)
}

.brand-plate:before,
.brand-plate:after {
    content: '';
    position: absolute;
    background: var(--line)
}

.brand-plate:before {
    height: 1px;
    left: 0;
    right: 0;
    top: 50%
}

.brand-plate:after {
    width: 1px;
    top: 0;
    bottom: 0;
    left: 50%
}

.brand-plate img {
    position: relative;
    z-index: 2;
    width: 77%;
    height: auto;
    transform: rotate(-8deg)
}

.plate-ring {
    position: absolute;
    inset: 12%;
    border: 1px solid var(--line);
    border-radius: 50%
}

.plate-ring:after {
    content: '';
    position: absolute;
    inset: 16%;
    border: 1px solid var(--line);
    border-radius: 50%
}

.cross {
    position: absolute;
    top: 17px;
    left: 17px;
    width: 13px;
    height: 13px
}

.cross:before,
.cross:after {
    content: '';
    position: absolute;
    background: var(--muted)
}

.cross:before {
    height: 1px;
    width: 13px;
    top: 6px
}

.cross:after {
    width: 1px;
    height: 13px;
    left: 6px
}

.c2 {
    left: auto;
    top: auto;
    right: 17px;
    bottom: 17px
}

.plate-lines {
    position: absolute;
    bottom: 18px;
    left: 18px;
    height: 18px;
    width: 80px;
    background: repeating-linear-gradient(90deg, var(--line) 0px, var(--line) 1px, transparent 1px, transparent 6px)
}

.reading-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 6%;
    margin: 0 4.5%;
    border-top: 1px solid var(--line);
    padding-top: 25px
}

.contents {
    position: sticky;
    top: 130px;
    align-self: start;
    padding: 16px 25px 40px 0;
    display: grid;
    gap: 0
}

.contents a {
    display: flex;
    gap: 16px;
    font-size: 16px;
    line-height: 1.6;
    color: #aaa398;
    padding: 11px 0
}

.contents a span {
    font: 10px/1.8 'Courier New', monospace;
    color: var(--orange)
}

.contents a:hover,
.contents a.active {
    color: var(--ivory)
}

.chapter {
    padding: 40px 0 48px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 115px
}

.chapter:first-child {
    padding-top: 16px
}

.chapter:last-child {
    border-bottom: 0
}

.chapter-heading {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 27px
}

.section-number {
    font: 11px/1.5 'Courier New', monospace;
    color: var(--orange);
    padding-top: 7px
}

h2 {
    font-size: clamp(24px, 2.2vw, 35px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.15;
    margin: 0;
    max-width: 650px
}

h3 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 500;
    margin: 35px 0 20px
}

.chapter-body {
    max-width: 800px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--muted)
}

.chapter-body p {
    margin: 0 0 21px
}

.chapter-body p:last-child {
    margin-bottom: 0
}

.chapter-body strong {
    color: var(--ivory);
    font-weight: 600
}

.chapter-body a:not(.button) {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: #6f5b32;
    text-underline-offset: 4px
}

/* .chapter-body a:hover {
    color: var(--ivory)
} */

.chapter-body ul,
.chapter-body ol {
    padding-left: 21px;
    margin: 22px 0
}

.chapter-body li {
    padding: 5px 0 10px 9px
}

.chapter-body li::marker {
    color: var(--orange);
    font-size: 12px
}

.chapter-body .button {
    margin: 8px 0 20px;
    line-height: 1.5
}

.games ul {
    list-style: none;
    padding: 0;
    counter-reset: games
}

.games li {
    position: relative;
    border-top: 1px solid var(--line);
    padding: 24px 0 24px 48px;
    counter-increment: games
}

.games li:before {
    content: counter(games, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 29px;
    font: 11px 'Courier New', monospace;
    color: var(--orange)
}

.games li>strong:first-child {
    display: block;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -.03em;
    margin-bottom: 4px
}

.responsible {
    border-left: 2px solid var(--orange);
    padding-left: 25px;
    margin-top: 30px;
    background: var(--panel);
    padding-right: 25px
}

.responsible .section-number {
    color: var(--muted)
}

details {
    border-top: 1px solid var(--line)
}

details:last-child {
    border-bottom: 1px solid var(--line)
}

summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    gap: 28px;
    color: var(--ivory);
    font-size: 16px;
    line-height: 1.5
}

summary::-webkit-details-marker {
    display: none
}

summary span {
    color: var(--gold);
    font-size: 22px;
    line-height: 1
}

details[open] summary span {
    transform: rotate(45deg)
}

/* Brand word keeps the heading's own size instead of the fold icon's fixed size. */
summary .brand-word {
    font-size: inherit;
    line-height: inherit;
    transform: none
}

details[open] summary .brand-word {
    transform: none
}

details>div {
    padding: 0 35px 24px 0
}

footer {
    margin: 85px 4.5% 0;
    border-top: 1px solid var(--line)
}

.footer-main {
    padding: 45px 0;
    display: flex;
    gap: 50px;
    align-items: center
}

.footer-main img {
    width: 110px;
    height: auto
}

.footer-main nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-left: auto;
    font-size: 12px;
    color: var(--muted)
}

.footer-main nav a:hover {
    color: var(--gold)
}

.back-top {
    border: 1px solid var(--line);
    padding: 14px 19px
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 38px 0;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font: 10px 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px
}

.footer-bottom span span {
    margin: 0 12px;
    color: var(--orange)
}

.legal .hero-layout {
    display: block;
    padding-top: 50px
}

.legal h1 {
    font-size: clamp(42px, 6vw, 80px)
}

.legal .hero {
    padding-bottom: 38px
}

.legal .hero-actions {
    display: none
}

.legal .chapter-body {
    max-width: 720px
}

.legal .section-number {
    display: none
}

.legal h2 {
    font-size: 25px
}

.legal .chapter {
    padding-top: 30px;
    padding-bottom: 30px
}

.menu-toggle {
    display: none
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 50;
    background: var(--gold);
    color: var(--bg);
    padding: 14px
}

.skip-link:focus {
    top: 10px
}

@media(min-width:1600px) {

    main,
    .site-header,
    footer {
        max-width: 1600px;
        margin-left: auto;
        margin-right: auto
    }

    .hero {
        padding-top: 40px
    }

    .hero-layout {
        padding-top: 85px;
        padding-bottom: 30px
    }
}

@media(max-width:1050px) {
    .site-header {
        gap: 30px
    }

    .site-header nav {
        gap: 22px
    }

    .account {
        gap: 18px
    }

    .reading-layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 4%
    }

    .hero-layout {
        gap: 4%
    }

    .hero-actions {
        gap: 20px
    }

    .lead {
        font-size: 14px
    }

    .footer-main {
        gap: 25px
    }

    .footer-main nav {
        gap: 18px
    }
}

@media(max-width:760px) {
    html {
        scroll-padding-top: 90px
    }

    body {
        padding-top: 78px;
    }

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 78px;
        padding: 0 6%;
        gap: 18px
    }

    .logo img {
        width: 88px
    }

    .account {
        gap: 15px
    }

    .account .login {
        display: none
    }

    .compact {
        padding: 11px 13px;
        gap: 18px;
        font-size: 12px
    }

    .menu-toggle {
        display: block;
        background: none;
        border: 1px solid var(--line);
        color: var(--ivory);
        padding: 9px 12px;
        order: 3;
        font-size: 17px
    }

    .site-header nav {
        display: none;
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        height: auto;
        max-height: calc(100vh - 78px);
        max-height: calc(100dvh - 78px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        padding: 20px 6%
    }

    .site-header nav.open {
        display: grid;
        gap: 10px
    }

    .site-header nav a {
        padding: 15px 0
    }

    .site-header nav a[aria-current]:after {
        width: 25px
    }

    .hero {
        padding: 23px 6% 42px
    }

    .hero-top {
        font-size: 9px;
        letter-spacing: 1px
    }

    .hero-layout {
        padding-top: 40px;
        grid-template-columns: 1fr;
        gap: 35px
    }

    h1 {
        font-size: clamp(40px, 8.8vw, 62px);
        max-width: 620px;
        margin-bottom: 25px
    }

    .lead {
        font-size: 14px;
        line-height: 1.8
    }

    .hero-actions {
        gap: 15px;
        margin-top: 26px
    }

    .button {
        padding: 16px 18px;
        gap: 20px
    }

    .account .button {
        padding: 11px 13px
    }

    .text-button {
        font-size: 12px
    }

    .text-button span {
        margin-left: 8px
    }

    .brand-plate {
        aspect-ratio: 1.75;
        max-height: 300px
    }

    .brand-plate img {
        width: 58%;
        max-width: 310px;
        transform: rotate(-8deg)
    }

    .plate-ring {
        inset: -10% 16%
    }

    .reading-layout {
        display: block;
        margin: 0 6%;
        padding-top: 0
    }

    .contents {
        position: static;
        display: flex;
        overflow: auto;
        gap: 12px;
        padding: 20px 0;
        border-bottom: 1px solid var(--line);
        margin-bottom: 25px
    }

    .contents a {
        min-width: 160px;
        max-width: 210px;
        font-size: 16px;
        gap: 10px;
        padding: 0;
        flex-shrink: 0
    }

    .chapter {
        padding: 32px 0 36px
    }

    .chapter-heading {
        gap: 15px;
        margin-bottom: 24px
    }

    h2 {
        font-size: 27px
    }

    .chapter-body {
        font-size: 14px
    }

    .responsible {
        padding-left: 18px;
        padding-right: 18px
    }

    .games li {
        padding-left: 35px
    }

    .games li>strong:first-child {
        font-size: 22px
    }

    summary {
        font-size: 15px;
        padding: 20px 0
    }

    .footer-main {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 32px 0
    }

    .footer-main nav {
        order: 3;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px
    }

    .back-top {
        margin-left: auto
    }

    footer {
        margin: 50px 6% 0
    }

    .footer-bottom {
        font-size: 9px;
        letter-spacing: 0
    }

    .legal .hero-layout {
        padding-top: 36px
    }

    .legal h1 {
        font-size: 44px
    }

    .legal .hero {
        padding-bottom: 30px
    }

    .legal h2 {
        font-size: 23px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}

/* Reserved artwork areas; replace the SVG sources with final game images. */
.image-placeholder {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--panel);
    aspect-ratio: 640/814
}

.image-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.games li {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    align-items: center
}

.games .game-copy>strong:first-child {
    display: block;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -.03em;
    margin-bottom: 4px;
    line-height: 1.3
}

.image-placeholder-wide {
    aspect-ratio: 1226/823;
    margin-top: 32px
}

@media(max-width:1050px) and (min-width:761px) {
    .games li {
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 18px
    }
}

@media(max-width:760px) {
    .games li {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 16px;
        align-items: start
    }

    .games .game-copy>strong:first-child {
        font-size: 21px
    }
}

@media(max-width:460px) {
    .games li {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .games .image-placeholder {
        width: 100%;
    }
}

/* Editorial spreads, expandable indexes and sequential guides. */
.games .game-copy {
    border: 0;
    min-width: 0;
    width: 100%
}

.games .game-copy summary {
    align-items: center;
    padding: 10px 0;
    gap: 16px
}

.games .game-copy summary strong {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -.035em
}

.games .game-copy>div {
    padding: 10px 0 0
}

.games .game-copy[open] summary {
    border-bottom: 1px solid var(--line)
}

.game-spread ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 32px
}

.game-spread li {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 36px 0 20px;
    gap: 18px
}

.game-spread li:before {
    top: 12px
}

.game-spread li:nth-child(even) {
    margin-top: 65px
}

.game-spread .image-placeholder {
    width: 100%
}

/* .game-spread li:first-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center
} */

/* .game-spread li:first-child .image-placeholder {
    aspect-ratio: 4/3
} */

.game-catalogue li {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 26px;
    align-items: start
}

.feature-index ul {
    list-style: none;
    padding: 0;
    counter-reset: feature
}

.feature-index li {
    padding: 0 0 0 42px;
    position: relative;
    counter-increment: feature
}

.feature-index li:before {
    content: counter(feature, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 24px;
    font: 11px 'Courier New', monospace;
    color: var(--orange)
}

.feature-index details {
    border-bottom: 0
}

.feature-index li:last-child details {
    border-bottom: 1px solid var(--line)
}

.feature-index summary strong {
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -.02em
}

.feature-index details>div {
    padding-bottom: 24px
}

.step-guide ol {
    list-style: none;
    padding: 0;
    counter-reset: step;
    border-left: 1px solid var(--line);
    margin-left: 21px
}

.step-guide ol>li {
    counter-increment: step;
    position: relative;
    padding: 0 0 15px 40px
}

.step-guide ol>li:before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: -22px;
    top: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--bg);
    border: 1px solid var(--orange);
    font: 12px 'Courier New', monospace;
    color: var(--gold)
}

.step-guide details,
.step-guide details:last-child {
    border: 0
}

.step-guide summary {
    min-height: 70px;
    align-items: center;
    padding: 16px 0
}

.step-guide summary strong {
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -.03em
}

.step-guide details[open] summary strong {
    color: var(--gold)
}

.step-guide details>div {
    border-bottom: 1px solid var(--line);
    padding: 0 0 28px
}

.brand-statement {
    padding-top: 55px;
    padding-bottom: 55px
}

.brand-statement .chapter-body {
    font-size: 19px;
    max-width: 660px
}

.brand-statement .chapter-body strong {
    display: block;
    font-size: clamp(42px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -.055em;
    color: var(--gold);
    font-weight: 500;
    margin: 24px 0
}

.mode-comparison .chapter-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.mode-comparison .chapter-body>p,
.mode-comparison .chapter-body>h3,
.mode-comparison .chapter-body>ol,
.mode-comparison .chapter-body>.button {
    grid-column: 1/-1
}

.mode-panel {
    border-top: 3px solid var(--gold);
    border-bottom: 1px solid var(--line);
    padding: 0 20px;
    background: var(--panel)
}

.mode-panel+.mode-panel {
    border-top-color: var(--orange)
}

.mode-panel summary {
    font-size: 23px;
    letter-spacing: -.03em
}

.mode-panel>div {
    padding-right: 0
}

.fold-section {
    padding: 24px 0
}

.section-disclosure,
.section-disclosure:last-child {
    border: 0
}

.section-disclosure>.chapter-heading {
    margin: 0;
    padding: 15px 0;
    align-items: center;
    justify-content: flex-start
}

.section-disclosure>.chapter-heading .section-number {
    font-size: 11px;
    line-height: 1.5;
    color: var(--orange);
    transform: none;
    padding: 0
}

.section-disclosure>.chapter-heading h2 {
    flex: 1
}

.section-disclosure>.chapter-heading .fold-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid var(--line);
    width: 40px;
    height: 40px
}

.section-disclosure>.chapter-body {
    padding: 25px 0 10px
}

summary:hover {
    color: var(--gold)
}

summary:hover strong {
    color: var(--gold)
}

@media(max-width:1050px) {
    .game-spread li:first-child {
        grid-template-columns: 1fr
    }

    .game-catalogue li {
        grid-template-columns: 120px minmax(0, 1fr)
    }
}

@media(max-width:760px) {
    .game-spread ul {
        gap: 20px
    }

    .game-spread li:first-child {
        gap: 16px
    }

    .game-spread li:nth-child(even) {
        margin-top: 30px
    }

    .games .game-copy summary strong {
        font-size: 22px
    }

    .game-spread li:first-child summary strong {
        font-size: 30px
    }

    .game-catalogue li {
        gap: 18px
    }

    .mode-comparison .chapter-body {
        gap: 16px
    }

    .mode-panel {
        padding: 0 14px
    }

    .mode-panel summary {
        font-size: 21px
    }

    .step-guide ol>li {
        padding-left: 32px
    }

    .step-guide summary strong {
        font-size: 23px
    }
}

@media(max-width:480px) {
    .game-spread ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-spread li:nth-child(even) {
        margin-top: 0
    }

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

    .mode-comparison .chapter-body {
        grid-template-columns: 1fr
    }

    .game-spread li:first-child {
        grid-column: auto
    }

    .feature-index summary strong {
        font-size: 19px
    }

    .section-disclosure>.chapter-heading {
        gap: 12px
    }

    .section-disclosure>.chapter-heading h2 {
        font-size: 24px
    }
}

/* Condensed display typography with readable geometric body text. */
h1,
h2,
h3,
.games .game-copy summary strong,
.games .game-copy>strong:first-child,
.feature-index summary strong,
.step-guide summary strong,
.brand-statement .chapter-body strong,
.mode-panel summary {
    font-family: "Barlow Condensed", "Arial", sans-serif;
    font-weight: 500;
    letter-spacing: -0.015em;
}

h1 {
    line-height: 1.02;
}

.legal h1 {
    letter-spacing: -0.015em;
}

/* Header registration: a machined sweep and a short directional nudge. */
.site-header .account .button.compact {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: var(--gold);
    background: var(--gold);
    color: var(--bg);
    transform: none;
    transition: background .2s ease, border-color .2s ease;
}

.site-header .account .button.compact::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -2px;
    background: var(--ivory);
    transform: translateX(-115%) skewX(-18deg);
    animation: register-sweep 7s cubic-bezier(.22, .68, .2, 1) 1s infinite;
    pointer-events: none;
}

.site-header .account .button.compact::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--red);
    transform: scaleX(.12);
    transform-origin: left;
    animation: register-track 7s ease-in-out 1s infinite;
    pointer-events: none;
}

.site-header .account .button.compact>span {
    display: inline-block;
    animation: register-arrow 7s ease-in-out 1s infinite;
}

.site-header .account .button.compact:hover,
.site-header .account .button.compact:focus-visible {
    background: var(--ivory);
    border-color: var(--ivory);
}

.site-header .account .button.compact:is(:hover, :focus-visible)::before {
    animation: none;
    transform: translateX(-115%);
}

.site-header .account .button.compact:is(:hover, :focus-visible)::after {
    animation: none;
    transform: scaleX(1);
    transition: transform .3s ease;
}

.site-header .account .button.compact:is(:hover, :focus-visible)>span {
    animation: none;
    transform: translate(2px, -2px);
    transition: transform .2s ease;
}

.site-header .account .button.compact:active {
    background: var(--gold);
}

@keyframes register-sweep {

    0%,
    68% {
        transform: translateX(-115%) skewX(-18deg);
    }

    86%,
    100% {
        transform: translateX(115%) skewX(-18deg);
    }
}

@keyframes register-track {

    0%,
    67%,
    100% {
        transform: scaleX(.12);
    }

    80%,
    89% {
        transform: scaleX(1);
    }
}

@keyframes register-arrow {

    0%,
    72%,
    92%,
    100% {
        transform: translate(0, 0);
    }

    81%,
    85% {
        transform: translate(3px, -3px);
    }
}

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

    .site-header .account .button.compact::before,
    .site-header .account .button.compact::after,
    .site-header .account .button.compact>span {
        animation: none;
        transition: none;
    }
}

/* Always-on registration motion, with a distinct secondary login action. */
.site-header .account .button.compact::before,
.site-header .account .button.compact::after,
.site-header .account .button.compact>span {
    animation-duration: 2s;
    animation-delay: -1.4s;
}

.site-header .account .login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 17px;
    border: 1px solid var(--gold);
    color: var(--gold);
    background: #211c14;
    font-weight: 700;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.site-header .account .login span {
    color: var(--gold);
}

.site-header .account .login:hover,
.site-header .account .login:focus-visible {
    background: var(--gold);
    color: var(--bg);
}

.site-header .account .login:is(:hover, :focus-visible) span {
    color: var(--bg);
}

@media (max-width: 760px) {
    .site-header .account {
        gap: 8px;
    }

    .site-header .account .login {
        padding: 11px 12px;
        font-size: 12px;
    }

    .site-header .account .login span {
        display: none;
    }
}

@media (max-width: 380px) {
    .site-header {
        gap: 10px;
    }

    .site-header .account .button.compact {
        gap: 10px;
    }
}

/* Keep mobile navigation sharp above a blurred, inactive page. */
.menu-backdrop {
    display: none;
}

@media (max-width: 760px) {

    html.mobile-menu-open,
    html.mobile-menu-open body {
        overflow: hidden;
    }

    .menu-backdrop:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 19;
        background: rgba(17, 16, 15, .58);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        touch-action: none;
    }
}

/* Full-width editorial masthead, followed by a cropped brand strip. */
.editorial .hero {
    padding-bottom: 56px;
}

.editorial .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
    gap: 32px 7%;
    padding-top: 48px;
    align-items: start;
}

.editorial .hero-copy {
    display: contents;
}

.editorial .hero h1 {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: clamp(50px, 6vw, 66px);
    line-height: .98;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.editorial .hero .brand-plate {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: clamp(160px, 22vw, 360px);
    max-height: none;
    aspect-ratio: auto;
    border-left: 0;
    border-right: 0;
    background: var(--panel);
    margin: 0;
}

.editorial .hero .brand-plate img {
    width: 52%;
    max-width: 720px;
    height: auto;
    transform: rotate(-8deg) translateY(2%);
}

.editorial .hero .plate-ring {
    width: 70%;
    height: 240%;
    inset: auto;
    transform: rotate(-18deg);
}

.editorial .hero .brand-plate::after {
    left: 20%;
    transform: rotate(24deg) scaleY(1.5);
}

.editorial .hero .plate-lines {
    width: 100px;
    height: 28px;
}

.editorial .hero .lead {
    grid-column: 1 / -1;
    grid-row: 3;
    padding-left: 20px;
    border-left: 2px solid var(--orange);
    font-size: 14px;
}

.editorial .hero .lead p:last-child {
    margin-bottom: 0;
}

.editorial .hero .hero-actions {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 8px;
}

@media (max-width: 1050px) {
    .editorial .hero-layout {
        grid-template-columns: minmax(0, 1.4fr) minmax(210px, 1fr);
        column-gap: 5%;
    }
}

@media (max-width: 760px) {
    .editorial .hero {
        padding-bottom: 38px;
    }

    .editorial .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 34px;
        gap: 25px;
    }

    .editorial .hero h1 {
        width: 100%;
        margin: 0;
        font-size: clamp(45px, 10.5vw, 76px);
        text-wrap: initial;
    }

    .editorial .hero .brand-plate {
        height: clamp(185px, 29vw, 210px);
    }

    .editorial .hero .brand-plate img {
        width: 70%;
        max-width: none;
    }

    .editorial .hero .lead {
        grid-column: 1;
        grid-row: 3;
        padding-left: 16px;
    }
}

/* Highlight only JDB with the primary gradient from logo.svg. */
.brand-word {
    color: var(--gold);
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .brand-word {
        background-image: linear-gradient(75deg, #eabc5a 0%, #d57237 59%, #ae312a 100%);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

@media (forced-colors: active) {
    .brand-word {
        background-image: none;
        color: CanvasText;
        -webkit-text-fill-color: CanvasText;
    }
}
/* Catalogue descriptions sit below the complete image/title row on mobile. */
.game-catalogue li > .catalogue-disclosure {
    grid-column: 1 / -1;
}

.game-catalogue .catalogue-disclosure > summary {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 26px;
    padding: 0;
}

.game-catalogue .catalogue-disclosure .image-placeholder {
    display: block;
}

.game-catalogue .catalogue-disclosure .game-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--ivory);
    transform: none;
}

.game-catalogue .catalogue-disclosure[open] > summary .image-placeholder {
    transform: none;
}

.game-catalogue .catalogue-disclosure[open] > summary .game-title > span {
    transform: rotate(45deg);
}

.game-catalogue .catalogue-disclosure > div {
    margin-left: 181px;
    padding-top: 18px;
}

@media (max-width: 1050px) {
    .game-catalogue .catalogue-disclosure > summary {
        grid-template-columns: 120px minmax(0, 1fr);
    }
    .game-catalogue .catalogue-disclosure > div {
        margin-left: 146px;
    }
}

@media (max-width: 760px) {
    .game-catalogue .catalogue-disclosure > summary {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    .game-catalogue .catalogue-disclosure > div {
        margin-left: 0;
        width: 100%;
    }
}

/* No-JS fallback: keeps mobile nav usable when scripting is unavailable,
   since the toggle above relies on JS to add the .open class. */
@media (scripting: none) and (max-width: 760px) {
    .site-header {
        position: static !important;
        height: auto !important;
        flex-wrap: wrap;
        padding: 14px 6% !important;
    }

    body {
        padding-top: 0 !important;
    }

    .site-header nav {
        display: block !important;
        position: static !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        background: none !important;
        border-bottom: none !important;
        padding: 14px 0 0 !important;
    }

    .site-header nav a {
        display: inline-block;
        margin: 0 14px 10px 0;
    }

    .menu-toggle {
        display: none !important;
    }
}
