/* =========================================================
   MARABUNTA GRANDE — Konzeptseite
   Darkmode · Neon-Türkis · Babyblau
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --bg:            #06080d;
  --bg-soft:       #0a0e16;
  --bg-card:       rgba(18, 24, 36, 0.62);
  --bg-card-solid: #11151f;
  --line:          rgba(120, 230, 255, 0.12);
  --line-strong:   rgba(0, 245, 212, 0.35);

  --turquoise:     #00f5d4;
  --turquoise-dim: #0bb39c;
  --babyblue:      #8ec3ff;
  --babyblue-dim:  #5aa6e8;
  --ink:           #e8f6ff;
  --ink-soft:      #9fb4c7;
  --ink-faint:     #5d7387;
  --danger:        #ff4d6d;

  --glow-t: 0 0 18px rgba(0, 245, 212, 0.55);
  --glow-b: 0 0 18px rgba(142, 195, 255, 0.45);

  --font-display: "Oswald", "Bebas Neue", Impact, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;

  --maxw: 1180px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient background glow + subtle noise grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(820px 520px at 12% -8%, rgba(0, 245, 212, 0.12), transparent 60%),
    radial-gradient(720px 520px at 92% 4%, rgba(142, 195, 255, 0.12), transparent 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(0, 245, 212, 0.07), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(120, 230, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 230, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(var(--maxw), 92%); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--turquoise);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--turquoise));
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: 0.01em; }

.section-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-transform: uppercase;
  margin: 0.7rem 0 1rem;
}
.section-title .accent { color: var(--turquoise); text-shadow: var(--glow-t); }
.section-title .accent-b { color: var(--babyblue); text-shadow: var(--glow-b); }

.lede { color: var(--ink-soft); max-width: 62ch; font-size: 1.05rem; }
.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --c: var(--turquoise);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--c);
  color: var(--bg);
  background: var(--c);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  box-shadow: 0 0 0 rgba(0, 245, 212, 0);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -8px var(--c); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn.ghost:hover { border-color: var(--turquoise); color: var(--turquoise); box-shadow: var(--glow-t); }
.btn.blue { --c: var(--babyblue); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 2.4rem);
  background: rgba(6, 8, 13, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(6, 8, 13, 0.86);
  border-bottom-color: var(--line);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand svg { width: 38px; height: 38px; filter: drop-shadow(var(--glow-t)); }
.brand-logo {
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 10px rgba(0, 245, 212, 0.45));
  transition: transform 0.4s var(--ease), filter 0.4s;
}
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.06); filter: drop-shadow(0 0 16px rgba(0, 245, 212, 0.7)); }

/* Hero logo */
.hero-logo {
  width: clamp(130px, 22vw, 200px);
  height: auto;
  margin: 0 auto 0.4rem;
  border-radius: 50%;
  filter: drop-shadow(0 0 26px rgba(0, 245, 212, 0.5)) drop-shadow(0 0 50px rgba(142, 195, 255, 0.3));
  animation: badgeIn 1s var(--ease) both, badgeFloat 6s ease-in-out 1s infinite;
}
@keyframes badgeIn { from { opacity: 0; transform: scale(0.7) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes badgeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1;
}
.brand-name b { color: var(--turquoise); }
.brand-name span { display: block; font-size: 0.6rem; letter-spacing: 0.42em; color: var(--ink-soft); }

.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links a {
  position: relative;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
  height: 2px;
  background: var(--turquoise);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
  box-shadow: var(--glow-t);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--turquoise); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 7rem 1rem 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
}
.hero-bg img, .hero-bg svg {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.62;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.05) translate(0, 0); }
  to   { transform: scale(1.16) translate(-2%, -1%); }
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,8,13,0.55) 0%, rgba(6,8,13,0.2) 38%, var(--bg) 96%),
    radial-gradient(circle at 50% 42%, transparent 30%, rgba(6,8,13,0.7) 100%);
}
.hero-inner { max-width: 880px; }
.hero h1 {
  font-size: clamp(3rem, 11vw, 8.2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 1rem 0 0.4rem;
}
.hero h1 .l1 { display: block; color: var(--ink); }
.hero h1 .l2 {
  display: block;
  color: var(--turquoise);
  text-shadow: 0 0 28px rgba(0, 245, 212, 0.6);
  position: relative;
}
.hero .tag {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: var(--babyblue);
  font-size: clamp(0.7rem, 2.2vw, 1rem);
  text-shadow: var(--glow-b);
}
.hero .quote {
  margin: 1.6rem auto 2.2rem;
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: 1.1rem;
  font-style: italic;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-hint {
  position: absolute;
  bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-hint .mouse {
  width: 22px; height: 36px;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute; top: 6px; left: 50%;
  width: 3px; height: 7px;
  background: var(--turquoise);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: wheel 1.8s infinite;
}
@keyframes wheel { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 80% { opacity: 0; top: 16px; } }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--bg-soft); padding: 1.8rem 1.2rem; text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--turquoise);
  text-shadow: var(--glow-t);
  line-height: 1;
}
.stat .lbl { color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.72rem; margin-top: 0.5rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,245,212,0.08), transparent 45%);
  opacity: 0; transition: opacity 0.35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px -22px rgba(0, 245, 212, 0.4);
}
.card:hover::before { opacity: 1; }
.card .icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid var(--line-strong);
  color: var(--turquoise);
  margin-bottom: 1.1rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Page header (sub pages) ---------- */
.page-head {
  padding: 9rem 0 3rem;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 320px at 50% -10%, rgba(0,245,212,0.16), transparent 70%);
}
.page-head h1 {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  text-transform: uppercase;
}
.page-head h1 .accent { color: var(--turquoise); text-shadow: var(--glow-t); }
.breadcrumb { color: var(--ink-soft); font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.8rem; }
.breadcrumb a:hover { color: var(--turquoise); }

/* ---------- Story / prose ---------- */
.prose { max-width: 72ch; margin-inline: auto; }
.prose .chapter { margin-bottom: 3.2rem; }
.prose .chapter-no {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--babyblue);
  text-transform: uppercase;
}
.prose h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  text-transform: uppercase;
  margin: 0.4rem 0 1.1rem;
}
.prose p { margin-bottom: 1.15rem; color: #c4d4e2; font-size: 1.08rem; }
.prose p .drop {
  float: left;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.8;
  padding: 0.1rem 0.7rem 0 0;
  color: var(--turquoise);
  text-shadow: var(--glow-t);
}
.pull {
  border-left: 3px solid var(--turquoise);
  padding: 0.4rem 0 0.4rem 1.4rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--ink);
}
.pull span { color: var(--turquoise); }

/* ---------- Leadership / member cards ---------- */
.roster { display: grid; gap: 1.4rem; }
.roster.lead { grid-template-columns: repeat(3, 1fr); }
.roster.mem  { grid-template-columns: repeat(4, 1fr); }

.person {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card-solid);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.person:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 54px -24px rgba(0, 245, 212, 0.45);
}
.person .avatar {
  aspect-ratio: 1 / 1;
  position: relative;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(0,245,212,0.18), transparent 60%),
    linear-gradient(160deg, #0d1626, #070a11);
  overflow: hidden;
}
.person .avatar svg { width: 64%; height: 64%; opacity: 0.92; }
.person:hover .avatar svg { animation: float 4s ease-in-out infinite; }
.person .rank-badge {
  position: absolute;
  top: 0.7rem; right: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(6,8,13,0.7);
  border: 1px solid var(--line-strong);
  color: var(--turquoise);
  backdrop-filter: blur(6px);
}
.person .body { padding: 1.1rem 1.2rem 1.4rem; }
.person .name { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; line-height: 1; }
.lead .person .name { font-size: 1.5rem; }
.person .role { color: var(--babyblue); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 0.3rem; }
.person .desc { color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.7rem; }
.person.boss { border-color: var(--line-strong); box-shadow: 0 0 40px -12px rgba(0,245,212,0.4); }
.person.boss .avatar { background:
    radial-gradient(circle at 50% 35%, rgba(0,245,212,0.3), transparent 60%),
    linear-gradient(160deg, #0f2030, #070a11); }

.rank-meter { display: flex; gap: 3px; margin-top: 0.9rem; }
.rank-meter i {
  flex: 1; height: 5px; border-radius: 3px;
  background: rgba(142,195,255,0.14);
}
.rank-meter i.on { background: var(--turquoise); box-shadow: 0 0 8px rgba(0,245,212,0.6); }

/* ---------- Code / Kodex ---------- */
.kodex { display: grid; gap: 1rem; counter-reset: k; }
.kodex li {
  display: flex; gap: 1.2rem; align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.kodex li:hover { border-color: var(--line-strong); transform: translateX(6px); }
.kodex li::before {
  counter-increment: k;
  content: "0" counter(k);
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--turquoise);
  text-shadow: var(--glow-t);
  line-height: 1;
}
.kodex h3 { font-size: 1.2rem; text-transform: uppercase; margin-bottom: 0.3rem; }
.kodex p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Business / vehicle list rows ---------- */
.rows { display: grid; gap: 1rem; }
.row-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.6rem;
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.row-item:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0,245,212,0.4); }
.row-item .ri-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(0,245,212,0.1);
  border: 1px solid var(--line-strong);
  color: var(--turquoise);
}
.row-item .ri-icon svg { width: 26px; height: 26px; }
.row-item h3 { font-size: 1.2rem; text-transform: uppercase; }
.row-item p { color: var(--ink-soft); font-size: 0.92rem; }
.tagpill {
  font-family: var(--font-display);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--babyblue);
  white-space: nowrap;
}
.tagpill.hot { color: var(--turquoise); }
.tagpill.risk { color: var(--danger); border-color: rgba(255,77,109,0.4); }

/* ---------- Vehicle cards ---------- */
.fleet { grid-template-columns: repeat(3, 1fr); }
.vehicle { padding: 0; overflow: hidden; }
.vehicle .v-vis {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,245,212,0.16), transparent 55%),
    linear-gradient(160deg, #0e1828, #06090f);
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
}
.vehicle .v-vis svg { width: 78%; height: auto; }
.vehicle .v-vis.photo { padding: 0; overflow: hidden; }
.vehicle .v-vis.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.vehicle:hover .v-vis.photo img { transform: scale(1.08); }
.vehicle:hover .v-vis svg { animation: drive 2.4s ease-in-out infinite; }
.vehicle .v-body { padding: 1.3rem 1.5rem 1.6rem; }
.vehicle .v-class { color: var(--babyblue); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; }
.vehicle h3 { font-size: 1.4rem; text-transform: uppercase; margin: 0.2rem 0 0.5rem; }
.vehicle .specs { display: flex; gap: 1.2rem; margin-top: 1rem; }
.vehicle .specs div { text-align: center; }
.vehicle .specs .s-num { font-family: var(--font-display); color: var(--turquoise); font-size: 1.2rem; }
.vehicle .specs .s-lbl { color: var(--ink-soft); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cta-band {
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.4rem, 6vw, 4rem);
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(0,245,212,0.14), transparent 70%),
    var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.8rem, 5vw, 3rem); text-transform: uppercase; }
.cta-band p { color: var(--ink-soft); max-width: 50ch; margin: 0.8rem auto 1.8rem; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.footer .brand-name { font-size: 1.4rem; }
.footer .f-tag { color: var(--ink-soft); max-width: 34ch; margin-top: 0.8rem; font-size: 0.92rem; }
.footer-cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.footer-cols h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.84rem; color: var(--ink); margin-bottom: 0.9rem; }
.footer-cols a { display: block; color: var(--ink-soft); font-size: 0.9rem; padding: 0.22rem 0; transition: color 0.25s; }
.footer-cols a:hover { color: var(--turquoise); }
.footer-bottom {
  margin-top: 2.4rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  color: var(--ink-faint); font-size: 0.8rem;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

/* ---------- Marching ants (decorative) ---------- */
.ant-trail { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ant-trail .ant {
  position: absolute;
  width: 14px; height: 14px;
  color: rgba(0, 245, 212, 0.5);
  animation: march linear infinite;
}
@keyframes march {
  from { transform: translateX(-6vw) rotate(8deg); }
  to   { transform: translateX(106vw) rotate(8deg); }
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes drive { 0%,100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

/* ---------- Animations on titles ---------- */
@keyframes flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.45; }
  94% { opacity: 1; }
  96% { opacity: 0.7; }
  97% { opacity: 1; }
}
.hero h1 .l2 { animation: flicker 6s infinite; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .roster.lead { grid-template-columns: repeat(2, 1fr); }
  .roster.mem  { grid-template-columns: repeat(2, 1fr); }
  .fleet { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.4rem;
    padding: 2rem;
    background: rgba(8, 11, 18, 0.97);
    backdrop-filter: blur(18px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.1rem; padding: 0.7rem 0.5rem; width: 100%; }
  .nav-toggle { display: block; z-index: 101; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
  .roster.lead, .roster.mem, .fleet { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .row-item { grid-template-columns: auto 1fr; }
  .row-item .tagpill { grid-column: 2; justify-self: start; }
  .boss-feature { grid-template-columns: 1fr !important; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
