/* squadron-hero-fullbleed (Package B: Loot / Fish anvil) — homepage Hero only
 * Same approach + variables as the Anime anvil full-bleed Hero (squadron-hero-fullbleed.60416d57.css):
 * FULL-BLEED background image + #101114 scrim (dark left -> light right) + copy/CTAs overlaid on the left.
 * Accent follows the site's own brand token. Does not touch Codes facts, Ads, hosts, or non-home pages.
 */

/* main goes full-bleed on the home page; everything after the Hero keeps the old max-w-7xl/px-4/pb-8 box */
.sq-home {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.sq-home-body {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

/* ---- Hero: full-bleed shell ---- */
.sq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 540px;
  background: #08090c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  --sq-accent: hsl(var(--brand-light));
  --sq-fade: #101114;               /* light theme: Hero stays a dark band */
  /* focal point of the bg image — tune here when the final 2400x1000 art lands */
  --sq-hero-pos: center;            /* desktop/tablet */
  --sq-hero-pos-mobile: 75% 35%;    /* <768px */
}

.dark .sq-hero {
  --sq-fade: hsl(var(--background)); /* dark/black theme: bottom fade melts into the page bg */
}

.sq-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--sq-hero-pos, center);
}

/* #101114 scrim: dark left (copy side) -> light right (art side) + bottom fade */
.sq-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(0deg, var(--sq-fade, #101114) 0%, rgba(16, 17, 20, 0.55) 22%, rgba(16, 17, 20, 0) 48%),
    linear-gradient(90deg, rgba(16, 17, 20, 0.92) 0%, rgba(16, 17, 20, 0.66) 44%, rgba(16, 17, 20, 0.12) 100%);
}

.sq-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  max-width: 80rem;
  min-height: 540px;
  margin: 0 auto;
  padding: 2.5rem 2rem 2.5rem;      /* 2rem = old main px-4 + hero px-4, so the copy lines up with the sections below */
}

@media (min-width: 768px) {
  .sq-hero,
  .sq-hero-inner { min-height: 580px; }
}

@media (min-width: 1024px) {
  .sq-hero,
  .sq-hero-inner { min-height: 620px; }
}

/* mobile: light at top (~0.45 of #101114) so the art shows; darkens through the copy band */
@media (max-width: 767px) {
  .sq-hero-bg { object-position: var(--sq-hero-pos-mobile, 75% 35%); }
  .sq-hero-scrim {
    background:
      linear-gradient(180deg,
        rgba(16, 17, 20, 0.45) 0%,
        rgba(16, 17, 20, 0.50) 30%,
        rgba(16, 17, 20, 0.72) 55%,
        rgba(16, 17, 20, 0.90) 78%,
        var(--sq-fade, #101114) 100%);
  }
}

.sq-hero-copy {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 56rem;
  padding-bottom: 2rem;
}

.sq-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  margin-bottom: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.45);
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sq-accent, #facc15);
}

.sq-hero-title {
  max-width: 20ch;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.sq-hero-title .sq-hero-title-accent {
  display: block;
  color: var(--sq-accent, #facc15);
}

.sq-hero-lead {
  margin-top: 1.25rem;
  max-width: 46rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .sq-hero-lead {
    font-size: 1.3rem;
    line-height: 1.65;
  }
}

.sq-hero-cta-row {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (min-width: 480px) {
  .sq-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
  }
}

/* squadron-style CTAs: 44px min, 8px radius, heavy weight */
.sq-hero-cta-row .btn-primary,
.sq-hero-cta-row .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.16s, border-color 0.16s, color 0.16s, transform 0.16s;
}

.sq-hero-cta-row .btn-outline {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.sq-hero-cta-row .btn-primary:hover,
.sq-hero-cta-row .btn-outline:hover {
  transform: translateY(-1px);
}

.sq-hero-cta-row .btn-outline:hover {
  border-color: var(--sq-accent, #facc15) !important;
}
