:root {
  --purple: #741679;
  --purple-dark: #3b0b40;
  --orange: #f6a62d;
  --orange-soft: #fff4df;
  --ink: #17202a;
  --muted: #667085;
  --line: #e6e8ee;
  --panel: #ffffff;
  --soft: #f7f8fb;
  --shadow: 0 20px 55px rgba(31, 20, 49, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(230, 232, 238, 0.9);
  backdrop-filter: blur(14px);
}

.brand img {
  width: min(290px, 58vw);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 9px 0;
}

.site-nav a:hover {
  color: var(--purple);
}

.nav-cta {
  color: #fff !important;
  background: var(--purple);
  padding: 10px 16px !important;
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 9px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--purple);
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: end;
  padding: 120px clamp(18px, 5vw, 72px) 46px;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 8, 32, 0.92), rgba(73, 13, 78, 0.74) 46%, rgba(23, 32, 42, 0.22)),
    linear-gradient(0deg, rgba(23, 32, 42, 0.42), rgba(23, 32, 42, 0));
}

.hero-content {
  width: min(760px, 100%);
  padding-bottom: 54px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 82px);
  max-width: 880px;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--purple);
  box-shadow: 0 14px 30px rgba(116, 22, 121, 0.25);
}

.profile-download {
  margin-top: 16px;
}

.button-light {
  color: var(--purple-dark);
  background: #fff;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1080px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.hero-panel div {
  min-height: 126px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  color: #fff;
  font-size: 18px;
}

.hero-panel span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding: 88px clamp(18px, 5vw, 72px);
}

.section h2 {
  font-size: clamp(32px, 4.6vw, 54px);
}

.section p {
  color: var(--muted);
  font-size: 16px;
}

.split,
.section-heading,
.mission-inner,
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.intro {
  background: var(--soft);
}

.stat-grid {
  display: grid;
  gap: 16px;
}

.stat,
.service-card,
.career-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(23, 32, 42, 0.06);
}

.stat {
  padding: 22px;
}

.stat span {
  color: var(--orange);
  font-weight: 900;
}

.stat strong {
  display: block;
  margin-top: 5px;
  color: var(--purple-dark);
  font-size: 20px;
}

.services {
  background: #fff;
}

.section-heading {
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 110px;
  height: 110px;
  border: 18px solid rgba(246, 166, 45, 0.16);
  border-radius: 50%;
}

.service-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--purple);
  border-radius: 8px;
  font-weight: 900;
}

.service-card h3 {
  margin: 22px 0 10px;
  color: var(--purple-dark);
  font-size: 21px;
  line-height: 1.2;
}

.mission {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
}

.mission h2,
.mission p {
  color: #fff;
}

.mission p {
  color: rgba(255, 255, 255, 0.78);
}

.projects {
  background: var(--soft);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 14px;
}

.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 16px 38px rgba(23, 32, 42, 0.12);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 12px;
  color: #fff;
  background: linear-gradient(0deg, rgba(23, 32, 42, 0.74), rgba(23, 32, 42, 0));
  font-size: 13px;
  font-weight: 800;
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

.partners {
  background: #fff;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.partner-grid img {
  width: 100%;
  height: 112px;
  object-fit: contain;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.careers {
  background: var(--orange-soft);
}

.career-box {
  padding: 30px;
}

.career-box strong {
  color: var(--purple-dark);
  font-size: 24px;
}

.contact {
  background: var(--purple-dark);
}

.contact-card {
  padding: clamp(26px, 5vw, 54px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(116, 22, 121, 0.96), rgba(59, 11, 64, 0.98)),
    var(--purple);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-card p {
  color: #fff;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a,
.contact-list div {
  display: block;
  padding: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.contact-list span {
  display: block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.site-footer {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer img {
  width: 220px;
}

.site-footer p,
.site-footer span {
  margin: 0;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(23, 32, 42, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 4px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: 760px;
  }

  .hero-panel,
  .split,
  .section-heading,
  .mission-inner,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: 225px;
  }

  .hero {
    min-height: auto;
    padding: 88px 18px 22px;
  }

  .hero-content {
    padding-bottom: 28px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-panel {
    display: none;
  }

  .section {
    padding: 62px 18px;
  }

  .section h2 {
    font-size: 32px;
  }

  .service-grid,
  .gallery,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }

  .gallery-large,
  .gallery-wide {
    grid-column: span 2;
  }
}

@media (max-width: 520px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-large,
  .gallery-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .partner-grid img {
    height: 100px;
  }
}
