:root {
  --purple: #5529ce;
  --magenta: #a406ed;
  --teal: #018786;
  --lime: #8cdd17;
  --ink: #373737;
  --black: #000;
  --gray-bg: #fafafa;
  --card-bg: #ededed;
  --dark-teal: #1a4848;
  --dark-blue: #3a4b69;
  --footer-bg: #373737;
  --font-display: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Rubik", "Helvetica Neue", Arial, sans-serif;
  --font-mont: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --container: 980px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: var(--magenta); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 0 8px;
}
.rule { width: 200px; height: 1px; background: #999; border: 0; margin: 16px 0 34px; }
.rule--center { margin-left: auto; margin-right: auto; }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--black);
  text-align: center;
  margin: 0 0 18px;
}
.link-arrow {
  font-weight: 500;
  color: var(--magenta);
  text-decoration: underline;
}
.link-arrow:hover { text-decoration: underline; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.btn:hover { opacity: 0.88; text-decoration: none; }
.btn--purple {
  background: var(--purple);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 13px 30px;
}
.btn--purple:hover { color: #fff; }
.btn--outline {
  border: 2px solid var(--lime);
  color: var(--lime);
  font-size: 15px;
  padding: 12px 34px;
}
.btn--lime {
  background: var(--lime);
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 2px;
  padding: 14px 34px;
  text-transform: uppercase;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #ececec;
}
.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  color: #3d3d3d;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
}
.nav a:hover { color: #3d3d3d; text-decoration: none; opacity: 0.7; }
.nav .has-menu { position: relative; }
.nav .has-menu > span { cursor: default; color: #3d3d3d; font-size: 15px; }
.nav .menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 12px 0;
  min-width: 200px;
  display: none;
  z-index: 60;
}
.nav .has-menu:hover .menu { display: block; }
.nav .menu a { display: block; padding: 8px 22px; white-space: nowrap; }
.nav__contact { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: #4f018c url("../images/hero-kaleidoscope.jpg") center / cover no-repeat;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; padding: 120px 24px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 97px;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 34px;
  text-shadow: rgba(0, 0, 0, 0.4) 0 4px 5px;
  text-transform: uppercase;
}
.hero .tear { position: absolute; left: 0; width: 100%; z-index: 1; pointer-events: none; line-height: 0; }
.hero .tear img { width: 100%; height: auto; display: block; }
.hero .tear--top { top: -1px; }
.hero .tear--bottom { bottom: -1px; transform: scaleY(-1); }

/* ---------- generic sections ---------- */
.section { padding: 84px 0; }
.section--gray { background: var(--gray-bg); }

.about { text-align: left; }
.about p { max-width: 640px; margin: 0 0 22px; }
.about strong { font-weight: 500; }

.wave-banner { padding: 0; }
.wave-banner img { width: 100%; height: auto; }

/* capabilities */
.capabilities { text-align: left; }
.capabilities p.intro { max-width: 620px; }
.cap-list { list-style: none; margin: 40px 0 24px; padding: 0; }
.cap-list li { display: flex; align-items: center; gap: 22px; margin: 22px 0; }
.cap-list img { width: 42px; height: 42px; }
.cap-list span { font-weight: 700; font-size: 17px; font-family: var(--font-body); }

/* clients */
.clients { text-align: center; }
.client-grid { display: flex; justify-content: center; gap: 120px; flex-wrap: wrap; margin-top: 40px; }
.client { max-width: 280px; }
.client img { height: 64px; width: auto; margin: 0 auto 22px; object-fit: contain; }
.client h3 { font-family: var(--font-body); font-weight: 700; font-size: 20px; margin: 0 0 4px; color: #000; }
.client p { margin: 0; color: #666; }

/* testimonials */
.testimonial {
  position: relative;
  background: linear-gradient(120deg, #2b3f8f 0%, #6a1fc0 45%, #a406ed 100%);
  color: #eaf4f6;
  text-align: center;
  padding: 120px 24px;
  overflow: hidden;
}
.testimonial .tear { position: absolute; left: 0; width: 100%; pointer-events: none; line-height: 0; }
.testimonial .tear img { width: 100%; height: auto; display: block; }
.testimonial .tear--top { top: -1px; }
.testimonial .tear--bottom { bottom: -1px; transform: scaleY(-1); }
.testimonial h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #eaf4f6;
  margin: 0 0 34px;
}
.testimonial blockquote { max-width: 620px; margin: 0 auto 30px; font-size: 16px; line-height: 2; }
.testimonial .who { font-size: 15px; letter-spacing: 0.15em; text-transform: uppercase; }
.testimonial .who strong { display: block; font-weight: 700; margin-top: 6px; }
.testimonial .dots { margin-top: 26px; display: flex; justify-content: center; gap: 10px; }
.testimonial .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); display: block; }

/* refrains */
.refrains { background: var(--gray-bg); }
.refrains .divider-label { display: flex; align-items: center; gap: 30px; max-width: 900px; margin: 0 auto 44px; }
.refrains .divider-label span { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; font-size: 17px; }
.refrains .divider-label::before,
.refrains .divider-label::after { content: ""; flex: 1; height: 1px; background: #cfcfcf; }
.refrain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.refrain { background: #e2e2e2; padding: 34px 28px; display: flex; flex-direction: column; }
.refrain h3 { font-family: var(--font-body); font-style: italic; font-weight: 700; font-size: 16px; margin: 0 0 18px; }
.refrain p { font-size: 15px; line-height: 1.7; flex: 1; margin: 0 0 20px; }
.refrain a { font-weight: 500; }

/* industries */
.industries .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.industry { background: #000; position: relative; min-height: 260px; display: flex; align-items: flex-end; overflow: hidden; }
.industry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.industry::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.05)); z-index: 1; }
.industry .label { position: relative; z-index: 2; color: #fff; padding: 22px; }
.industry .label h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; font-size: 15px; margin: 0 0 8px; text-transform: uppercase; }
.industry .label a { color: #fff; font-size: 14px; }

/* partners */
.partners { text-align: center; }
.partners .row { display: flex; justify-content: center; align-items: center; gap: 110px; flex-wrap: wrap; margin-top: 30px; }
.partners .row img, .partners .row svg { height: 46px; width: auto; }

/* technologies */
.tech p.intro { max-width: 620px; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.tech-card { background: #e5e5e5; padding: 30px 28px; }
.tech-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--teal);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #b9cdcd;
}
.tech-card p { font-size: 15px; margin: 0 0 18px; }
.tech-card a { font-weight: 500; }

/* newsletter */
.newsletter {
  position: relative;
  background: linear-gradient(rgba(45, 60, 82, 0.86), rgba(45, 60, 82, 0.86)), url("../images/dots.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 74px 24px;
}
.newsletter h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; font-size: 24px; margin: 0 0 14px; }
.newsletter p { margin: 0 0 26px; }
.newsletter form { display: flex; justify-content: center; gap: 0; max-width: 560px; margin: 0 auto; }
.newsletter input {
  flex: 1;
  padding: 15px 22px;
  border: 1px solid #8a97a8;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 999px 0 0 999px;
  font-family: var(--font-body);
  font-size: 15px;
}
.newsletter input::placeholder { color: #cdd4dd; }
.newsletter button {
  border: 1px solid #8a97a8;
  border-left: 0;
  background: #fff;
  color: #1a1a1a;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 15px 30px;
  border-radius: 0 999px 999px 0;
  cursor: pointer;
  font-family: var(--font-body);
}

/* team */
.team { text-align: center; }
.team h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; font-size: 24px; margin: 0 0 14px; }
.team .rule { margin: 0 auto 50px; }
.team .grid { display: flex; justify-content: center; gap: 90px; flex-wrap: wrap; }
.member { max-width: 300px; }
.member img.photo { width: 216px; height: 217px; border-radius: 50%; object-fit: cover; margin: 0 auto 22px; }
.member h3 { font-family: var(--font-body); font-weight: 300; font-size: 20px; color: #0f0f0f; margin: 0 0 12px; }
.member .in { width: 34px; height: 34px; margin: 0 auto 18px; }
.member p { font-size: 14px; line-height: 1.6; margin: 0; }

/* contact */
.contact {
  position: relative;
  background: var(--dark-teal) url("../images/texture-teal.png") center / cover no-repeat;
  color: #fff;
  padding: 84px 24px;
}
.contact h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; font-size: 24px; text-align: center; margin: 0 0 40px; }
.contact form { max-width: 480px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 15px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--lime);
  background: #e6e6e6;
  color: #222;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 2px;
}
.field textarea { min-height: 100px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* footer */
.site-footer { background: var(--footer-bg); color: #fff; padding: 40px 24px 24px; }
.site-footer__inner { max-width: 980px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.site-footer img.logo-white { height: 42px; width: auto; }
.site-footer .contact-info { text-align: center; }
.site-footer .contact-info strong { display: block; }
.site-footer .contact-info a { color: #b98cf0; }
.site-footer .in { width: 40px; height: 40px; }
.site-footer .copyright { text-align: center; margin-top: 30px; font-size: 13px; color: #bbb; }

/* subpage */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #5f7fc9 0%, #4a68b8 55%, #4f7fd0 100%);
  color: #fff;
  text-align: center;
  padding: 90px 24px 70px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(25, 45, 110, 0.5) 2px, transparent 2.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 45% 70% at 50% 50%, transparent 40%, #000 100%);
  mask-image: radial-gradient(ellipse 45% 70% at 50% 50%, transparent 40%, #000 100%);
  pointer-events: none;
}
.page-hero .tear { position: absolute; left: 0; width: 100%; pointer-events: none; line-height: 0; z-index: 1; }
.page-hero .tear img { width: 100%; height: auto; display: block; }
.page-hero .tear--top { top: -1px; }
.page-hero .tear--bottom { bottom: -1px; transform: scaleY(-1); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 60px; line-height: 1.12; margin: 0 0 26px; text-shadow: rgba(0,0,0,.4) 0 3px 4px; }
.page-body { padding: 70px 0; }
.page-body .container { max-width: 760px; }
.page-body h2 { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; margin: 46px 0 10px; }
.page-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--teal); margin: 34px 0 10px; }
.page-body ul { padding-left: 22px; }
.page-body li { margin: 6px 0; }
.center { text-align: center; }
.sms-box { max-width: 620px; margin: 0 auto; text-align: center; }
.sms-box .btn { margin-top: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 68px; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .industries .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
  }
  .nav.open a, .nav.open .has-menu > span { display: block; padding: 10px 0; width: 100%; }
  .nav.open .menu { position: static; transform: none; box-shadow: none; display: block; padding: 0 0 0 16px; }
  .hero h1 { font-size: 40px; }
  .section { padding: 56px 0; }
  .refrain-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .industries .grid { grid-template-columns: 1fr; }
  .client-grid { gap: 50px; }
  .team .grid { gap: 44px; }
  .row-2 { grid-template-columns: 1fr; }
  .site-header__inner { position: relative; }
  .partners .row { gap: 44px; }
  .refrains .divider-label { gap: 12px; }
  .refrains .divider-label span { white-space: normal; font-size: 13px; text-align: center; }
  .hero h1 { overflow-wrap: anywhere; }
}

/* subpage utilities */
.use-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 24px 0 10px; }
.use-cols h3 { margin-top: 0; }
.use-cols ul { margin-top: 8px; }
.horror li { margin-bottom: 16px; }
.horror strong { font-weight: 500; }
.data-action { margin: 26px 0; }
.sms-box p { font-size: 17px; }
@media (max-width: 760px) { .use-cols { grid-template-columns: 1fr; } }

.page-logo { margin-bottom: 30px; }
.page-logo img { height: 52px; width: auto; }
