/* CTA band: black, faint lime glyph grid, serif headline left, copy + launchpad right */

.s-cta {
  background: var(--band);
}

.s-cta .cta-inner {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: 120px 30px;
  overflow: hidden;
}

/* JS-generated character grid texture */
.s-cta .cta-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

/* dashed hairlines: verticals at the container edges + bottom edge, 12/6 dash */
.s-cta .cta-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    repeating-linear-gradient(180deg, var(--band-line) 0, var(--band-line) 12px, transparent 12px, transparent 18px),
    repeating-linear-gradient(180deg, var(--band-line) 0, var(--band-line) 12px, transparent 12px, transparent 18px),
    repeating-linear-gradient(90deg, var(--band-line) 0, var(--band-line) 12px, transparent 12px, transparent 18px);
  background-size: 1px 100%, 1px 100%, 100% 1px;
  background-position: left top, right top, left bottom;
  background-repeat: no-repeat;
}

.s-cta .cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.s-cta .cta-title {
  flex: 1 1 0;
  max-width: 479px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--band-ink);
}

.s-cta .cta-side {
  flex: 1 1 0;
  max-width: 457px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.s-cta .cta-copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0;
  color: var(--band-ink);
}

.s-cta .cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* launchpad button: black fill, hairline border, lime dotted arrow, rolling label */
.s-cta .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 42px;
  padding: 0 22px;
  background: #0a0b04;
  border: 1px solid var(--hairline);
  color: var(--band-ink);
  cursor: pointer;
  white-space: nowrap;
}

.s-cta .cta-btn-glyph {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--accent);
}

.s-cta .cta-btn-label {
  display: flex;
  overflow: hidden;
  height: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--band-ink);
  user-select: none;
}

.s-cta .cta-btn-label span {
  display: block;
  white-space: pre;
  flex-shrink: 0;
}


/* the band is pinned black with white ink in both themes: --band, --band-ink,
   and --hairline are theme-invariant, so no html.dark overrides are needed */

@media (max-width: 1439px) {
  .s-cta .cta-inner {
    padding: 120px 15px;
  }
  .s-cta .cta-content {
    flex-direction: column;
    justify-content: center;
    gap: 30px;
  }
  .s-cta .cta-title {
    flex: none;
    width: 100%;
    max-width: none;
    font-size: 38px;
  }
  .s-cta .cta-side {
    flex: none;
    width: 100%;
    max-width: none;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .s-cta .cta-inner {
    padding: 120px 30px;
  }
  .s-cta .cta-content {
    gap: 10px;
  }
  .s-cta .cta-title {
    font-size: 26px;
  }
  .s-cta .cta-frame {
    left: 10px;
    right: 10px;
  }
  .s-cta .cta-actions {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .s-cta .cta-btn-label span {
    transition: none;
  }
}
