@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@400;500&family=Barlow+Condensed:wght@600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');
        :root {
            --void:       #060606;
            --ash:        #0d0d0d;
            --bunker:     #131313;
            --iron:       #1c1c1c;
            --smoke:      #2a2a2a;
            --ghost:      #444444;
            --fog:        #787878;
            --bone:       #c4b49a;
            --parchment:  #ddd0b8;
            --rust:       #6b1212;
            --blood:      #b81c1c;
            --ember:      #e03300;
            --online:     #3ddc84;

            --font-display: 'Bebas Neue', Impact, sans-serif;
            --font-cond:    'Barlow Condensed', sans-serif;
            --font-mono:    'JetBrains Mono', 'Courier New', monospace;
            --font-body:    'Barlow', sans-serif;

            --pad: clamp(4rem, 8vw, 8rem);
            --wrap: min(1180px, 92vw);
        }

        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--blood) var(--void);

    /* Prevents the homepage shifting when the scrollbar appears */
    scrollbar-gutter: stable;
}
        html::-webkit-scrollbar       { width: 5px; }
        html::-webkit-scrollbar-track { background: var(--void); }
        html::-webkit-scrollbar-thumb { background: var(--blood); }

        body {
            background: var(--void);
            color: var(--bone);
            font-family: var(--font-body);
            font-size: 16px;
            line-height: 1.6;
            overflow-x: hidden;
        }

        body.monitor-locked {
            overflow: hidden;
        }

        /* ── Global noise grain overlay ── */
        /* Subtle global texture overlay */

        /* Subtle global texture */

        body::after {
            content: "";
            position: fixed;
            inset: 0;
            z-index: 9998;
            pointer-events: none;

            opacity: 0.07;
            mix-blend-mode: soft-light;

            background-image:
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");

            background-repeat: repeat;
            background-size: 300px;
}

        /* ═══════════════════════════════════════
           NAV
        ═══════════════════════════════════════ */
        nav {
            position: fixed;
            inset: 0 0 auto 0;
            z-index: 1000;
            height: 62px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 clamp(1.5rem, 4vw, 3rem);
            background: rgba(6, 6, 6, .6);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid rgba(184, 28, 28, .18);
            transition: background .3s;
        }
        nav.scrolled { background: rgba(6,6,6,.96); }

        .nav-logo {
            font-family: var(--font-display);
            font-size: 1.35rem;
            letter-spacing: .18em;
            text-decoration: none;
            text-transform: uppercase;
            color: var(--blood);
            user-select: none;
        }
        .nav-logo em { color: var(--bone); font-style: normal; }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 2.4rem;
            list-style: none;
        }
        .nav-links a {
            font-family: var(--font-mono);
            font-size: .68rem;
            letter-spacing: .22em;
            text-transform: uppercase;
            color: var(--fog);
            text-decoration: none;
            transition: color .2s;
        }
        .nav-links a:hover { color: var(--bone); }

        .nav-cta {
            color: var(--bone) !important;
            border: 1px solid rgba(184,28,28,.6);
            padding: .45rem 1.2rem !important;
            transition: background .2s, border-color .2s !important;
        }
        .nav-cta:hover {
            background: var(--blood) !important;
            border-color: var(--blood) !important;
            color: var(--void) !important;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 4px;
        }
        .hamburger span {
            display: block;
            width: 22px;
            height: 1.5px;
            background: var(--bone);
            transition: all .25s;
        }

        /* ═══════════════════════════════════════
           HERO
        ═══════════════════════════════════════ */
        #hero {
            position: relative;
            min-height: 100svh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            overflow: hidden;
            padding: 100px clamp(1.5rem, 6vw, 5rem) 5rem;
        }

        #hero-canvas {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            z-index: 1;
            background:
                radial-gradient(ellipse 70% 55% at 50% 25%, rgba(107,18,18,.18) 0%, transparent 68%),
                radial-gradient(ellipse 50% 70% at 15% 85%, rgba(184,28,28,.07) 0%, transparent 60%),
                linear-gradient(175deg, #070507 0%, #090808 45%, #060606 100%);
        }

        /* scanlines */
        .scanlines {
            position: absolute;
            inset: 0;
            z-index: 2;
            pointer-events: none;
            background: repeating-linear-gradient(
                0deg,
                transparent,
                transparent 2px,
                rgba(0,0,0,.07) 2px,
                rgba(0,0,0,.07) 4px
            );
        }

        /* horizontal scan sweep */
        .scan-sweep {
            position: absolute;
            inset: 0;
            z-index: 2;
            pointer-events: none;
            background: linear-gradient(
                180deg,
                transparent 0%,
                rgba(255,255,255,.015) 50%,
                transparent 100%
            );
            background-size: 100% 8px;
            animation: scan 8s linear infinite;
        }
        @keyframes scan {
            from { background-position: 0 -100vh; }
            to   { background-position: 0  100vh; }
        }

        .hero-content {
            position: relative;
            z-index: 3;
            max-width: 940px;
        }

        .hero-eyebrow {
            font-family: var(--font-mono);
            font-size: clamp(.58rem, 1.4vw, .72rem);
            letter-spacing: .45em;
            text-transform: uppercase;
            color: var(--blood);
            margin-bottom: 1.8rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.2rem;
        }
        .hero-eyebrow::before,
        .hero-eyebrow::after {
            content: '';
            display: block;
            width: 36px;
            height: 1px;
            background: var(--blood);
        }

        /* ── Title ── */
        .hero-title {
            font-family: var(--font-display);
            text-transform: uppercase;
            line-height: .88;
            margin-bottom: 2rem;
            user-select: none;
        }

        .ht-dead {
            display: block;
            font-size: clamp(4rem, 13vw, 12rem);
            letter-spacing: .03em;
            color: var(--blood);
            text-shadow: 0 0 40px rgba(184,28,28,.35), 0 0 80px rgba(184,28,28,.1);
            position: relative;
        }

        .ht-mans {
            display: block;
            font-size: clamp(3rem, 10vw, 9.5rem);
            letter-spacing: .06em;
            color: var(--parchment);
        }

        .ht-territory {
            display: block;
            font-size: clamp(1.8rem, 5.5vw, 5.2rem);
            letter-spacing: .3em;
            color: var(--fog);
        }

        /* glitch on DEAD */
        .glitch { position: relative; }
        .glitch::before,
        .glitch::after {
            content: attr(data-text);
            position: absolute;
            inset: 0;
            font-family: inherit;
            font-size: inherit;
            letter-spacing: inherit;
        }
        .glitch::before {
            color: var(--ember);
            clip-path: polygon(0 15%, 100% 15%, 100% 40%, 0 40%);
            animation: glitch-a 4s infinite;
        }
        .glitch::after {
            color: #1b3a56;
            clip-path: polygon(0 62%, 100% 62%, 100% 85%, 0 85%);
            animation: glitch-b 4s infinite;
        }
        @keyframes glitch-a {
            0%,88%,100% { transform:none; opacity:0; }
            89%  { transform:skewX(-4deg) translateX(-4px); opacity:.8; }
            90%  { transform:skewX(2deg)  translateX( 3px); opacity:0; }
            91%  { transform:skewX(-1deg) translateX(-2px); opacity:.6; }
            92%  { transform:none; opacity:0; }
        }
        @keyframes glitch-b {
            0%,88%,100% { transform:none; opacity:0; }
            89%  { transform:skewX( 3deg) translateX( 4px); opacity:.6; }
            90%  { transform:none; opacity:0; }
            91%  { transform:skewX(-2deg) translateX(-3px); opacity:.8; }
            92%  { transform:none; opacity:0; }
        }

        .hero-tagline {
            font-family: var(--font-mono);
            font-size: clamp(.72rem, 1.8vw, .95rem);
            letter-spacing: .08em;
            color: var(--fog);
            max-width: 580px;
            margin: 0 auto 2.8rem;
        }
        .hero-tagline em {
            color: var(--bone);
            font-style: normal;
        }

        .hero-actions {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn {
            font-family: var(--font-mono);
            font-size: .72rem;
            letter-spacing: .25em;
            text-transform: uppercase;
            text-decoration: none;
            padding: .9rem 2.2rem;
            border: 1px solid transparent;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: .6rem;
            transition: all .22s;
            white-space: nowrap;
        }
        .btn-primary {
            background: var(--blood);
            color: var(--parchment);
            border-color: var(--blood);
        }
        .btn-primary:hover {
            background: var(--ember);
            border-color: var(--ember);
            box-shadow: 0 0 28px rgba(224,51,0,.35);
        }
        .btn-ghost {
            background: transparent;
            color: var(--bone);
            border-color: var(--smoke);
        }
        .btn-ghost:hover {
            border-color: var(--bone);
            background: rgba(196,180,154,.05);
        }

        .scroll-cue {
            position: absolute;
            bottom: 2.2rem;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: .5rem;
            animation: breathe 2.2s ease-in-out infinite;
        }
        .scroll-cue span {
            font-family: var(--font-mono);
            font-size: .58rem;
            letter-spacing: .35em;
            text-transform: uppercase;
            color: var(--ghost);
        }
        .scroll-line {
            width: 1px;
            height: 44px;
            background: linear-gradient(to bottom, var(--ghost), transparent);
        }
        @keyframes breathe {
            0%,100% { opacity:.25; }
            50%      { opacity:.65; }
        }

        /* ═══════════════════════════════════════
           SHARED SECTION STYLES
        ═══════════════════════════════════════ */
        .divider {
            width: 100%;
            height: 1px;
            background: linear-gradient(to right, transparent, var(--blood), transparent);
        }

        section { padding: var(--pad) clamp(1.5rem, 5vw, 4rem); }

        .wrap { max-width: var(--wrap); margin: 0 auto; }

        .s-label {
            font-family: var(--font-mono);
            font-size: .62rem;
            letter-spacing: .42em;
            text-transform: uppercase;
            color: var(--blood);
            margin-bottom: .7rem;
            display: flex;
            align-items: center;
            gap: .9rem;
        }
        .s-label::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--iron);
        }

        .s-title {
            font-family: var(--font-display);
            font-size: clamp(2rem, 5vw, 4rem);
            letter-spacing: .06em;
            text-transform: uppercase;
            color: var(--parchment);
            line-height: .95;
            margin-bottom: 3rem;
        }

        /* ═══════════════════════════════════════
           SERVERS
        ═══════════════════════════════════════ */
        #servers { background: var(--ash); }

        .servers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
            gap: 1px;
            background: var(--iron);
        }

        .server-card {
            background: var(--bunker);
            padding: 2.8rem 2.4rem;
            position: relative;
            overflow: hidden;
            transition: background .3s;
        }
        .server-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 2px;
            background: linear-gradient(to right, transparent, var(--blood), transparent);
            opacity: 0;
            transition: opacity .3s;
        }
        .server-card:hover { background: #171717; }
        .server-card:hover::before { opacity: 1; }

        .srv-map {
            font-family: var(--font-mono);
            font-size: .6rem;
            letter-spacing: .4em;
            text-transform: uppercase;
            color: var(--blood);
            margin-bottom: .8rem;
        }

        .srv-name {
            font-family: var(--font-cond);
            font-weight: 800;
            font-size: clamp(1.4rem, 2.8vw, 2rem);
            letter-spacing: .07em;
            text-transform: uppercase;
            color: var(--parchment);
            margin-bottom: .6rem;
        }

        .srv-status {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: .9rem;
            margin-bottom: 2rem;
        }
        .status-left {
            display: flex;
            align-items: center;
            gap: .55rem;
        }
        .srv-players {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: .15rem;
        }
        .players-row {
            display: flex;
            align-items: center;
            gap: .65rem;
        }
        .players-label {
            font-family: var(--font-mono);
            font-size: .58rem;
            letter-spacing: .22em;
            text-transform: uppercase;
            color: var(--ghost);
        }
        .players-count {
            font-family: var(--font-mono);
            font-size: .9rem;
            letter-spacing: .05em;
            color: var(--fog);
            font-weight: 500;
            transition: color .3s;
        }
        .players-count.live   { color: var(--parchment); }
        .players-count.offline { color: var(--ghost); }

        .players-count.flash {
            animation: count-flash .9s ease-out;
        }
        @keyframes count-flash {
            0%   { color: var(--blood); text-shadow: 0 0 8px rgba(184,28,28,.6); }
            100% { color: var(--parchment); text-shadow: none; }
        }

        .sync-meta {
            font-family: var(--font-mono);
            font-size: .5rem;
            letter-spacing: .25em;
            text-transform: uppercase;
            color: var(--ghost);
            display: flex;
            align-items: center;
            gap: .35rem;
        }
        .sync-dot {
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: var(--fog);
            opacity: .5;
            transition: opacity .2s, background .2s, box-shadow .2s;
        }
        .sync-meta.refreshing .sync-dot {
            background: var(--blood);
            opacity: 1;
            box-shadow: 0 0 6px var(--blood);
            animation: sync-pulse .8s ease-in-out infinite;
        }
        @keyframes sync-pulse {
            0%, 100% { opacity: 1; }
            50%       { opacity: .35; }
        }
        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--online);
            box-shadow: 0 0 8px rgba(61,220,132,.5);
            animation: pulse-dot 2s ease-in-out infinite;
        }
        @keyframes pulse-dot {
            0%,100% { box-shadow: 0 0 8px  rgba(61,220,132,.5); }
            50%      { box-shadow: 0 0 16px rgba(61,220,132,.8); }
        }
        .status-text {
            font-family: var(--font-mono);
            font-size: .62rem;
            letter-spacing: .18em;
            text-transform: uppercase;
            color: var(--online);
        }

        .connect-row {
            display: flex;
            align-items: center;
            gap: .9rem;
            background: var(--void);
            border: 1px solid var(--iron);
            padding: .9rem 1.1rem;
            margin-bottom: .6rem;
        }
        .connect-row + .connect-row { margin-bottom: 1.4rem; }

        .c-label {
            font-family: var(--font-mono);
            font-size: .58rem;
            letter-spacing: .2em;
            text-transform: uppercase;
            color: var(--ghost);
            min-width: 38px;
        }
        .c-value {
            font-family: var(--font-mono);
            font-size: 1rem;
            color: var(--bone);
            flex: 1;
            letter-spacing: .04em;
        }
        .c-full {
            font-family: var(--font-mono);
            font-size: .82rem;
            color: var(--fog);
            flex: 1;
        }

        .copy-btn {
            font-family: var(--font-mono);
            font-size: .58rem;
            letter-spacing: .15em;
            text-transform: uppercase;
            color: var(--fog);
            background: none;
            border: 1px solid var(--iron);
            padding: .38rem .8rem;
            cursor: pointer;
            transition: all .18s;
            white-space: nowrap;
        }
        .copy-btn:hover { color: var(--bone); border-color: var(--smoke); }
        .copy-btn.done  { color: var(--online); border-color: var(--online); }

        .full-row {
            display: flex;
            align-items: center;
            gap: .9rem;
            background: var(--void);
            border: 1px solid var(--iron);
            padding: .9rem 1.1rem;
            margin-bottom: 0;
        }


        /* ═══════════════════════════════════════
           FEATURES
        ═══════════════════════════════════════ */
        #features { background: var(--void); }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1px;
            background: var(--iron);
        }

        .feat-card {
            background: var(--void);
            padding: 2.4rem 2rem;
            transition: background .25s;
            position: relative;
            overflow: hidden;
        }
        .feat-card::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0;
            width: 0;
            height: 1px;
            background: var(--blood);
            transition: width .4s ease;
        }
        .feat-card:hover { background: #0a0a0a; }
        .feat-card:hover::after { width: 100%; }

        .feat-icon {
            font-size: 1.9rem;
            margin-bottom: 1.1rem;
            display: block;
            line-height: 1;
            color: var(--blood);
        }
        .feat-title {
            font-family: var(--font-cond);
            font-weight: 700;
            font-size: 1.2rem;
            letter-spacing: .1em;
            text-transform: uppercase;
            color: var(--parchment);
            margin-bottom: .65rem;
        }
        .feat-desc {
            font-size: .88rem;
            color: var(--fog);
            line-height: 1.75;
        }

        /* ═══════════════════════════════════════
           TEAM
        ═══════════════════════════════════════ */
        #team { background: var(--ash); }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 1px;
            background: var(--iron);
        }

        .team-card {
            background: var(--bunker);
            padding: 2.2rem 1.4rem;
            text-align: center;
            transition: background .25s;
        }
        .team-card:hover { background: var(--iron); }

        .t-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin: 0 auto 1.1rem;
            overflow: hidden;
            border: 2px solid var(--iron);
            background: var(--bunker);
            transition: transform .25s, box-shadow .25s, border-color .25s;
        }
        .t-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .team-card:hover .t-avatar {
            transform: scale(1.06);
            border-color: var(--blood);
            box-shadow: 0 0 20px rgba(184,28,28,.35);
        }

        .t-name {
            font-family: var(--font-mono);
            font-size: .82rem;
            letter-spacing: .04em;
            color: var(--parchment);
            margin-bottom: .3rem;
        }
        .t-role {
            font-family: var(--font-mono);
            font-size: .58rem;
            letter-spacing: .2em;
            text-transform: uppercase;
            color: var(--blood);
        }

        /* ═══════════════════════════════════════
           RULES
        ═══════════════════════════════════════ */
        #rules { background: var(--void); }

        .rules-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
            gap: 2.5rem 3rem;
        }

        .rule-item { display: flex; gap: 1.2rem; align-items: flex-start; }

        .rule-num {
            font-family: var(--font-display);
            font-size: 2.8rem;
            line-height: 1;
            color: var(--iron);
            min-width: 48px;
            user-select: none;
        }

        .rule-title {
            font-family: var(--font-mono);
            font-size: .7rem;
            letter-spacing: .22em;
            text-transform: uppercase;
            color: var(--blood);
            margin-bottom: .35rem;
        }
        .rule-desc {
            font-size: .88rem;
            color: var(--fog);
            line-height: 1.65;
        }

        /* ═══════════════════════════════════════
           SUPPORT BANNER
        ═══════════════════════════════════════ */
        #support {
            background: var(--ash);
            border-top: 1px solid var(--iron);
            border-bottom: 1px solid var(--iron);
            padding: 3.5rem clamp(1.5rem, 5vw, 4rem);
            text-align: center;
        }

        .support-inner { max-width: var(--wrap); margin: 0 auto; }

        .dmt-support-title {
            margin-bottom: 1rem;
            color: #ead6bf;
            font-family: var(--font-cond);
            font-size: clamp(1.8rem, 3.8vw, 3.2rem);
            font-weight: 800;
            letter-spacing: 0.08em;
            line-height: 1;
            text-transform: uppercase;
        }

        .support-sub {
            font-family: var(--font-mono);
            font-size: .78rem;
            letter-spacing: .08em;
            color: var(--fog);
            margin-bottom: 2rem;
            max-width: 520px;
            margin-left: auto;
            margin-right: auto;
        }

        /* ═══════════════════════════════════════
           FOOTER
        ═══════════════════════════════════════ */
        footer {
            background: var(--void);
            border-top: 1px solid var(--iron);
            padding: 3rem clamp(1.5rem, 5vw, 4rem);
        }

        .footer-inner {
            max-width: var(--wrap);
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.8rem;
            text-align: center;
        }

        .footer-logo {
            font-family: var(--font-display);
            font-size: 1.9rem;
            letter-spacing: .2em;
            text-transform: uppercase;
            color: var(--blood);
        }
        .footer-logo span { color: var(--ghost); }

        .footer-links {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0;
        }
        .footer-links a {
            font-family: var(--font-mono);
            font-size: .68rem;
            letter-spacing: .2em;
            text-transform: uppercase;
            color: var(--fog);
            text-decoration: none;
            padding: 0 1.4rem;
            transition: color .2s;
        }
        .footer-links a:hover { color: var(--bone); }
        .footer-links a + a {
            border-left: 1px solid var(--iron);
        }

        .footer-copy {
            font-family: var(--font-mono);
            font-size: .58rem;
            letter-spacing: .15em;
            color: var(--ghost);
        }

        /* ═══════════════════════════════════════
           REVEAL ANIMATIONS
        ═══════════════════════════════════════ */
        .reveal {
            opacity: 0;
            transform: translateY(22px);
            transition: opacity .65s ease, transform .65s ease;
        }
        .reveal.in { opacity: 1; transform: none; }
        .d1 { transition-delay: .1s; }
        .d2 { transition-delay: .2s; }
        .d3 { transition-delay: .3s; }
        .d4 { transition-delay: .4s; }

        /* ═══════════════════════════════════════
           RESPONSIVE
        ═══════════════════════════════════════ */
        @media (max-width: 960px) {
            .features-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 560px) {
            .features-grid { grid-template-columns: 1fr; }
        }

        /* Servers section — mobile */
        @media (max-width: 520px) {
            .server-card { padding: 2rem 1.4rem; }
            .srv-name { font-size: 1.35rem; }
            .connect-row, .full-row {
                padding: .75rem .9rem;
                gap: .6rem;
            }
            .c-value { font-size: .9rem; }
            .c-full  { font-size: .72rem; }
            .copy-btn {
                font-size: .54rem;
                padding: .35rem .65rem;
            }
        }
        @media (max-width: 380px) {
            .connect-row, .full-row {
                flex-wrap: wrap;
            }
            .c-label  { order: 1; }
            .c-value, .c-full {
                order: 2;
                width: 100%;
                margin-top: .15rem;
            }
            .copy-btn {
                order: 3;
                margin-left: auto;
                margin-top: .4rem;
            }
        }

        @media (max-width: 760px) {
            .nav-links { display: none; }
            .hamburger { display: flex; }

            .nav-links.open {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                position: fixed;
                top: 62px;
                left: 0; right: 0;
                background: rgba(6,6,6,.97);
                padding: 2rem clamp(1.5rem, 5vw, 3rem);
                gap: 1.6rem;
                border-bottom: 1px solid var(--iron);
            }
        }
        /* ═══════════════════════════════════════
   DMT HERO REBUILD
═══════════════════════════════════════ */

#hero {
    min-height: 100svh;
    justify-content: flex-end;
    isolation: isolate;
    background: #080403;
    padding: 100px clamp(1.5rem, 6vw, 5rem) 7.5rem;
}

.dmt-hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.01);
    filter:
        brightness(0.55)
        saturate(0.75)
        contrast(1.15);
}

.dmt-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            rgba(4, 2, 1, 0.04) 0%,
            rgba(4, 2, 1, 0.06) 45%,
            rgba(7, 3, 2, 0.55) 72%,
            rgba(7, 3, 2, 0.96) 100%
        ),
        linear-gradient(
            90deg,
            rgba(5, 2, 1, 0.82) 0%,
            rgba(5, 2, 1, 0.45) 33%,
            transparent 62%
        );
}

#hero #hero-canvas {
    z-index: 2;
    pointer-events: none;
}

#hero .dmt-hero-content {
    position: relative;
    z-index: 3;
    width: min(680px, 100%);
    max-width: 680px;
    margin-right: auto;
    text-align: left;
    animation: dmt-content-reveal 0.9s ease-out both;
}

#hero .hero-actions {
    justify-content: flex-start;
}

.dmt-hero-logo {
    display: block;
    width: clamp(160px, 15vw, 230px);
    height: auto;
    margin: 0 0 1.25rem;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.8));
}

.dmt-hero-kicker {
    margin-bottom: 0.45rem;
    color: #f0dfc9;
    font-family: var(--font-cond);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}

.dmt-hero-summary {
    margin-bottom: 1.6rem;
    color: #c9aa8d;
    font-family: var(--font-mono);
    font-size: clamp(0.68rem, 1.4vw, 0.82rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

#hero .btn-primary {
    background: #8f2718;
    border-color: #b14321;
    color: #fff4e5;
}

#hero .btn-primary:hover {
    background: #d45b22;
    border-color: #e57832;
}

@keyframes dmt-content-reveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 701px) {
    #hero .dmt-hero-content {
        margin-bottom: clamp(4rem, 9vh, 7rem);
    }
}

@media (max-width: 700px) {
    #hero {
        min-height: 100svh;
        padding: 90px 1.25rem 4.5rem;
    }

    .dmt-hero-video {
        object-position: center center;
    }

    .dmt-hero-kicker {
        letter-spacing: 0.16em;
    }

    .dmt-hero-summary {
        line-height: 1.7;
    }

    #hero .hero-actions {
        width: 100%;
        gap: 0.7rem;
    }

    #hero .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    #hero .scroll-cue {
        display: none;
    }
    .dmt-hero-logo {
    width: 145px;
    margin-bottom: 1rem;
    }
}
/* ═══════════════════════════════════════
   DMT MONITOR ENTRY
═══════════════════════════════════════ */

/* Hide the intro immediately after it has been viewed this session */

html.dmt-intro-seen .monitor-entry {
    display: none;
}

/* Full-screen intro container */

.monitor-entry {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: grid;
    place-items: center;

    overflow: hidden;

    background: #020101;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

/* Abandoned room scene */

.monitor-scene {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;

    width: min(100vw, calc(100svh * 1.7793));
    aspect-ratio: 2048 / 1151;

    overflow: hidden;

    transform: translate(-50%, -50%) scale(1);
    transform-origin: 50% 53%;

    transition:
        transform 1.15s cubic-bezier(0.72, 0, 0.2, 1),
        filter 0.7s ease;
}

/* Darkens the outer edges of the room */

.monitor-scene::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 8;

    pointer-events: none;

    background:
        linear-gradient(
            to right,
            rgba(2, 1, 1, 0.96) 0%,
            rgba(2, 1, 1, 0.78) 6%,
            rgba(2, 1, 1, 0.28) 13%,
            transparent 22%,
            transparent 78%,
            rgba(2, 1, 1, 0.28) 87%,
            rgba(2, 1, 1, 0.78) 94%,
            rgba(2, 1, 1, 0.96) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(2, 1, 1, 0.22) 0%,
            transparent 14%,
            transparent 84%,
            rgba(2, 1, 1, 0.35) 100%
        );
}

.monitor-room-image {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: fill;

    user-select: none;
    pointer-events: none;
}

/* Video screen positioned over the monitor in the room image */

.monitor-live-screen {
    position: absolute;

    left: 31.55%;
    top: 33.8%;

    width: 36.65%;
    height: 37.65%;

    overflow: hidden;

    background: #020304;
    border-radius: 0.3%;

    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.75),
        0 0 18px rgba(104, 142, 162, 0.1);
}

.monitor-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    filter:
        brightness(0.54)
        saturate(0.7)
        contrast(1.18);
}

/* Monitor glass, shadow, and edge treatment */

.monitor-live-screen::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 2;

    pointer-events: none;

    background:
        radial-gradient(
            circle at center,
            transparent 38%,
            rgba(0, 0, 0, 0.42) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(115, 151, 167, 0.07),
            transparent 30%,
            rgba(0, 0, 0, 0.45)
        );
}

/* Fine CRT scanlines */

.monitor-live-screen::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 3;

    pointer-events: none;

    opacity: 0.28;

    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.055) 0,
            rgba(255, 255, 255, 0.055) 1px,
            rgba(0, 0, 0, 0.02) 1px,
            rgba(0, 0, 0, 0.02) 3px
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 48%,
            transparent 100%
        );
}

/* Moving noise layer */

.monitor-live-screen .screen-noise {
    position: absolute;
    inset: 0;
    z-index: 4;

    pointer-events: none;

    opacity: 0.08;

    background-image:
        radial-gradient(
            rgba(255, 255, 255, 0.18) 0.6px,
            transparent 0.8px
        );

    background-size: 4px 4px;
    mix-blend-mode: soft-light;

    animation:
        screen-noise 0.18s steps(2) infinite;
}

/* Horizontal CRT line rolling down the monitor */

.monitor-live-screen .screen-glitch {
    position: absolute;

    top: -12%;
    left: 0;
    z-index: 7;

    width: 100%;
    height: 10%;

    pointer-events: none;

    opacity: 0.45;

    background:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(205, 231, 238, 0.08) 35%,
            rgba(205, 231, 238, 0.24) 48%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(205, 231, 238, 0.12) 53%,
            transparent 100%
        );

    filter: blur(1px);

    animation:
        monitor-scan-roll 4.5s linear infinite;
}

/* Irregular monitor flicker */

.monitor-flicker {
    position: absolute;
    inset: 0;
    z-index: 6;

    pointer-events: none;

    background: rgba(185, 220, 230, 0.12);
    mix-blend-mode: screen;

    animation:
        monitor-power-flicker 3.8s infinite;
}

/* Logo and entry button */

.monitor-screen-content {
    position: absolute;
    inset: 0;
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: clamp(0.45rem, 1vw, 1rem);

    transition: opacity 0.12s ease;
}

.monitor-logo {
    display: block;

    width: clamp(72px, 8vw, 145px);
    height: auto;

    filter:
        drop-shadow(0 10px 18px rgba(0, 0, 0, 0.95));
}

.monitor-enter {
    min-width: clamp(155px, 15vw, 240px);

    padding:
        clamp(0.55rem, 0.8vw, 0.85rem)
        1rem;

    border:
        1px solid rgba(201, 76, 35, 0.9);

    background:
        rgba(104, 27, 15, 0.88);

    color: #fff0df;

    font-family: var(--font-cond);
    font-size: clamp(0.58rem, 0.7vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    cursor: pointer;

    box-shadow:
        0 0 18px rgba(152, 47, 20, 0.18),
        inset 0 0 12px rgba(255, 111, 52, 0.05);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.monitor-enter:hover {
    transform: translateY(-1px);

    background:
        rgba(174, 57, 25, 0.96);

    border-color: #e78048;

    box-shadow:
        0 0 25px rgba(199, 64, 26, 0.35),
        inset 0 0 12px rgba(255, 143, 81, 0.08);
}

.monitor-enter:focus-visible {
    outline: 2px solid #e78048;
    outline-offset: 3px;
}

/* Intro transition states */

.monitor-entry.is-entering .monitor-logo,
.monitor-entry.is-entering .monitor-enter {
    opacity: 0;
    pointer-events: none;
}

.monitor-entry.is-gone {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Monitor flicker animation */

@keyframes monitor-power-flicker {
    0%,
    8%,
    10%,
    14%,
    55%,
    57%,
    84%,
    100% {
        opacity: 0.08;
    }

    9% {
        opacity: 0.75;
    }

    11% {
        opacity: 0.02;
    }

    13% {
        opacity: 0.42;
    }

    56% {
        opacity: 0.5;
    }

    85% {
        opacity: 0.65;
    }

    86% {
        opacity: 0.04;
    }
}

/* Noise movement */

@keyframes screen-noise {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-1px, 1px);
    }

    50% {
        transform: translate(1px, -1px);
    }

    75% {
        transform: translate(1px, 1px);
    }

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

/* Rolling horizontal line */

@keyframes monitor-scan-roll {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(1120%);
    }
}

/* Mobile adjustments */

@media (max-width: 700px) {
    .monitor-logo {
        width: clamp(55px, 14vw, 90px);
    }

    .monitor-enter {
        min-width: 145px;
        font-size: 0.55rem;
    }
}

/* Reduced-motion accessibility */

@media (prefers-reduced-motion: reduce) {
    .monitor-scene,
    .monitor-entry,
    .monitor-screen-content {
        transition-duration: 0.01ms;
    }

    .monitor-flicker,
    .screen-noise,
    .screen-glitch {
        animation: none;
    }
}
/* ═══════════════════════════════════════
   CRT POWER-CYCLE TRANSITION
═══════════════════════════════════════ */

.monitor-screen-content {
    transition: opacity 0.12s ease;
}

/* Full-screen blackout */
.monitor-entry::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 70;
    pointer-events: none;
    background: #000;
    opacity: 0;
}

/* Bright CRT shutdown line */
.monitor-entry::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 80;
    width: 100vw;
    height: 2px;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0);
    background: rgba(238, 247, 244, 0.98);
    box-shadow:
        0 0 8px rgba(238, 247, 244, 0.95),
        0 0 24px rgba(190, 218, 211, 0.7),
        0 0 60px rgba(255, 255, 255, 0.4);
}

.monitor-entry.is-entering .monitor-screen-content {
    opacity: 0;
    pointer-events: none;
}

/* The image inside the physical monitor powers down */
.monitor-entry.is-entering .monitor-live-screen {
    transform-origin: center center;
    animation: crt-monitor-off 0.62s ease-in forwards;
}

/* The abandoned room loses power */
.monitor-entry.is-entering .monitor-scene {
    animation: crt-room-off 0.82s ease forwards;
}

/* Blackout briefly covers the viewport */
.monitor-entry.is-entering::after {
    animation: crt-blackout 1.25s linear forwards;
}

/* Classic bright horizontal CRT line */
.monitor-entry.is-entering::before {
    animation: crt-shutdown-line 1.05s ease-out forwards;
}

/* Reveal the website underneath */
.monitor-entry.is-entering {
    animation: crt-entry-away 1.3s ease forwards;
}

/* Main homepage begins as a narrow illuminated line */
body.site-opening #hero {
    opacity: 0.3;
    clip-path: inset(49.7% 0 49.7% 0);
    filter: brightness(3) contrast(1.25) saturate(0.45);
}

/* Navigation stays hidden until the screen returns */
body.site-opening #navbar {
    opacity: 0;
}

body.site-opening.site-revealed #hero {
    animation: crt-site-on 0.58s cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

body.site-opening.site-revealed #navbar {
    animation: crt-nav-return 0.3s ease 0.38s forwards;
}

@keyframes crt-monitor-off {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: brightness(1) contrast(1);
    }

    8% {
        transform: translateX(-2px) scale(1);
        filter: brightness(1.7) contrast(1.15);
    }

    13% {
        transform: translateX(2px) scale(1);
        filter: brightness(0.32) contrast(1.35);
    }

    20% {
        transform: translateX(-1px) scale(1);
        filter: brightness(1.35) contrast(1.12);
    }

    42% {
        opacity: 1;
        transform: translateX(0) scaleX(1.02) scaleY(0.18);
        filter: brightness(3.5) contrast(1.4);
    }

    68% {
        opacity: 1;
        transform: scaleX(0.82) scaleY(0.012);
        filter: brightness(5) contrast(1.7);
    }

    100% {
        opacity: 0;
        transform: scaleX(0) scaleY(0);
        filter: brightness(0);
    }
}

@keyframes crt-room-off {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: brightness(1);
    }

    48% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.012);
        filter: brightness(0.7);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.025);
        filter: brightness(0);
    }
}

@keyframes crt-blackout {
    0%,
    30% {
        opacity: 0;
    }

    42%,
    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes crt-shutdown-line {
    0%,
    30% {
        opacity: 0;
        transform: translate(-50%, -50%) scaleX(0);
    }

    43% {
        opacity: 1;
        transform: translate(-50%, -50%) scaleX(1);
    }

    58% {
        opacity: 1;
        transform: translate(-50%, -50%) scaleX(0.16);
    }

    72% {
        opacity: 0;
        transform: translate(-50%, -50%) scaleX(0);
    }

    100% {
        opacity: 0;
    }
}

@keyframes crt-entry-away {
    0%,
    68% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes crt-site-on {
    0% {
        opacity: 0.3;
        clip-path: inset(49.7% 0 49.7% 0);
        filter: brightness(3) contrast(1.25) saturate(0.45);
    }

    18% {
        opacity: 0.75;
        clip-path: inset(45% 0 45% 0);
    }

    48% {
        opacity: 1;
        clip-path: inset(22% 0 22% 0);
        filter: brightness(1.35) contrast(1.1);
    }

    100% {
        opacity: 1;
        clip-path: inset(0);
        filter: brightness(1) contrast(1) saturate(1);
    }
}

@keyframes crt-nav-return {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .monitor-entry.is-entering,
    .monitor-entry.is-entering::before,
    .monitor-entry.is-entering::after,
    .monitor-entry.is-entering .monitor-scene,
    .monitor-entry.is-entering .monitor-live-screen,
    body.site-opening.site-revealed #hero,
    body.site-opening.site-revealed #navbar {
        animation-duration: 0.01ms;
    }
}
/* ═══════════════════════════════════════
   DMT NAVIGATION REFINEMENT
═══════════════════════════════════════ */

nav {
    height: 68px;
    padding: 0 clamp(1rem, 4vw, 3rem);
    background: rgba(6, 4, 3, 0.62);
    border-bottom: 1px solid rgba(138, 44, 25, 0.28);
}

nav.scrolled {
    background: rgba(6, 4, 3, 0.96);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #ead8c3;
    font-family: var(--font-cond);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-logo img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.8));
}

.nav-links {
    gap: clamp(1.3rem, 3vw, 2.5rem);
}

.nav-links a {
    color: #ae9480;
    font-family: var(--font-cond);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.nav-links a:hover {
    color: #f0ddc7;
}

.nav-cta {
    padding: 0.5rem 1.15rem !important;
    border-color: rgba(177, 67, 35, 0.85);
    background: rgba(113, 30, 17, 0.55);
    color: #fff0df !important;
}

.nav-cta:hover {
    border-color: #dd713d !important;
    background: #a43e21 !important;
    color: #fff8ef !important;
}

@media (max-width: 760px) {
    nav {
        height: 64px;
    }

    .nav-logo img {
        width: 40px;
        height: 40px;
    }

    .nav-logo span {
        display: none;
    }

    .nav-links.open {
        top: 64px;
    }
}
/* ═══════════════════════════════════════
   DMT HERO REFINEMENT
═══════════════════════════════════════ */

#hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    padding:
        110px
        clamp(1.5rem, 6vw, 5rem)
        clamp(7rem, 13vh, 10rem);
    background: #050302;
    text-align: left;
    isolation: isolate;
}

.dmt-hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    filter:
        brightness(0.63)
        saturate(0.78)
        contrast(1.13);
}

.dmt-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            rgba(3, 2, 1, 0.18) 0%,
            rgba(3, 2, 1, 0.08) 35%,
            rgba(5, 2, 1, 0.56) 72%,
            rgba(5, 2, 1, 0.96) 100%
        ),
        linear-gradient(
            to right,
            rgba(4, 2, 1, 0.9) 0%,
            rgba(4, 2, 1, 0.56) 34%,
            rgba(4, 2, 1, 0.12) 67%,
            transparent 100%
        );
}

#hero #hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#hero .dmt-hero-content {
    position: relative;
    z-index: 3;
    width: min(680px, 100%);
    margin: 0;
    text-align: left;
}

.dmt-hero-logo {
    display: block;
    width: clamp(220px, 24vw, 360px);
    height: auto;
    margin: 0 0 1rem;
    filter:
        drop-shadow(0 14px 30px rgba(0, 0, 0, 0.95))
        drop-shadow(0 0 18px rgba(139, 43, 20, 0.18));
}

.dmt-hero-kicker {
    margin-bottom: 0.45rem;
    color: #f1deca;
    font-family: var(--font-cond);
    font-size: clamp(0.95rem, 1.6vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95);
}

.dmt-hero-summary {
    max-width: 590px;
    margin-bottom: 1.7rem;
    color: #bba38e;
    font-family: var(--font-body);
    font-size: clamp(0.92rem, 1.3vw, 1.05rem);
    line-height: 1.65;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.95);
}

#hero .hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

#hero .btn {
    min-height: 46px;
    justify-content: center;
}

#hero .btn-primary {
    background: #8f2718;
    border-color: #bb4827;
    color: #fff3e6;
}

#hero .btn-primary:hover {
    background: #bd4823;
    border-color: #e1743c;
}

.dmt-hero-meta {
    position: absolute;
    right: clamp(1.5rem, 5vw, 4rem);
    bottom: clamp(2rem, 5vh, 3.5rem);
    z-index: 3;
    display: flex;
    gap: 1px;
    border: 1px solid rgba(134, 74, 48, 0.28);
    background: rgba(4, 2, 1, 0.5);
    backdrop-filter: blur(8px);
}

.hero-meta-item {
    min-width: 135px;
    padding: 0.8rem 1rem;
    border-right: 1px solid rgba(134, 74, 48, 0.28);
}

.hero-meta-item:last-child {
    border-right: 0;
}

.hero-meta-item span,
.hero-meta-item strong {
    display: block;
}

.hero-meta-item span {
    margin-bottom: 0.2rem;
    color: #7f6858;
    font-family: var(--font-mono);
    font-size: 0.52rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-meta-item strong {
    color: #d8c2aa;
    font-family: var(--font-cond);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (max-width: 850px) {
    #hero {
        padding-bottom: 5rem;
    }

    .dmt-hero-meta {
        display: none;
    }
}

@media (max-width: 700px) {
    #hero {
        align-items: flex-end;
        padding:
            90px
            1.25rem
            3.5rem;
    }

    .dmt-hero-video {
        object-position: center;
    }

    .dmt-hero-logo {
        width: min(245px, 70vw);
    }

    .dmt-hero-kicker {
        letter-spacing: 0.15em;
    }

    .dmt-hero-summary {
        max-width: 100%;
    }

    #hero .hero-actions {
        width: 100%;
    }

    #hero .hero-actions .btn {
        width: 100%;
    }
}
/* ═══════════════════════════════════════
   DMT HERO ACTION HIERARCHY
═══════════════════════════════════════ */

#hero {
    align-items: flex-start;
    justify-content: flex-start;
    padding:
        110px
        clamp(1.5rem, 6vw, 5rem)
        clamp(4rem, 8vh, 6rem);
}

#hero .dmt-hero-content {
    width: min(720px, 100%);
    margin: 0 auto 0 0;
    padding: clamp(1.4rem, 2.4vw, 2rem);
    background:
        linear-gradient(
            135deg,
            rgba(7, 4, 3, 0.9),
            rgba(7, 4, 3, 0.68)
        );
    border-left: 2px solid rgba(174, 59, 29, 0.85);
    box-shadow:
        0 22px 70px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(212, 115, 67, 0.08);
    backdrop-filter: blur(8px);
}

.dmt-hero-logo {
    width: clamp(135px, 13vw, 190px);
    margin-bottom: 0.8rem;
}

.dmt-hero-kicker {
    margin-bottom: 0.35rem;
    color: #c6845f;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
}

.dmt-hero-title {
    margin-bottom: 0.75rem;
    color: #f1dfcb;
    font-family: var(--font-cond);
    font-size: clamp(1.45rem, 2.8vw, 2.4rem);
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
}

.dmt-hero-summary {
    max-width: 660px;
    margin-bottom: 1.5rem;
    color: #bca38e;
    font-size: clamp(0.92rem, 1.15vw, 1rem);
    line-height: 1.58;
    letter-spacing: 0.01em;
}

.dmt-primary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.dmt-action-card {
    display: flex;
    min-height: 135px;
    flex-direction: column;
    justify-content: center;
    padding: 1.1rem 1.25rem;
    border: 1px solid transparent;
    color: #fff3e5;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.dmt-action-card:hover {
    transform: translateY(-2px);
}

.dmt-action-discord {
    border-color: rgba(207, 67, 36, 0.95);
    background: rgba(112, 27, 16, 0.28);
    box-shadow:
        inset 0 0 24px rgba(152, 42, 20, 0.08),
        0 12px 30px rgba(0, 0, 0, 0.22);
}

.dmt-action-discord:hover {
    border-color: #ef7843;
    background: rgba(151, 42, 20, 0.42);
    box-shadow:
        inset 0 0 28px rgba(198, 61, 27, 0.12),
        0 16px 38px rgba(116, 28, 14, 0.3);
}

.dmt-action-server {
    border-color: rgba(198, 116, 66, 0.85);
    background:
        linear-gradient(
            145deg,
            rgba(92, 42, 19, 0.32),
            rgba(42, 20, 11, 0.42)
        );

    box-shadow:
        inset 0 0 24px rgba(176, 89, 38, 0.07),
        0 12px 30px rgba(0, 0, 0, 0.22);
}

.dmt-action-server:hover {
    border-color: #e48a4e;
    background:
        linear-gradient(
            145deg,
            rgba(132, 57, 24, 0.46),
            rgba(63, 27, 13, 0.5)
        );

    box-shadow:
        inset 0 0 28px rgba(211, 108, 39, 0.11),
        0 16px 38px rgba(110, 51, 16, 0.28);
}
.dmt-hero-support-link {
    min-height: 46px;
    border-color: rgba(142, 94, 67, 0.38);
    background: rgba(5, 3, 2, 0.3);
    color: #aa927d;
}

.dmt-hero-support-link::after {
    color: #ae5f37;
}

.dmt-hero-support-link:hover {
    color: #ead4bd;
    border-color: rgba(187, 91, 49, 0.72);
    background: rgba(82, 30, 15, 0.28);
}

.dmt-action-label {
    margin-bottom: 0.25rem;
    color: rgba(255, 225, 198, 0.7);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.dmt-action-card strong {
    margin-bottom: 0.3rem;
    font-family: var(--font-cond);
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dmt-action-card small {
    color: rgba(255, 235, 215, 0.74);
    font-size: 0.76rem;
    line-height: 1.45;
}

.dmt-server-link {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.1rem;
    border: 1px solid rgba(176, 119, 83, 0.55);
    background: rgba(5, 3, 2, 0.42);
    color: #dbc4ad;
    font-family: var(--font-cond);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.dmt-server-link::after {
    content: "→";
    margin-left: 1rem;
    color: #df7139;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.dmt-server-link:hover {
    color: #fff0df;
    border-color: #d46b38;
    background: rgba(105, 41, 18, 0.34);
    transform: translateY(-1px);
}

.dmt-server-link:hover::after {
    transform: translateX(4px);
}

@media (max-width: 700px) {
    #hero {
        padding:
            88px
            1rem
            1.5rem;
    }

    #hero .dmt-hero-content {
        padding: 1.15rem;
    }

    .dmt-hero-logo {
        width: 125px;
    }

    .dmt-primary-actions {
        grid-template-columns: 1fr;
    }

    .dmt-action-card {
        min-height: 112px;
    }
}
/* ═══════════════════════════════════════
   DMT SERVER INFORMATION
═══════════════════════════════════════ */

.dmt-server-section {
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(112, 34, 17, 0.12),
            transparent 35%
        ),
        #0d0b09;
}

.dmt-server-heading {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 520px);
    align-items: end;
    gap: 3rem;
    margin-bottom: 2.4rem;
}

.dmt-server-heading .s-title {
    margin-bottom: 0;
}

.dmt-server-intro {
    color: #9f8976;
    font-size: 0.95rem;
    line-height: 1.7;
}

.dmt-server-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    border: 1px solid rgba(167, 76, 40, 0.35);
    background: rgba(12, 8, 6, 0.82);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.42),
        inset 0 0 0 1px rgba(255, 170, 110, 0.025);
}

.dmt-server-main {
    padding: clamp(2rem, 4vw, 3.5rem);
    border-right: 1px solid rgba(167, 76, 40, 0.25);
}

.dmt-server-map {
    margin-bottom: 0.5rem;
    color: #c56b3c;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.dmt-server-name {
    margin-bottom: 1.2rem;
    color: #ead6bf;
    font-family: var(--font-cond);
    font-size: clamp(1.45rem, 2.6vw, 2.35rem);
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1;
    text-transform: uppercase;
}

.dmt-server-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(167, 76, 40, 0.2);
}

.dmt-server-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 1.4rem;
    list-style: none;
}

.dmt-server-features li {
    position: relative;
    padding-left: 1.2rem;
    color: #aa9380;
    font-size: 0.88rem;
}

.dmt-server-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 5px;
    height: 5px;
    background: #b64a26;
    box-shadow: 0 0 8px rgba(182, 74, 38, 0.45);
}

.dmt-connect-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vw, 3.5rem);
    background:
        linear-gradient(
            145deg,
            rgba(92, 31, 17, 0.16),
            rgba(7, 5, 4, 0.2)
        );
}

.dmt-connect-label {
    margin-bottom: 0.65rem;
    color: #a98c75;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.dmt-connect-address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 1rem;
    border: 1px solid rgba(178, 88, 46, 0.42);
    background: rgba(3, 2, 2, 0.58);
}

.dmt-connect-address span {
    color: #ead4bd;
    font-family: var(--font-mono);
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.dmt-copy-main {
    border-color: rgba(193, 82, 42, 0.75);
    color: #d8b39b;
}

.dmt-connect-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 1.4rem;
    border: 1px solid rgba(142, 75, 45, 0.24);
}

.dmt-connect-details div {
    padding: 0.8rem;
    border-right: 1px solid rgba(142, 75, 45, 0.24);
}

.dmt-connect-details div:last-child {
    border-right: 0;
}

.dmt-connect-details span,
.dmt-connect-details strong {
    display: block;
}

.dmt-connect-details span {
    margin-bottom: 0.2rem;
    color: #716054;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.dmt-connect-details strong {
    color: #cdb49d;
    font-family: var(--font-cond);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
}

.dmt-server-discord {
    width: 100%;
    justify-content: center;
}

@media (max-width: 850px) {
    .dmt-server-heading,
    .dmt-server-panel {
        grid-template-columns: 1fr;
    }

    .dmt-server-heading {
        gap: 1rem;
    }

    .dmt-server-main {
        border-right: 0;
        border-bottom: 1px solid rgba(167, 76, 40, 0.25);
    }
}

@media (max-width: 560px) {
    .dmt-server-features,
    .dmt-connect-details {
        grid-template-columns: 1fr;
    }

    .dmt-connect-details div {
        border-right: 0;
        border-bottom: 1px solid rgba(142, 75, 45, 0.24);
    }

    .dmt-connect-details div:last-child {
        border-bottom: 0;
    }

    .dmt-connect-address {
        align-items: stretch;
        flex-direction: column;
    }

    .dmt-copy-main {
        width: 100%;
    }
}
/* ═══════════════════════════════════════
   DMT SUPPORT SECTION
═══════════════════════════════════════ */

.dmt-support-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 12% 45%,
            rgba(142, 42, 19, 0.18),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #0c0806,
            #080605 62%,
            #0e0906
        );
}

.dmt-support-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            110deg,
            transparent 0%,
            rgba(178, 56, 24, 0.035) 48%,
            transparent 76%
        );
}

.dmt-support-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(460px, 1.1fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.dmt-support-content {
    padding-left: clamp(1.2rem, 2.5vw, 2rem);
    border-left: 2px solid rgba(188, 66, 31, 0.8);
}

.dmt-support-title {
    margin-bottom: 1rem;
    color: #ead6bf;
    font-family: var(--font-cond);
    font-size: clamp(2.4rem, 5.5vw, 5rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 0.92;
    text-transform: uppercase;
}

.dmt-support-intro {
    max-width: 580px;
    margin-bottom: 1.6rem;
    color: #a9917d;
    font-size: 0.98rem;
    line-height: 1.75;
}

.dmt-support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.dmt-support-main {
    min-width: 190px;
    justify-content: center;
    background: #9f321c;
    border-color: #c95830;
}

.dmt-support-main:hover {
    background: #c34c25;
    border-color: #ef8148;
}

.dmt-support-note {
    max-width: 560px;
    color: #725e50;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    line-height: 1.7;
    text-transform: uppercase;
}

.dmt-funding-grid {
    display: grid;
    gap: 1px;
    border: 1px solid rgba(155, 68, 36, 0.32);
    background: rgba(155, 68, 36, 0.25);
}

.dmt-funding-card {
    position: relative;
    min-height: 150px;
    padding: 1.5rem 1.6rem 1.5rem 5rem;
    background: rgba(8, 5, 4, 0.92);
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.dmt-funding-card:hover {
    z-index: 1;
    transform: translateX(-4px);
    background: rgba(20, 10, 7, 0.97);
}

.dmt-funding-number {
    position: absolute;
    left: 1.4rem;
    top: 1.25rem;
    color: rgba(179, 66, 31, 0.42);
    font-family: var(--font-display);
    font-size: 2.7rem;
    line-height: 1;
}

.dmt-funding-card h3 {
    margin-bottom: 0.45rem;
    color: #ddc5ae;
    font-family: var(--font-cond);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dmt-funding-card p {
    color: #8e7867;
    font-size: 0.87rem;
    line-height: 1.65;
}

@media (max-width: 850px) {
    .dmt-support-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .dmt-support-content {
        padding-left: 1rem;
    }

    .dmt-support-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .dmt-funding-card {
        padding-left: 4.2rem;
    }

    .dmt-funding-number {
        left: 1rem;
    }
}
/* ═══════════════════════════════════════
   DMT TEAM SECTION
═══════════════════════════════════════ */

.dmt-team-section {
    position: relative;
    overflow: hidden;

    padding:
        clamp(4.5rem, 7vw, 6.5rem)
        clamp(1.25rem, 4vw, 3rem);

    background:
        radial-gradient(
            circle at 85% 18%,
            rgba(125, 39, 20, 0.12),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #090807 0%,
            #0d0a08 50%,
            #080706 100%
        );
}

.dmt-team-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    opacity: 0.12;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.014) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.014) 1px,
            transparent 1px
        );

    background-size: 56px 56px;
}

.dmt-team-section .wrap {
    position: relative;
    z-index: 1;
}

.dmt-team-heading {
    display: grid;
    grid-template-columns:
        minmax(280px, 0.85fr)
        minmax(320px, 1.15fr);

    align-items: end;
    gap: clamp(2rem, 5vw, 5rem);

    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.dmt-team-heading h2 {
    margin: 0;

    color: #ead6bf;

    font-family: var(--font-cond);
    font-size: clamp(2.2rem, 4.4vw, 3.8rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 0.95;
    text-transform: uppercase;
}

.dmt-team-heading > p {
    max-width: 650px;
    margin: 0;

    color: #9e8774;

    font-size: 0.92rem;
    line-height: 1.7;
}

/* Centred wrapping layout */

.dmt-team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;

    gap: 1rem;
}

.dmt-team-card {
    position: relative;
    overflow: hidden;

    display: flex;
    flex: 0 1 calc((100% - 4rem) / 5);
    flex-direction: column;

    min-width: 180px;
    max-width: 230px;

    background:
        linear-gradient(
            180deg,
            rgba(17, 12, 9, 0.98),
            rgba(8, 7, 6, 0.98)
        );

    border: 1px solid rgba(145, 67, 38, 0.3);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.dmt-team-card:hover {
    transform: translateY(-5px);

    border-color: rgba(200, 84, 43, 0.72);

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.38),
        0 0 22px rgba(139, 44, 20, 0.08);
}

.dmt-team-image {
    position: relative;
    overflow: hidden;

    width: 100%;
    aspect-ratio: 1 / 1;

    background: #050505;

    border-bottom:
        1px solid rgba(145, 67, 38, 0.28);
}

.dmt-team-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 66%,
            rgba(7, 5, 4, 0.55) 100%
        );
}

.dmt-team-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    filter:
        saturate(0.9)
        contrast(1.04)
        brightness(0.92);

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.dmt-team-card:hover .dmt-team-image img {
    transform: scale(1.035);

    filter:
        saturate(1)
        contrast(1.05)
        brightness(1);
}

.dmt-team-details {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 1.05rem 1.1rem 1.2rem;
}

.dmt-team-role {
    margin: 0 0 0.4rem;

    color: #d65c31;

    font-family: var(--font-mono);
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.dmt-team-details h3 {
    margin: 0 0 0.55rem;

    color: #e4cfb8;

    font-family: var(--font-cond);
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.dmt-team-details > p:last-child {
    display: block;
    overflow: visible;

    margin: 0;

    color: #927c6a;

    font-size: 0.77rem;
    line-height: 1.55;
}

/* Brian the Bear */

.dmt-mascot-card {
    border-color: rgba(255, 40, 145, 0.32);

    background:
        radial-gradient(
            circle at 50% 18%,
            rgba(255, 32, 140, 0.08),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            rgba(17, 10, 14, 0.98),
            rgba(8, 6, 7, 0.98)
        );
}

.dmt-mascot-card:hover {
    border-color: rgba(255, 52, 158, 0.68);

    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.4),
        0 0 26px rgba(255, 35, 145, 0.1);
}

.dmt-mascot-card .dmt-team-role {
    color: #ff3b9d;
}

.dmt-mascot-card .dmt-team-image img {
    object-fit: cover;
    padding: 0;
    transform: scale(1.1);
}

.dmt-mascot-card:hover .dmt-team-image img {
    transform: scale(1.14);
}

/* Responsive */

@media (max-width: 1100px) {
    .dmt-team-card {
        flex-basis: calc((100% - 2rem) / 3);
        max-width: 300px;
    }
}

@media (max-width: 760px) {
    .dmt-team-heading {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .dmt-team-card {
        flex-basis: calc((100% - 1rem) / 2);
        max-width: 330px;
    }
}

@media (max-width: 520px) {
    .dmt-team-section {
        padding:
            4rem
            1.25rem;
    }

    .dmt-team-card {
        flex-basis: 100%;
        width: 100%;
        max-width: 430px;
    }

    .dmt-team-details {
        padding: 1.15rem 1.2rem 1.3rem;
    }

    .dmt-team-details > p:last-child {
        font-size: 0.82rem;
    }
}

/* ═══════════════════════════════════════
   DMT FOOTER
═══════════════════════════════════════ */

.dmt-footer {
    position: relative;
    padding: clamp(3.5rem, 6vw, 5.5rem) 0 1.5rem;
    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(135, 40, 18, 0.1),
            transparent 30%
        ),
        #060504;
    border-top: 1px solid rgba(161, 68, 34, 0.32);
}

.dmt-footer-main {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, 430px);
    align-items: start;
    gap: clamp(4rem, 10vw, 10rem);
    padding-bottom: clamp(3rem, 5vw, 4.5rem);
}
.dmt-footer-brand {
    max-width: 540px;
}

.dmt-footer-community {
    width: 100%;
    max-width: 430px;
    justify-self: end;
}

.dmt-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: inherit;
    text-decoration: none;
}

.dmt-footer-logo img {
    width: 66px;
    height: 66px;
    object-fit: contain;
}

.dmt-footer-logo div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dmt-footer-logo strong {
    color: #ead6bf;
    font-family: var(--font-cond);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.dmt-footer-logo span {
    color: #b34c2b;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dmt-footer-brand > p {
    max-width: 450px;
    margin: 1.25rem 0 0;
    color: #806d5e;
    font-size: 0.86rem;
    line-height: 1.7;
}

.dmt-footer-label {
    margin: 0 0 1rem;
    color: #c95630;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.dmt-footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dmt-footer-nav a {
    margin-bottom: 0.8rem;
    color: #a58d7a;
    font-size: 0.84rem;
    line-height: 1.4;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.dmt-footer-nav a:hover {
    color: #ead6bf;
    transform: translateX(4px);
}

.dmt-footer-community > p:not(.dmt-footer-label) {
    max-width: 420px;
    margin: 0 0 1.25rem;
    color: #806d5e;
    font-size: 0.84rem;
    line-height: 1.7;
}

.dmt-footer-discord {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    width: 100%;
    max-width: 330px;
    padding: 0.8rem 1.2rem;
    color: #f2dfca;
    background: #a52d1d;
    border: 1px solid #d14b2d;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.dmt-footer-discord:hover {
    transform: translateY(-2px);
    background: #c13b25;
    border-color: #ee6a43;
}

.dmt-footer-support-link {
    display: inline-block;
    margin-top: 1rem;
    color: #9e765d;
    font-size: 0.76rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(158, 118, 93, 0.32);
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.dmt-footer-support-link:hover {
    color: #e0aa82;
    border-color: #e0aa82;
}

.dmt-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 84, 54, 0.2);
}

.dmt-footer-bottom p {
    margin: 0;
    color: #5f5147;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    line-height: 1.6;
    text-transform: uppercase;
}

@media (max-width: 850px) {
    .dmt-footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .dmt-footer-brand {
        max-width: 540px;
    }

    .dmt-footer-community {
        max-width: 540px;
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .dmt-footer-main {
        grid-template-columns: 1fr;
    }

    .dmt-footer-brand {
        grid-column: auto;
    }

    .dmt-footer-bottom {
        flex-direction: column;
    }

    .dmt-footer-discord {
        max-width: none;
    }
}
/* ═══════════════════════════════════════
   MOBILE WIDTH AND OVERFLOW FIX
═══════════════════════════════════════ */

@media (max-width: 620px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .wrap {
        width: 100%;
        max-width: 100%;
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .dmt-server-section,
    .dmt-support-section,
    .dmt-team-section,
    .dmt-footer {
        overflow: hidden;
    }

    .dmt-server-heading,
    .dmt-server-panel,
    .dmt-support-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .dmt-server-panel,
    .dmt-server-panel > *,
    .dmt-support-layout,
    .dmt-support-layout > *,
    .dmt-support-content,
    .dmt-funding-grid,
    .dmt-funding-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .dmt-server-panel > * {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .dmt-server-status {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .players-row {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
    }

    .dmt-server-features {
        grid-template-columns: 1fr;
    }

    .dmt-server-panel button,
    .dmt-server-panel .btn,
    .dmt-support-main {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .dmt-support-content {
        padding-left: 1rem;
    }

    .dmt-support-intro,
    .dmt-support-note,
    .dmt-funding-card p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .dmt-support-main {
        padding-right: 1rem;
        padding-left: 1rem;
        white-space: normal;
        text-align: center;
        line-height: 1.45;
    }
}
/* ═══════════════════════════════════════
   NAVIGATION RESPONSIVE FIX
═══════════════════════════════════════ */

@media (min-width: 821px) {
    #hamburger {
        display: none !important;
    }

    #nav-links,
    #nav-links.open {
        position: static !important;
        inset: auto !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: clamp(1.25rem, 2.5vw, 2.2rem) !important;
        width: auto !important;
        min-height: 0 !important;
        margin-left: auto !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    #nav-links a {
        width: auto !important;
        padding: 0.35rem 0 !important;
        color: #c8ad95;
        background: transparent !important;
        border: 0 !important;
        font-family: var(--font-cond);
        font-size: 0.83rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-decoration: none;
        text-transform: uppercase;
    }

    #nav-links a:hover {
        color: #f0d7bd;
    }
}

@media (max-width: 820px) {
    #hamburger {
        position: relative;
        z-index: 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        padding: 9px;
        margin-left: auto;
        background: transparent;
        border: 1px solid rgba(170, 73, 38, 0.45);
        cursor: pointer;
    }

    #nav-links {
        position: absolute;
        top: calc(100% + 8px);
        right: 1rem;
        left: 1rem;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: auto;
        padding: 0.35rem;
        background: rgba(7, 5, 4, 0.98);
        border: 1px solid rgba(174, 72, 37, 0.48);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        transition:
            opacity 0.2s ease,
            visibility 0.2s ease,
            transform 0.2s ease;
    }

    #nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    #nav-links a {
        display: block;
        width: 100%;
        padding: 1rem 1.1rem;
        color: #c4a78f;
        background: transparent;
        border-bottom: 1px solid rgba(136, 65, 39, 0.24);
        font-family: var(--font-cond);
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-decoration: none;
        text-transform: uppercase;
    }

    #nav-links a:last-child {
        border-bottom: 0;
    }

    #nav-links a:hover {
        color: #efd7bf;
        background: rgba(130, 42, 20, 0.18);
    }
}
@media (max-width: 620px) {
    .dmt-server-panel .btn {
        width: 100%;
        padding: 1rem 0.75rem;
        font-size: 0.65rem;
        letter-spacing: 0.14em;
        line-height: 1.4;
        white-space: normal;
        text-align: center;
    }
}
.dmt-support-title {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1;
}
@media (max-width: 620px) {
    .dmt-support-title {
        font-size: 2rem;
    }
}
/* Support funding heading */

.dmt-funding-column {
    width: 100%;
    min-width: 0;
}

.dmt-funding-heading {
    margin: 0 0 1rem;
    color: #c95630;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.5;
    text-transform: uppercase;
}

.dmt-funding-card {
    min-height: 140px;
    padding: 1.7rem 1.8rem;
}

@media (max-width: 620px) {
    .dmt-funding-heading {
        margin-bottom: 0.8rem;
        text-align: left;
    }

    .dmt-funding-card {
        padding: 1.6rem 1.25rem;
    }
}
/* Highlight Discord navigation action */

@media (min-width: 821px) {
    #nav-links .nav-cta {
        padding: 0.72rem 1.1rem !important;
        color: #f3dfcb !important;
        background: rgba(161, 47, 27, 0.22) !important;
        border: 1px solid rgba(211, 75, 43, 0.85) !important;
        transition:
            color 0.2s ease,
            background 0.2s ease,
            border-color 0.2s ease,
            transform 0.2s ease;
    }

    #nav-links .nav-cta:hover {
        color: #fff0df !important;
        background: #b53422 !important;
        border-color: #ed6945 !important;
        transform: translateY(-1px);
    }
}

@media (max-width: 820px) {
    #nav-links .nav-cta {
        margin-top: 0.3rem;
        color: #f3dfcb;
        background: rgba(161, 47, 27, 0.24);
        border: 1px solid rgba(211, 75, 43, 0.65);
    }
}
#server,
#experience,
#support,
#team {
    scroll-margin-top: 100px;
}
.dmt-support-actions {
    justify-content: center;
}

.dmt-support-main {
    margin-inline: auto;
}

/* ═══════════════════════════════════════
   HOMEPAGE VIDEO, CRT AND EMBER EFFECTS
═══════════════════════════════════════ */

#hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Gameplay video */

/* ═══════════════════════════════════════
   WHY PLAYERS STAY
═══════════════════════════════════════ */

.dmt-stay-section {
    position: relative;
    overflow: hidden;

    padding:
        clamp(4.5rem, 7vw, 7rem)
        clamp(1.5rem, 5vw, 4rem);

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(133, 39, 17, 0.13),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #080605,
            #0c0806 50%,
            #080605
        );
}

.dmt-stay-section .wrap {
    position: relative;
    z-index: 1;
}

/* Section introduction */

.dmt-stay-intro {
    display: grid;
    grid-template-columns:
        minmax(280px, 0.75fr)
        minmax(420px, 1.25fr);

    align-items: end;
    gap: clamp(2rem, 6vw, 6rem);

    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.dmt-stay-title-block h2 {
    max-width: 520px;
    margin: 0;

    color: #ead6bf;

    font-family: var(--font-cond);
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 0.95;
    text-transform: uppercase;
}

.dmt-stay-intro-copy > p {
    max-width: 680px;
    margin: 0 0 1.2rem;

    color: #aa927d;

    font-size: 1rem;
    line-height: 1.75;
}

/* Compact feature chips */

.dmt-stay-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.dmt-stay-chips span {
    display: inline-flex;
    align-items: center;

    min-height: 32px;
    padding: 0.45rem 0.75rem;

    border: 1px solid rgba(177, 76, 38, 0.38);
    background: rgba(93, 31, 16, 0.16);

    color: #bd9d85;

    font-family: var(--font-mono);
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Feature grid */

.dmt-stay-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

/* Individual cards */

.dmt-stay-card {
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-width: 0;

    border: 1px solid rgba(166, 71, 37, 0.38);
    background: #0a0705;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.28);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.dmt-stay-card:hover {
    transform: translateY(-5px);

    border-color: rgba(218, 99, 50, 0.72);

    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.4),
        0 0 28px rgba(148, 46, 20, 0.08);
}

/* Card layout */

.dmt-stay-card-community {
    grid-column: span 7;
}

.dmt-stay-card-events {
    grid-column: span 5;
}

.dmt-stay-card-modded,
.dmt-stay-card-admin,
.dmt-stay-card-afk {
    grid-column: span 4;
}

/* Images remain completely visible */

.dmt-stay-media {
    position: relative;
    overflow: hidden;

    width: 100%;
    aspect-ratio: 16 / 9;

    background: #050403;
}

.dmt-stay-card-modded .dmt-stay-media,
.dmt-stay-card-admin .dmt-stay-media,
.dmt-stay-card-afk .dmt-stay-media {
    aspect-ratio: 4 / 3;
}

/* Images */

.dmt-stay-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    filter:
        brightness(0.96)
        contrast(1.04)
        saturate(1.02);

    transition:
        transform 0.65s ease,
        filter 0.65s ease;
}

.dmt-stay-card:hover .dmt-stay-media img {
    transform: scale(1.045);

    filter:
        brightness(1.04)
        contrast(1.03)
        saturate(1.08);
}

/* Video kept free of expensive filters */

.dmt-stay-media video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    filter: none;
    transform: translate3d(0, 0, 0);

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.dmt-stay-card:hover .dmt-stay-media video {
    filter: none;
    transform: translate3d(0, 0, 0);
}

/* Image positioning */

.dmt-stay-card-community img {
    object-position: center;
}

.dmt-stay-card-events video {
    object-position: center;
}

.dmt-stay-card-modded img {
    object-position: center;
}

.dmt-stay-card-admin img {
    object-position: center 50%;
}

.dmt-stay-card-afk img {
    object-position: center 58%;
}

/* Text sits below the image */

.dmt-stay-copy {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: clamp(1.3rem, 2.5vw, 1.9rem);

    background:
        linear-gradient(
            145deg,
            rgba(17, 10, 7, 0.98),
            rgba(8, 6, 5, 0.99)
        );
}

/* Small label and card number */

.dmt-stay-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;
    margin-bottom: 0.65rem;
}

.dmt-stay-card-topline span {
    color: #dc6836;

    font-family: var(--font-mono);
    font-size: 0.53rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    line-height: 1.5;
    text-transform: uppercase;
}

.dmt-stay-card-topline strong {
    color: rgba(198, 76, 35, 0.42);

    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1;
}

/* Card headings */

.dmt-stay-copy h3 {
    margin: 0 0 0.65rem;

    color: #eed9c2;

    font-family: var(--font-cond);
    font-size: clamp(1.3rem, 2vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0.055em;
    line-height: 1.05;
    text-transform: uppercase;
}

/* Card copy */

.dmt-stay-copy > p {
    max-width: 680px;
    margin: 0;

    color: #a9917d;

    font-size: 0.84rem;
    line-height: 1.65;
}

/* Statistics */

.dmt-stay-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    margin-top: 1rem;

    border: 1px solid rgba(154, 70, 38, 0.32);
    background: rgba(8, 5, 4, 0.86);
}

.dmt-stay-stats > div {
    padding: 1.3rem 1rem;

    border-right:
        1px solid rgba(154, 70, 38, 0.26);

    text-align: center;
}

.dmt-stay-stats > div:last-child {
    border-right: 0;
}

.dmt-stay-stats strong,
.dmt-stay-stats span {
    display: block;
}

.dmt-stay-stats strong {
    margin-bottom: 0.25rem;

    color: #dfc7af;

    font-family: var(--font-cond);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1.1;
    text-transform: uppercase;
}

.dmt-stay-stats span {
    color: #796252;

    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.15em;
    line-height: 1.5;
    text-transform: uppercase;
}

/* Tablet */

@media (max-width: 900px) {
    .dmt-stay-intro {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .dmt-stay-card-community,
    .dmt-stay-card-events {
        grid-column: span 6;
    }

    .dmt-stay-card-modded,
    .dmt-stay-card-admin,
    .dmt-stay-card-afk {
        grid-column: span 6;
    }

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

    .dmt-stay-stats > div:nth-child(2) {
        border-right: 0;
    }

    .dmt-stay-stats > div:nth-child(-n + 2) {
        border-bottom:
            1px solid rgba(154, 70, 38, 0.26);
    }
}

/* Mobile */

@media (max-width: 600px) {
    .dmt-stay-section {
        padding:
            4rem
            1.25rem;
    }

    .dmt-stay-grid {
        grid-template-columns: 1fr;
    }

    .dmt-stay-card-community,
    .dmt-stay-card-events,
    .dmt-stay-card-modded,
    .dmt-stay-card-admin,
    .dmt-stay-card-afk {
        grid-column: auto;
    }

    .dmt-stay-media,
    .dmt-stay-card-modded .dmt-stay-media,
    .dmt-stay-card-admin .dmt-stay-media,
    .dmt-stay-card-afk .dmt-stay-media {
        aspect-ratio: 16 / 10;
    }

    .dmt-stay-copy {
        padding: 1.3rem;
    }

    .dmt-stay-copy h3 {
        font-size: 1.45rem;
    }

    .dmt-stay-stats {
        grid-template-columns: 1fr;
    }

    .dmt-stay-stats > div {
        border-right: 0;

        border-bottom:
            1px solid rgba(154, 70, 38, 0.26);
    }

    .dmt-stay-stats > div:last-child {
        border-bottom: 0;
    }
}
/* ═══════════════════════════════════════
   JOIN DMT CONVERSION BANNER
═══════════════════════════════════════ */

.dmt-join-banner {
    position: relative;
    overflow: hidden;

    padding:
        clamp(3.5rem, 6vw, 5.5rem)
        clamp(1.5rem, 5vw, 4rem);

    background:
        radial-gradient(
            circle at 88% 42%,
            rgba(159, 49, 24, 0.2),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #090605,
            #100906 55%,
            #080504
        );
}

.dmt-join-banner::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            110deg,
            transparent 0%,
            rgba(210, 75, 34, 0.04) 48%,
            transparent 76%
        );
}

.dmt-join-banner .wrap {
    position: relative;
    z-index: 1;
}

.dmt-join-banner-inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);

    padding:
        clamp(1.8rem, 4vw, 3rem);

    border: 1px solid rgba(182, 73, 37, 0.42);
    border-left: 3px solid #bd4d29;

    background:
        linear-gradient(
            135deg,
            rgba(18, 10, 7, 0.94),
            rgba(8, 6, 5, 0.92)
        );

    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255, 150, 95, 0.025);
}

.dmt-join-banner-copy h2 {
    margin: 0 0 0.7rem;

    color: #ead6bf;

    font-family: var(--font-cond);
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: 0.055em;
    line-height: 0.95;
    text-transform: uppercase;
}

.dmt-join-banner-copy > p:last-child {
    max-width: 640px;
    margin: 0;

    color: #a9917d;

    font-size: 0.95rem;
    line-height: 1.7;
}

.dmt-join-banner-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

.dmt-join-banner-actions .btn {
    min-height: 48px;
    justify-content: center;
}

@media (max-width: 900px) {
    .dmt-join-banner-inner {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .dmt-join-banner-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .dmt-join-banner {
        padding:
            3.5rem
            1.25rem;
    }

    .dmt-join-banner-inner {
        padding: 1.5rem 1.25rem;
    }

    .dmt-join-banner-actions {
        flex-direction: column;
    }

    .dmt-join-banner-actions .btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }
}

/* ═══════════════════════════════════════
   FINAL HOMEPAGE HERO LAYOUT
═══════════════════════════════════════ */

#hero.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 100%;
    min-height: calc(100svh - 60px);

    padding:
        clamp(3.5rem, 7vw, 6.5rem)
        clamp(1.5rem, 4vw, 4rem);
}

/* Full-screen still background */

#hero .dmt-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;

    display: block;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: 50% 50%;

    filter:
        brightness(0.68)
        contrast(1.08)
        saturate(0.92);

    transform: scale3d(1.02, 1.02, 1);
    transform-origin: 50% 50%;

    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;

    animation:
        dmt-hero-zoom-loop
        36s
        ease-in-out
        infinite
        both;
}

/* Keep the zoom at its first frame while the monitor intro is active. */

body.monitor-locked #hero .dmt-hero-background,
body.site-opening:not(.site-revealed) #hero .dmt-hero-background {
    animation-play-state: paused;
}

/* Slowly zoom in, then slowly zoom back out. */

@keyframes dmt-hero-zoom-loop {
    0%,
    100% {
        transform: scale3d(1.02, 1.02, 1);
    }

    50% {
        transform: scale3d(1.11, 1.11, 1);
    }
}

/* Readability gradient */

#hero .dmt-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            to right,
            rgba(3, 2, 1, 0.76) 0%,
            rgba(3, 2, 1, 0.38) 36%,
            rgba(3, 2, 1, 0.08) 66%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            rgba(3, 2, 1, 0.08) 0%,
            rgba(3, 2, 1, 0.02) 48%,
            rgba(3, 2, 1, 0.66) 100%
        );
}

/* CRT layer */

#hero .hero-crt-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;

    pointer-events: none;
}

/* Ember canvas */

#hero #hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 3;

    width: 100%;
    height: 100%;

    pointer-events: none;
}

/* Content panel */

#hero .dmt-hero-content {
    position: relative;
    z-index: 4;

    width: min(610px, 100%);
    max-width: 610px;

    margin-left: 0;
    margin-right: auto;

    background:
        linear-gradient(
            135deg,
            rgba(8, 4, 3, 0.91),
            rgba(8, 4, 3, 0.76)
        );

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(212, 115, 67, 0.07);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Mobile layout */

@media (max-width: 700px) {
    #hero.hero {
        align-items: flex-end;

        min-height: calc(100svh - 58px);

        padding:
            5rem
            1.15rem
            2rem;
    }

    #hero .dmt-hero-background {
        object-position: 58% 50%;
    }

    #hero .dmt-hero-content {
        width: 100%;
        max-width: none;
    }
}

/* Reduced-motion accessibility */

@media (prefers-reduced-motion: reduce) {
    #hero .dmt-hero-background {
        animation: none;
        transform: scale3d(1.04, 1.04, 1);
    }
}
/* Keep the Join DMT heading on one line on wide screens */

@media (min-width: 1101px) {
    .dmt-join-banner-inner {
        grid-template-columns:
            minmax(560px, 1fr)
            auto;

        gap: clamp(2rem, 4vw, 4rem);
    }

    .dmt-join-banner-copy h2 {
        white-space: nowrap;
    }
}