:root {
  --bg: #070b12;
  --ink: #f7fbff;
  --accent: #ff7a2f;
  --paper: rgba(7, 11, 18, 0.78);
  --line: rgba(255, 122, 47, 0.34);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 58%, rgba(255, 122, 47, 0.18) 0%, transparent 32%),
    radial-gradient(circle at 50% 68%, rgba(45, 187, 255, 0.24) 0%, rgba(45, 187, 255, 0.08) 26%, transparent 55%),
    linear-gradient(180deg, #03070d 0%, #06111e 58%, #03101a 100%);
  transform: scale(1.06) translate3d(var(--bg-x, 0px), var(--bg-y, 0px), 0);
  animation: backgroundDrift 18s ease-in-out infinite alternate;
}

.background-logo {
  display: none;
  position: fixed;
  left: 50%;
  top: 52%;
  z-index: 2;
  width: min(68vw, 520px);
  max-height: 66vh;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.78;
  filter:
    drop-shadow(0 0 18px rgba(80, 203, 255, 0.58))
    drop-shadow(0 0 34px rgba(255, 122, 47, 0.26));
  transform: translate(-50%, -50%) translate3d(calc(var(--bg-x, 0px) * -0.35), calc(var(--bg-y, 0px) * -0.25), 0);
  animation: logoFloat 5.8s ease-in-out infinite;
}

.spline-background {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.spline-screen-logo {
  position: fixed;
  left: 50%;
  top: 46%;
  z-index: 2;
  width: min(44vw, 560px);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.7rem;
  padding: min(3vw, 2.2rem);
  pointer-events: none;
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(45, 187, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(3, 7, 13, 0.96), rgba(5, 11, 20, 0.92));
  border-radius: 10px;
  box-shadow:
    0 0 32px rgba(80, 203, 255, 0.26),
    inset 0 0 28px rgba(255, 122, 47, 0.08);
  transform: translate(-50%, -50%);
}

.spline-screen-logo img {
  width: min(54%, 280px);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 12px rgba(80, 203, 255, 0.5))
    drop-shadow(0 0 18px rgba(255, 122, 47, 0.22));
}

.spline-screen-title {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1rem, 2.1vw, 1.85rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--ink);
  text-shadow: 0 0 18px rgba(80, 203, 255, 0.3);
}

.spline-screen-slogans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.45rem;
}

.spline-screen-slogans span {
  padding: 0.32rem 0.48rem;
  border: 1px solid rgba(255, 122, 47, 0.34);
  border-radius: 999px;
  background: rgba(255, 122, 47, 0.08);
  color: rgba(247, 251, 255, 0.88);
  font-size: clamp(0.62rem, 1vw, 0.86rem);
  font-weight: 600;
}

.preview-3d-logo-background::before {
  background: url("preview-logo-3d.png") center / min(62vw, 680px) auto no-repeat;
  animation: liveBackgroundDrift 20s ease-in-out infinite alternate;
  filter: saturate(1.28) contrast(1.08) brightness(0.96);
}

.preview-3d-logo-background .preview-floating-logo {
  display: none;
}

.live-center-logo {
  display: none;
  position: fixed;
  left: 50%;
  top: 52%;
  z-index: 2;
  width: min(42vw, 500px);
  max-height: 52vh;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.96;
  filter:
    drop-shadow(0 0 16px rgba(130, 229, 255, 0.58))
    drop-shadow(0 0 34px rgba(255, 122, 47, 0.32));
  transform: translate(-50%, -50%) translate3d(calc(var(--bg-x, 0px) * -0.28), calc(var(--bg-y, 0px) * -0.2), 0);
  animation: centerLogoCharge 6.5s ease-in-out infinite;
}

.live-thunder-background .blue-orange-logo-colour {
  display: none;
}

.live-thunder-background::before {
  box-shadow:
    inset 18vw 0 26vw rgba(47, 166, 255, 0.18),
    inset -18vw 0 26vw rgba(255, 122, 47, 0.16);
}

.live-thunder-background .colour-match-overlay {
  display: none;
}

.live-background {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.62;
}

.logo-colour-wash {
  display: none;
}

.logo-colour-wash::after {
  content: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.78) 0%, rgba(7, 11, 18, 0.25) 45%, rgba(7, 11, 18, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.55) 0%, rgba(7, 11, 18, 0.12) 38%, rgba(7, 11, 18, 0.82) 100%);
}

.electric-bolts {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.electric-bolts span {
  position: absolute;
  width: clamp(90px, 10vw, 180px);
  height: clamp(150px, 16vw, 280px);
  opacity: 0.46;
  filter:
    drop-shadow(0 0 7px rgba(110, 220, 255, 0.95))
    drop-shadow(0 0 18px rgba(70, 190, 255, 0.72))
    drop-shadow(0 0 30px rgba(255, 122, 47, 0.34));
  animation: electricPulse 10s ease-in-out infinite;
}

.electric-bolts span::before,
.electric-bolts span::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(48% 0, 66% 0, 54% 31%, 72% 31%, 36% 100%, 43% 55%, 25% 55%);
  background:
    linear-gradient(135deg, transparent 0 28%, rgba(128, 229, 255, 0.96) 29% 39%, transparent 40% 48%, rgba(255, 145, 58, 0.92) 49% 58%, transparent 59% 100%);
}

.electric-bolts span::after {
  transform: translate(10px, 7px) scale(0.72) rotate(5deg);
  opacity: 0.62;
  filter: blur(0.4px);
}

.electric-bolts span:nth-child(1) {
  left: 18%;
  top: 18%;
  transform: rotate(-22deg);
  animation-delay: 0s;
}

.electric-bolts span:nth-child(2) {
  right: 18%;
  top: 20%;
  transform: rotate(20deg) scale(0.9);
  animation-delay: 0.9s;
}

.electric-bolts span:nth-child(3) {
  left: 28%;
  bottom: 15%;
  transform: rotate(28deg) scale(0.78);
  animation-delay: 1.8s;
}

.electric-bolts span:nth-child(4) {
  right: 28%;
  bottom: 17%;
  transform: rotate(-24deg) scale(0.74);
  animation-delay: 2.7s;
}

.electric-bolts span:nth-child(5) {
  left: 47%;
  top: 12%;
  transform: rotate(8deg) scale(0.62);
  animation-delay: 3.6s;
}

.electric-bolts span:nth-child(6) {
  left: 49%;
  bottom: 9%;
  transform: rotate(-8deg) scale(0.58);
  animation-delay: 4.5s;
}

.live-thunder-background::after {
  background:
    radial-gradient(circle at 50% 52%, rgba(126, 222, 255, 0.22) 0%, rgba(126, 222, 255, 0.08) 18%, transparent 42%),
    linear-gradient(90deg, rgba(7, 11, 18, 0.76) 0%, rgba(7, 11, 18, 0.18) 45%, rgba(7, 11, 18, 0.7) 100%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.52) 0%, rgba(7, 11, 18, 0.08) 38%, rgba(7, 11, 18, 0.8) 100%);
  animation: thunderGlow 7s ease-in-out infinite;
}

.live-thunder-background .electric-bolts span:nth-child(1),
.live-thunder-background .electric-bolts span:nth-child(2) {
  width: clamp(130px, 14vw, 240px);
  height: clamp(210px, 22vw, 360px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(7, 11, 18, 0.74);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 38px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.menu-toggle {
  display: none;
}

main {
  position: relative;
  z-index: 3;
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0 4rem;
  animation: fadeUp .7s ease both;
}

.hero-welcome {
  min-height: calc(100vh - 72px);
  align-items: center;
  text-align: center;
  padding: 3rem 0;
}

.hero-logo {
  width: min(360px, 72vw);
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
  filter:
    drop-shadow(0 0 18px rgba(80, 203, 255, 0.5))
    drop-shadow(0 0 28px rgba(255, 122, 47, 0.25));
}

.hero-slogans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1rem;
  margin-top: 1.25rem;
}

.hero-slogans p {
  margin: 0;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 122, 47, 0.32);
  border-radius: 999px;
  background: rgba(7, 11, 18, 0.58);
  backdrop-filter: blur(8px);
  color: rgba(247, 251, 255, 0.9);
  font-weight: 600;
}

.accreditation {
  margin: 0 0 2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accreditation-logo {
  width: min(180px, 40vw);
  height: auto;
  display: block;
}

.accreditation-text {
  margin: 0;
  font-weight: 700;
}

.accreditation-content {
  display: grid;
  gap: 0.55rem;
}

.accreditation-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  color: rgba(247, 251, 255, 0.84);
  font-size: 0.95rem;
}

.accreditation-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.35rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
}

h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  margin: .4rem 0 1rem;
  max-width: 11ch;
  text-shadow: 0 0 24px rgba(255, 122, 47, 0.22);
}

.lead {
  max-width: 55ch;
  font-size: 1.08rem;
  color: rgba(247, 251, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  padding: .75rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(247, 251, 255, 0.48);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(255, 122, 47, 0.28);
}

.btn.ghost {
  color: var(--ink);
  background: rgba(247, 251, 255, 0.08);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.cards article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  transform: translateY(14px);
  opacity: 0;
  animation: fadeUp .65s ease forwards;
  backdrop-filter: blur(12px);
}

.cards article:nth-child(2) { animation-delay: .12s; }
.cards article:nth-child(3) { animation-delay: .24s; }

.company-intro {
  margin: 2rem 0;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  backdrop-filter: blur(12px);
  scroll-margin-top: 90px;
}

.company-intro h2 {
  margin: 0 0 .6rem;
  font-family: "Syne", sans-serif;
}

.company-intro p {
  margin: 0;
  max-width: 70ch;
}

.company-intro p + p {
  margin-top: .8rem;
}

.latest-projects {
  margin: 2.5rem 0 1.5rem;
  scroll-margin-top: 90px;
}

.latest-projects h2 {
  font-family: "Syne", sans-serif;
  margin-bottom: .4rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.project-card {
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  backdrop-filter: blur(12px);
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(23, 34, 48, 0.12);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 150px;
  object-fit: cover;
  display: block;
}

.reviews {
  margin: 2rem 0 2.5rem;
  scroll-margin-top: 90px;
}

.reviews h2 {
  font-family: "Syne", sans-serif;
  margin-bottom: .4rem;
}

.reviews-intro {
  margin-top: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  backdrop-filter: blur(12px);
}

.review-person {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .7rem;
}

.review-person img {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.review-person h3 {
  margin: 0;
  font-size: .95rem;
}

.review-meta {
  margin: .15rem 0 0;
  font-size: .82rem;
  opacity: .8;
  font-style: normal;
}

.review-card p {
  margin: 0 0 .7rem;
  font-style: italic;
}

.review-card h3 {
  margin: 0;
  font-size: .95rem;
}

.services {
  margin: 2.5rem 0 1.5rem;
}

.services h2 {
  font-family: "Syne", sans-serif;
  margin-bottom: .4rem;
}

.services-intro {
  margin-top: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.service-card {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  backdrop-filter: blur(12px);
}

.service-card h3 {
  margin: 0 0 .5rem;
}

.service-card p {
  margin: 0;
}

.contact {
  padding: 1rem 0 4rem;
  scroll-margin-top: 90px;
}

.contact p {
  margin-top: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  border: 1px solid #e3a9c9;
  background: rgba(214, 36, 159, 0.24);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #d6249f;
  stroke-width: 2;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.whatsapp-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}
.team {
  margin: 2.5rem 0;
}

.team h2 {
  font-family: "Syne", sans-serif;
  margin-bottom: 0.4rem;
}

.team-intro {
  margin-top: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.team-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem;
  backdrop-filter: blur(12px);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.team-card h3 {
  margin: 0.8rem 0 0.2rem;
}

.team-card p {
  margin: 0;
  font-weight: 500;
  color: rgba(247, 251, 255, 0.78);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes backgroundDrift {
  from { transform: scale(1.03) translate3d(-0.4%, -0.2%, 0); }
  to { transform: scale(1.08) translate3d(0.6%, 0.4%, 0); }
}

@keyframes liveBackgroundDrift {
  from {
    transform: scale(1.06) translate3d(-0.7%, -0.3%, 0);
    filter: saturate(1.05) brightness(0.92);
  }
  to {
    transform: scale(1.12) translate3d(0.8%, 0.5%, 0);
    filter: saturate(1.25) brightness(1.04);
  }
}

@keyframes centerLogoCharge {
  0%, 100% {
    opacity: 0.82;
    transform: translate(-50%, -50%) translate3d(calc(var(--bg-x, 0px) * -0.28), calc(var(--bg-y, 0px) * -0.2), 0) scale(1);
  }
  45%, 65% {
    opacity: 0.98;
    transform: translate(-50%, -51%) translate3d(calc(var(--bg-x, 0px) * -0.28), calc(var(--bg-y, 0px) * -0.2), 0) scale(1.035);
  }
}

@keyframes thunderGlow {
  0%, 100% { opacity: 0.92; }
  24%, 42% { opacity: 1; }
  54% { opacity: 0.86; }
  72% { opacity: 1; }
}

@keyframes logoColourCharge {
  0%, 100% {
    opacity: 0.54;
    transform: translate(-50%, -50%) scale(0.98);
  }
  45%, 65% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(1.02);
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translate(-50%, -50%) translate3d(calc(var(--bg-x, 0px) * -0.35), calc(var(--bg-y, 0px) * -0.25), 0) scale(1);
  }
  50% {
    transform: translate(-50%, -52%) translate3d(calc(var(--bg-x, 0px) * -0.35), calc(var(--bg-y, 0px) * -0.25), 0) scale(1.025);
  }
}

@keyframes electricPulse {
  0%, 100% {
    opacity: 0.34;
    filter:
      drop-shadow(0 0 5px rgba(110, 220, 255, 0.75))
      drop-shadow(0 0 14px rgba(70, 190, 255, 0.48))
      drop-shadow(0 0 24px rgba(255, 122, 47, 0.2));
  }
  14%, 34% {
    opacity: 0.86;
    filter:
      drop-shadow(0 0 9px rgba(128, 229, 255, 1))
      drop-shadow(0 0 24px rgba(70, 190, 255, 0.88))
      drop-shadow(0 0 42px rgba(255, 122, 47, 0.46));
  }
  42% {
    opacity: 0.52;
  }
  58%, 76% {
    opacity: 0.76;
  }
}
@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
    transform: scale(1.03);
  }

  .background-logo {
    animation: none;
  }

  .live-center-logo {
    animation: none;
  }

  .logo-colour-wash {
    animation: none;
  }

  .electric-bolts span {
    animation: none;
    opacity: 0.28;
  }
.live-background {
    display: none;
  }
}

@media (max-width: 760px) {
.menu-toggle {
    display: inline-block;
    border: 1px solid var(--ink);
    background: transparent;
    border-radius: 8px;
    padding: .4rem .7rem;
  }

  .site-nav {
    position: absolute;
    right: 1rem;
    top: 3.5rem;
    display: none;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .7rem;
  }

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