/* MatDrone FLEET — quadcopter vs fixed-wing showcase. Prefix: fleet-. Tokens only.
   Gating: .fleet--js (set by js/fleet.js) adds the sticky stage and shows one panel at a time. */

.fleet { padding-block: 0; }
.fleet-stage { position: relative; min-height: 100svh; display: flex; }
.fleet--js { min-height: 230vh; }
.fleet--js .fleet-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }

.fleet-drag { position: absolute; inset: 0; z-index: 0; touch-action: pan-y; cursor: grab; }
@media (hover: none), (pointer: coarse) { .fleet-drag { cursor: default; } }
.fleet-scrim {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(var(--bg-rgb), 0.92) 0%, rgba(var(--bg-rgb), 0.55) 45%, transparent 75%);
}

.fleet-ui {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100%;
  padding-block: calc(var(--nav-h) + 1.5rem) clamp(1.25rem, 4vh, 2.5rem);
  pointer-events: none;
}
.fleet-copy { pointer-events: auto; max-width: 32rem; }
.fleet-head { margin-bottom: 1.25rem; gap: 0.9rem; }
.fleet-head .h1 { font-size: clamp(2rem, 4vw, 4rem); }
.fleet-lead { color: var(--fg-2); max-width: 44ch; }

.fleet-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.fleet-tab__idx { opacity: 0.55; margin-right: 0.35rem; }

.fleet-panel {
  display: grid; gap: 0.75rem;
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
  background: rgba(var(--bg-rgb), 0.78);
  border: 1px solid var(--line);
}
.fleet-panel + .fleet-panel { margin-top: 1rem; }
.fleet--js .fleet-panel { display: none; }
.fleet--js .fleet-panel.is-on { display: grid; animation: fleet-in var(--t) var(--ease-out); }
.fleet--js .fleet-panel + .fleet-panel { margin-top: 0; }
@keyframes fleet-in { from { opacity: 0; transform: translateY(10px); } }
.fleet-panel__tag { color: var(--fg-3); }
.fleet-panel__tag .mono { color: var(--accent); }
.fleet-panel__name {
  font-family: var(--font-display); font-stretch: 125%; font-style: italic; font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: -0.03em; line-height: 1;
}
.fleet-panel__text { color: var(--fg-2); font-size: var(--fs-small); max-width: 52ch; }
.fleet-specs .kv:last-child { border-bottom: 0; }

.fleet-callout {
  position: absolute; right: var(--gutter); bottom: clamp(1.25rem, 4vh, 2.5rem);
  display: grid; justify-items: end; gap: 0.4rem;
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase;
}
.fleet-callout__sign { color: var(--accent-2); }
.fleet-callout__hint { color: var(--fg-3); }
.fleet[data-craft="wing"] .fleet-callout__hint { visibility: hidden; }

@media (max-width: 899px) {
  .fleet-lead { display: none; }
  .fleet-callout { display: none; }
  .fleet-specs .kv:nth-child(n+3) { display: none; }
}
@media (min-width: 900px) {
  .fleet-ui { justify-content: center; }
  .fleet-scrim { background: linear-gradient(to right, rgba(var(--bg-rgb), 0.88) 0%, rgba(var(--bg-rgb), 0.55) 34%, transparent 58%); }
}
@media (max-height: 640px) and (min-width: 900px) {
  .fleet-lead { display: none; }
}
