:root {
    --black: #060606;
    --black-2: #0b0b0b;
    --char: #161616;
    --steel: #2a2f38;
    --blade: #b0b5be;
    --grey: #c8cdd5;
    --bone: #e2e5ea;
    --white: #f2f4f7;
    --crimson: #d83242;
    --crimson-dim: #8a1f29;
    --ice: #6ba8d4;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html {
    scroll-behavior: smooth;
    overflow-x: clip;
  }

  body {
    background: var(--black);
    color: var(--bone);
    font-family: 'Exo 2', sans-serif;
    font-weight: 300;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
  }

  /* subtle vignette + ambient floor glow */
  .ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse 80% 60% at 70% 90%, rgba(216, 50, 66, 0.04) 0%, transparent 70%),
      radial-gradient(ellipse 100% 100% at 50% 50%, transparent 0%, rgba(0,0,0,0.6) 100%);
  }

  /* faint noise texture */
  .grain {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  }

  .wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  /* non-hero sections get breathing room from viewport edges; hero stays full-bleed */
  section:not(.hero) > .wrap {
    padding: 0 clamp(20px, 2vw, 48px);
  }

  /* ============ NAV ============ */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 28px clamp(20px, 2vw, 48px);
    background: linear-gradient(to bottom, rgba(6, 6, 6, 0.92), rgba(6, 6, 6, 0));
    backdrop-filter: blur(10px);
  }
  .nav-inner {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-left {
    display: flex;
    align-items: baseline;
    gap: 14px;
  }
  .nav-mark {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: var(--white);
    text-transform: uppercase;
  }
  .nav-meta {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--blade);
    letter-spacing: 0.4em;
    text-transform: uppercase;
  }
  .nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
  }
  .nav-links a {
    color: var(--grey);
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-weight: 300;
    padding: 14px 8px;
    display: inline-block;
    transition: color 0.3s;
  }
  .nav-links a:hover,
  .nav-links a:focus-visible { color: var(--white); }
  .nav-right {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--blade);
    letter-spacing: 0.3em;
  }

  /* ============ HERO ============ */
  .hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: visible;
    padding: 120px 0 60px;
    background: #000000;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: stretch;
    width: 100%;
    min-height: 70vh;
  }

  /* left rail — bleeds past the viewport edge */
  .hero-rail {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 0 40px 80px;
    margin-left: -48px;
    border-right: 1px solid rgba(122, 128, 144, 0.18);
    position: relative;
    z-index: 5;
    background: transparent;
  }
  .rail-block {
    margin-bottom: 36px;
  }
  .rail-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--crimson);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 14px;
  }
  .rail-name {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.1;
  }
  .rail-sub {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--grey);
    letter-spacing: 0.25em;
    text-transform: uppercase;
  }
  .rail-body {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.7;
    margin-top: 16px;
    font-weight: 300;
    max-width: 240px;
  }
  .rail-coords {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--blade);
    letter-spacing: 0.2em;
    line-height: 1.8;
  }
  .rail-coords div { display: flex; justify-content: space-between; }
  .rail-coords span:last-child { color: var(--grey); }

  /* hero stage — big sculptural area */
  .hero-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
  }

  /* raven hero centerpiece — direct child of .hero, fills the section, centered on viewport */
  .raven-stage {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }
  .raven-glow {
    position: absolute;
    width: 70%;
    height: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(216, 50, 66, 0.28) 0%, rgba(216, 50, 66, 0.08) 35%, transparent 65%);
    filter: blur(60px);
    z-index: 0;
    animation: glow-pulse 6s ease-in-out infinite;
  }
  @keyframes glow-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
  }
  .raven {
    position: relative;
    z-index: 2;
    width: 108vw;
    max-width: 2200px;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    transform: translateZ(0);
  }

  /* meta row above title */
  .hero-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 60px;
    position: relative;
    z-index: 4;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--grey);
    letter-spacing: 0.3em;
    text-transform: uppercase;
  }
  .hero-meta-divider {
    flex: 0 0 60px;
    height: 1px;
    background: var(--steel);
  }
  .hero-meta-tag {
    color: var(--crimson);
  }

  /* the title — stretched and broken */
  .title {
    position: relative;
    z-index: 4;
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: clamp(40px, 8vw, 168px);
    line-height: 1.1;
    letter-spacing: 0;
    color: var(--white);
    margin-bottom: 60px;
    pointer-events: none;
    text-transform: uppercase;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.9), 0 0 80px rgba(0, 0, 0, 0.6);
  }
  .title-line {
    display: block;
    position: relative;
    white-space: nowrap;
  }
  .title-line:nth-child(2) {
    margin-top: 0.1em;
    color: var(--white);
    padding-left: 0.5em;
  }
  .title .dot {
    color: var(--crimson);
    display: inline-block;
    margin: 0 0.15em;
    font-size: 0.5em;
    vertical-align: 0.4em;
  }
  .title .thin {
    color: var(--grey);
    font-size: 0.65em;
    letter-spacing: 0.05em;
  }

  .hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 4;
    margin-top: auto;
    padding-right: clamp(20px, 2vw, 48px);
    flex-wrap: wrap;
  }
  .hero-tagline {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--grey);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    border-top: 1px solid var(--steel);
    padding-top: 16px;
    max-width: 220px;
  }
  .hero-actions {
    display: flex;
    gap: 24px;
    align-items: center;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    background: none;
    font-weight: 400;
  }
  .btn-primary {
    background: var(--white);
    color: var(--black);
    font-weight: 500;
  }
  .btn-primary:hover {
    background: var(--crimson);
    color: var(--white);
  }
  .btn-ghost {
    color: var(--bone);
    border: 1px solid var(--steel);
  }
  .btn-ghost:hover {
    border-color: var(--white);
    color: var(--white);
  }
  .btn-arrow {
    font-family: 'Exo 2', sans-serif;
    font-weight: 300;
    transition: transform 0.3s;
  }
  .btn:hover .btn-arrow { transform: translateX(4px); }

  /* corner UI marks */
  .corner-mark {
    position: absolute;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--blade);
    letter-spacing: 0.3em;
    z-index: 4;
  }
  .corner-tr { top: 100px; right: 48px; text-align: right; }
  .corner-br { bottom: 130px; right: 48px; text-align: right; }

  /* ============ SECTION SHARED ============ */
  section {
    padding: 180px 0;
    position: relative;
    scroll-margin-top: 120px;
  }

  .section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--crimson);
    letter-spacing: 0.4em;
    text-transform: uppercase;
  }
  .section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--crimson);
  }
  .section-title {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: clamp(32px, 5.5vw, 112px);
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--white);
    max-width: 1400px;
    text-transform: uppercase;
  }
  .section-title .accent {
    color: var(--crimson);
  }
  .section-title .thin {
    color: var(--grey);
    font-size: 0.75em;
  }
  .section-head {
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: end;
  }
  .section-desc {
    color: var(--grey);
    font-size: 15px;
    line-height: 1.8;
    max-width: 360px;
    font-weight: 300;
  }

  /* ============ ABOUT — minimal pillar list ============ */
  .pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--steel);
  }
  .pillar {
    padding: 56px 48px 56px 0;
    border-bottom: 1px solid var(--steel);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    align-items: start;
    transition: background 0.3s;
  }
  .pillar:nth-child(odd) {
    border-right: 1px solid var(--steel);
    padding-right: 48px;
  }
  .pillar:nth-child(even) {
    padding-left: 48px;
  }
  .pillar:hover { background: rgba(216, 50, 66, 0.02); }
  .pillar-num {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: var(--crimson);
    letter-spacing: 0.1em;
    line-height: 1;
    padding-top: 8px;
  }
  .pillar-title {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--white);
    letter-spacing: 0;
    margin-bottom: 18px;
    line-height: 1.2;
    text-transform: uppercase;
  }
  .pillar-body {
    color: var(--grey);
    line-height: 1.7;
    font-size: 15px;
    font-weight: 300;
  }

  /* ============ FLEET — stats + filters + sparse table ============ */
  .fleet-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-bottom: 56px;
    border-top: 1px solid var(--steel);
    border-bottom: 1px solid var(--steel);
  }
  .fleet-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 32px 24px;
    border-right: 1px solid var(--steel);
  }
  .fleet-stat:nth-child(5n) { border-right: none; }
  .fleet-stat:nth-child(-n+5) { border-bottom: 1px solid var(--steel); }
  .fleet-stat-num {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: clamp(22px, 2.4vw, 34px);
    color: var(--white);
    line-height: 1;
    letter-spacing: 0.01em;
  }
  .fleet-stat-unit {
    color: var(--crimson);
    font-size: 0.6em;
    margin-left: 0.1em;
  }
  .fleet-stat-prefix {
    color: var(--crimson);
    font-size: 1em;
    margin-right: 0.05em;
  }
  .fleet-stat-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--blade);
    letter-spacing: 0.3em;
    text-transform: uppercase;
  }

  .fleet-controls {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 32px;
  }
  .fleet-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1 1 60%;
    min-width: 280px;
  }
  .fleet-sort {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
  }
  .fleet-sort-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--blade);
    letter-spacing: 0.3em;
    text-transform: uppercase;
  }
  .fleet-sort-select {
    appearance: none;
    -webkit-appearance: none;
    background:
      linear-gradient(45deg, transparent 50%, var(--bone) 50%) calc(100% - 14px) 50% / 6px 6px no-repeat,
      transparent;
    border: 1px solid var(--steel);
    color: var(--white);
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 11px 36px 11px 14px;
    cursor: pointer;
    transition: border-color 0.2s;
  }
  .fleet-sort-select:hover { border-color: var(--blade); }
  .fleet-sort-select:focus-visible { border-color: var(--crimson); outline: none; }
  .fleet-sort-select option { background: var(--black-2); color: var(--white); }
  .fleet-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--steel);
    color: var(--grey);
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
  }
  .fleet-filter:hover {
    border-color: var(--blade);
    color: var(--white);
  }
  .fleet-filter[aria-pressed="true"] {
    border-color: var(--crimson);
    color: var(--white);
    background: rgba(216, 50, 66, 0.06);
  }
  .fleet-filter-count {
    color: var(--blade);
    font-size: 0.85em;
  }
  .fleet-filter[aria-pressed="true"] .fleet-filter-count {
    color: var(--crimson);
  }

  .ship-header {
    display: grid;
    grid-template-columns: 64px 1fr 70px 80px 60px 100px 70px 24px;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--steel);
    border-bottom: 1px solid var(--steel);
    position: sticky;
    top: 96px;
    background: var(--black);
    z-index: 3;
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: var(--blade);
    letter-spacing: 0.3em;
    text-transform: uppercase;
  }
  .ship-header > div { text-align: left; }
  .ship-header > .ship-header-cell { text-align: center; }
  .ship-header-btn {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    text-align: inherit;
    cursor: pointer;
    transition: color 0.2s;
  }
  .ship-header-btn:hover { color: var(--white); }
  .ship-header-btn[aria-sort] { color: var(--white); }
  .ship-header-btn:focus-visible {
    outline: 1px solid var(--crimson);
    outline-offset: 4px;
  }
  .sort-arrow {
    display: inline-block;
    margin-left: 5px;
    color: var(--crimson);
    font-size: 0.9em;
    width: 0.7em;
    text-align: center;
  }
  .sort-arrow:empty { width: 0; margin-left: 0; }

  .fleet-list {
    min-height: 200px;
  }

  .fleet-pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 28px;
    padding-top: 24px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
  }
  .fleet-page-info {
    color: var(--blade);
  }
  .fleet-page-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
  }
  .fleet-page-current {
    color: var(--grey);
  }
  .fleet-page-current span {
    color: var(--white);
  }
  .fleet-page-btn {
    background: transparent;
    border: 1px solid var(--steel);
    color: var(--grey);
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 9px 14px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .fleet-page-btn:hover:not(:disabled) {
    border-color: var(--blade);
    color: var(--white);
  }
  .fleet-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }
  .fleet-page-size {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .fleet-page-size-label {
    color: var(--blade);
    margin-right: 6px;
  }
  .fleet-size-btn {
    background: transparent;
    border: 1px solid var(--steel);
    color: var(--grey);
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 0.2em;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .fleet-size-btn:hover { border-color: var(--blade); color: var(--white); }
  .fleet-size-btn[aria-pressed="true"] {
    border-color: var(--crimson);
    color: var(--white);
    background: rgba(216, 50, 66, 0.06);
  }
  .ship {
    display: grid;
    grid-template-columns: 64px 1fr 70px 80px 60px 100px 70px 24px;
    gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--steel);
    align-items: center;
    transition: all 0.3s;
    position: relative;
  }
  .ship:hover {
    padding-left: 12px;
    padding-right: 12px;
    background: rgba(216, 50, 66, 0.04);
  }
  .ship-spec-cell {
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    color: var(--bone);
    text-align: center;
    letter-spacing: 0.04em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
  .ship-spec-cell.is-empty { color: var(--blade); }
  .ship-spec-unit {
    color: var(--blade);
    font-size: 0.78em;
    margin-left: 3px;
  }
  .ship:hover .ship-name { color: var(--white); }
  .ship:hover .ship-arrow { color: var(--crimson); transform: translateX(4px); }
  .ship.is-flagship {
    background: rgba(216, 50, 66, 0.025);
  }
  .ship.is-flagship .ship-id { color: var(--crimson); }

  .ship-id {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--blade);
    letter-spacing: 0.2em;
  }
  .ship-name {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--bone);
    letter-spacing: 0.02em;
    transition: color 0.3s;
    text-transform: uppercase;
  }
  .ship-class {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--grey);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-top: 6px;
  }
  .ship-qty {
    font-family: 'Share Tech Mono', monospace;
    font-size: 16px;
    color: var(--bone);
    letter-spacing: 0.05em;
    text-align: center;
    font-variant-numeric: tabular-nums;
  }
  .ship-qty-x {
    color: var(--blade);
    margin-right: 4px;
  }
  .ship-spec {
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    color: var(--bone);
  }
  .ship-spec-label {
    font-size: 11px;
    color: var(--blade);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
  }
  .ship-status {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .status-active .status-dot { background: var(--crimson); box-shadow: 0 0 8px var(--crimson); }
  .status-active { color: var(--crimson); }
  .status-deploy .status-dot { background: var(--ice); box-shadow: 0 0 8px var(--ice); }
  .status-deploy { color: var(--ice); }
  .status-standby .status-dot { background: var(--blade); }
  .status-standby { color: var(--grey); }
  .ship-arrow {
    color: var(--blade);
    font-family: 'Exo 2', sans-serif;
    font-weight: 200;
    font-size: 18px;
    transition: all 0.3s;
  }

  /* ============ CREW — minimal portrait grid ============ */
  .crew-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--steel);
    border-left: 1px solid var(--steel);
  }
  .crew-card {
    padding: 48px 40px;
    border-right: 1px solid var(--steel);
    border-bottom: 1px solid var(--steel);
    transition: all 0.4s;
    position: relative;
  }
  .crew-card:hover {
    background: rgba(216, 50, 66, 0.025);
  }
  .crew-card:hover .crew-portrait {
    border-color: var(--crimson);
  }
  .crew-card:hover .crew-portrait svg {
    color: var(--crimson);
  }

  .crew-portrait {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 28px;
    border: 1px solid var(--steel);
    background: linear-gradient(135deg, var(--char), var(--black-2));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s;
  }
  .crew-portrait::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(216, 50, 66, 0.06), transparent 60%);
  }
  .crew-portrait svg {
    width: 50%; height: 50%;
    color: var(--blade);
    transition: color 0.4s;
    z-index: 1;
  }
  .crew-portrait::after {
    content: '';
    position: absolute;
    top: 12px; left: 12px;
    width: 16px; height: 16px;
    border-top: 1px solid var(--blade);
    border-left: 1px solid var(--blade);
  }
  .crew-rank {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--crimson);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .crew-name {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
  }
  .crew-callsign {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--grey);
    margin-bottom: 20px;
    letter-spacing: 0.2em;
  }
  .crew-spec {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.7;
    padding-top: 20px;
    border-top: 1px solid var(--steel);
    font-weight: 300;
  }

  /* ============ RECRUIT — full-bleed dramatic ============ */
  .recruit-section {
    padding: 200px 0;
    position: relative;
    overflow: hidden;
  }
  .recruit-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.4;
  }
  .recruit-bg svg {
    width: 100%; height: 100%;
    object-fit: cover;
  }
  .recruit-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding: 0 48px;
  }
  .recruit-eyebrow {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--crimson);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    margin-bottom: 40px;
  }
  .recruit-title {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    font-size: clamp(36px, 6.5vw, 136px);
    line-height: 1.15;
    letter-spacing: 0;
    margin-bottom: 48px;
    color: var(--white);
    text-transform: uppercase;
  }
  .recruit-title .accent {
    color: var(--crimson);
    display: block;
  }
  .recruit-desc {
    color: var(--grey);
    max-width: 580px;
    margin: 0 auto 60px;
    line-height: 1.8;
    font-size: 15px;
    font-weight: 300;
  }
  .recruit-desc em {
    font-style: normal;
    color: var(--white);
    font-weight: 500;
  }
  .req-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    max-width: 800px;
    margin: 0 auto 56px;
    border-top: 1px solid var(--steel);
    border-bottom: 1px solid var(--steel);
  }
  .req {
    padding: 18px 24px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.25em;
    color: var(--grey);
    text-transform: uppercase;
    border-right: 1px solid var(--steel);
    flex: 1;
    min-width: 200px;
    text-align: center;
  }
  .req:last-child { border-right: none; }

  .recruit-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ============ FOOTER ============ */
  footer {
    border-top: 1px solid var(--steel);
    padding: 60px 0 40px;
    position: relative;
    z-index: 2;
  }
  .footer-inner {
    margin: 0 auto;
    padding: 0 clamp(20px, 2vw, 48px);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  .footer-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--grey);
    letter-spacing: 0.25em;
    text-transform: uppercase;
  }
  .footer-text.center { text-align: center; }
  .footer-text.right { text-align: right; }
  .footer-text span { color: var(--crimson); }

  /* ============ SCROLL REVEAL ============ */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-rail { display: none; }
    .raven-stage { opacity: 0.55; }
    .raven { width: 140vw; }
    .corner-mark { display: none; }
    .section-head { grid-template-columns: 1fr; }
    .fleet-stats { grid-template-columns: repeat(3, 1fr); }
    .fleet-stat { border-right: 1px solid var(--steel); border-bottom: 1px solid var(--steel); }
    .fleet-stat:nth-child(3n) { border-right: none; }
    .fleet-stat:nth-last-child(-n+1) { border-bottom: none; }
    .ship,
    .ship-header { grid-template-columns: 60px 1fr 80px 80px 70px 24px; }
    .ship .ship-cell-length, .ship .ship-cell-crew,
    .ship-header .ship-cell-length, .ship-header .ship-cell-crew { display: none; }
  }
  @media (max-width: 800px) {
    nav { padding: 20px clamp(20px, 4vw, 24px); }
    .nav-right { display: none; }
    section { padding: 120px 0; }
    .title { font-size: clamp(28px, 9vw, 56px); }
    .title-line:nth-child(2) { padding-left: 0; }
    .pillars { grid-template-columns: 1fr; }
    .pillar:nth-child(odd) { border-right: none; padding-right: 0; }
    .pillar:nth-child(even) { padding-left: 0; }
    .crew-grid { grid-template-columns: 1fr; }
    .ship,
    .ship-header { grid-template-columns: 56px 1fr 60px; gap: 12px; }
    .ship-spec-cell, .ship-arrow,
    .ship-header .ship-header-cell:not(:last-of-type) { display: none; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
    .footer-text.right, .footer-text.center { text-align: center; }
    .req { min-width: 50%; border-bottom: 1px solid var(--steel); }
    .fleet-stats { grid-template-columns: repeat(2, 1fr); }
    .fleet-stat { padding: 20px 18px; border-right: 1px solid var(--steel); border-bottom: 1px solid var(--steel); }
    .fleet-stat:nth-child(2n) { border-right: none; }
    .fleet-stat:nth-last-child(-n+2) { border-bottom: none; }
  }

  /* ============ ACCESSIBILITY ============ */
  :focus-visible {
    outline: 2px solid var(--crimson);
    outline-offset: 3px;
  }
  .btn:focus-visible {
    outline-offset: 4px;
  }

  .skip-link {
    position: absolute;
    top: 0;
    left: 0;
    padding: 14px 20px;
    background: var(--crimson);
    color: var(--white);
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 200;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
  }
  .skip-link:focus-visible {
    transform: translateY(0);
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
  }

  /* ============ MOBILE NAV TOGGLE ============ */
  .nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--steel);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--white);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  @media (max-width: 800px) {
    .nav-toggle { display: flex; }
    .nav-links {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: min(80vw, 320px);
      background: var(--black-2);
      border-left: 1px solid var(--steel);
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
      padding: 100px 32px 32px;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      z-index: 90;
    }
    .nav-links.open {
      transform: translateX(0);
    }
    .nav-links li {
      width: 100%;
      border-bottom: 1px solid var(--steel);
    }
    .nav-links a {
      display: block;
      padding: 18px 0;
      font-size: 14px;
    }
  }
