:root {
    --dmj-black: #000000;
    --dmj-gold: #9f7b28;
    --dmj-gold-soft: #c09a3a;
    --dmj-white: #ffffff;
    --dmj-muted: rgba(255, 255, 255, 0.72);
    --dmj-muted-2: rgba(255, 255, 255, 0.52);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--dmj-black);
    color: var(--dmj-white);
}

.dmj-cover {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 10%, rgba(159, 123, 40, 0.26), transparent 20rem),
        linear-gradient(180deg, #060606 0%, #000000 62%, #0b0802 100%);
}

.dmj-hero {
    min-height: 100svh;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.dmj-hero::before {
    content: "";
    position: absolute;
    inset: -25%;
    background:
        linear-gradient(90deg, transparent 0%, rgba(159, 123, 40, 0.10) 50%, transparent 100%),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.018),
            rgba(255,255,255,0.018) 1px,
            transparent 1px,
            transparent 9px
        );
    transform: rotate(-8deg);
    pointer-events: none;
}

.dmj-top,
.dmj-content,
.dmj-footer {
    position: relative;
    z-index: 1;
}

.dmj-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.dmj-kicker,
.dmj-since,
.dmj-footer,
.dmj-button,
.dmj-chapter-preview p,
.dmj-chapter-preview span {
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.dmj-kicker {
    max-width: 11rem;
    font-size: 0.68rem;
    line-height: 1.35;
    font-weight: 800;
    color: var(--dmj-gold-soft);
}

.dmj-since {
    max-width: 9rem;
    font-size: 0.64rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--dmj-muted);
    text-align: right;
}

.dmj-content {
    width: 100%;
    max-width: 31rem;
    margin: 0 auto;
    text-align: center;
    padding: 1.4rem 0 2rem;
}

.dmj-logo-panel {
    width: min(52vw, 14rem);
    margin: 0 auto 1.2rem;
}

.dmj-logo-main {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 1.4rem 2.2rem rgba(0,0,0,0.72));
}

.dmj-logo-fallback {
    aspect-ratio: 1 / 1;
    border: 0.7rem solid var(--dmj-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
}

.dmj-logo-fallback strong {
    font-size: 3.6rem;
    line-height: 0.9;
    text-transform: uppercase;
}

.dmj-logo-fallback span {
    margin-top: 0.6rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.dmj-logo-fallback b {
    margin-top: 1.2rem;
    padding: 0.55rem 1.2rem;
    background: var(--dmj-gold);
    color: #000;
    font-size: 1.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 11vw, 4.25rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.dmj-subtitle {
    margin: 1rem auto 0;
    max-width: 24rem;
    font-size: 1.04rem;
    line-height: 1.42;
    font-weight: 800;
    color: var(--dmj-gold-soft);
}

.dmj-text {
    margin: 1.05rem auto 0;
    max-width: 27rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.62;
    color: var(--dmj-muted);
}

.dmj-button {
    display: inline-flex;
    margin-top: 1.65rem;
    padding: 0.95rem 1.35rem;
    border: 2px solid var(--dmj-gold);
    background: var(--dmj-gold);
    color: #000;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 900;
}

.dmj-footer {
    padding-bottom: 0.25rem;
    font-size: 0.62rem;
    line-height: 1.45;
    font-weight: 700;
    color: var(--dmj-muted-2);
    text-align: center;
}

.dmj-chapter-preview {
    min-height: 46vh;
    padding: 4rem 1.25rem;
    background: var(--dmj-gold);
    color: #000;
    text-align: center;
}

.dmj-chapter-preview p {
    margin: 0 0 0.6rem;
    font-size: 0.72rem;
    font-weight: 900;
}

.dmj-chapter-preview h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.25rem;
    line-height: 1;
    letter-spacing: -0.045em;
}

.dmj-chapter-preview span {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.74rem;
    font-weight: 900;
}

@media (max-height: 740px) {
    .dmj-logo-panel {
        width: min(42vw, 11.5rem);
        margin-bottom: 0.8rem;
    }

    .dmj-text {
        font-size: 0.94rem;
        line-height: 1.48;
    }

    .dmj-button {
        margin-top: 1.1rem;
    }
}

.dmj-cover-home {
    min-height: 100svh;
}

.dmj-cover-home .dmj-hero {
    min-height: 100svh;
}

.dmj-cover-chapter {
    min-height: 100svh;
    padding: 1.35rem;
    display: flex;
    align-items: center;
}

.dmj-chapter {
    width: 100%;
    max-width: 34rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.dmj-back {
    display: inline-flex;
    margin-bottom: 2rem;
    color: var(--dmj-gold-soft);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dmj-chapter-label {
    margin: 0 0 0.8rem;
    color: var(--dmj-gold-soft);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dmj-chapter-text {
    margin-top: 1.4rem;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--dmj-muted);
    font-size: 1.05rem;
    line-height: 1.68;
}

.dmj-chapter-text p {
    margin: 0 0 1.1rem;
}

.dmj-cover-chapter {
    min-height: 100svh;
    padding: 1.35rem;
    display: flex;
    align-items: center;
}

.dmj-chapter {
    width: 100%;
    max-width: 34rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.dmj-back {
    display: inline-flex;
    margin-bottom: 2rem;
    color: var(--dmj-gold-soft);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dmj-chapter-label {
    margin: 0 0 1rem;
    color: var(--dmj-gold-soft);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dmj-story-intro {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 7vw, 2.55rem);
    line-height: 1.12;
    letter-spacing: -0.045em;
    color: var(--dmj-white);
}
