:root {
  color-scheme: dark;
  --ink: #080a0b;
  --ink-soft: #111416;
  --paper: #f3f2e9;
  --muted: #aeb5b3;
  --line: rgba(243, 242, 233, .16);
  --acid: #e8ff47;
  --cyan: #35e9e2;
  --coral: #ff5c54;
  --violet: #9e85ff;
  --radius: 6px;
  --content: 1180px;
  --read: 760px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --beat-speed: .428571s;
  --measure-speed: 1.714286s;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--paper);
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
}

body.nav-open { overflow: hidden; }

a { color: inherit; }
button, input { font: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

img { display: block; max-width: 100%; height: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scroll-meter {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: var(--cyan);
  pointer-events: none;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 110;
  transform: translateY(-160%);
  padding: .7rem 1rem;
  border-radius: var(--radius);
  background: var(--acid);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.signal-bar {
  position: relative;
  z-index: 12;
  height: 29px;
  overflow: hidden;
  background: var(--acid);
  color: var(--ink);
  font-family: "Handjet", monospace;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-track {
  display: flex;
  width: max-content;
  animation: signal-run 18s linear infinite;
}

.signal-sequence {
  display: flex;
  flex: none;
}

.signal-sequence span {
  display: inline-flex;
  align-items: center;
  height: 29px;
  white-space: nowrap;
}

.signal-sequence span::after {
  content: "/ /";
  padding: 0 1.1rem;
}

@keyframes signal-run { to { transform: translateX(-50%); } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 11, .92);
  backdrop-filter: blur(16px);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - 32px), var(--content));
  margin-inline: auto;
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-soft);
}

.brand-mark img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.brand-copy { display: grid; line-height: .78; }
.brand-copy b {
  font-family: "Handjet", monospace;
  font-size: 1.55rem;
  font-weight: 800;
}
.brand-copy small {
  color: var(--acid);
  font-size: .62rem;
  font-weight: 800;
}

.menu-button {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 21px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.menu-button[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-button[aria-expanded="true"] .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: 99px 0 0;
  z-index: 19;
  display: grid;
  align-content: start;
  gap: 0;
  padding: 1rem 1rem 7rem;
  overflow: auto;
  background: rgba(8, 10, 11, .985);
  transform: translateX(105%);
  transition: transform 240ms var(--ease);
}

.nav-open .site-nav { transform: translateX(0); }

.site-nav a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font-family: "Handjet", monospace;
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after { content: "↗"; color: var(--muted); font-family: inherit; }
.site-nav a[aria-current="page"] { color: var(--acid); }

main { padding-bottom: 74px; }

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 36px, transparent 36px 44px, var(--coral) 44px 80px, transparent 80px 88px);
}

.hero-grid {
  min-height: 590px;
  display: grid;
  align-items: center;
  gap: 2rem;
  padding-block: 3.5rem 4.5rem;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow span {
  padding: .25rem .45rem;
  border-radius: 3px;
  background: var(--cyan);
  color: var(--ink);
}

h1, h2, h3 {
  margin: 0;
  font-family: "Handjet", monospace;
  font-weight: 750;
  letter-spacing: 0;
  line-height: .88;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  font-size: 4.5rem;
  overflow-wrap: anywhere;
}

h2 { font-size: 3.25rem; }
h3 { font-size: 2rem; }

.lead {
  max-width: 680px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.6rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: .78rem 1rem;
  border: 1px solid var(--acid);
  border-radius: var(--radius);
  background: var(--acid);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease);
}

.button:hover { transform: translateY(-2px); background: #f3ff8a; }
.button.secondary { border-color: var(--line); background: var(--ink-soft); color: var(--paper); }
.button.secondary:hover { border-color: var(--cyan); background: #182021; }
.button.external::after, .text-link.external::after { content: "↗"; }

.hero-visual {
  position: relative;
  min-height: 350px;
  display: grid;
  align-content: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-soft);
  box-shadow: 12px 12px 0 var(--cyan);
  isolation: isolate;
}

.logo-stage {
  position: absolute;
  inset: 0 0 116px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  overflow: hidden;
}

.logo-stage::before {
  content: "JSB";
  position: absolute;
  color: rgba(243, 242, 233, .045);
  font-family: "Handjet", monospace;
  font-size: 12rem;
  font-weight: 900;
  line-height: 1;
}

.logo-stage::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 10px;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan) 18% 82%, transparent);
  box-shadow: 0 0 12px rgba(53, 233, 226, .55);
}

.logo-stage img {
  position: relative;
  z-index: 2;
  width: 155px;
  filter: drop-shadow(0 0 20px rgba(53, 233, 226, .3));
  animation: logo-kick-beat var(--beat-speed) cubic-bezier(.45, 0, .55, 1) infinite;
}

@keyframes logo-kick-beat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

.orbit {
  position: absolute;
  width: 230px;
  aspect-ratio: 1;
  border: 1px dashed rgba(232, 255, 71, .44);
  border-radius: 50%;
  animation: orbit-spin 12s linear infinite;
}

.orbit-two { width: 180px; border-color: rgba(255, 92, 84, .55); animation-direction: reverse; animation-duration: 8s; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.beat-bars {
  position: absolute;
  inset: 1rem 1rem 130px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3px;
  opacity: .35;
}

.beat-bars i {
  width: 100%;
  height: calc(16% + (var(--i) % 5) * 11%);
  background: var(--cyan);
  transform-origin: bottom;
  animation: bar-beat var(--beat-speed) ease-in-out infinite;
}

.beat-bars i:nth-child(3n) { background: var(--coral); }
.beat-bars i:nth-child(4n) { background: var(--acid); }
@keyframes bar-beat {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(.22); }
}

.measure-status {
  position: relative;
  z-index: 3;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .45rem .8rem;
  border-top: 1px solid var(--line);
  background: rgba(8, 10, 11, .88);
}

.tempo-readout {
  display: flex;
  align-items: baseline;
  gap: .28rem;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tempo-readout strong {
  color: var(--paper);
  font-family: "Handjet", monospace;
  font-size: 1.25rem;
  line-height: 1;
}

.tempo-readout small {
  margin-left: .25rem;
  color: var(--cyan);
  font-size: .68rem;
}

.beat-count { display: grid; grid-template-columns: repeat(4, 24px); gap: 4px; }

.beat-count i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-family: "Handjet", monospace;
  font-size: .9rem;
  font-style: normal;
  font-weight: 800;
  animation-duration: var(--measure-speed);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.beat-count i:nth-child(1) { animation-name: beat-one; }
.beat-count i:nth-child(2) { animation-name: beat-two; }
.beat-count i:nth-child(3) { animation-name: beat-three; }
.beat-count i:nth-child(4) { animation-name: beat-four; }

@keyframes beat-one {
  0%, 24.99% { border-color: var(--acid); background: var(--acid); color: var(--ink); }
  25%, 100% { border-color: var(--line); background: transparent; color: var(--muted); }
}

@keyframes beat-two {
  0%, 24.99%, 50%, 100% { border-color: var(--line); background: transparent; color: var(--muted); }
  25%, 49.99% { border-color: var(--acid); background: var(--acid); color: var(--ink); }
}

@keyframes beat-three {
  0%, 49.99%, 75%, 100% { border-color: var(--line); background: transparent; color: var(--muted); }
  50%, 74.99% { border-color: var(--acid); background: var(--acid); color: var(--ink); }
}

@keyframes beat-four {
  0%, 74.99%, 100% { border-color: var(--line); background: transparent; color: var(--muted); }
  75%, 99.99% { border-color: var(--acid); background: var(--acid); color: var(--ink); }
}

.bpm-control {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.bpm-control button {
  min-width: 0;
  min-height: 74px;
  display: grid;
  place-content: center;
  border: 0;
  border-right: 1px solid var(--line);
  background: rgba(8, 10, 11, .94);
  color: var(--muted);
  cursor: pointer;
}

.bpm-control button:last-child { border-right: 0; }
.bpm-control button[aria-pressed="true"] { background: var(--acid); color: var(--ink); }
.bpm-control strong { font-family: "Handjet", monospace; font-size: 1.65rem; line-height: .8; }
.bpm-control span { font-size: .61rem; font-weight: 700; }

.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--line);
}

.section:nth-child(even) { background: rgba(255, 255, 255, .018); }

.section-head {
  display: grid;
  gap: .8rem;
  margin-bottom: 1.6rem;
}

.section-head p { max-width: var(--read); margin: 0; color: var(--muted); }

.quick-grid,
.card-grid,
.link-grid,
.creator-grid {
  display: grid;
  gap: .75rem;
}

.route-card {
  min-height: 210px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-soft);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}

.route-card:hover { transform: translateY(-4px); border-color: var(--cyan); }
.route-card:nth-child(3n + 2) { border-top-color: var(--acid); }
.route-card:nth-child(3n + 3) { border-top-color: var(--coral); }
.route-number { color: var(--muted); font-family: "Handjet", monospace; font-size: 1.4rem; }
.route-card strong { display: block; font-family: "Handjet", monospace; font-size: 2rem; line-height: .9; text-transform: uppercase; }
.route-card p { color: var(--muted); font-size: .9rem; }
.route-card a { display: flex; justify-content: space-between; padding-top: .7rem; border-top: 1px solid var(--line); color: var(--acid); font-weight: 800; text-decoration: none; }
.route-card a b { font-size: 1.2rem; }

.card,
.callout,
.faq-item,
.creator-card,
.timeline li,
.roadmap-level {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-soft);
}

.card, .callout, .creator-card { padding: 1.15rem; }
.card strong, .creator-card strong { display: block; color: var(--acid); font-family: "Handjet", monospace; font-size: 1.55rem; line-height: 1; text-transform: uppercase; }
.card p, .callout p, .creator-card p { color: var(--muted); }
.card .button { width: 100%; margin-top: .35rem; }
.text-link { color: var(--cyan); font-weight: 800; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; counter-reset: timeline; }
.timeline li { position: relative; padding: 1rem 1rem 1rem 4rem; counter-increment: timeline; }
.timeline li::before {
  content: counter(timeline, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: .7rem;
  color: var(--cyan);
  font-family: "Handjet", monospace;
  font-size: 1.65rem;
  font-weight: 800;
}

.roadmap { display: grid; gap: 1rem; }
.roadmap-level { padding: 1rem; }
.roadmap-level.is-complete { border-color: var(--acid); box-shadow: inset 0 4px 0 var(--acid); }
.roadmap-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.roadmap-top strong { color: var(--acid); font-family: "Handjet", monospace; font-size: 1.5rem; }
.meter { height: 8px; margin: 1rem 0; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.meter::before { content: ""; display: block; width: var(--progress, 0%); height: 100%; background: var(--cyan); transition: width 180ms var(--ease); }
.check-list { display: grid; gap: .45rem; }
.check-list label { min-height: 46px; display: flex; align-items: center; gap: .7rem; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); cursor: pointer; }
.check-list label:has(input:checked) { border-color: rgba(53, 233, 226, .45); color: var(--paper); background: rgba(53, 233, 226, .07); }
.check-list input { width: 21px; height: 21px; flex: 0 0 auto; accent-color: var(--cyan); }

.faq-tools { position: relative; margin-bottom: 1rem; }
.faq-tools input { width: 100%; min-height: 54px; padding: .85rem 7rem .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-soft); color: var(--paper); }
.faq-tools span { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--acid); font-family: "Handjet", monospace; font-size: 1.15rem; }
.faq-list { display: grid; gap: .65rem; }
.faq-item { padding: 0 1rem; }
.faq-item[open] { border-color: rgba(53, 233, 226, .6); }
.faq-item summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-weight: 800; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--cyan); font-family: "Handjet", monospace; font-size: 2rem; font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 0; color: var(--muted); }

.prose { max-width: var(--read); }
.prose p { color: var(--muted); }
.prose p:first-of-type { color: var(--paper); font-size: 1.15rem; }

.site-footer { padding: 3rem 0 7rem; background: #050606; color: var(--muted); }
.footer-inner { display: grid; gap: 1.25rem; }
.footer-brand { display: flex; align-items: center; gap: .75rem; color: var(--paper); font-family: "Handjet", monospace; font-size: 2rem; text-transform: uppercase; }
.footer-brand img { width: 58px; height: 58px; object-fit: contain; }
.footer-inner > p { max-width: 580px; margin: 0; }

.social-rail {
  position: fixed;
  right: 8px;
  bottom: 82px;
  z-index: 29;
  display: grid;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(243, 242, 233, .22);
  border-radius: 8px;
  background: rgba(8, 10, 11, .92);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .42);
  backdrop-filter: blur(14px);
}

.social-rail a {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--ink-soft);
  color: var(--paper);
  font-family: "Handjet", monospace;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms var(--ease), border-color 160ms var(--ease), background-color 160ms var(--ease);
}

.social-rail a:hover { transform: translateX(-3px); }
.social-rail .social-whatsapp:hover, .social-rail .social-whatsapp:focus-visible { border-color: #43e079; background: #102b19; }
.social-rail .social-instagram:hover, .social-rail .social-instagram:focus-visible { border-color: var(--coral); background: #321513; }
.social-rail .social-discord:hover, .social-rail .social-discord:focus-visible { border-color: var(--violet); background: #211b3b; }

.fbs-page .social-rail { border-color: rgba(255, 90, 0, .38); background: rgba(3, 3, 3, .94); }
.fbs-page .social-rail a { border-color: rgba(255, 90, 0, .25); background: #0b0908; }

.mobile-dock {
  position: fixed;
  inset: auto 8px 8px;
  z-index: 30;
  height: 64px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 4px;
  border: 1px solid rgba(243, 242, 233, .22);
  border-radius: 8px;
  background: rgba(17, 20, 22, .96);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  backdrop-filter: blur(16px);
}

.mobile-dock a, .mobile-dock button {
  min-width: 0;
  display: grid;
  place-content: center;
  gap: 3px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: .59rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.mobile-dock span { width: 18px; height: 3px; margin-inline: auto; border-radius: 3px; background: currentColor; box-shadow: 0 -5px 0 currentColor; }
.mobile-dock a[aria-current="page"] { background: var(--acid); color: var(--ink); }
.mobile-dock a[href$="/fireborn-squad/"] { color: var(--coral); }
.mobile-dock button span { box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (min-width: 700px) {
  h1 { font-size: 6.5rem; }
  h2 { font-size: 4.25rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(310px, .7fr); }
  .quick-grid, .card-grid, .creator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .footer-inner .link-grid { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 980px) {
  main { padding-bottom: 0; }
  .menu-button, .mobile-dock { display: none; }
  .site-nav { position: static; display: flex; align-items: center; gap: 0; padding: 0; overflow: visible; background: transparent; transform: none; }
  .site-nav a { min-height: 40px; padding: .45rem .52rem; border: 0; border-radius: 4px; font-family: "Space Grotesk", sans-serif; font-size: .72rem; font-weight: 700; }
  .site-nav a::after { display: none; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--acid); color: var(--ink); }
  .hero-grid { min-height: 650px; padding-block: 5rem; }
  h1 { font-size: 8rem; }
  h2 { font-size: 5rem; }
  .hero-visual { min-height: 410px; }
  .logo-stage img { width: 190px; }
  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid, .creator-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roadmap { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .site-footer { padding-bottom: 3rem; }
  .social-rail { right: 0; bottom: auto; top: 50%; transform: translateY(-50%); border-right: 0; border-radius: 8px 0 0 8px; }
  .social-rail a { width: 44px; height: 44px; font-size: 1.1rem; }
  .social-rail a::after {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    width: max-content;
    max-width: 220px;
    padding: .45rem .65rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--ink-soft);
    color: var(--paper);
    font-family: "Space Grotesk", sans-serif;
    font-size: .72rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translate(6px, -50%);
    transition: opacity 140ms ease, transform 140ms ease;
  }
  .social-rail a:hover::after, .social-rail a:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
}

@media (max-width: 380px) {
  h1 { font-size: 3.8rem; }
  .brand-copy { display: none; }
  .hero-grid { min-height: 560px; }
  .bpm-control span { display: none; }
  .faq-tools input { padding-right: 1rem; }
  .faq-tools span { position: static; display: block; margin-top: .5rem; transform: none; }
}

/* Fireborn Squad: a self-contained visual chapter inside the JSB archive. */
.fbs-page {
  --fbs-black: #030303;
  --fbs-coal: #0b0908;
  --fbs-panel: #12100e;
  --fbs-ash: #b7afa8;
  --fbs-white: #f5f0e9;
  --fbs-orange: #ff5a00;
  --fbs-amber: #ff9a1f;
  --fbs-green: #47e483;
  --fbs-red: #ff453f;
  background-color: var(--fbs-black);
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 90, 0, .025) 0 1px, transparent 1px 18px),
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, .025) 50%, transparent 50.1%);
  background-size: auto, 100% 100%;
  color: var(--fbs-white);
}

.fbs-page .scroll-meter { background: var(--fbs-orange); box-shadow: 0 0 12px rgba(255, 90, 0, .7); }
.fbs-page .signal-bar { background: var(--fbs-orange); color: #090401; }
.fbs-page .signal-track { animation-duration: 28s; }
.fbs-page .signal-sequence span::after { content: "◆"; padding: 0 1.2rem; }
.fbs-page .site-header { border-color: rgba(255, 90, 0, .22); background: rgba(3, 3, 3, .95); }
.fbs-page .brand-mark { border-color: rgba(255, 90, 0, .38); background: #050403; }
.fbs-page .brand-mark img { width: 34px; height: 42px; object-fit: contain; }
.fbs-page .brand-copy small { color: var(--fbs-orange); }
.fbs-page .menu-button { border-color: var(--fbs-orange); background: var(--fbs-orange); }
.fbs-page .site-nav { background: rgba(3, 3, 3, .99); }
.fbs-page .site-nav a { border-color: rgba(255, 90, 0, .2); }
.fbs-page .site-nav a[aria-current="page"] { color: var(--fbs-orange); }
.fbs-page .site-nav a[aria-current="page"]::before { content: "◆"; margin-right: .5rem; font-size: .55em; }
.fbs-page main { background: transparent; }

.fbs-hero {
  position: relative;
  min-height: calc(100svh - 99px);
  display: grid;
  align-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 90, 0, .25);
  isolation: isolate;
}

.fbs-hero::before {
  content: "FBS";
  position: absolute;
  right: -1rem;
  bottom: -3rem;
  z-index: -2;
  color: rgba(255, 255, 255, .018);
  font-family: "Handjet", monospace;
  font-size: 22rem;
  font-weight: 900;
  line-height: .7;
}

.fbs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(115deg, transparent 0 60%, rgba(255, 90, 0, .09) 60% 61%, transparent 61% 100%);
}

.fbs-hero-grid {
  min-height: 650px;
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding-block: 4rem 9rem;
}

.fbs-hero-copy { position: relative; z-index: 2; }
.fbs-kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.2rem;
  color: var(--fbs-ash);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.fbs-kicker span {
  padding: .3rem .5rem;
  border: 1px solid var(--fbs-orange);
  border-radius: 3px;
  color: var(--fbs-orange);
  font-family: "Handjet", monospace;
  font-size: 1rem;
  line-height: 1;
}

.fbs-hero h1 {
  max-width: 760px;
  color: var(--fbs-white);
  font-size: 5rem;
  line-height: .76;
  text-shadow: 0 12px 28px #000;
}

.fbs-hero h1 span { display: block; color: var(--fbs-orange); }
.fbs-oath {
  max-width: 650px;
  margin: 1.6rem 0 0;
  color: var(--fbs-white);
  font-family: "Handjet", monospace;
  font-size: 1.6rem;
  font-weight: 650;
  line-height: 1.05;
}

.fbs-page .lead { color: var(--fbs-ash); }
.fbs-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.fbs-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .8rem 1rem;
  border: 1px solid var(--fbs-orange);
  border-radius: 3px;
  background: var(--fbs-orange);
  color: #080401;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.fbs-button:hover { background: var(--fbs-amber); }
.fbs-button-ghost { background: transparent; color: var(--fbs-white); }
.fbs-button-ghost[aria-pressed="true"] { background: rgba(255, 90, 0, .14); box-shadow: 0 0 24px rgba(255, 90, 0, .18); }
.fbs-button-flame { color: var(--fbs-orange); }

.fbs-emblem-wrap {
  position: relative;
  min-height: 410px;
  display: grid;
  place-items: center;
}

.fbs-emblem-wrap img {
  position: relative;
  z-index: 2;
  width: min(70vw, 280px);
  max-height: 430px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: saturate(.82) drop-shadow(0 20px 24px rgba(0, 0, 0, .8));
  transition: filter 300ms var(--ease), transform 300ms var(--ease);
}

.fbs-emblem-halo {
  position: absolute;
  width: 260px;
  height: 330px;
  border: 1px solid rgba(255, 90, 0, .2);
  clip-path: polygon(50% 0, 92% 20%, 100% 74%, 50% 100%, 0 74%, 8% 20%);
  transform: rotate(4deg);
}

.fbs-emblem-halo::before,
.fbs-emblem-halo::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(255, 255, 255, .08);
  clip-path: inherit;
}

.fbs-emblem-halo::after { inset: 28px; border-color: rgba(255, 90, 0, .18); }
.fbs-emblem-wrap p {
  position: absolute;
  inset: auto 1rem 0;
  margin: 0;
  color: transparent;
  font-family: "Handjet", monospace;
  font-size: 1.15rem;
  text-align: center;
  transition: color 300ms var(--ease);
}

.fbs-page.is-ignited .fbs-emblem-wrap img {
  filter: saturate(1.12) drop-shadow(0 0 20px rgba(255, 90, 0, .56)) drop-shadow(0 26px 26px #000);
  transform: translateY(-6px) scale(1.025);
}
.fbs-page.is-ignited .fbs-emblem-wrap p { color: var(--fbs-amber); }
.fbs-page.is-ignited .fbs-emblem-halo { animation: fbs-seal 4s ease-in-out infinite alternate; }
@keyframes fbs-seal { to { border-color: rgba(255, 154, 31, .6); transform: rotate(-2deg) scale(1.03); } }

.fbs-embers { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; opacity: .48; }
.fbs-embers i {
  position: absolute;
  left: calc((var(--ember) * 31 + 7) % 100 * 1%);
  bottom: -10px;
  width: 3px;
  height: 8px;
  background: var(--fbs-orange);
  transform: rotate(36deg);
  animation: fbs-ember-rise calc(5s + (var(--ember) % 6) * 1s) linear infinite;
  animation-delay: calc(var(--ember) * -.7s);
}
@keyframes fbs-ember-rise { to { transform: translateY(-95vh) translateX(45px) rotate(220deg); opacity: 0; } }

.fbs-stats {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: rgba(3, 3, 3, .92);
  border-top: 1px solid rgba(255, 90, 0, .3);
}

.fbs-stats div { min-height: 72px; display: grid; place-content: center; border-right: 1px solid rgba(255, 90, 0, .18); text-align: center; }
.fbs-stats strong { color: var(--fbs-orange); font-family: "Handjet", monospace; font-size: 1.8rem; line-height: .8; }
.fbs-stats span { color: var(--fbs-ash); font-size: .59rem; font-weight: 700; text-transform: uppercase; }

.fbs-section { padding: 5.5rem 0; border-bottom: 1px solid rgba(255, 90, 0, .16); }
.fbs-section-code { margin: 0 0 2rem; color: var(--fbs-orange); font-family: "Handjet", monospace; font-size: 1.15rem; font-weight: 700; }
.fbs-section-heading { display: grid; gap: 1rem; margin-bottom: 2.2rem; }
.fbs-section-heading h2 { max-width: 850px; color: var(--fbs-white); font-size: 3.7rem; }
.fbs-section-heading p { max-width: 680px; margin: 0; color: var(--fbs-ash); }
.fbs-intro { background: #070605; }

.fbs-grade-grid { display: grid; gap: .75rem; }
.fbs-grade {
  position: relative;
  min-height: 240px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 1.2rem;
  border: 1px solid rgba(255, 90, 0, .22);
  border-radius: 4px;
  background: var(--fbs-panel);
}
.fbs-grade::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--fbs-orange); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
.fbs-grade:hover::after { transform: scaleX(1); }
.fbs-grade-number { position: absolute; right: 1rem; top: -.35rem; color: rgba(255, 255, 255, .055); font-family: "Handjet", monospace; font-size: 9rem; line-height: 1; }
.fbs-grade-symbol { position: relative; font-size: 1.6rem; }
.fbs-grade h3 { position: relative; margin-top: .65rem; color: var(--fbs-white); font-size: 2.6rem; }
.fbs-grade p { position: relative; margin-bottom: 0; color: var(--fbs-ash); }

.fbs-titles-section { background: var(--fbs-black); }
.fbs-title-list { border-top: 1px solid rgba(255, 90, 0, .22); }
.fbs-title-row { display: grid; grid-template-columns: 44px 1fr; gap: .75rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid rgba(255, 90, 0, .18); }
.fbs-title-row > span { font-size: 1.35rem; }
.fbs-title-row h3 { color: var(--fbs-white); font-size: 2rem; }
.fbs-title-row p { grid-column: 2; margin: -.3rem 0 0; color: var(--fbs-ash); font-size: .9rem; }

.fbs-registry-section { background: #060504; }
.fbs-filter { display: flex; gap: .4rem; margin: 0 -1rem 1rem; padding: 0 1rem .6rem; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--fbs-orange) transparent; }
.fbs-filter button {
  min-height: 42px;
  flex: 0 0 auto;
  padding: .62rem .85rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 3px;
  background: var(--fbs-panel);
  color: var(--fbs-ash);
  font-size: .77rem;
  font-weight: 700;
  cursor: pointer;
}
.fbs-filter button[aria-pressed="true"] { border-color: var(--fbs-orange); background: var(--fbs-orange); color: #090401; }
.fbs-result-count { margin: 0 0 1rem; color: var(--fbs-orange); font-family: "Handjet", monospace; font-size: 1.2rem; }
.fbs-roster { display: grid; gap: .55rem; }

.fbs-member {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 3px;
  background: var(--fbs-panel);
  transition: border-color 160ms var(--ease), transform 160ms var(--ease);
}
.fbs-member:hover { border-color: rgba(255, 90, 0, .5); transform: translateY(-2px); }
.fbs-member[open] { border-color: var(--fbs-orange); }
.fbs-member summary { min-height: 76px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: .65rem; padding: .7rem; cursor: pointer; list-style: none; }
.fbs-member summary::-webkit-details-marker { display: none; }
.fbs-order { color: #766e67; font-family: "Handjet", monospace; font-size: 1.2rem; text-align: center; }
.fbs-member-main { min-width: 0; display: grid; grid-template-columns: 10px minmax(0, 1fr); align-items: center; column-gap: .55rem; }
.fbs-member-main strong { overflow: hidden; color: var(--fbs-white); font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.fbs-member-main small { grid-column: 2; color: var(--fbs-ash); font-size: .61rem; text-transform: uppercase; }
.fbs-status { grid-row: 1 / 3; width: 9px; height: 9px; border-radius: 50%; background: var(--fbs-green); box-shadow: 0 0 10px rgba(71, 228, 131, .5); }
.is-desertor .fbs-status { background: var(--fbs-red); box-shadow: 0 0 10px rgba(255, 69, 63, .48); }
.fbs-member-symbols { white-space: nowrap; font-size: 1rem; }
.fbs-member-detail { margin: 0 .7rem .7rem; padding: .8rem; border-top: 1px solid rgba(255, 90, 0, .18); background: #090706; }
.fbs-member-detail > span { color: var(--fbs-orange); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.fbs-member-detail > strong { display: block; color: var(--fbs-white); font-family: "Handjet", monospace; font-size: 1.55rem; text-transform: uppercase; }
.fbs-member-detail p { margin: .35rem 0 0; color: var(--fbs-ash); font-size: .78rem; }

.fbs-legacy { background: #0a0807; }
.fbs-chronicle { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 90, 0, .2); }
.fbs-chronicle li { display: grid; grid-template-columns: 76px 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid rgba(255, 90, 0, .16); }
.fbs-chronicle time { color: var(--fbs-orange); font-family: "Handjet", monospace; font-size: 1.45rem; font-weight: 700; }
.fbs-chronicle strong { color: var(--fbs-white); font-size: 1rem; }
.fbs-chronicle p { margin: .35rem 0 0; color: var(--fbs-ash); font-size: .9rem; }
.fbs-final { padding: 6rem 0; background: var(--fbs-orange); color: #080401; }
.fbs-final .section-inner { display: grid; justify-items: start; }
.fbs-final img { width: 85px; max-height: 110px; object-fit: contain; filter: brightness(0); }
.fbs-final p { margin: 1rem 0 .5rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.fbs-final strong { max-width: 900px; font-family: "Handjet", monospace; font-size: 3.2rem; line-height: .87; text-transform: uppercase; }

.fbs-page .site-footer { border-top: 1px solid rgba(255, 90, 0, .22); background: #020202; }
.fbs-page .footer-brand img { content: url("../assets/fireborn-squad.png"); object-fit: contain; }
.fbs-page .footer-brand { color: var(--fbs-white); }
.fbs-page .footer-inner .button { border-color: rgba(255, 90, 0, .25); background: var(--fbs-panel); color: var(--fbs-white); }
.fbs-mobile-dock { border-color: rgba(255, 90, 0, .42); background: rgba(8, 5, 3, .97); }
.fbs-mobile-dock a, .fbs-mobile-dock button { color: var(--fbs-ash); }
.fbs-mobile-dock a[href^="#"]:focus, .fbs-mobile-dock a[href^="#"]:hover { background: var(--fbs-orange); color: #080401; }
.fbs-mobile-dock .fbs-dock-back { color: var(--fbs-orange); }

@media (max-width: 699px) {
  .fbs-actions { display: grid; }
  .fbs-actions .fbs-button { width: 100%; }
  .fbs-emblem-wrap { min-height: 380px; }
  .fbs-member-symbols { font-size: .9rem; }
}

@media (max-width: 420px) {
  .fbs-hero h1 { font-size: 4.35rem; }
  .fbs-oath { font-size: 1.4rem; }
  .fbs-section-heading h2 { font-size: 3.2rem; }
  .fbs-final strong { font-size: 2.75rem; }
}

@media (min-width: 700px) {
  .fbs-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr); padding-bottom: 6.5rem; }
  .fbs-hero h1 { font-size: 7rem; }
  .fbs-stats { grid-template-columns: repeat(4, 1fr); }
  .fbs-stats div { min-height: 86px; }
  .fbs-grade-grid { grid-template-columns: repeat(3, 1fr); }
  .fbs-section-heading { grid-template-columns: 1.2fr .8fr; align-items: end; }
  .fbs-title-row { grid-template-columns: 60px minmax(180px, .45fr) 1fr; }
  .fbs-title-row p { grid-column: 3; margin: 0; }
  .fbs-roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fbs-chronicle li { grid-template-columns: 120px 1fr; }
  .fbs-final strong { font-size: 4.5rem; }
}

@media (min-width: 980px) {
  .fbs-page .site-nav a { padding-inline: .42rem; font-size: .68rem; }
  .fbs-page .site-nav a[aria-current="page"] { background: var(--fbs-orange); color: #080401; }
  .fbs-page .site-nav a[aria-current="page"]::before { display: none; }
  .fbs-hero-grid { min-height: 720px; }
  .fbs-hero h1 { font-size: 9rem; }
  .fbs-emblem-wrap img { width: 330px; max-height: 560px; }
  .fbs-emblem-halo { width: 330px; height: 430px; }
  .fbs-section { padding: 7.5rem 0; }
  .fbs-section-heading h2 { font-size: 5.4rem; }
  .fbs-roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fbs-final { padding: 8rem 0; }
  .fbs-final strong { font-size: 6.4rem; }
}

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