:root {
  --ink: #0c1218;
  --ink-soft: #30404d;
  --paper: #f4f1e9;
  --white: #ffffff;
  --line: #d5cdbd;
  --gold: #d6aa3d;
  --gold-soft: #f0d38a;
  --green: #2f6f5e;
  --red: #b44a3c;
  --steel: #dce5e8;
  --night: #070b10;
  --panel: #111a22;
  --shadow: 0 28px 80px rgba(7, 11, 16, 0.24);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 128px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.site-header,
main,
.site-footer {
  transition: opacity 200ms ease, transform 200ms ease;
}

body.is-page-entering .site-header,
body.is-page-entering main,
body.is-page-entering .site-footer,
body.is-page-leaving .site-header,
body.is-page-leaving main,
body.is-page-leaving .site-footer {
  opacity: 0;
  transform: translateY(8px);
}

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

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

.inline-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.inline-link:hover,
.inline-link:focus {
  color: var(--gold);
}

.inline-link-light {
  color: rgba(255, 255, 255, 0.9);
}

.inline-link-light:hover,
.inline-link-light:focus {
  color: var(--gold-soft);
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--white);
  background: rgba(7, 11, 16, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 11, 16, 0.92);
  box-shadow: 0 18px 34px rgba(7, 11, 16, 0.24);
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  padding: 9px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

.topbar a,
.topbar span {
  color: rgba(255, 255, 255, 0.92);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 52px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font-size: 0.76em;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.96);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--gold);
}

.nav-links a[aria-current="page"] {
  color: var(--gold-soft);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--gold);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 10px 12px;
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.menu-toggle b {
  margin-left: 4px;
  font-size: 13px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: center;
  overflow: hidden;
  color: var(--white);
  padding: 150px clamp(18px, 4vw, 52px) 74px;
}

.hero-stage,
.hero-scene,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-stage {
  overflow: hidden;
  background: var(--night);
}

.hero-scene {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05) translate3d(0, 0, 0);
  filter: saturate(1) contrast(1.1) brightness(0.84);
  animation: heroScene 28s infinite;
  will-change: opacity, transform;
}

.hero-scene:nth-child(2) {
  animation-delay: 7s;
}

.hero-scene:nth-child(3) {
  animation-delay: 14s;
}

.hero-scene:nth-child(4) {
  animation-delay: 21s;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 11, 16, 0.96) 0%, rgba(7, 11, 16, 0.78) 45%, rgba(7, 11, 16, 0.26) 100%),
    linear-gradient(0deg, rgba(7, 11, 16, 0.96) 0%, rgba(7, 11, 16, 0.1) 48%, rgba(7, 11, 16, 0.58) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 120px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 30%, rgba(255, 255, 255, 0.11) 43%, transparent 56% 100%);
  opacity: 0.28;
  transform: translateX(-70%);
  animation: lightSweep 9s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(880px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  text-wrap: balance;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: 0;
}

p {
  text-align: justify;
  text-justify: inter-word;
}

.hero-copy {
  width: min(760px, 100%);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-proof span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 19px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.section,
.intro-band {
  padding: clamp(66px, 8vw, 120px) clamp(18px, 4vw, 52px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.page-intro {
  padding-top: clamp(130px, 18vw, 186px);
}

.chapter-intro {
  width: min(760px, 100%);
  margin: 0 0 32px;
}

.chapter-intro span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.chapter-intro :is(h1, h2) {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
}

.chapter-intro p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.chapter-intro-light p {
  color: rgba(255, 255, 255, 0.76);
}

.intro-band {
  background: linear-gradient(90deg, #070b10, #101a21);
  color: var(--white);
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.intro-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 24px);
}

.intro-grid a {
  color: var(--gold);
  font-weight: 900;
}

.split,
.trust-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}

.body-copy p {
  color: var(--ink-soft);
  font-size: 18px;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.about-section {
  padding-bottom: clamp(46px, 6vw, 82px);
  background: var(--paper);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(34px, 5vw, 64px);
}

.value-grid article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(12, 18, 24, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff, #eee9df);
  padding: 24px;
  box-shadow: 0 18px 40px rgba(12, 18, 24, 0.08);
}

.value-grid span,
.work-list span {
  color: var(--gold);
  font-weight: 900;
}

.value-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.services-section,
.contact-section {
  background: #fbfaf7;
}

.expertise-band {
  padding: clamp(28px, 5vw, 54px) clamp(18px, 4vw, 52px);
  background: #101820;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.expertise-grid article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #101820;
  padding: 22px;
}

.expertise-grid span {
  color: var(--gold-soft);
  font-weight: 900;
}

.expertise-grid h3 {
  margin-bottom: 14px;
}

.expertise-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  width: min(740px, 100%);
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

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

.service-grid-preview {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, #ffffff, #f0ece3);
  border: 1px solid rgba(12, 18, 24, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 18px 42px rgba(12, 18, 24, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(12, 18, 24, 0.14);
}

.service-card:nth-child(2) {
  border-top-color: var(--green);
}

.service-card:nth-child(3) {
  border-top-color: var(--red);
}

.service-card:nth-child(4) {
  border-top-color: var(--gold);
}

.service-card:nth-child(5) {
  border-top-color: var(--green);
}

.service-card:nth-child(6) {
  border-top-color: var(--red);
}

.service-index {
  color: var(--gold);
  font-weight: 900;
}

.service-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.service-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-link::after {
  content: ">";
  margin-left: 8px;
  color: var(--gold);
}

.intelligence-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(214, 170, 61, 0.2), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(47, 111, 94, 0.28), transparent 32%),
    linear-gradient(135deg, #070b10, #111b23 58%, #070b10);
  color: var(--white);
}

.intelligence-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.intelligence-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: center;
}

.intelligence-copy p:not(.eyebrow) {
  width: min(620px, 100%);
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.intelligence-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 32px;
}

.intelligence-flow div {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 14px;
}

.intelligence-flow strong {
  color: var(--gold-soft);
  font-size: 13px;
}

.intelligence-flow span {
  color: var(--white);
  font-weight: 900;
}

.command-centre {
  min-height: 640px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
}

.command-centre::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0 30%, rgba(255,255,255,0.11) 43%, transparent 58% 100%);
  transform: translateX(-80%);
  animation: lightSweep 8s ease-in-out infinite;
}

.signal-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
}

.signal-grid span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 170, 61, 0.65), transparent);
  animation: scanLine 5s linear infinite;
}

.signal-grid span:nth-child(1) { top: 18%; }
.signal-grid span:nth-child(2) { top: 42%; animation-delay: 1.3s; }
.signal-grid span:nth-child(3) { top: 66%; animation-delay: 2.6s; }
.signal-grid span:nth-child(4) { top: 84%; animation-delay: 3.8s; }

.dashboard-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  background: #101820;
  color: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.dashboard-card.main {
  inset: 30px 28px auto 28px;
  height: 332px;
}

.dashboard-card:not(.main):nth-of-type(2) {
  left: 30px;
  bottom: 30px;
  width: calc(52% - 34px);
  height: 218px;
}

.dashboard-card:not(.main):nth-of-type(3) {
  right: 30px;
  bottom: 30px;
  width: calc(48% - 34px);
  height: 254px;
}

.dashboard-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.dashboard-card::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(0deg, rgba(7, 11, 16, 0.9), transparent);
}

.dashboard-card div {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 18px;
}

.dashboard-card p {
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-card h3 {
  width: min(460px, 100%);
  margin-bottom: 0;
  font-size: 22px;
}

.project-section {
  background: linear-gradient(180deg, #dce5e8, #f1f4f2);
}

.client-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 28%),
    var(--night);
  color: var(--white);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.logo-tile {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  padding: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, background 180ms ease;
}

.logo-tile:hover {
  transform: translateY(-3px);
  background: var(--white);
}

.logo-tile img {
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
}

.logo-tile figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.project-card {
  min-height: 292px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.project-card.large {
  grid-row: span 2;
  min-height: 600px;
}

.project-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 24, 32, 0.84), rgba(16, 24, 32, 0.1) 58%);
}

.project-card > div {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 24px;
}

.project-card p {
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.project-card h3 {
  width: min(520px, 100%);
  margin-bottom: 0;
}

.project-card.highlight {
  background: var(--green);
}

.project-card.highlight::after {
  display: none;
}

.project-card.highlight > div {
  position: static;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card.highlight a {
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.work-category {
  margin-top: clamp(34px, 5vw, 62px);
}

.work-category-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 18px;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(12, 18, 24, 0.16);
}

.work-category-heading span {
  grid-row: span 2;
  color: var(--gold);
  font-weight: 900;
}

.work-category-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 38px);
}

.work-category-heading p {
  width: min(760px, 100%);
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.work-item {
  min-height: 282px;
  margin: 0;
  overflow: hidden;
  position: relative;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.12);
}

.work-item img {
  width: 100%;
  height: 100%;
  min-height: 282px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.work-item::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(0deg, rgba(16, 24, 32, 0.88), rgba(16, 24, 32, 0));
}

.work-item:hover img {
  transform: scale(1.035);
}

.work-item figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  color: var(--white);
  padding: 16px;
  font-weight: 900;
  line-height: 1.18;
}

.work-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.contact-section .contact-grid {
  grid-template-columns: 1fr;
  gap: clamp(34px, 6vw, 72px);
}

.contact-copy {
  width: min(1180px, 100%);
}

.contact-copy .eyebrow {
  color: var(--gold);
  letter-spacing: 0.24em;
}

.contact-copy h2 {
  width: min(1120px, 100%);
  margin-bottom: 14px;
  color: #071425;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.95;
  text-transform: uppercase;
}

.contact-copy p:not(.eyebrow) {
  width: min(1160px, 100%);
  margin-bottom: 0;
  color: #536477;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.6;
}

.contact-panel {
  display: grid;
  border: 1px solid rgba(7, 20, 37, 0.95);
  background: #102f4d;
  color: var(--white);
}

.contact-panel a,
.contact-panel p {
  margin: 0;
  padding: clamp(24px, 4vw, 42px);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.45;
}

.contact-panel a {
  background: #163a5d;
}

.contact-panel p {
  border-top: 1px solid rgba(7, 20, 37, 0.95);
}

.site-footer {
  background: #0b1116;
  color: var(--white);
  padding: 34px clamp(18px, 4vw, 52px);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroScene {
  0% {
    opacity: 0;
    transform: scale(1.08) translateX(0);
  }
  8%,
  25% {
    opacity: 1;
  }
  33% {
    opacity: 0;
    transform: scale(1.15) translateX(-2.5%);
  }
  100% {
    opacity: 0;
    transform: scale(1.08) translateX(0);
  }
}

@keyframes lightSweep {
  0%,
  48% {
    transform: translateX(-80%);
  }
  70%,
  100% {
    transform: translateX(80%);
  }
}

@keyframes scanLine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-scene,
  .hero::after,
  .command-centre::after,
  .signal-grid span,
  .reveal,
  .site-header,
  main,
  .site-footer {
    animation: none;
    transition: none;
  }

  .hero-scene:first-child {
    opacity: 1;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.footer-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand img {
  width: 44px;
  height: 44px;
}

.copyright {
  text-align: justify;
}

@media (max-width: 980px) {
  .topbar {
    display: none;
  }

  .navbar {
    min-height: 72px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-toggle span {
    grid-column: 1;
  }

  .nav-links {
    position: absolute;
    inset: 72px 0 auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    background: rgba(16, 24, 32, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 10px 18px 18px;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero {
    min-height: 84svh;
    padding-top: 122px;
  }

  .service-grid,
  .expertise-grid,
  .intelligence-layout,
  .project-grid,
  .split,
  .value-grid,
  .logo-grid,
  .work-gallery,
  .trust-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .logo-grid,
  .work-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-tile {
    min-height: 104px;
  }

  .project-card.large,
  .project-card {
    min-height: 360px;
  }

  .command-centre {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .dashboard-card,
  .dashboard-card.main,
  .dashboard-card:not(.main):nth-of-type(2),
  .dashboard-card:not(.main):nth-of-type(3) {
    position: relative;
    inset: auto;
    width: auto;
    height: 280px;
  }

  .copyright {
    text-align: justify;
  }
}

@media (max-width: 640px) {
  .section,
  .intro-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    font-size: 14px;
  }

  .menu-toggle b {
    display: none;
  }

  .hero {
    padding-top: 112px;
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 44px;
    line-height: 0.96;
  }

  .hero-copy {
    font-size: 17px;
    line-height: 1.55;
  }

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

  .service-grid,
  .intelligence-flow,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .work-gallery {
    grid-template-columns: 1fr;
  }

  .work-item,
  .work-item img {
    min-height: 240px;
  }

  .project-card.large,
  .project-card {
    min-height: 320px;
  }

  .expertise-grid article {
    min-height: 184px;
  }

  .contact-panel a,
  .contact-panel p {
    padding: 22px;
  }
}
