:root {
    --ink: #071019;
    --ink-deep: #03080e;
    --ink-panel: #0c151e;
    --paper: #ded2bd;
    --paper-deep: #c9bda7;
    --paper-ink: #201a14;
    --gold: #b88a47;
    --gold-light: #dec18b;
    --ivory: #f0e7d8;
    --muted: #b9b0a1;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --header-height: 60px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    background: var(--ink-deep);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: clip;
    color: var(--ivory);
    background: var(--ink-deep);
    font-family: var(--sans);
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

button {
    color: inherit;
    font: inherit;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    padding: .75rem 1rem;
    color: #111;
    background: #fff;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

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

[data-section] {
    scroll-margin-top: var(--header-height);
}

.section-dark {
    position: relative;
    color: var(--ivory);
    background: var(--ink);
}

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

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: 250px 1fr 150px;
    align-items: center;
    gap: clamp(1.25rem, 2.4vw, 3rem);
    padding: 0 clamp(14px, 1.4vw, 24px);
    border-bottom: 1px solid rgba(184, 138, 71, .34);
    background: rgba(2, 11, 25, .84);
    backdrop-filter: blur(8px);
    transition: background-color .35s ease, min-height .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled {
    min-height: 60px;
    background: rgba(3, 8, 14, .94);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

.site-brand {
    width: 245px;
    height: 78px;
    align-self: start;
    overflow: visible;
    transform: translateX(-18px);
}

.site-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.35rem, 2.4vw, 2.6rem);
}

.site-navigation a,
.site-footer nav a {
    position: relative;
    padding-block: .55rem;
    color: #e6ddcf;
    font-family: var(--serif);
    font-size: .82rem;
    transition: color .25s ease;
}

.site-navigation a::after,
.site-footer nav a::after {
    position: absolute;
    right: 50%;
    bottom: 0;
    left: 50%;
    height: 1px;
    content: "";
    background: var(--gold-light);
    transition: right .25s ease, left .25s ease;
}

.site-navigation a:hover,
.site-navigation a.is-active,
.site-footer nav a:hover {
    color: var(--gold-light);
}

.site-navigation a:hover::after,
.site-navigation a.is-active::after,
.site-footer nav a:hover::after {
    right: 0;
    left: 0;
}

.header-play,
.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .8rem 1.45rem;
    border: 1px solid var(--gold-light);
    font-family: var(--serif);
    letter-spacing: .02em;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.header-play {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-width: 150px;
    min-height: 44px;
    border: 0;
    color: #f3e7cd;
    background-color: transparent;
    background-image: url("/assets/marketing/homepage/hero-v2/button-gold-frame-v2.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .72);
}

.header-play:hover,
.button-gold:hover,
.button-paper:hover {
    background: #d0a966;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.menu-toggle {
    display: none;
}

.hero {
    height: clamp(680px, 52.8vw, 940px);
    min-height: 680px;
    display: grid;
    align-items: start;
    overflow: hidden;
    border-bottom: 1px solid var(--gold);
}

.hero-art,
.combat-art,
.final-cta > img {
    position: absolute;
    inset: -5% 0;
    width: 100%;
    height: 110%;
    object-fit: cover;
    transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.015);
    will-change: transform;
}

.hero-art {
    inset: -20px 0;
    height: calc(100% + 40px);
    object-position: calc(50% - 16px) center;
    transform: none;
}

.combat-shade,
.final-cta-shade {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 14, .34);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 14, .06);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(43vw, 700px);
    margin-left: clamp(42px, 4.8vw, 88px);
    padding-top: clamp(132px, 11vw, 184px);
}

.eyebrow {
    margin: 0 0 .85rem;
    color: var(--gold-light);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.eyebrow-dark {
    color: #77511f;
}

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

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
}

.hero h1 {
    max-width: 720px;
    margin-bottom: 0;
    font-size: clamp(3.8rem, 5vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -.035em;
    text-wrap: nowrap;
}

.title-rule {
    width: 150px;
    height: 1px;
    display: block;
    margin: 1.4rem 0 1.7rem;
    background: var(--gold);
}

.title-rule-dark {
    background: #8d6836;
}

.hero-copy {
    max-width: 410px;
    margin-bottom: 1.55rem;
    color: #d7cdbc;
    font-size: .94rem;
    line-height: 1.62;
}

.hero-divider {
    width: min(280px, 52%);
    height: 30px;
    margin: .35rem 0 .85rem;
    object-fit: contain;
    object-position: center;
    filter: brightness(1.75) saturate(1.2) drop-shadow(0 0 5px rgba(188, 139, 70, .3));
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .72rem;
}

.hero-actions .button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 58px;
    border: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    font-size: .94rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .75);
}

.hero-actions .button-gold {
    min-width: 232px;
    gap: .65rem;
    color: #f1e6cf;
    background-image: url("/assets/marketing/homepage/hero-v2/button-gold-frame-v2.png");
}

.button-frame {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
}

.header-play span,
.hero-actions .button span,
.hero-actions .button-arrow {
    position: relative;
    z-index: 1;
}

.hero-actions .button-arrow {
    width: 18px;
    height: 18px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.hero-actions .button-ghost {
    min-width: 190px;
    color: #f0e7d8;
    background-image: url("/assets/marketing/homepage/hero-v2/button-dark-frame-v2.png");
}

.button-gold,
.button-paper {
    color: #1b140c;
    background: #b98d4f;
}

.button-ghost {
    color: var(--ivory);
    background: rgba(3, 8, 14, .58);
}

.button-ghost:hover {
    color: #17110a;
    background: var(--gold-light);
    transform: translateY(-2px);
}

.header-play:hover,
.hero-actions .button-gold:hover {
    color: #fff4da;
    background-color: transparent;
    background-image: url("/assets/marketing/homepage/hero-v2/button-gold-frame-v2.png");
    filter: brightness(1.12);
}

.hero-actions .button-ghost:hover {
    color: #fff;
    background-color: transparent;
    background-image: url("/assets/marketing/homepage/hero-v2/button-dark-frame-v2.png");
    filter: brightness(1.18);
}

.scroll-cue {
    position: absolute;
    z-index: 3;
    right: 2rem;
    bottom: 1.6rem;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(222, 193, 139, .66);
    background: rgba(3, 8, 14, .78);
    animation: cuePulse 2.2s ease-in-out infinite;
}

.scroll-cue img {
    width: 26px;
    height: 26px;
    transform: rotate(90deg);
}

.story {
    position: relative;
    height: clamp(540px, 36.6vw, 600px);
    min-height: 0;
    padding: clamp(2.8rem, 3.6vw, 4rem) 0 0;
    overflow: hidden;
    border-bottom: 1px solid #8f6c3e;
    background-color: #e3d6be;
    background-image: url("/assets/marketing/homepage/story-v2/story-parchment-v2.png");
    background-position: center;
    background-size: cover;
}

.story .page-shell {
    width: min(100% - 80px, 1440px);
}

.story-grid {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(340px, .9fr) minmax(560px, 1.35fr) minmax(330px, .9fr);
    align-items: stretch;
    gap: clamp(1.5rem, 2.6vw, 3.25rem);
}

.story-copy h2,
.section-heading h2,
.combat-copy h2,
.final-cta h2,
.world-heading h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(3rem, 4.5vw, 5rem);
    line-height: .96;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.story-copy h2 {
    max-width: 420px;
    margin-bottom: .85rem;
    font-size: clamp(2.1rem, 2.7vw, 3rem);
    line-height: .98;
}

.story-divider {
    display: block;
    width: min(270px, 100%);
    height: 18px;
    margin: .25rem 0 1.35rem;
    object-fit: fill;
    filter: sepia(1) saturate(.72) brightness(.7);
}

.story-copy > p:not(.eyebrow) {
    max-width: 330px;
    color: #51473b;
    font-size: clamp(.92rem, 1vw, 1.02rem);
    line-height: 1.58;
}

.button-paper {
    position: relative;
    width: clamp(185px, 16vw, 255px);
    min-width: 0;
    min-height: clamp(50px, 3.65vw, 58px);
    margin-top: clamp(1rem, 1.5vw, 1.5rem);
    border: 0;
    background: transparent;
    isolation: isolate;
}

.button-paper .button-frame {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    filter: brightness(1.14) saturate(.92);
    pointer-events: none;
}

.button-paper span {
    position: relative;
    z-index: 1;
}

.story-visual {
    position: relative;
    align-self: end;
    height: clamp(530px, 42vw, 590px);
    margin: 0;
    overflow: visible;
    pointer-events: none;
}

.story-visual img {
    position: absolute;
    left: 54%;
    bottom: clamp(38px, 3.8vw, 62px);
    width: auto;
    max-width: none;
    height: 100%;
    clip-path: inset(0 8% 0 0);
    filter: drop-shadow(0 20px 22px rgba(58, 42, 24, .19));
    transform: translateX(-50%) translateY(10px) scale(.985);
    transform-origin: center bottom;
    transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}

.story-visual.is-visible img {
    transform: translateX(-50%) translateY(0) scale(1);
}

.clue-list {
    align-self: center;
    border-top: 1px solid rgba(92, 69, 38, .3);
}

.clue {
    display: grid;
    grid-template-columns: 84px 1fr;
    align-items: center;
    gap: .9rem;
    min-height: 122px;
    padding: .85rem 0;
    border-bottom: 1px solid rgba(92, 69, 38, .3);
}

.clue img {
    width: 84px;
    height: 104px;
    object-fit: contain;
    object-position: 50% 50%;
}

.clue h3 {
    margin-bottom: .28rem;
    font-size: clamp(1.25rem, 1.45vw, 1.6rem);
    line-height: 1.08;
}

.clue p {
    margin-bottom: 0;
    color: #5a4f42;
    font-size: clamp(.82rem, .88vw, .92rem);
    line-height: 1.45;
}

@media (max-width: 1400px) {
    .story-grid {
        grid-template-columns: minmax(300px, .9fr) minmax(470px, 1.35fr) minmax(300px, .9fr);
    }
}

.world {
    position: relative;
    height: clamp(520px, 37.58vw, 596px);
    min-height: 520px;
    overflow: hidden;
    border-block: 1px solid rgba(184, 147, 81, .7);
    background: #070d13;
}

.world-stage {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.world-stage::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    pointer-events: none;
    background: rgba(3, 8, 14, .16);
}

.world-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.8s cubic-bezier(.2, .75, .2, 1);
}

.world:hover .world-art {
    transform: scale(1.012);
}

.world-mobile-scenes {
    display: none;
}

.world-heading,
.world-label {
    position: absolute;
    z-index: 2;
    color: #f1e8d7;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .92);
}

.world-heading {
    top: clamp(42px, 4.65vw, 74px);
    left: clamp(48px, 4.73vw, 75px);
    width: min(33vw, 510px);
}

.world-heading h2 {
    margin: 0;
    font-size: clamp(2.55rem, 3.28vw, 3.25rem);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.035em;
}

.world-title-divider {
    display: block;
    width: clamp(190px, 15vw, 240px);
    height: 20px;
    margin-top: clamp(15px, 1.5vw, 24px);
    object-fit: cover;
    opacity: .9;
}

.world-label {
    width: max-content;
    max-width: 260px;
}

.world-label-high {
    top: clamp(58px, 5.75vw, 91px);
    right: clamp(68px, 7.2vw, 114px);
    text-align: center;
}

.world-label-low {
    top: clamp(310px, 21.7vw, 344px);
    left: clamp(58px, 5.1vw, 81px);
    text-align: center;
}

.world-label h3 {
    margin: 0 0 .45rem;
    font-size: clamp(1.65rem, 2vw, 2rem);
    font-weight: 500;
    line-height: 1;
}

.world-label p {
    margin: 0;
    color: #d8cdbd;
    font-family: var(--sans);
    font-size: clamp(.9rem, 1.16vw, 1.15rem);
    line-height: 1.45;
}

.world-bottom-ornament {
    position: absolute;
    z-index: 2;
    bottom: -11px;
    left: 50%;
    width: 126px;
    height: 38px;
    object-fit: cover;
    transform: translateX(-50%);
}

.characters {
    padding: 0;
    overflow: hidden;
    background: #050d15;
    border-bottom: 1px solid var(--gold);
}

.characters-stage {
    position: relative;
    height: clamp(410px, 34vw, 470px);
    max-height: 470px;
    overflow: hidden;
    isolation: isolate;
}

.characters-backdrop {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.characters-heading {
    position: absolute;
    z-index: 3;
    top: 9%;
    left: 4.6%;
    width: 32%;
}

.characters-heading h2 {
    margin: 0;
    font-size: clamp(1.95rem, 2.35vw, 2.45rem);
    font-weight: 400;
    line-height: .94;
    letter-spacing: -.035em;
}

.characters-heading > img {
    width: 128px;
    height: 24px;
    margin-top: .85rem;
    object-fit: cover;
    object-position: center;
}

.characters-trio {
    position: absolute;
    z-index: 1;
    bottom: -15%;
    left: 50%;
    width: auto;
    max-width: 72%;
    height: 115%;
    object-fit: contain;
    object-position: center bottom;
    filter: saturate(.88) brightness(.84) contrast(1.04);
    transform: translateX(-50%);
}

.characters-trio[data-reveal] {
    transform: translate(-50%, 42px);
}

.characters-trio[data-reveal].is-visible {
    transform: translateX(-50%);
}

.character-identity {
    position: absolute;
    z-index: 3;
    text-align: center;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .9);
}

.character-identity h3 {
    margin: 0 0 .22rem;
    font-size: clamp(1.45rem, 1.8vw, 2rem);
    font-weight: 400;
    line-height: 1;
}

.character-identity p {
    margin: 0;
    color: #d7ccba;
    font-family: var(--serif);
    font-size: clamp(.78rem, .9vw, .96rem);
    line-height: 1.18;
}

.character-identity > img {
    width: 38px;
    height: 18px;
    margin: .42rem auto 0;
    object-fit: cover;
    object-position: center;
}

.character-identity-aaron {
    top: 47%;
    left: 8.7%;
    width: 18%;
}

.character-identity-oren {
    right: 35%;
    bottom: 2.8%;
    left: 35%;
}

.character-identity-keren {
    top: 47%;
    right: 6.8%;
    width: 20%;
}

.characters-bottom-ornament {
    position: absolute;
    z-index: 4;
    bottom: -11px;
    left: 50%;
    width: 126px;
    height: 38px;
    object-fit: cover;
    transform: translateX(-50%);
}

.combat {
    height: clamp(720px, 55.3vw, 820px);
    min-height: 720px;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid rgba(222, 193, 139, .55);
    border-bottom: 1px solid var(--gold);
}

.combat-art {
    inset: -3% 0;
    height: 106%;
    object-position: center center;
    filter: brightness(.88) saturate(.88);
    animation: combatSceneBreath 8s ease-in-out infinite alternate;
}

.combat-shade {
    background: rgba(3, 8, 14, .08);
}

.combat-ornament {
    position: absolute;
    z-index: 3;
    left: 50%;
    width: 106px;
    height: 34px;
    object-fit: cover;
    transform: translateX(-50%);
    pointer-events: none;
}

.combat-ornament-top {
    top: -4px;
}

.combat-ornament-bottom {
    bottom: -17px;
}

.combat-layout {
    position: relative;
    z-index: 2;
    width: calc(100% - clamp(48px, 7vw, 138px));
    max-width: 1900px;
    height: 100%;
    display: flex;
    align-items: center;
    margin-inline: auto;
}

.combat-copy {
    width: min(30vw, 410px);
    max-width: 410px;
    padding: 1.6rem 1.5rem 1.45rem;
    border-left: 1px solid rgba(184, 138, 71, .4);
    background: rgba(3, 8, 14, .72);
    box-shadow: 20px 0 60px rgba(0, 0, 0, .24);
    backdrop-filter: blur(2px);
}

.combat-copy h2 {
    max-width: 360px;
    margin-bottom: .8rem;
    font-size: clamp(2.35rem, 3.15vw, 3.35rem);
    line-height: .94;
    letter-spacing: -.035em;
}

.combat-copy .title-rule {
    margin-bottom: 1rem;
}

.combat-copy > p:not(.eyebrow) {
    max-width: 340px;
    margin-bottom: 0;
    color: #cbc1b3;
    font-size: .86rem;
    line-height: 1.48;
}

.combat-features {
    margin: 1.2rem 0 1.35rem;
}

.combat-features article {
    display: grid;
    grid-template-columns: 66px 1fr;
    align-items: center;
    gap: .75rem;
    padding: .65rem 0;
    opacity: 0;
    transform: translateX(-18px);
}

.combat-copy.is-visible .combat-features article {
    animation: combatFeatureIn .7s cubic-bezier(.2, .75, .2, 1) forwards;
    animation-delay: calc(.25s + var(--stagger-delay, 0ms));
}

.combat-features img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: sepia(.22) saturate(.92) drop-shadow(0 0 9px rgba(222, 193, 139, .12));
}

.combat-features h3 {
    margin-bottom: .08rem;
    color: var(--gold-light);
    font-size: 1.08rem;
}

.combat-features p {
    margin-bottom: 0;
    color: #aaa192;
    font-size: .74rem;
    line-height: 1.35;
}

.combat-copy .button {
    min-width: 210px;
    min-height: 46px;
    padding: .72rem 1rem;
    font-size: .74rem;
}

.combat-turn-order {
    position: absolute;
    z-index: 4;
    right: 1.5%;
    bottom: 7px;
    width: min(57vw, 850px);
    height: 145px;
    pointer-events: none;
}

.combat-turn-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .62));
}

.combat-turn-units {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.combat-turn-unit {
    position: absolute;
    top: 47%;
    width: 64px;
    height: 64px;
    opacity: 0;
    transform: translate(-50%, -50%) translateY(18px) scale(.72);
}

.combat-turn-unit:nth-child(1) {
    left: 13%;
    width: 96px;
    height: 96px;
}

.combat-turn-unit:nth-child(2) {
    left: 28.2%;
}

.combat-turn-unit:nth-child(3) {
    left: 40.6%;
}

.combat-turn-unit:nth-child(4) {
    left: 52.9%;
}

.combat-turn-unit:nth-child(5) {
    left: 65.1%;
}

.combat-turn-unit:nth-child(6) {
    left: 77.4%;
}

.combat-turn-unit:nth-child(7) {
    left: 89.6%;
}

.combat-turn-order.is-visible .combat-turn-unit {
    animation: combatTurnEnter .62s cubic-bezier(.18, .82, .2, 1.15) forwards;
    animation-delay: calc(.22s + var(--stagger-delay, 0ms));
}

.combat-turn-marker,
.combat-turn-portrait {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.combat-turn-marker {
    z-index: 1;
    object-fit: contain;
}

.combat-turn-portrait {
    z-index: 2;
    inset: 20%;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    object-fit: cover;
    filter: brightness(.84) saturate(.82);
}

.combat-turn-unit.is-current .combat-turn-portrait {
    filter: brightness(1.08) saturate(.95);
}

.combat-turn-order.is-visible .combat-turn-unit.is-current .combat-turn-marker {
    animation: combatCurrentTurn 2.4s ease-in-out .95s infinite;
}

.combat-turn-label {
    position: absolute;
    bottom: 1px;
    left: 13%;
    margin: 0;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: .82rem;
    letter-spacing: .12em;
    text-shadow: 0 2px 8px #000;
    text-transform: uppercase;
    transform: translateX(-50%);
}

@keyframes combatSceneBreath {
    from {
        filter: brightness(.84) saturate(.84);
    }

    to {
        filter: brightness(.93) saturate(.94);
    }
}

@keyframes combatFeatureIn {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes combatTurnEnter {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0) scale(1);
    }
}

@keyframes combatCurrentTurn {
    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 4px rgba(222, 193, 139, .24));
        transform: scale(1);
    }

    50% {
        filter: brightness(1.28) drop-shadow(0 0 13px rgba(222, 193, 139, .68));
        transform: scale(1.07);
    }
}

.final-cta {
    height: clamp(280px, 22.5vw, 330px);
    min-height: 280px;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid rgba(184, 138, 71, .72);
    border-bottom: 1px solid rgba(184, 138, 71, .72);
    isolation: isolate;
}

.final-cta > .final-cta-art {
    inset: -4% 0;
    height: 108%;
    object-position: center 52%;
    filter: brightness(.86) saturate(.86);
    animation: finalCityBreath 8s ease-in-out infinite alternate;
}

.final-cta-shade {
    z-index: 1;
    background: rgba(3, 8, 14, .34);
}

.final-cta-content {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 56px));
    display: grid;
    grid-template-columns: 155px minmax(390px, 1fr) 250px;
    align-items: center;
    gap: clamp(2rem, 3.2vw, 4.2rem);
    padding-block: 1.25rem;
}

.final-emblem {
    width: 150px;
    aspect-ratio: 1;
    object-fit: contain;
    justify-self: center;
    mix-blend-mode: screen;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .56));
    animation: finalEmblemFloat 5s ease-in-out infinite;
}

.final-cta h2 {
    max-width: 540px;
    margin: 0;
    font-size: clamp(2.35rem, 3.55vw, 3.65rem);
    line-height: .92;
    letter-spacing: -.035em;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .78);
}

.final-cta-copy .eyebrow {
    margin-bottom: .55rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .86);
}

.final-cta-divider {
    width: 180px;
    height: 17px;
    margin: .7rem 0 .6rem;
    object-fit: cover;
    object-position: left center;
    mix-blend-mode: screen;
    animation: finalDividerGlow 3.8s ease-in-out infinite;
}

.final-cta-copy > p:not(.eyebrow) {
    max-width: 470px;
    margin-bottom: 0;
    color: #c5bcaf;
    font-size: .9rem;
    line-height: 1.45;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .88);
}

.final-actions {
    width: 250px;
    display: grid;
    gap: .7rem;
    justify-self: end;
    text-align: center;
}

.final-actions .button {
    min-height: 54px;
    font-size: 1.02rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

.final-actions small {
    color: #c5bcaf;
    font-size: .75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
}

.site-footer {
    min-height: 164px;
    padding: 1.45rem 0 1.25rem;
    border-bottom: 1px solid rgba(184, 138, 71, .28);
    background: #020810;
}

.footer-grid {
    display: grid;
    grid-template-columns: 245px minmax(420px, 1fr) 245px;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3.4rem);
}

.footer-brand img {
    width: 215px;
    height: 78px;
    object-fit: contain;
    object-position: left center;
    mix-blend-mode: screen;
}

.footer-brand p {
    max-width: 220px;
    margin-top: .25rem;
    margin-bottom: 0;
    color: #a79e91;
    font-size: .7rem;
    line-height: 1.4;
}

.footer-center {
    min-width: 0;
    display: grid;
    align-self: stretch;
    align-content: center;
    gap: 1.35rem;
}

.footer-center nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1.2rem, 2.2vw, 2.4rem);
}

.footer-center nav a {
    font-size: .76rem;
}

.sound-toggle {
    min-height: 94px;
    display: grid;
    grid-template-columns: 1fr 52px;
    align-items: center;
    gap: .75rem;
    padding: .45rem 0 .45rem 1.6rem;
    border: 0;
    border-left: 1px solid rgba(184, 138, 71, .48);
    background: transparent;
    color: var(--gold-light);
    cursor: pointer;
    text-align: left;
    transition: color .25s ease, filter .25s ease;
}

.sound-toggle:hover {
    color: #f2d9a6;
    filter: brightness(1.18);
}

.sound-toggle-copy {
    min-width: 0;
    display: grid;
    gap: .55rem;
    font-family: var(--serif);
    font-size: .9rem;
}

.sound-waveform {
    width: 132px;
    height: 25px;
    object-fit: fill;
    opacity: .62;
    filter: sepia(.2) brightness(.92);
    transition: opacity .3s ease, filter .3s ease;
}

.sound-toggle-icon {
    width: 48px;
    height: 48px;
    opacity: .9;
    transition: transform .3s ease, filter .3s ease;
}

.sound-toggle:hover .sound-toggle-icon {
    transform: scale(1.07);
    filter: brightness(1.16);
}

.sound-toggle[aria-pressed="true"] .sound-waveform {
    opacity: 1;
    filter: brightness(1.15) drop-shadow(0 0 6px rgba(222, 193, 139, .35));
    animation: footerWavePulse 1.2s ease-in-out infinite alternate;
}

.sound-toggle[aria-pressed="true"] .sound-toggle-icon {
    animation: footerSoundPulse 1.8s ease-in-out infinite;
}

.copyright {
    margin: 0;
    color: #81796e;
    font-size: .67rem;
    text-align: center;
}

@keyframes finalCityBreath {
    from {
        filter: brightness(.82) saturate(.82);
        transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.015);
    }

    to {
        filter: brightness(.91) saturate(.92);
        transform: translate3d(-.35%, var(--parallax-y, 0), 0) scale(1.025);
    }
}

@keyframes finalEmblemFloat {
    0%,
    100% {
        transform: translateY(0);
        filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .56));
    }

    50% {
        transform: translateY(-5px);
        filter: brightness(1.08) drop-shadow(0 14px 28px rgba(0, 0, 0, .62));
    }
}

@keyframes finalDividerGlow {
    0%,
    100% {
        opacity: .6;
        filter: brightness(.85);
    }

    50% {
        opacity: 1;
        filter: brightness(1.2);
    }
}

@keyframes footerWavePulse {
    from {
        transform: scaleY(.72);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes footerSoundPulse {
    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.22) drop-shadow(0 0 9px rgba(222, 193, 139, .35));
    }
}

[data-reveal] {
    opacity: 0;
    transition: opacity .9s ease, transform .9s cubic-bezier(.2, .75, .2, 1);
}

[data-reveal="up"] {
    transform: translateY(42px);
}

[data-reveal="left"] {
    transform: translateX(-42px);
}

[data-reveal="right"] {
    transform: translateX(42px);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

[data-stagger] {
    transition-delay: var(--stagger-delay, 0ms);
}

@keyframes cuePulse {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

@media (max-width: 1050px) {
    .site-header {
        grid-template-columns: 190px 1fr auto;
        gap: 1rem;
        padding-inline: 24px;
    }

    .site-brand {
        width: 185px;
    }

    .site-navigation {
        gap: 1.35rem;
    }

    .story {
        height: 760px;
        padding-bottom: 2rem;
    }

    .story-grid {
        height: auto;
        grid-template-columns: minmax(230px, .82fr) minmax(370px, 1.18fr);
    }

    .clue-list {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: -1.25rem;
    }

    .clue {
        padding: 1.25rem 1rem;
        border-top: 1px solid rgba(92, 69, 38, .3);
    }

    .world-heading {
        width: min(48vw, 480px);
    }

    .world-heading h2 {
        font-size: clamp(2.4rem, 4.8vw, 3.1rem);
    }

    .characters-stage {
        height: clamp(410px, 48vw, 470px);
    }

    .characters-trio {
        max-width: 70%;
    }

    .combat {
        height: 760px;
        min-height: 760px;
    }

    .combat-layout {
        width: calc(100% - 48px);
    }

    .combat-copy {
        width: 365px;
        max-width: 365px;
    }

    .combat-turn-order {
        right: 0;
        width: 58vw;
    }

    .final-cta-content {
        width: min(100% - 40px, 920px);
        grid-template-columns: 105px minmax(280px, 1fr) 210px;
        gap: 1.5rem;
    }

    .final-emblem {
        width: 104px;
    }

    .final-actions {
        width: 210px;
    }

    .final-cta h2 {
        font-size: clamp(2.1rem, 4.6vw, 3rem);
    }

    .footer-grid {
        grid-template-columns: 200px minmax(320px, 1fr) 220px;
        gap: 1.25rem;
    }

    .footer-brand img {
        width: 190px;
    }

    .sound-toggle {
        padding-left: 1rem;
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 68px;
    }

    .page-shell {
        width: min(100% - 32px, 680px);
    }

    .site-header {
        min-height: var(--header-height);
        grid-template-columns: 1fr auto;
        padding-inline: 14px;
        background: rgba(3, 8, 14, .94);
    }

    .site-brand {
        width: 150px;
        height: var(--header-height);
        transform: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: .7rem .85rem;
        border: 1px solid rgba(184, 138, 71, .62);
        background: #08111a;
        font-size: .68rem;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    .site-navigation {
        position: fixed;
        inset: var(--header-height) 0 auto;
        display: none;
        padding: 1rem;
        border-bottom: 1px solid var(--gold);
        background: #03080e;
    }

    .site-navigation.is-open {
        display: grid;
    }

    .site-navigation a {
        padding: .9rem .35rem;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        font-size: 1.12rem;
    }

    .header-play {
        display: none;
    }

    .hero {
        min-height: 780px;
    }

    .hero-art {
        object-position: 66% center;
    }

    .hero-shade {
        background: rgba(3, 8, 14, .48);
    }

    .hero-content {
        width: calc(100% - 32px);
        margin-inline: auto;
        margin-left: auto;
        align-self: end;
        margin-bottom: 2rem;
        padding: 1.4rem;
        background: rgba(3, 8, 14, .84);
    }

    .hero-content::before {
        display: none;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 14vw, 5.2rem);
        text-wrap: wrap;
    }

    .hero-divider {
        width: 190px;
    }

    .hero-actions {
        display: grid;
    }

    .scroll-cue {
        display: none;
    }

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

    .story {
        height: auto;
        min-height: 0;
        padding-top: 4rem;
    }

    .story-copy {
        position: relative;
        z-index: 2;
    }

    .story-visual {
        height: min(132vw, 610px);
        margin-top: -2rem;
    }

    .story-visual img {
        left: 50%;
        bottom: 0;
        clip-path: none;
    }

    .clue-list {
        grid-column: auto;
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .clue {
        padding-inline: 0;
    }

    .world {
        height: 860px;
        min-height: 860px;
    }

    .world-art {
        display: none;
    }

    .world-mobile-scenes {
        position: absolute;
        inset: 0;
        display: grid;
        grid-template-rows: 42% 58%;
    }

    .world-mobile-scenes img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .world-mobile-scenes img:first-child {
        object-position: 68% center;
    }

    .world-mobile-scenes img:last-child {
        object-position: 56% center;
    }

    .world-heading {
        top: 30px;
        left: 22px;
        width: calc(100% - 44px);
        padding: 1rem 1.1rem;
        background: rgba(3, 8, 14, .76);
    }

    .world-heading h2 {
        font-size: clamp(2.45rem, 12vw, 4rem);
    }

    .world-title-divider {
        width: 180px;
        margin-top: 14px;
    }

    .world-label {
        max-width: none;
        padding: .85rem 1rem;
        background: rgba(3, 8, 14, .78);
        text-align: left;
    }

    .world-label-high {
        top: 260px;
        right: 18px;
    }

    .world-label-low {
        top: auto;
        right: auto;
        bottom: 48px;
        left: 18px;
        transform: none;
    }

    .world-bottom-ornament {
        width: 100px;
    }

    .characters {
        padding-block: 1.2rem;
    }

    .characters-stage {
        width: calc(100% - 24px);
        height: 680px;
        max-height: none;
    }

    .characters-backdrop {
        object-position: center;
    }

    .characters-heading {
        top: 7%;
        left: 7%;
        width: 78%;
    }

    .characters-heading h2 {
        font-size: clamp(2.5rem, 11vw, 4rem);
        line-height: .92;
    }

    .characters-heading > img {
        width: 132px;
    }

    .characters-trio {
        bottom: 10%;
        width: 580px;
        max-width: none;
        height: auto;
        max-height: 68%;
    }

    .character-identity h3 {
        font-size: 1.5rem;
    }

    .character-identity p {
        font-size: .76rem;
    }

    .character-identity-aaron {
        top: auto;
        bottom: 9%;
        left: 2%;
        width: 30%;
    }

    .character-identity-oren {
        right: 31%;
        bottom: 10%;
        left: 31%;
    }

    .character-identity-keren {
        top: auto;
        right: 2%;
        bottom: 9%;
        width: 30%;
    }

    .combat {
        height: 980px;
        min-height: 980px;
        align-items: stretch;
    }

    .combat-art {
        inset: 0;
        height: 100%;
        object-position: 66% 62%;
    }

    .combat-shade {
        background: rgba(3, 8, 14, .2);
    }

    .combat-layout {
        width: calc(100% - 24px);
        align-items: flex-start;
        padding-top: 1.25rem;
    }

    .combat-copy {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 1.3rem 1.2rem 1.2rem;
        border-right: 1px solid rgba(184, 138, 71, .4);
        background: rgba(3, 8, 14, .84);
        box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
    }

    .combat-copy h2 {
        max-width: none;
        font-size: clamp(2.4rem, 10vw, 3.4rem);
    }

    .combat-copy > p:not(.eyebrow) {
        max-width: 540px;
    }

    .combat-features {
        margin-block: .8rem 1rem;
    }

    .combat-features article {
        grid-template-columns: 38px 1fr;
        padding-block: .4rem;
    }

    .combat-features img {
        width: 32px;
        height: 32px;
    }

    .combat-turn-order {
        right: 2%;
        bottom: 14px;
        width: 96%;
        height: 122px;
    }

    .combat-turn-unit {
        width: 38px;
        height: 38px;
    }

    .combat-turn-unit:nth-child(1) {
        width: 52px;
        height: 52px;
    }

    .combat-turn-label {
        bottom: 3px;
        font-size: .65rem;
    }

    .final-cta {
        height: 620px;
        min-height: 620px;
        align-items: stretch;
    }

    .final-cta > .final-cta-art {
        object-position: 68% center;
    }

    .final-cta-shade {
        background: rgba(3, 8, 14, .56);
    }

    .final-cta-content {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 1rem;
        padding-block: 2.75rem;
        text-align: center;
    }

    .final-emblem {
        width: 108px;
        justify-self: center;
    }

    .final-cta-copy .eyebrow {
        margin-bottom: .4rem;
    }

    .final-cta h2 {
        font-size: clamp(2.45rem, 12vw, 3.5rem);
        line-height: .94;
    }

    .final-cta-divider {
        margin-inline: auto;
    }

    .final-cta-copy > p:not(.eyebrow) {
        max-width: 420px;
        margin-inline: auto;
    }

    .final-actions {
        grid-column: auto;
        width: min(100%, 300px);
        justify-self: center;
        margin-top: .5rem;
    }

    .site-footer {
        min-height: 0;
        padding-block: 1.9rem 1.4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-brand img {
        width: 205px;
        margin-inline: auto;
    }

    .footer-brand p {
        margin-inline: auto;
    }

    .footer-center {
        gap: 1.15rem;
    }

    .footer-center nav {
        display: flex;
        gap: .7rem 1.25rem;
    }

    .sound-toggle {
        width: min(100%, 270px);
        min-height: 84px;
        justify-self: center;
        padding: .5rem;
        border-top: 1px solid rgba(184, 138, 71, .48);
        border-left: 0;
    }

    .sound-waveform {
        width: 150px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    [data-parallax] {
        transform: none !important;
    }
}
