body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(35, 114, 255, 0.2), transparent 30rem),
    radial-gradient(circle at 10% 38%, rgba(255, 43, 214, 0.11), transparent 24rem),
    var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

.container {
  width: min(100% - 48px, var(--container-width));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 92px 0;
}

.section-dark {
  position: relative;
  background: linear-gradient(180deg, rgba(1, 2, 7, 0.3), var(--bg-primary));
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: var(--radius-sm);
  background: var(--accent-cyan);
  color: #00111a;
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 900px;
  font-size: clamp(3.15rem, 5.9vw, 5.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.03em;
  overflow: visible;
}

.hero-title-line {
  display: block;
  line-height: 1.02;
  height: auto;
  max-height: none;
  overflow: visible;
}

.hero-title-gradient-text,
.contact-copy h3,
.footer-cta p {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-gradient {
  font-size: 0.88em;
  line-height: 1;
  padding-bottom: 0.14em;
  height: auto;
  max-height: none;
  overflow: visible;
}

.hero-title-gradient-text {
  display: inline-block;
  line-height: 1.12;
  padding-bottom: 0.12em;
  height: auto;
  max-height: none;
  overflow: visible;
}

h2 {
  margin-bottom: 14px;
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 1rem;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
}

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

.section-heading p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.04rem;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.hero {
  min-height: clamp(660px, 78vh, 760px);
  padding: 112px 0 0;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(2, 5, 15, 0.98) 0%, rgba(2, 5, 15, 0.94) 27%, rgba(2, 5, 15, 0.58) 48%, rgba(2, 5, 15, 0.12) 70%, rgba(2, 5, 15, 0.38) 100%),
    linear-gradient(180deg, rgba(2, 5, 15, 0.56) 0%, rgba(2, 5, 15, 0.08) 24%, rgba(2, 5, 15, 0.12) 72%, var(--bg-primary) 100%),
    url("../brand/bukela-hero-bg.png");
  background-position: center center, center center, center right;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero .container {
  width: min(100% - 64px, 1600px);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 36%, rgba(36, 146, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 86% 50%, rgba(255, 43, 214, 0.12), transparent 20rem);
}

.starfield,
.light-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.starfield {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.48) 1px, transparent 1px),
    radial-gradient(circle, rgba(33, 230, 255, 0.36) 1px, transparent 1px);
  background-position: 0 0, 32px 40px;
  background-size: 96px 96px, 128px 128px;
}

.light-grid {
  background:
    linear-gradient(rgba(33, 230, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 230, 255, 0.08) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 24% 48%, #000, transparent 62%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(680px, 920px) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 78px);
  min-height: calc(clamp(660px, 78vh, 760px) - 226px);
}

.hero-intro {
  max-width: 520px;
  margin-bottom: 30px;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.about {
  background: linear-gradient(180deg, rgba(7, 16, 30, 0.45), rgba(3, 5, 11, 0.72));
  border-block: 1px solid rgba(140, 190, 255, 0.1);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 52px;
}

.about-copy {
  display: grid;
  gap: 14px;
}

.about-copy p {
  margin: 0;
  font-size: 1.08rem;
}

.what-we-do {
  overflow: hidden;
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 78% 18%, rgba(141, 69, 255, 0.14), transparent 34rem),
    radial-gradient(circle at 12% 82%, rgba(36, 146, 255, 0.1), transparent 28rem),
    linear-gradient(180deg, rgba(3, 5, 11, 0.98), #050914 52%, rgba(3, 5, 11, 0.98));
  border-top: 1px solid rgba(140, 190, 255, 0.08);
}

.what-we-do::before,
.what-we-do::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.what-we-do::before {
  opacity: 0.26;
  background:
    linear-gradient(rgba(33, 230, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 230, 255, 0.055) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 78%, transparent);
}

.what-we-do::after {
  background:
    radial-gradient(circle at 51% 29%, rgba(33, 230, 255, 0.14), transparent 18rem),
    radial-gradient(circle at 67% 38%, rgba(255, 43, 214, 0.16), transparent 20rem);
  opacity: 0.85;
}

.services-energy {
  position: absolute;
  left: 30%;
  right: -10%;
  top: 4%;
  height: 42%;
  pointer-events: none;
  opacity: 0.82;
  filter: saturate(1.15);
}

.services-energy::before,
.services-energy::after {
  content: "";
  position: absolute;
  inset: 18% -2% 14% 0;
  border-radius: 50%;
  transform: rotate(9deg) skewX(-16deg);
  background:
    linear-gradient(104deg, transparent 0 18%, rgba(36, 146, 255, 0.05) 26%, rgba(33, 230, 255, 0.3) 39%, rgba(141, 69, 255, 0.58) 53%, rgba(255, 43, 214, 0.38) 64%, rgba(141, 69, 255, 0.1) 76%, transparent 94%),
    repeating-linear-gradient(104deg, transparent 0 18px, rgba(33, 230, 255, 0.12) 19px 20px, transparent 21px 40px);
  filter: blur(7px);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 86%, transparent);
}

.services-energy::after {
  inset: 34% -8% 18% 2%;
  transform: rotate(-6deg) skewX(-20deg);
  background:
    linear-gradient(99deg, transparent 5%, rgba(36, 146, 255, 0.46) 22%, rgba(33, 230, 255, 0.62) 38%, rgba(141, 69, 255, 0.6) 55%, rgba(255, 43, 214, 0.52) 70%, transparent 91%);
  filter: blur(3px);
  opacity: 0.86;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 88%, transparent);
}

.services-heading,
.service-grid {
  position: relative;
  z-index: 1;
}

.services-heading {
  margin-bottom: 54px;
}

.services-heading h2 {
  max-width: 760px;
  font-size: clamp(2.4rem, 3.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.services-heading p:last-child {
  max-width: 720px;
  font-size: 1.08rem;
  line-height: 1.62;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ribbonDrift {
  0%, 18% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-6px);
  }
}

@keyframes ribbonSweep {
  0%, 100% {
    opacity: 0.28;
    transform: translateX(-8%);
  }
  50% {
    opacity: 0.68;
    transform: translateX(8%);
  }
}
