:root {
  --ink: #031112;
  --ink-soft: #0c2a2b;
  --paper: #e9f2ef;
  --teal: #00a69a;
  --teal-bright: #71fff0;
  --mint: #c9fff8;
  --white: #f7fffd;
  --display: "Geologica", sans-serif;
  --body: "Onest", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--teal-bright); color: var(--ink); }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  height: 88px;
  padding: 0 clamp(24px, 4vw, 68px);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(201, 255, 248, 0.16);
}
.brand, .brand img { width: 50px; height: 50px; }
.site-header p {
  margin: 0;
  color: rgba(247, 255, 253, 0.78);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.site-header > a:last-child {
  justify-self: end;
  padding: 8px 0;
  border-bottom: 1px solid rgba(247, 255, 253, 0.7);
  font-size: 13px;
  font-weight: 600;
  color: rgba(247, 255, 253, 0.92);
}

.cinematic-hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  padding: 132px clamp(24px, 7vw, 112px) 54px;
  align-items: center;
  background: var(--ink);
}
.ripple-backdrop, .grid-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ripple-backdrop {
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 42%, rgba(0, 166, 154, 0.19), transparent 30%),
    linear-gradient(135deg, #031112 15%, #062223 100%);
}
.ripple-grid {
  position: absolute;
  inset: -1px;
  display: grid;
  opacity: 0.74;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.32) 30%, #000 62%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.32) 30%, #000 62%, #000 100%);
}
.ripple-cell {
  position: relative;
  border-right: 1px solid rgba(113, 255, 240, 0.11);
  border-bottom: 1px solid rgba(113, 255, 240, 0.11);
  background: rgba(113, 255, 240, 0.012);
  transition: background-color 180ms ease, border-color 180ms ease;
}
.ripple-cell::after {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(201, 255, 248, 0.35);
  content: "";
}
.ripple-cell:nth-child(3n)::after { display: none; }
.ripple-cell:hover {
  border-color: rgba(113, 255, 240, 0.34);
  background: rgba(0, 166, 154, 0.16);
}
.ripple-cell.is-rippling {
  animation: cell-ripple var(--duration, 480ms) cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0ms) 1 both;
}
.sparkle-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.signal-orb {
  position: absolute;
  top: 50%;
  left: 76%;
  width: min(50vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(113, 255, 240, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.signal-orb::before, .signal-orb::after {
  position: absolute;
  border: 1px solid rgba(113, 255, 240, 0.09);
  border-radius: 50%;
  content: "";
}
.signal-orb::before { inset: -90px; }
.signal-orb::after { inset: -180px; border-color: rgba(113, 255, 240, 0.055); }
.grid-shade {
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 17, 18, 0.98) 0%, rgba(3, 17, 18, 0.9) 30%, rgba(3, 17, 18, 0.22) 68%, rgba(3, 17, 18, 0.08) 100%),
    linear-gradient(0deg, rgba(3, 17, 18, 0.78) 0%, transparent 38%);
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: min(780px, 62vw);
}
.eyebrow {
  margin: 0 0 24px;
  color: var(--teal-bright);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-copy .eyebrow, .hero-copy h1 span, .hero-intro, .hero-link {
  opacity: 0;
  transform: translateY(30px);
  animation: reveal 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(72px, 9.2vw, 154px);
  font-weight: 580;
  letter-spacing: -0.062em;
  line-height: 0.84;
}
.hero-copy h1 span { display: block; }
.hero-copy h1 span:first-child { animation-delay: 140ms; }
.hero-copy h1 span:nth-child(2) { color: var(--mint); animation-delay: 250ms; }
.hero-intro {
  max-width: 590px;
  margin: 36px 0 0;
  color: rgba(247, 255, 253, 0.84);
  font-size: clamp(16px, 1.4vw, 20px);
  animation-delay: 390ms;
}
.hero-link {
  display: inline-flex;
  margin-top: 38px;
  padding: 12px 0;
  align-items: center;
  gap: 38px;
  border-bottom: 1px solid rgba(113, 255, 240, 0.75);
  font-size: 14px;
  font-weight: 600;
  animation-delay: 520ms;
}
.capability-rail {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 4vw, 68px);
  bottom: 48px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(18px, 2.5vw, 42px);
  color: rgba(247, 255, 253, 0.84);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.capability-rail span { display: flex; gap: 10px; }
.capability-rail i { color: var(--teal-bright); font-style: normal; }
.concept-tag {
  position: absolute;
  z-index: 3;
  bottom: 48px;
  left: clamp(24px, 7vw, 112px);
  margin: 0;
  color: rgba(247, 255, 253, 0.68);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof {
  display: grid;
  min-height: auto;
  padding: clamp(100px, 10vw, 150px) clamp(24px, 8vw, 128px);
  grid-template-columns: minmax(280px, 0.8fr) minmax(480px, 1.2fr);
  align-items: center;
  gap: clamp(60px, 10vw, 160px);
  background: var(--paper);
  color: #071a1b;
}
.proof .eyebrow { color: #006b64; }
.proof h2, .expertise h2, .portfolio h2, .about h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 580;
  letter-spacing: -0.04em;
  line-height: 0.94;
}
.proof h2 { max-width: 700px; font-size: clamp(58px, 6.4vw, 96px); }
.proof-copy > p:last-child { max-width: 460px; margin: 30px 0 0; color: #3d5c5b; }
.logo-field { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(7, 26, 27, 0.16); border-left: 1px solid rgba(7, 26, 27, 0.16); }
.logo-field div {
  display: grid;
  height: clamp(132px, 10vw, 158px);
  padding: 26px;
  place-items: center;
  border-right: 1px solid rgba(7, 26, 27, 0.16);
  border-bottom: 1px solid rgba(7, 26, 27, 0.16);
}
.logo-field img { width: auto; max-width: 82%; height: auto; max-height: 76px; object-fit: contain; }
.logo-field [data-brand="vodafone"] img { width: min(100%, 210px); }
.logo-field [data-brand="mobily"] img { max-height: 90px; }
.logo-field [data-brand="etisalat"] img { max-height: 88px; }
.logo-field [data-brand="orange"] img { max-height: 60px; }
.logo-field [data-brand="tigo"] img { width: min(100%, 145px); }
.logo-field [data-brand="vodacom"] img { width: min(100%, 205px); }

.expertise {
  padding: clamp(110px, 12vw, 180px) clamp(24px, 8vw, 128px);
  background: var(--ink);
}
.expertise-heading {
  display: grid;
  margin-bottom: clamp(80px, 10vw, 140px);
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  align-items: end;
  gap: clamp(44px, 8vw, 130px);
}
.expertise-heading h2 { max-width: 960px; font-size: clamp(58px, 7.4vw, 112px); }
.expertise-heading p { max-width: 460px; margin: 0; color: rgba(247, 255, 253, 0.66); }
.discipline-list { border-top: 1px solid rgba(201, 255, 248, 0.24); }
.discipline-list article {
  display: grid;
  min-height: 250px;
  padding: 40px 0;
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 0.7fr) minmax(240px, 0.55fr);
  align-items: center;
  gap: clamp(32px, 6vw, 100px);
  border-bottom: 1px solid rgba(201, 255, 248, 0.24);
}
.discipline-name { display: grid; grid-template-columns: 34px 1fr; gap: 18px; }
.discipline-name > span { padding-top: 7px; color: var(--teal-bright); font-size: 11px; letter-spacing: 0.1em; }
.discipline-name h3 { margin: 0; font-family: var(--display); font-size: clamp(27px, 2.5vw, 42px); font-weight: 560; letter-spacing: -0.025em; line-height: 1.06; }
.discipline-list article > p { max-width: 490px; margin: 0; color: rgba(247, 255, 253, 0.68); }
.discipline-flow { display: flex; align-items: center; color: var(--mint); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.discipline-flow i { width: 30px; height: 1px; margin: 0 8px; background: rgba(113, 255, 240, 0.5); }
.discipline-notes { display: flex; flex-wrap: wrap; gap: 8px; }
.discipline-notes span { padding: 8px 12px; border: 1px solid rgba(201, 255, 248, 0.22); border-radius: 999px; color: var(--mint); font-size: 10px; letter-spacing: 0.04em; }
.signal-line { position: relative; display: flex; height: 42px; align-items: center; justify-content: space-between; }
.signal-line::before { position: absolute; right: 0; left: 0; height: 1px; background: rgba(113, 255, 240, 0.34); content: ""; }
.signal-line i { position: relative; width: 11px; height: 11px; border: 2px solid var(--teal-bright); border-radius: 50%; background: var(--ink); }

.portfolio {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  padding: clamp(110px, 12vw, 180px) clamp(24px, 8vw, 128px);
  background: var(--teal);
  color: #071a1b;
}
.portfolio-intro { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.55fr); align-items: end; gap: clamp(44px, 8vw, 130px); }
.portfolio h2 { max-width: 940px; font-size: clamp(58px, 7vw, 106px); }
.portfolio-intro p { max-width: 470px; margin: 0; }
.portfolio-orbit {
  position: absolute;
  right: -4vw;
  bottom: 54px;
  left: -4vw;
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  transform: rotate(-4deg);
}
.portfolio-orbit span { font-family: var(--display); font-size: clamp(72px, 10vw, 164px); font-weight: 650; letter-spacing: -0.04em; line-height: 0.9; opacity: 0.16; }
.portfolio-orbit span::after { margin-left: 20px; content: "•"; }

.about {
  display: grid;
  min-height: 94svh;
  padding: clamp(110px, 12vw, 180px) clamp(24px, 8vw, 128px);
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.55fr);
  align-items: center;
  gap: clamp(56px, 10vw, 170px);
  background: var(--paper);
  color: #071a1b;
}
.about-heading > p { margin: 0 0 30px; color: #006b64; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.about h2 { max-width: 900px; font-size: clamp(62px, 7.6vw, 116px); }
.about-copy > p { margin: 0 0 24px; color: #294847; }
.about-copy > p:first-child { color: #071a1b; font-size: clamp(20px, 1.6vw, 25px); line-height: 1.42; }
.primary-action {
  display: flex;
  width: min(100%, 280px);
  min-height: 62px;
  margin-top: 44px;
  padding: 0 22px;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}
.primary-action:hover { background: #103435; }

.site-footer {
  display: grid;
  padding: 54px clamp(24px, 8vw, 128px) 38px;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  align-items: start;
  gap: 36px;
  border-top: 1px solid rgba(201, 255, 248, 0.18);
  background: var(--ink);
  color: rgba(247, 255, 253, 0.72);
  font-size: 13px;
}
.footer-mark { color: var(--white); font-family: var(--display); font-size: 32px; font-weight: 650; letter-spacing: -0.03em; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact a { color: var(--white); }
.footer-contact address { font-style: normal; }
.footer-social { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-social a, .site-header > a:last-child, .hero-link { transition: color 180ms ease, border-color 180ms ease; }
.footer-social a:hover, .site-header > a:last-child:hover, .hero-link:hover { color: var(--teal-bright); border-color: var(--teal-bright); }
.site-footer > p { margin: 0; white-space: nowrap; }

:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 4px; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes cell-ripple {
  0% { background-color: rgba(0, 166, 154, 0.02); box-shadow: inset 0 0 0 0 rgba(113, 255, 240, 0); }
  42% { background-color: rgba(0, 166, 154, 0.34); box-shadow: inset 0 0 26px rgba(113, 255, 240, 0.11); }
  100% { background-color: rgba(0, 166, 154, 0.02); box-shadow: inset 0 0 0 0 rgba(113, 255, 240, 0); }
}

@media (max-width: 760px) {
  .site-header { height: 68px; grid-template-columns: 1fr auto; }
  .brand, .brand img { width: 44px; height: 44px; }
  .site-header p { display: none; }
  .site-header > a:last-child { font-size: 12px; }
  .cinematic-hero { min-height: 100svh; padding: 108px 24px 122px; align-items: flex-end; }
  .ripple-grid {
    opacity: 0.66;
    mask-image: linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, 0.7) 32%, #000 100%);
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, 0.7) 32%, #000 100%);
  }
  .signal-orb { top: 32%; left: 75%; width: 112vw; }
  .grid-shade { background: linear-gradient(0deg, rgba(3, 17, 18, 0.98) 0%, rgba(3, 17, 18, 0.76) 46%, rgba(3, 17, 18, 0.2) 100%); }
  .hero-copy { width: 100%; }
  .hero-copy h1 { font-size: clamp(54px, 14.2vw, 66px); line-height: 0.88; }
  .hero-intro { margin-top: 24px; font-size: 15px; }
  .hero-link { margin-top: 22px; }
  .capability-rail { right: 24px; bottom: 30px; left: 24px; grid-template-columns: repeat(4, 1fr); gap: 8px; font-size: 11px; }
  .capability-rail span { display: grid; gap: 2px; }
  .concept-tag { display: none; }
  .proof { min-height: auto; padding: 72px 24px 56px; grid-template-columns: 1fr; gap: 40px; }
  .proof h2 { font-size: clamp(50px, 14vw, 64px); }
  .proof-copy > p:last-child { margin-top: 24px; font-size: 16px; }
  .logo-field { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border: 0; }
  .logo-field div {
    height: 102px;
    padding: 18px;
    border: 1px solid rgba(7, 26, 27, 0.13);
    border-radius: 12px;
    background: rgba(247, 255, 253, 0.52);
  }
  .logo-field img { max-width: 84%; max-height: 60px; }
  .logo-field [data-brand="vodafone"] img, .logo-field [data-brand="vodacom"] img { width: 88%; }
  .logo-field [data-brand="mobily"] img, .logo-field [data-brand="etisalat"] img { max-height: 68px; }
  .logo-field [data-brand="orange"] img { max-height: 48px; }
  .logo-field [data-brand="tigo"] img { width: 66%; }
  .expertise { padding: 104px 24px; }
  .expertise-heading { margin-bottom: 68px; grid-template-columns: 1fr; gap: 32px; }
  .expertise-heading h2 { font-size: clamp(51px, 14vw, 68px); }
  .discipline-list article { min-height: auto; padding: 38px 0; grid-template-columns: 1fr; gap: 24px; }
  .discipline-name { grid-template-columns: 28px 1fr; gap: 12px; }
  .discipline-name h3 { font-size: 29px; }
  .discipline-flow, .discipline-notes, .signal-line { margin-left: 40px; }
  .portfolio { min-height: 760px; padding: 104px 24px; }
  .portfolio-intro { grid-template-columns: 1fr; gap: 34px; }
  .portfolio h2 { font-size: clamp(50px, 13.5vw, 66px); }
  .portfolio-orbit { bottom: 74px; }
  .portfolio-orbit span { font-size: 74px; }
  .about { min-height: auto; padding: 110px 24px; grid-template-columns: 1fr; gap: 58px; }
  .about h2 { font-size: clamp(50px, 14vw, 70px); }
  .site-footer { padding: 48px 24px 32px; grid-template-columns: 1fr 1fr; }
  .footer-social { flex-direction: column; gap: 8px; }
}

@media (max-width: 430px) {
  .site-footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sparkle-field { display: none; }
  .ripple-cell { transition: none; }
  .ripple-cell.is-rippling { animation: none; }
  .ripple-cell:nth-child(7n) { background: rgba(0, 166, 154, 0.13); }
  .hero-copy .eyebrow, .hero-copy h1 span, .hero-intro, .hero-link { opacity: 1; transform: none; animation: none; }
}
