/* ==========================================================================
   Moon Landing — Page 1: Landing / Intro Styles
   Designed by Tycho — Software Developer & Interface Architect
   ========================================================================== */

/* ---------- Network Map Background ---------- */
.network-bg {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.network-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.35;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: var(--space-4xl) var(--space-lg);
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero-content--wide {
    max-width: 960px;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-bright);
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--text-bright);
    margin-bottom: var(--space-2xl);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
    letter-spacing: 0.5px;
}

.hero-subtitle strong {
    font-weight: 700;
    color: var(--text-bright);
}

.hero-intro {
    max-width: 760px;
    margin: 0 auto var(--space-2xl);
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.9;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
}

.hero-scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-dim), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: var(--space-3xl);
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.about-tagline {
    font-size: 1.2rem;
    color: var(--text-bright);
    line-height: 1.6;
    text-align: center;
}

.about-subtitle {
    font-size: 0.95rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text-secondary);
}

.about-subtitle strong,
.about-subtitle .mission-highlight {
    color: inherit;
    font-weight: inherit;
}

.mission-focus-tile {
    padding: clamp(22px, 2.6vw, 32px);
    border-radius: 28px;
    border: 1px solid rgba(0, 212, 255, 0.24);
    background:
        linear-gradient(160deg, rgba(0, 212, 255, 0.07), rgba(0, 212, 255, 0.02) 34%, rgba(7, 11, 18, 0.52) 100%),
        rgba(7, 11, 18, 0.42);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.mission-focus-panel {
    margin-bottom: 0;
    padding: 0;
    border-radius: 0;
    border: none;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
}

.mission-focus-panel .about-tagline,
.mission-focus-panel .about-subtitle {
    margin-bottom: 0;
}

.mission-focus-panel .about-subtitle {
    margin-top: var(--space-md);
}

.about-body-panel {
    border-top: 1px solid rgba(0, 212, 255, 0.12);
    padding-top: var(--space-md);
    margin-top: 0;
    background: none;
    box-shadow: none;
}

.about-body-panel + .about-body-panel {
    border-top: none;
    padding-top: 0;
}

.about-body-panel::after {
    content: '';
    display: block;
    clear: both;
}

.about-body-panel p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--accent);
    font-weight: 600;
}

.about-text .project-highlight {
    color: var(--accent2);
    font-weight: 700;
}

.about-text .mission-highlight {
    color: var(--accent);
    font-weight: 700;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about-portrait-card {
    position: relative;
    float: right;
    width: min(42%, 280px);
    margin: 4px 0 var(--space-lg) var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.about-portrait-card--left {
    float: left;
    margin: 4px var(--space-xl) var(--space-lg) 0;
}

.about-portrait-frame {
    position: relative;
    width: min(100%, 280px);
    aspect-ratio: 1 / 1.16;
    padding: 12px;
    border-radius: 28px;
    background:
        linear-gradient(160deg, rgba(0, 212, 255, 0.18), rgba(0, 212, 255, 0.04) 38%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(0, 212, 255, 0.34);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 34px rgba(0, 212, 255, 0.16),
        0 26px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.about-portrait-frame::before,
.about-portrait-frame::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.about-portrait-frame::before {
    inset: 10px;
    border-radius: 22px;
    border: 1px solid rgba(0, 212, 255, 0.22);
    box-shadow: 0 0 26px rgba(0, 212, 255, 0.12) inset;
}

.about-portrait-frame::after {
    inset: auto 16px 16px 16px;
    height: 64px;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.28), transparent 70%);
    filter: blur(18px);
    opacity: 0.7;
}

.about-portrait-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    display: block;
}

.about-portrait-scan {
    display: none;
}

.about-portrait-name {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
}

.stat-card {
    background:
        linear-gradient(160deg, rgba(0, 212, 255, 0.06), rgba(0, 212, 255, 0.015) 34%, rgba(8, 12, 18, 0.58) 100%),
        rgba(8, 12, 18, 0.48);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    backdrop-filter: blur(8px);
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-portrait-card,
    .about-portrait-card--left {
        float: none;
        width: min(100%, 320px);
        margin: 0 auto var(--space-xl);
    }

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .stat-card {
        flex: 1;
        min-width: 140px;
    }
}

/* ==========================================================================
   CREW HIERARCHY CHART
   ========================================================================== */

/* --- Tile wrapper --- */
.crew-hierarchy-tile {
    position: relative;
    background: rgba(13, 17, 28, 0.55);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-2xl) var(--space-xl) var(--space-xl);
    margin-bottom: var(--space-4xl);
    box-shadow:
        0 0 40px rgba(0, 212, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.crew-hierarchy-tile-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-xl);
    opacity: 0.7;
}

.crew-hierarchy {
    overflow-x: auto;
    padding: var(--space-sm) var(--space-md) var(--space-md);
}

/* --- Tree base --- */
.ch-tree,
.ch-tree ul,
.ch-tree li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ch-tree {
    display: flex;
    justify-content: center;
}

.ch-tree ul {
    display: flex;
    justify-content: center;
    padding-top: 52px;
    position: relative;
}

/* Vertical stem from parent down to horizontal bar */
.ch-tree ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 52px;
    background: linear-gradient(to bottom, rgba(0, 212, 255, 0.6), rgba(0, 212, 255, 0.3));
}

.ch-tree li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 80px 0;
    position: relative;
}

/* Horizontal connecting line between siblings */
.ch-tree li::before,
.ch-tree li::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 1px;
    background: rgba(0, 212, 255, 0.3);
}

.ch-tree li::before { right: 50%; }
.ch-tree li::after  { left: 50%; }

.ch-tree li:only-child::before,
.ch-tree li:only-child::after {
    display: none;
}

.ch-tree li:first-child::before,
.ch-tree li:last-child::after {
    display: none;
}

/* Round the outer corners of the horizontal bar */
.ch-tree li:first-child::after {
    border-top-left-radius: 4px;
}
.ch-tree li:last-child::before {
    border-top-right-radius: 4px;
}

/* Vertical drop from horizontal bar down to each node */
.ch-tree li > .ch-node {
    position: relative;
}
.ch-tree li > .ch-node::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 20px;
    background: rgba(0, 212, 255, 0.3);
}

/* --- Node card --- */
.ch-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 14px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-card);
    min-width: 150px;
    max-width: 170px;
    text-align: center;
    cursor: default;
}

.ch-node:hover {
    transform: none;
}

.ch-avatar-ring {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    padding: 3px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    flex-shrink: 0;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ch-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.ch-name {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.ch-role {
    font-size: 0.65rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --- Tier modifiers --- */
.ch-node--commander {
    border-color: rgba(255, 184, 0, 0.45);
    background: linear-gradient(160deg, rgba(255, 184, 0, 0.06), var(--bg-card) 60%);
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.1);
}
.ch-node--commander .ch-avatar-ring {
    border-color: rgba(255, 184, 0, 0.5);
    box-shadow: 0 0 12px rgba(255, 184, 0, 0.2);
}
.ch-node--commander .ch-name {
    color: rgba(255, 200, 40, 0.95);
}

.ch-node--tier-two {
    border-color: rgba(0, 212, 255, 0.35);
    background: linear-gradient(160deg, rgba(0, 212, 255, 0.05), var(--bg-card) 60%);
}
.ch-node--tier-two .ch-avatar-ring {
    border-color: rgba(0, 212, 255, 0.4);
}
.ch-node--tier-two .ch-name {
    color: var(--text-bright);
}

.ch-node--support {
    border-color: rgba(0, 212, 255, 0.18);
    background: rgba(13, 15, 22, 0.7);
}
.ch-node--support .ch-avatar-ring {
    border-color: rgba(0, 212, 255, 0.22);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .ch-tree li {
        padding: 0 12px;
    }

    .ch-node {
        min-width: 90px;
        max-width: 110px;
        padding: 12px 10px;
    }

    .ch-avatar-ring {
        width: 44px;
        height: 44px;
    }

    .ch-name {
        font-size: 0.65rem;
    }

    .ch-role {
        font-size: 0.58rem;
    }
}

/* ==========================================================================
   CREW ORG CHART — Full tiles in hierarchy layout
   ========================================================================== */

.crew-org-chart {
    --coc-v-gap: 52px;
    --coc-card-w: 460px;
    --coc-child-scale: 0.82; /* support tier width as fraction of branch */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: auto;
    padding: var(--space-lg) 0 0;
}

/* --- Root: Helios --- */
.coc-root {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    padding-bottom: var(--coc-v-gap);
}

.coc-root > .crew-card {
    max-width: var(--coc-card-w);
    width: 100%;
}

.coc-root::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: var(--coc-v-gap);
    background: linear-gradient(to bottom, rgba(0, 212, 255, 0.9), rgba(0, 212, 255, 0.55));
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.4);
}

/* --- Tier two row --- */
.coc-tier-two {
    display: flex;
    gap: var(--space-2xl);
    width: 100%;
    max-width: calc(var(--coc-card-w) * 2 + var(--space-2xl));
    justify-content: center;
}

/* --- Each branch (tier-two card + its child) --- */
.coc-branch {
    flex: 0 1 var(--coc-card-w);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: var(--coc-v-gap);
}

/* Vertical drop from horizontal bar to tier-two card */
.coc-branch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: var(--coc-v-gap);
    background: rgba(0, 212, 255, 0.7);
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.35);
}

/* Horizontal bar: left branch extends right into gap; right branch extends left into gap */
.coc-branch:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    right: calc(-1 * var(--space-2xl) / 2);
    height: 2px;
    background: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}

.coc-branch:last-child::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    left: calc(-1 * var(--space-2xl) / 2);
    height: 2px;
    background: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}

.coc-branch > .crew-card {
    width: 100%;
}

/* --- Child (support tier) — narrower --- */
.coc-child {
    width: calc(var(--coc-card-w) * var(--coc-child-scale));
    max-width: 100%;
    padding-top: var(--coc-v-gap);
    position: relative;
    display: flex;
    justify-content: center;
}

.coc-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: var(--coc-v-gap);
    background: rgba(0, 212, 255, 0.55);
}

.coc-child > .crew-card {
    width: 100%;
}

@media (max-width: 900px) {
    .crew-org-chart {
        --coc-card-w: 360px;
    }
}

@media (max-width: 768px) {
    .crew-org-chart {
        --coc-card-w: 100%;
    }

    .coc-tier-two {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .coc-branch {
        width: 100%;
        max-width: 480px;
    }

    /* Hide horizontal bars on mobile */
    .coc-branch:first-child::after,
    .coc-branch:last-child::after {
        display: none;
    }

    .coc-child {
        width: 90%;
    }
}

/* ---------- Contact ---------- */
.crew-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl);
    align-items: stretch;
}

.crew-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
}

.crew-manifest-cta {
    display: flex;
    justify-content: center;
    margin-top: var(--space-2xl);
}

.crew-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    min-height: 340px;
    padding: var(--space-xl);
    background:
        linear-gradient(180deg, rgba(0, 212, 255, 0.04), rgba(0, 212, 255, 0) 35%),
        rgba(10, 11, 16, 0.88);
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 20px;
    overflow: hidden;
    transition:
        transform 0.45s var(--ease-out),
        border-color 0.45s var(--ease-out),
        box-shadow 0.45s var(--ease-out),
        opacity 0.45s var(--ease-out),
        filter 0.45s var(--ease-out);
}

.crew-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(0, 212, 255, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(255, 184, 0, 0.08), transparent 40%);
    opacity: 0.8;
    pointer-events: none;
}

.crew-grid:hover .crew-card {
    opacity: 0.42;
    transform: scale(0.96);
    filter: blur(1px);
}

.crew-grid:hover .crew-card:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: none;
    border-color: rgba(0, 212, 255, 0.75);
    box-shadow: 0 24px 60px rgba(0, 212, 255, 0.18);
    z-index: 2;
}

.crew-card-selectable {
    cursor: pointer;
}

.crew-card-selectable.active {
    opacity: 1;
    border-color: rgba(0, 212, 255, 0.82);
    box-shadow: 0 26px 62px rgba(0, 212, 255, 0.2);
}

.crew-card-selectable.active::before {
    opacity: 1;
    background:
        radial-gradient(circle at top right, rgba(0, 212, 255, 0.2), transparent 34%),
        linear-gradient(135deg, rgba(255, 184, 0, 0.1), transparent 40%);
}

.crew-card-selectable:focus-visible {
    outline: 2px solid rgba(0, 212, 255, 0.75);
    outline-offset: 3px;
}

.crew-card-topline,
.crew-card-head,
.crew-card-summary,
.crew-card-tags {
    position: relative;
    z-index: 1;
}

.crew-card-topline {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
}

.crew-card-head {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.crew-card-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 212, 255, 0.18);
    box-shadow: 0 14px 36px rgba(0, 212, 255, 0.15);
}

.crew-card-name {
    display: block;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.15;
    color: var(--text-bright);
    margin-bottom: 6px;
    white-space: nowrap;
}

.crew-card-name-brand {
    display: inline-flex;
    align-items: flex-start;
    width: max-content;
}

.crew-card-name-star {
    display: block;
    margin-left: 0.03em;
    transform: translateY(-0.62em);
    font-size: 0.52em;
    font-weight: 800;
    line-height: 0;
    vertical-align: super;
}

.crew-card-role {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.crew-card-summary {
    color: var(--text-secondary);
    line-height: 1.8;
    flex: 1;
}

.crew-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.crew-card-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(19, 21, 29, 0.92);
    border: 1px solid rgba(0, 212, 255, 0.16);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.4px;
}

/* ---------- Crew Card Inline Console ---------- */
.crew-card-console {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(0, 212, 255, 0.12);
}

.crew-console-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 212, 255, 0.25) transparent;
}

.crew-console-msg {
    font-size: 0.82rem;
    line-height: 1.6;
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 92%;
}

.crew-console-msg.user {
    align-self: flex-end;
    background: rgba(0, 212, 255, 0.12);
    color: var(--text-bright);
    border: 1px solid rgba(0, 212, 255, 0.22);
}

.crew-console-msg.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.crew-console-form {
    display: flex;
    gap: 8px;
}

.crew-console-form textarea {
    flex: 1;
    min-width: 0;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.78rem;
    font-family: var(--font-body, 'Inter', sans-serif);
    color: var(--text-primary);
    outline: none;
    resize: none;
    line-height: 1.5;
    transition: border-color 0.2s;
}

.crew-console-form textarea:focus {
    border-color: rgba(0, 212, 255, 0.55);
}

.crew-console-form textarea::placeholder {
    color: var(--text-muted);
}

.crew-console-form button {
    flex-shrink: 0;
    padding: 8px 12px;
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.crew-console-form button:hover {
    background: rgba(0, 212, 255, 0.22);
    border-color: rgba(0, 212, 255, 0.6);
}

.crew-console-form button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.crew-console-thinking {
    font-size: 0.78rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    padding: 4px 0;
    letter-spacing: 0.5px;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
    color: var(--text-primary);
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.contact-icon {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 1rem;
    color: var(--text-bright);
    margin-bottom: 2px;
}

.contact-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---------- Mission Control CTA ---------- */
.mission-cta {
    text-align: center;
    padding: var(--space-3xl) 0;
    position: relative;
    z-index: 1;
}

.mission-cta p {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.team-misfits-page .hero {
    min-height: 72vh;
}

.team-misfits-page .network-bg-img {
    opacity: 0.35;
    filter: none;
}

@media (max-width: 1024px) {
    .crew-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .crew-card:last-child:nth-child(3n + 1) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .crew-grid {
        grid-template-columns: 1fr;
    }

    .crew-grid:hover .crew-card,
    .crew-grid:hover .crew-card:hover {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .crew-card {
        min-height: unset;
    }
}
