@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --bg: #06080d;
  --ink: #f3f6fb;
  --muted: rgba(243, 246, 251, 0.7);
  --blue: #1e6bff;
  --blue-bright: #4d8dff;
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(6, 8, 13, 0.72);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
button, .btn { font-family: inherit; }
img { max-width: 100%; display: block; }

.site {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
}

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(16px, 4vw, 48px);
  background: rgba(6, 8, 13, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.top.scrolled { border-bottom-color: var(--line); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.28); }
.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 10px 28px rgba(30, 107, 255, 0.28);
}
.btn.primary:hover { background: var(--blue-bright); border-color: var(--blue-bright); }
.btn.ghost {
  background: rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.32);
}
.btn.login {
  background: rgba(20, 24, 32, 0.7);
  border-color: rgba(255,255,255,0.14);
}

main.page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 80px;
}
main.landing { width: 100%; margin: 0; padding: 0; }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url('/assets/gallery/harbour-airlift.png') center / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,8,13,0.55) 0%, rgba(6,8,13,0.35) 35%, rgba(6,8,13,0.88) 78%, #06080d 100%),
    linear-gradient(90deg, rgba(6,8,13,0.72) 0%, rgba(6,8,13,0.2) 55%, rgba(6,8,13,0.55) 100%);
}
.hero-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 72px;
  animation: rise 0.85s ease both;
}
.hero-brand {
  margin: 0 0 14px;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.hero h1 {
  margin: 0;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 12ch;
  text-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.hero .lead {
  margin: 20px 0 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: rise 1s ease 0.12s both;
}
.scroll-cue {
  display: flex;
  justify-content: center;
  padding: 0 0 28px;
  color: rgba(243,246,251,0.45);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: pulse 2.4s ease infinite;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.1) translateY(-2%); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.8; }
}

/* —— Shared sections —— */
.band {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0 24px;
}
.band.full {
  width: 100%;
  padding: 0;
}
.kicker {
  margin: 0 0 12px;
  color: var(--blue-bright);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}
.band h2, .split h2, .bleed-copy h2 {
  margin: 0 0 14px;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 18ch;
}
.band > p, .split-copy > p, .bleed-copy > p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.65;
  font-size: 16px;
}

/* Intro */
.intro {
  display: grid;
  gap: 18px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.intro strong { color: var(--ink); }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.pillar {
  padding: 22px 0 0;
  border-top: 2px solid var(--blue);
}
.pillar .num {
  color: rgba(243,246,251,0.35);
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.pillar h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Path lanes */
.lanes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.lane {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 12px;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  transition: transform 0.35s ease;
}
.lane:hover { transform: translateY(-3px); }
.lane img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s ease;
}
.lane:hover img { transform: scale(1.05); }
.lane::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6,8,13,0.15), rgba(6,8,13,0.88) 70%);
}
.lane-body { padding: 22px; }
.lane-body .num {
  font-family: 'Archivo Black', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--blue-bright);
  margin-bottom: 8px;
}
.lane-body h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
}
.lane-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 36ch;
}

/* Split feature blocks */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .split-copy { order: 2; }
.split.reverse .split-visual { order: 1; }
.split-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 360px;
  background: #0b1018;
}
.split-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.split-visual .stack {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 42%;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.chip {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.step {
  padding: 16px 14px;
  border-left: 2px solid var(--blue);
  background: rgba(255,255,255,0.02);
}
.step .n {
  font-family: 'Archivo Black', sans-serif;
  color: var(--blue-bright);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.step h4 {
  margin: 0 0 4px;
  font-size: 15px;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Emergency trio */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.trio article {
  position: relative;
  min-height: 220px;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.trio article img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.trio article::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(6,8,13,0.9));
}
.trio h3 { margin: 0 0 4px; font-size: 18px; }
.trio p { margin: 0; color: var(--muted); font-size: 13px; }

/* Gallery mosaic */
.mosaic-wrap {
  padding: 80px 0 20px;
  border-top: 1px solid var(--line);
}
.mosaic-head {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 28px;
}
.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 10px;
  width: min(1200px, calc(100% - 24px));
  margin: 0 auto;
}
.mosaic.mosaic-wide {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 200px;
}
.mosaic.mosaic-wide figure:first-child {
  grid-row: span 2;
  grid-column: span 2;
}
.mosaic figure {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.mosaic figure:hover img { transform: scale(1.06); }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.fleet-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #0b1018;
  border: 1px solid var(--line);
}
.fleet-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.fleet-grid figure:hover img { transform: scale(1.04); }
.fleet-grid figcaption {
  padding: 12px 14px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Flow / connected */
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
}
.flow span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,0.03);
}
.flow .arrow {
  border: none;
  background: transparent;
  color: var(--blue-bright);
  padding: 0 2px;
}

/* Closing CTA */
.closing {
  position: relative;
  margin-top: 40px;
  min-height: 420px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.closing-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/assets/gallery/heist-crew.png') center / cover no-repeat;
}
.closing::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6,8,13,0.92), rgba(6,8,13,0.55) 55%, rgba(6,8,13,0.8));
}
.closing-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0;
  animation: rise 0.7s ease both;
}
.closing h2 {
  max-width: 14ch;
  margin: 0 0 14px;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
}
.closing p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.6;
}

/* Inner pages reuse */
.section {
  padding: 48px 0 20px;
  border-top: 1px solid var(--line);
}
.section:first-child { border-top: none; }
.section h2 {
  margin: 0 0 12px;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.section p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.65;
}
.eyebrow {
  color: var(--blue-bright);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 12px;
}

.panel-list {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.panel-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.panel-row h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}
.panel-row p { margin: 0; color: var(--muted); font-size: 14px; }
.panel-row .meta {
  margin-top: 8px;
  color: rgba(243,246,251,0.4);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.whitelist-note {
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.live-badge {
  display: inline-block;
  background: #e11;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.on { color: #ff5a5a; font-weight: 800; }
.roster { color: var(--muted); line-height: 1.85; padding-left: 18px; }
.empty { color: var(--muted); }

.form-wrap { padding: 28px 0; }
.form-wrap h1 {
  margin: 0 0 8px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 2.2rem;
}
.field { display: grid; gap: 8px; margin: 18px 0; }
.field span { color: var(--muted); font-size: 14px; }
textarea, input {
  width: 100%;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  padding: 12px;
  font: inherit;
  resize: vertical;
}

.rules { padding: 28px 0; line-height: 1.65; }
.rules h1, .rules h2 {
  font-family: 'Archivo Black', sans-serif;
  letter-spacing: -0.01em;
}
.rules .lead, .rules ul { color: var(--muted); }

.oauth-box {
  margin-top: 28px;
  padding: 18px;
  border: 1px dashed var(--line);
  background: rgba(30, 107, 255, 0.08);
  font-size: 13px;
  color: var(--muted);
  border-radius: 12px;
}
.oauth-box code {
  display: block;
  margin-top: 10px;
  padding: 12px;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--line);
  color: #9fd0ff;
  word-break: break-all;
  border-radius: 8px;
}

.foot {
  text-align: center;
  color: rgba(243,246,251,0.38);
  font-size: 12px;
  padding: 36px 20px 48px;
  letter-spacing: 0.06em;
}
.user { color: var(--muted); font-size: 13px; margin-right: 4px; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .lanes { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-copy, .split.reverse .split-visual { order: unset; }
  .steps { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: 1fr; }
  .mosaic,
  .mosaic.mosaic-wide {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .mosaic figure:first-child,
  .mosaic.mosaic-wide figure:first-child {
    grid-row: span 1;
    grid-column: span 2;
    min-height: 200px;
  }
  .mosaic figure { min-height: 160px; }
  .fleet-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; align-items: center; }
  .hero-inner { padding-bottom: 40px; }
  .panel-row { grid-template-columns: 1fr; }
}
