﻿/* MOONRANGERS — Frontier Operations Briefing */
/* Mil-spec dossier × 90s anime mecha HUD × PC-98 retro */

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

/* ==================== VARIABLES ==================== */
:root {
    /* Background — midnight navy (carrier livery ambient) */
    --bg-base: #040b1d;
    --bg-elevated: #09132a;
    --bg-deep: #01040f;

    /* Tech accents — carrier livery */
    --blue: #1a6bde;
    --blue-bright: #58d9ff;
    --teal: #0ed8a5;
    --teal-glow: rgba(14, 216, 165, 0.5);
    --amber: #d49a0c;
    --amber-warm: #f0b53a;
    --hazard: #e87830;

    /* Text */
    --text: #f5ecd6;
    --text-dim: #b8a888;
    --text-mute: #6a604f;

    /* Lines */
    --rule: rgba(184, 168, 136, 0.18);
    --rule-strong: rgba(14, 216, 165, 0.35);

    /* Spacing */
    --gap-sm: 0.5rem;
    --gap-md: 1rem;
    --gap-lg: 2rem;
    --gap-xl: 4rem;
    --gap-2xl: 6rem;

    /* Typography */
    --font-display: 'Saira Condensed', 'Impact', sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

    /* Layout */
    --max-width: 1280px;
}

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

/* ==================== BASE ==================== */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) var(--bg-deep);
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg-base);
    background-image:
        radial-gradient(ellipse 95% 55% at 50% -5%, rgba(240, 181, 58, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 130% 45% at 100% 100%, rgba(14, 216, 165, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 55% 30% at 0% 40%, rgba(232, 120, 48, 0.035) 0%, transparent 55%);
    background-attachment: fixed;
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Custom scrollbar (Webkit/Blink) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track {
    background: var(--bg-deep);
    border-left: 1px solid rgba(14, 216, 165, 0.12);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--teal) 0%, rgba(14, 216, 165, 0.45) 100%);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--amber-warm);
}

img {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    display: block;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes blink {
    0%, 65% { opacity: 1; box-shadow: 0 0 8px var(--teal); }
    66%, 100% { opacity: 0.25; box-shadow: 0 0 0 var(--teal); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ==================== SCROLL REVEAL ==================== */
html:not(.no-js) [data-reveal],
html:not(.no-js) [data-stagger] > * {
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

html:not(.no-js) [data-reveal].is-visible,
html:not(.no-js) [data-stagger].is-visible > * {
    opacity: 1;
}

html:not(.no-js) [data-stagger].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
html:not(.no-js) [data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.18s; }
html:not(.no-js) [data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.31s; }
html:not(.no-js) [data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.44s; }
html:not(.no-js) [data-stagger].is-visible > *:nth-child(5) { transition-delay: 0.57s; }
html:not(.no-js) [data-stagger].is-visible > *:nth-child(6) { transition-delay: 0.70s; }
html:not(.no-js) [data-stagger].is-visible > *:nth-child(7) { transition-delay: 0.83s; }

/* ==================== GRAIN OVERLAY ==================== */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.09;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
}

/* ==================== STATUS DOT ==================== */
.dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    margin-right: 0.55rem;
    vertical-align: 0.05em;
    box-shadow: 0 0 8px var(--teal);
}

.dot--live {
    animation: blink 1.6s infinite;
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    width: 100%;
    background: var(--bg-deep);
    padding: 0;
    overflow: hidden;
    /* subtle hazard chevron edge accent on the side panels */
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 18px,
            rgba(232, 168, 48, 0.025) 18px,
            rgba(232, 168, 48, 0.025) 19px
        );
}

.hero__frame {
    position: relative;
    width: min(100%, var(--max-width));
    aspect-ratio: 16 / 9;
    min-height: clamp(420px, 60vh, 680px);
    margin: 0 auto;
    overflow: hidden;
    background: var(--bg-deep);
    container-type: inline-size;
    container-name: hero;
    border-left: 1px solid rgba(14, 216, 165, 0.15);
    border-right: 1px solid rgba(14, 216, 165, 0.15);
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: contrast(1.05) saturate(1.05);
    animation: fadeIn 1.2s ease-out both;
}

.hero__scanlines {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent 0,
        transparent 2px,
        rgba(0, 0, 0, 0.18) 3px,
        transparent 4px
    );
    opacity: 0.55;
}

.hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 60% 40%, transparent 30%, rgba(1, 4, 15, 0.32) 100%),
        linear-gradient(180deg,
            rgba(1, 4, 15, 0.25) 0%,
            transparent 14%,
            transparent 70%,
            rgba(1, 4, 15, 0.48) 100%);
}

/* hero classified strip */
.hero__strip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 6;
    padding: 0.85rem 1.75rem;
    background: rgba(1, 4, 15, 0.82);
    border-bottom: 1px solid var(--rule-strong);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--teal);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.6s ease-out 0.15s both;
}

.strip__item {
    display: inline-flex;
    align-items: center;
}

.strip__item:not(:last-child)::after {
    content: "//";
    color: var(--text-mute);
    margin-left: 1.5rem;
}

/* hero corner brackets */
.hero__corner {
    position: absolute;
    width: 36px;
    height: 36px;
    z-index: 6;
    pointer-events: none;
}

.hero__corner--tl { top: 60px; left: 28px; border-top: 2px solid var(--teal); border-left: 2px solid var(--teal); }
.hero__corner--tr { top: 60px; right: 28px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); }
.hero__corner--bl { bottom: 28px; left: 28px; border-bottom: 2px solid var(--teal); border-left: 2px solid var(--teal); }
.hero__corner--br { bottom: 28px; right: 28px; border-bottom: 2px solid var(--teal); border-right: 2px solid var(--teal); }

/* hero content */
.hero__content {
    position: relative;
    z-index: 5;
    height: 100%;
    width: 100%;
    padding: 4.5rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.tag {
    font-family: var(--font-mono);
    font-size: clamp(0.6rem, 0.95cqw, 0.78rem);
    font-weight: 500;
    color: var(--amber-warm);
    letter-spacing: 0.22em;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(240, 181, 58, 0.4);
    background: rgba(1, 4, 15, 0.6);
    backdrop-filter: blur(3px);
    animation: fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tag:nth-child(1) { animation-delay: 1.35s; }
.tag:nth-child(2) { animation-delay: 1.52s; }
.tag:nth-child(3) { animation-delay: 1.69s; }
.tag:nth-child(4) { animation-delay: 1.86s; }

.wordmark {
    position: relative;
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3rem, 9.5cqw, 7.75rem);
    line-height: 0.88;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 0;
    animation: fadeUp 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.wordmark__a {
    color: var(--text);
    text-shadow:
        0 0 0.5em rgba(0, 0, 0, 0.92),
        0.035em 0.035em 0 rgba(240, 181, 58, 0.32),
        -0.015em -0.015em 0 rgba(14, 216, 165, 0.18);
}

.wordmark__b {
    color: var(--amber-warm);
    text-shadow:
        0 0 0.5em rgba(0, 0, 0, 0.92),
        0 0 0.9em rgba(240, 181, 58, 0.4),
        0.035em 0.035em 0 rgba(14, 216, 165, 0.45);
}

/* ==================== LOGLINE ==================== */
.logline {
    width: 100%;
    background: var(--bg-base);
    padding: clamp(2.75rem, 5vw, 4rem) 2rem;
    position: relative;
    border-top: 1px solid var(--rule);
}

/* subtle dossier perforation accent on the strip edges */
.logline::before,
.logline::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border: 1px solid var(--rule);
    border-radius: 50%;
    background: var(--bg-deep);
    pointer-events: none;
}

.logline::before { left: -7px; }
.logline::after { right: -7px; }

.logline__inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.logline__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.logline__rule {
    height: 1px;
    background: var(--teal);
    width: clamp(28px, 6vw, 56px);
    opacity: 0.65;
    position: relative;
}

.logline__rule::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 5px;
    height: 5px;
    background: var(--teal);
    transform: translateY(-50%) rotate(45deg);
}

.logline__rule--left::before  { right: -8px; }
.logline__rule--right::before { left: -8px; }

.logline__label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.logline__tagline {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.85rem, 3.8vw, 3.15rem);
    line-height: 1.05;
    color: var(--amber-warm);
    letter-spacing: -0.005em;
    margin: 0 auto 1.5rem;
    max-width: 880px;
    text-transform: uppercase;
    text-shadow: 0 0 0.6em rgba(240, 181, 58, 0.25);
}

.logline__setup {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.72;
    color: var(--text-dim);
    max-width: 680px;
    margin: 0 auto 1.25rem;
    font-weight: 400;
}

.logline__coords {
    font-family: var(--font-mono);
    font-size: clamp(0.7rem, 1vw, 0.82rem);
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin: 0;
}

/* ==================== SECTION MARKER ==================== */
.section-marker {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-weight: 500;
    position: relative;
}

.section-marker::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--teal);
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(14, 216, 165, 0.55);
    flex-shrink: 0;
}

.section-marker__num {
    color: var(--teal);
    font-weight: 700;
}

.section-marker__label {
    color: var(--amber-warm);
    font-weight: 600;
    position: relative;
}

.section-marker__label::after {
    content: "";
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    margin-left: 0.7em;
    background: var(--amber-warm);
    opacity: 0.55;
    transform: translateY(-0.2em);
}

.section-marker__rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--rule-strong) 0%, var(--rule) 40%, transparent 100%);
}

.section-marker--center {
    justify-content: center;
}

.section-marker--center .section-marker__rule { display: none; }

/* ==================== SECTION CONTAINERS ==================== */
.brief,
.why {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--gap-2xl) 2.75rem;
    position: relative;
}

/* Field Briefing is the first content section after the logline — tighten the top */
.brief {
    padding-top: clamp(2.5rem, 4.5vw, 3.75rem);
}

/* ==================== FIELD BRIEFING ==================== */
.brief__rows {
    display: flex;
    flex-direction: column;
    gap: clamp(3.75rem, 6vw, 5.5rem);
    counter-reset: brief-row;
}

.brief-row {
    display: grid;
    /* 530px locks the image column to an exact 2x of the 256px source
       (512px image + 18px frame padding/border), keeping pixel art crisp */
    grid-template-columns: minmax(0, 530px) 1fr;
    gap: clamp(2.25rem, 4vw, 3.75rem);
    align-items: center;
    position: relative;
    isolation: isolate;
    counter-increment: brief-row;
}

/* giant ghost numeral behind each row */
.brief-row::before {
    content: "0" counter(brief-row);
    position: absolute;
    top: -0.4em;
    right: -0.05em;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(10rem, 22vw, 22rem);
    line-height: 0.78;
    letter-spacing: -0.06em;
    color: var(--amber-warm);
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

.brief-row:nth-of-type(even)::before {
    right: auto;
    left: -0.05em;
    color: var(--blue-bright);
    opacity: 0.08;
}

.brief-row > * {
    position: relative;
    z-index: 1;
}

.brief-row:nth-of-type(even) {
    grid-template-columns: 1fr minmax(0, 530px);
}

.brief-row:nth-of-type(even) .brief-row__image {
    order: 2;
}

.brief-row:nth-of-type(even) .brief-row__copy {
    order: 1;
}

.brief-row__image {
    position: relative;
    padding: 0;
    margin: 0;
}

.brief-row__image-frame {
    position: relative;
    background: var(--bg-deep);
    padding: 0.5rem;
    border: 1px solid var(--rule);
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.brief-row__image-frame:hover {
    border-color: rgba(240, 181, 58, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -24px rgba(240, 181, 58, 0.25);
}

.brief-row__image-frame:hover img {
    filter: contrast(1.1) saturate(1.1) brightness(1.04);
}

.brief-row__image-frame::before,
.brief-row__image-frame::after {
    content: "";
    position: absolute;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 2;
}

.brief-row__image-frame::before {
    top: -2px;
    left: -2px;
    border-top: 2px solid var(--amber-warm);
    border-left: 2px solid var(--amber-warm);
}

.brief-row__image-frame::after {
    bottom: -2px;
    right: -2px;
    border-bottom: 2px solid var(--amber-warm);
    border-right: 2px solid var(--amber-warm);
}

.brief-row__image-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.05) saturate(1);
    transition: filter 0.4s ease;
}

.brief-row__image figcaption {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-mute);
    letter-spacing: 0.25em;
    padding: 0.85rem 0.25rem 0;
    text-transform: uppercase;
}

.brief-row__image figcaption::before {
    content: "◆";
    color: var(--teal);
    margin-right: 0.6em;
    font-size: 0.9em;
    opacity: 0.75;
    text-shadow: 0 0 0.4em rgba(14, 216, 165, 0.45);
}

.brief-row__copy {
    position: relative;
}

.brief-row__code {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--teal);
    letter-spacing: 0.22em;
    padding: 0.22rem 0.6rem;
    border: 1px solid rgba(14, 216, 165, 0.35);
    margin-bottom: 1.25rem;
    background: rgba(14, 216, 165, 0.04);
}

.brief-row__code::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--teal);
    margin-right: 0.55em;
    box-shadow: 0 0 6px rgba(14, 216, 165, 0.5);
}

.brief-row__copy h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.15rem, 3.8vw, 3.2rem);
    color: var(--amber-warm);
    text-transform: uppercase;
    letter-spacing: -0.005em;
    line-height: 0.98;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    position: relative;
}

.brief-row__copy h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.8rem;
    height: 3px;
    background: var(--teal);
    box-shadow: 0 0 8px rgba(14, 216, 165, 0.45);
}

.brief-row__copy p {
    font-family: var(--font-body);
    color: var(--text-dim);
    font-size: clamp(1rem, 1.15vw, 1.1rem);
    line-height: 1.7;
}

/* ==================== WHY ==================== */
.why__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.35rem, 4.8vw, 3.75rem);
    color: var(--text);
    text-align: center;
    margin: 0.5rem 0 3rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 0.98;
    position: relative;
}

.why__title::before,
.why__title::after {
    color: var(--teal);
    font-weight: 700;
    font-size: 0.55em;
    vertical-align: 0.35em;
    opacity: 0.85;
    text-shadow: 0 0 0.5em rgba(14, 216, 165, 0.5);
}

.why__title::before { content: "◆ "; margin-right: 0.6rem; }
.why__title::after { content: " ◆"; margin-left: 0.35rem; }

.why__list {
    list-style: none;
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 0.6rem;
}

.why__list li {
    position: relative;
    padding: 1.45rem 1.75rem 1.45rem 5.5rem;
    background: linear-gradient(90deg, var(--bg-elevated) 0%, rgba(4, 10, 22, 0.6) 100%);
    border-left: 2px solid var(--rule);
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: 1.04rem;
    line-height: 1.6;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease, padding-left 0.3s ease;
}

.why__list li::before {
    content: attr(data-num);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.85rem;
    color: var(--teal);
    line-height: 1;
    opacity: 0.85;
    letter-spacing: -0.03em;
    text-shadow: 0 0 0.4em rgba(14, 216, 165, 0.35);
    transition: color 0.3s ease, opacity 0.3s ease;
}

.why__list li::after {
    content: "";
    position: absolute;
    left: 4.5rem;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: var(--rule-strong);
    opacity: 0.6;
}

.why__list li:hover {
    border-left-color: var(--amber-warm);
    transform: translateX(8px);
    background: linear-gradient(90deg, #101e34 0%, rgba(18, 30, 52, 0.7) 100%);
    padding-left: 5.75rem;
}

.why__list li:hover::before {
    color: var(--amber-warm);
    opacity: 1;
    text-shadow: 0 0 0.5em rgba(240, 181, 58, 0.5);
}

.why__list strong {
    display: block;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.05;
}

/* ==================== SPECS ==================== */
.specs {
    background: var(--bg-deep);
    border-top: 1px solid var(--rule-strong);
    border-bottom: 1px solid var(--rule-strong);
    padding: 1.4rem 0;
    position: relative;
}

/* hazard chevron accent */
.specs::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--teal) 0,
        var(--teal) 10px,
        transparent 10px,
        transparent 14px,
        var(--amber-warm) 14px,
        var(--amber-warm) 24px,
        transparent 24px,
        transparent 28px
    );
    opacity: 0.55;
}

.specs__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2.75rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.25rem;
    font-family: var(--font-mono);
}

.specs__head {
    font-size: 0.75rem;
    color: var(--teal);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.specs__item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border-left: 1px solid var(--rule);
    padding-left: 1rem;
}

.specs__key {
    font-size: 0.62rem;
    color: var(--text-mute);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 500;
}

.specs__val {
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.specs__val--amber {
    color: var(--amber-warm);
}

/* ==================== FOOTER ==================== */
footer {
    text-align: center;
    padding: 5.5rem 2rem 3rem;
    color: var(--text-mute);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* massive ghost wordmark as end-of-document stamp */
footer::before {
    content: "MOONRANGERS";
    position: absolute;
    left: 50%;
    bottom: -0.22em;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(5rem, 18vw, 15rem);
    line-height: 0.78;
    letter-spacing: -0.035em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(14, 216, 165, 0.09);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

footer > * { position: relative; z-index: 1; }

.footer__rule {
    width: 88px;
    height: 1px;
    background: var(--teal);
    margin: 0 auto 2.25rem;
    position: relative;
    opacity: 0.8;
    box-shadow: 0 0 6px rgba(14, 216, 165, 0.45);
}

.footer__rule::before,
.footer__rule::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 5px;
    height: 5px;
    background: var(--teal);
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 0 0 6px rgba(14, 216, 165, 0.55);
}

.footer__rule::before { left: -10px; }
.footer__rule::after { right: -10px; }

.footer__sigil {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--text-dim);
    letter-spacing: 0.38em;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    padding-left: 0.38em;
}

.footer__line {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.04em;
    color: var(--text-dim);
}

.footer__line em {
    color: var(--amber-warm);
    font-style: normal;
    letter-spacing: 0.06em;
}

.footer__transmission {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-mute);
    letter-spacing: 0.32em;
    margin-top: 1.75rem;
    opacity: 0.5;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    .brief-row,
    .brief-row:nth-of-type(even) {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .brief-row:nth-of-type(even) .brief-row__image { order: 0; }
    .brief-row:nth-of-type(even) .brief-row__copy { order: 0; }
    .brief__rows { gap: clamp(3rem, 7vw, 4.5rem); }
    .hero__strip {
        font-size: 0.62rem;
        gap: 0.75rem;
        padding: 0.7rem 1rem;
        letter-spacing: 0.18em;
    }
    .strip__item:not(:last-child)::after { margin-left: 0.75rem; }
    .hero__corner { display: none; }
    .specs__inner { gap: 1.4rem; }
}

@media (max-width: 640px) {
    .brief, .why {
        padding: var(--gap-xl) 1.4rem;
    }
    .brief {
        padding-top: 2.25rem;
    }
    .hero__frame {
        aspect-ratio: auto;
        min-height: clamp(420px, 72svh, 560px);
    }
    .hero__content {
        padding: 4rem 1.4rem 2.25rem;
        justify-content: flex-end;
    }
    .wordmark {
        font-size: clamp(2.75rem, 14vw, 4.5rem);
    }
    .hero__tags {
        margin-bottom: 0.9rem;
        gap: 0.4rem;
    }
    .tag {
        font-size: 0.6rem;
        padding: 0.3rem 0.55rem;
        letter-spacing: 0.18em;
    }
    .specs__inner { padding: 0 1.4rem; gap: 1rem; }
    .specs__head { width: 100%; }
    .specs__item { border-left: none; padding-left: 0; }
    .why__list li { padding: 1.1rem 1rem 1.1rem 4.5rem; }
    .why__list li::before { font-size: 2.2rem; }
    .why__list li::after { display: none; }
    .brief-row__copy h2 { font-size: 2rem; padding-bottom: 0.55rem; }
    .brief-row__copy h2::after { width: 2.25rem; height: 2px; }
    .brief-row::before {
        font-size: clamp(5rem, 26vw, 9rem);
        opacity: 0.04;
        top: -0.25em;
    }
    .why__list li::before { font-size: 2.35rem; }
    .hero__strip {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.55rem 1rem;
    }
    .strip__item:not(:last-child)::after { margin-left: 0.5rem; }
    .why__title::before,
    .why__title::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
