:root {
  --bg: #12101F;
  --panel: #2A2640;
  --border: #3A3560;
  --text: #ECEAFA;
  --muted: #A9A3C9;
  --accent: #7C4DFF;
  --accent-light: #8B5CFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #12101F;
  color: #ECEAFA;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection {
  background-color: #7C4DFF;
  color: #FFFFFF;
}

a {
  color: #7C4DFF;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============ LEFT SIDEBAR NAV ============ */

.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  background-color: #12101F;
  border-right: 1px solid #2A2640;
  display: flex;
  flex-direction: column;
  padding: 30px 22px;
  z-index: 100;
}

.page-wrap {
  margin-left: 240px;
  min-height: 100vh;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 16px;
  height: 16px;
  background-color: #7C4DFF;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: #7C4DFF;
  letter-spacing: 3px;
}

.brand-tag {
  margin-top: 14px;
  color: #A9A3C9;
  font-size: 13px;
  line-height: 1.5;
}

.side-links {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ECEAFA;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.nav-link:hover {
  color: #7C4DFF;
}

.nav-mark {
  width: 10px;
  height: 10px;
  background-color: #2A2640;
  flex-shrink: 0;
}

.nav-link.active {
  color: #7C4DFF;
  font-weight: 600;
}

.nav-link.active .nav-mark {
  background-color: #7C4DFF;
}

.side-cta {
  margin-top: auto;
  display: block;
  background-color: #7C4DFF;
  color: #FFFFFF;
  text-align: center;
  padding: 14px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
}

.side-cta:hover {
  background-color: #8B5CFF;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #3A3560;
  border-radius: 4px;
  padding: 10px 12px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ECEAFA;
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  line-height: 1.2;
  transition: background-color 0.2s ease;
}

.btn-primary {
  background-color: #7C4DFF;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #8B5CFF;
}

.btn-outline {
  border: 1px solid #7C4DFF;
  background-color: transparent;
  color: #7C4DFF;
}

.btn-outline:hover {
  background-color: #7C4DFF;
  color: #FFFFFF;
}

.btn-dark {
  background-color: #12101F;
  color: #FFFFFF;
}

.btn-dark:hover {
  background-color: #2A2640;
}

/* ============ MIRRORED SPLIT HERO ============ */

.mirror-hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
  padding: 96px 64px 100px;
  border-bottom: 1px solid #2A2640;
}

.hero-graphic {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  background-color: #7C4DFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit {
  position: absolute;
  width: 22px;
  height: 22px;
  background-color: #FFFFFF;
}

.orbit-top {
  top: 46px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-right {
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
}

.orbit-bottom {
  bottom: 46px;
  left: 50%;
  transform: translateX(-50%);
}

.spark {
  position: absolute;
  width: 48px;
  height: 8px;
  background-color: #7C4DFF;
}

.spark-one {
  top: 18px;
  right: 6px;
  transform: rotate(-45deg);
}

.spark-two {
  bottom: 22px;
  left: 18px;
  transform: rotate(45deg);
}

.eyebrow {
  display: inline-block;
  background-color: #7C4DFF;
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 46px;
  line-height: 1.12;
  color: #ECEAFA;
  margin: 26px 0 22px;
  font-weight: 800;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.75;
  color: #A9A3C9;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* ============ SECTION BASICS ============ */

.section-title {
  font-size: 34px;
  line-height: 1.2;
  color: #ECEAFA;
  margin-bottom: 18px;
  font-weight: 800;
}

.section-lead {
  font-size: 17px;
  line-height: 1.75;
  color: #A9A3C9;
  max-width: 760px;
  margin-bottom: 14px;
}

/* ============ MAGAZINE COLLAGE ============ */

.magazine-collage {
  padding: 88px 64px 96px;
  border-bottom: 1px solid #2A2640;
}

.collage-head {
  max-width: 780px;
  margin-bottom: 56px;
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tile {
  background-color: #2A2640;
  border: 1px solid #3A3560;
  padding: 36px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.tile:hover {
  transform: translateY(-4px);
  border-color: #7C4DFF;
}

.tile-1 {
  grid-column: 1 / 3;
}

.tile-2 {
  grid-column: 3 / 4;
}

.tile-3 {
  grid-column: 4 / 5;
}

.tile-4 {
  grid-column: 1 / 2;
}

.tile-5 {
  grid-column: 2 / 5;
}

.tile-icon {
  display: block;
  width: 28px;
  height: 28px;
  background-color: #7C4DFF;
  margin-bottom: 24px;
}

.tile-title {
  font-size: 21px;
  color: #ECEAFA;
  margin-bottom: 12px;
  font-weight: 700;
}

.tile-text {
  font-size: 15px;
  line-height: 1.7;
  color: #A9A3C9;
}

/* ============ METRIC BAND ============ */

.metric-band {
  background-color: #7C4DFF;
  padding: 58px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  text-align: center;
  padding: 0 28px;
  border-right: 1px solid #2A2640;
}

.metric:last-child {
  border-right: none;
}

.metric-num {
  display: block;
  font-size: 44px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.metric-label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* ============ STATEMENT BAND ============ */

.statement-band {
  padding: 96px 64px 100px;
  border-bottom: 1px solid #2A2640;
}

.statement-line {
  font-size: 28px;
  line-height: 1.4;
  color: #ECEAFA;
  max-width: 800px;
  margin-bottom: 22px;
  font-weight: 700;
}

.statement-sub {
  font-size: 16px;
  line-height: 1.75;
  color: #A9A3C9;
  max-width: 720px;
}

/* ============ CTA BAND ============ */

.cta-band {
  background-color: #7C4DFF;
  padding: 84px 64px;
  text-align: center;
}

.cta-title {
  font-size: 34px;
  color: #FFFFFF;
  margin-bottom: 16px;
  font-weight: 800;
}

.cta-sub {
  font-size: 17px;
  color: #FFFFFF;
  max-width: 640px;
  margin: 0 auto 34px;
}

/* ============ CENTERED STACK FOOTER ============ */

.stack-footer {
  background-color: #12101F;
  border-top: 1px solid #2A2640;
  text-align: center;
  padding: 58px 24px 56px;
}

.footer-brand {
  font-size: 22px;
  font-weight: 800;
  color: #7C4DFF;
  letter-spacing: 3px;
}

.footer-blurb {
  color: #A9A3C9;
  margin-top: 12px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
}

.footer-links {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ECEAFA;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #7C4DFF;
}

.footer-links .dot {
  color: #2A2640;
}

.footer-legal {
  margin-top: 26px;
  color: #A9A3C9;
  font-size: 13px;
}

.footer-legal a {
  color: #A9A3C9;
  text-decoration: underline;
}

.footer-legal a:hover {
  color: #7C4DFF;
}

/* ============ PAGE BANNER (SECONDARY PAGES) ============ */

.page-banner {
  background-color: #7C4DFF;
  padding: 78px 64px 80px;
  border-bottom: 1px solid #2A2640;
}

.pb-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.pb-title {
  font-size: 40px;
  line-height: 1.15;
  color: #FFFFFF;
  font-weight: 800;
  max-width: 760px;
  margin-bottom: 18px;
}

.pb-lead {
  font-size: 17px;
  line-height: 1.7;
  color: #FFFFFF;
  max-width: 680px;
}

/* ============ SERVICES PAGE ============ */

.services-intro {
  padding: 84px 64px 60px;
  border-bottom: 1px solid #2A2640;
}

.services-list {
  padding: 20px 64px 90px;
}

.service-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 34px;
  padding: 46px 0;
  border-bottom: 1px solid #2A2640;
}

.service-row:last-child {
  border-bottom: none;
}

.service-num {
  font-size: 42px;
  font-weight: 800;
  color: #7C4DFF;
  line-height: 1;
}

.service-body h2 {
  font-size: 25px;
  color: #ECEAFA;
  margin-bottom: 14px;
  font-weight: 700;
}

.service-body p {
  color: #A9A3C9;
  margin-bottom: 16px;
  max-width: 780px;
}

.service-body ul {
  list-style: none;
  color: #A9A3C9;
  margin-top: 4px;
}

.service-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.service-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  background-color: #7C4DFF;
}

.process-section {
  background-color: #2A2640;
  padding: 84px 64px 92px;
  border-top: 1px solid #3A3560;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.process-step {
  border-top: 3px solid #7C4DFF;
  padding-top: 20px;
}

.process-step h3 {
  font-size: 19px;
  color: #ECEAFA;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 15px;
  line-height: 1.7;
  color: #A9A3C9;
}

/* ============ CONTACT PAGE ============ */

.contact-wrap {
  padding: 88px 64px 60px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  border-bottom: 1px solid #2A2640;
}

.contact-form-col .section-title,
.contact-info-col .section-title {
  margin-bottom: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #ECEAFA;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background-color: #2A2640;
  border: 1px solid #3A3560;
  border-radius: 4px;
  padding: 13px 15px;
  color: #ECEAFA;
  font-family: inherit;
  font-size: 15px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #7C4DFF;
}

.form-field input.field-error,
.form-field textarea.field-error {
  border-color: #FF6B6B;
}

.form-status {
  font-size: 14px;
  color: #A9A3C9;
  min-height: 22px;
}

.info-block {
  padding: 20px 0;
  border-bottom: 1px solid #2A2640;
}

.info-block:last-child {
  border-bottom: none;
}

.info-block h3 {
  font-size: 15px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #7C4DFF;
  margin-bottom: 8px;
}

.info-block p {
  color: #A9A3C9;
  font-size: 15px;
  line-height: 1.7;
}

.info-block a {
  color: #A9A3C9;
  text-decoration: none;
}

.info-block a:hover {
  color: #7C4DFF;
}

.faq-section {
  padding: 70px 64px 96px;
}

.faq-list {
  max-width: 820px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #2A2640;
  border: 1px solid #3A3560;
  border-radius: 4px;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  color: #ECEAFA;
  font-size: 16px;
  font-weight: 600;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-q:hover {
  color: #7C4DFF;
}

.faq-icon {
  width: 22px;
  height: 22px;
  border: 1px solid #7C4DFF;
  color: #7C4DFF;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.faq-icon::after {
  content: "+";
  line-height: 1;
}

.faq-open .faq-icon::after {
  content: "\2212";
}

.faq-a {
  display: none;
  padding: 0 24px 22px 60px;
}

.faq-open .faq-a {
  display: block;
}

.faq-a p {
  color: #A9A3C9;
  font-size: 15px;
  line-height: 1.7;
}

/* ============ SCROLL REVEAL ============ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .side-nav {
    position: static;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #2A2640;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 22px;
  }

  .page-wrap {
    margin-left: 0;
  }

  .brand-tag {
    display: none;
  }

  .side-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .side-links {
    display: none;
    width: 100%;
    margin-top: 18px;
    padding-bottom: 8px;
  }

  .side-nav.open .side-links {
    display: flex;
  }

  .mirror-hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 60px 24px 64px;
  }

  .hero-graphic {
    width: 260px;
    height: 260px;
  }

  .core {
    width: 110px;
    height: 110px;
  }

  .orbit-top {
    top: 40px;
  }

  .orbit-bottom {
    bottom: 40px;
  }

  .orbit-right {
    right: 26px;
  }

  .hero-title {
    font-size: 34px;
  }

  .magazine-collage {
    padding: 64px 24px 72px;
  }

  .collage-grid {
    grid-template-columns: 1fr;
  }

  .tile,
  .tile-1,
  .tile-2,
  .tile-3,
  .tile-4,
  .tile-5 {
    grid-column: 1 / -1;
  }

  .metric-band {
    grid-template-columns: 1fr 1fr;
    padding: 40px 24px;
    gap: 0;
  }

  .metric {
    border-right: none;
    padding: 26px 12px;
  }

  .metric:nth-child(odd) {
    border-right: 1px solid #2A2640;
  }

  .statement-band {
    padding: 68px 24px 72px;
  }

  .cta-band {
    padding: 64px 24px;
  }

  .page-banner {
    padding: 60px 24px 62px;
  }

  .services-intro {
    padding: 60px 24px 44px;
  }

  .services-list {
    padding: 20px 24px 64px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process-section {
    padding: 60px 24px 68px;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 64px 24px 44px;
  }

  .faq-section {
    padding: 56px 24px 72px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }

  .metric-band {
    grid-template-columns: 1fr;
  }

  .metric:nth-child(odd) {
    border-right: none;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .section-title,
  .cta-title {
    font-size: 28px;
  }

  .pb-title {
    font-size: 32px;
  }

  .statement-line {
    font-size: 24px;
  }
}
