:root {
  color-scheme: light;
  --ink: #080a55;
  --muted: #536175;
  --paper: #f4f8fc;
  --white: #ffffff;
  --line: rgba(8, 10, 85, 0.13);
  --deep: #050747;
  --deep-2: #071960;
  --blue: #008fc5;
  --blue-strong: #00679f;
  --blue-soft: #e1f4fb;
  --sand: #25a8cf;
  --sand-soft: #e1f4fb;
  --shadow: 0 24px 70px rgba(4, 12, 69, 0.18);
  --radius: 8px;
  --max: 1180px;
  --page-gutter: clamp(18px, 6vw, 130px);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Aptos", "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: geometricPrecision;
}

[lang="ar"] body {
  font-family: "Tahoma", "Segoe UI", Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 16px var(--page-gutter);
  color: var(--ink);
  border-bottom: 1px solid rgba(8, 10, 85, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 36px rgba(4, 12, 69, 0.07);
  backdrop-filter: blur(16px);
  transition: min-height 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  min-height: 72px;
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(8, 10, 85, 0.14);
}

.brand {
  display: flex;
  width: 146px;
  height: 58px;
  align-items: center;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  font-size: 16px;
  font-weight: 600;
}

.desktop-nav a {
  opacity: 0.88;
  transition: opacity 160ms ease, color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--blue);
  opacity: 1;
}

.language-link {
  display: inline-flex;
  width: auto;
  min-width: 58px;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  color: var(--blue);
  border: 1px solid rgba(0, 143, 197, 0.26);
  border-radius: 999px;
  background: rgba(0, 143, 197, 0.06);
  opacity: 1;
}

.language-link span {
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.language-flag {
  font-size: 16px;
  line-height: 1;
}

.language-link:hover,
.language-link:focus-visible {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.menu-toggle {
  display: none;
  position: relative;
  justify-self: end;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(8, 10, 85, 0.18);
  border-radius: var(--radius);
  place-items: center;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle span:nth-child(1) {
  top: 15px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 27px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 72px 0 auto;
  z-index: 45;
  display: grid;
  gap: 4px;
  padding: 18px 20px 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(8, 10, 85, 0.12);
  box-shadow: 0 24px 54px rgba(4, 12, 69, 0.14);
  transform: translateY(-130%);
  transition: transform 220ms ease;
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.mobile-nav a {
  padding: 14px 0;
  font-size: 18px;
  font-weight: 650;
  border-bottom: 1px solid rgba(8, 10, 85, 0.1);
}

[dir="rtl"] body {
  text-align: right;
}

[dir="rtl"] .brand img {
  object-position: right center;
}

[dir="rtl"] .desktop-nav {
  justify-self: end;
}

[dir="rtl"] .hero-statement-copy,
[dir="rtl"] .intro-copy,
[dir="rtl"] .leadership-heading p:last-child,
[dir="rtl"] .method-copy p:last-child,
[dir="rtl"] .contact-section p {
  text-align: right;
}

[dir="rtl"] .hero-statement p::before {
  margin-right: 0;
  margin-left: auto;
}

[dir="rtl"] .company-principles li,
[dir="rtl"] .service-list li {
  padding-right: 24px;
  padding-left: 0;
}

[dir="rtl"] .company-principles li::before,
[dir="rtl"] .service-list li::before {
  right: 0;
  left: auto;
}

[dir="rtl"] .capability-item {
  align-items: flex-start;
}

[dir="rtl"] .defence-capability-grid {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 0;
}

[dir="rtl"] .defence-capability-grid article {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 0;
}

[dir="rtl"] .step::before {
  right: 27px;
  left: auto;
}

.section-shell {
  width: min(var(--max), calc(100% - var(--page-gutter) - var(--page-gutter)));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: clamp(360px, 52svh, 560px);
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(3, 5, 64, 0.94) 0%, rgba(4, 23, 91, 0.75) 42%, rgba(0, 101, 159, 0.2) 76%, rgba(0, 143, 197, 0.06) 100%),
    linear-gradient(0deg, rgba(3, 5, 64, 0.78) 0%, rgba(3, 5, 64, 0) 28%),
    url("assets/riyadh-defense-ai-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-statement {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - var(--page-gutter) - var(--page-gutter)));
  min-height: inherit;
  display: flex;
  align-items: center;
  margin-inline: auto;
  padding: 118px 0 54px;
}

.hero-statement-copy {
  max-width: 790px;
}

.hero-statement p {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-statement p::before {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-bottom: 26px;
  background: var(--blue);
}

.hero-statement span {
  display: block;
  max-width: 650px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.5;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
}

.intro-band h2,
.section-heading h2,
.operating-focus h2,
.method h2,
.leadership h2,
.contact-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-strong);
  border-color: var(--blue-strong);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.intro-band {
  padding: clamp(70px, 10vw, 128px) 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.section-number,
.member-role {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.capability-kicker {
  display: none;
}

.intro-heading {
  margin-bottom: 0;
}

.intro-copy {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.62;
}

.company-principles {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.company-principles li {
  position: relative;
  padding: 15px 0 15px 24px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.company-principles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 9px;
  height: 9px;
  background: var(--blue);
  border-radius: 50%;
}

.capabilities {
  padding: clamp(70px, 10vw, 128px) 0;
  background:
    linear-gradient(180deg, rgba(225, 244, 251, 0.72), transparent 300px),
    var(--paper);
}

.section-heading {
  display: block;
  margin-bottom: clamp(42px, 7vw, 74px);
}

.section-heading .section-number {
  margin-bottom: 16px;
}

.section-heading h2,
.operating-focus h2,
.method h2,
.leadership h2,
.contact-section h2 {
  font-size: clamp(36px, 5vw, 66px);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.capability-item {
  position: relative;
  min-height: 360px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3.2vw, 40px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(8, 10, 85, 0.12);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(4, 12, 69, 0.08);
}

.capability-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid rgba(0, 143, 197, 0.2);
  border-radius: var(--radius);
}

.capability-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-item h3 {
  max-width: 360px;
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.08;
}

.team-card h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-top: 18px;
  background: var(--sand);
}

.capability-item > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.service-list {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: auto 0 0;
  padding: 24px 0 0;
  color: var(--muted);
  list-style: none;
}

.service-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  font-size: 15px;
  line-height: 1.42;
  border-top: 1px solid rgba(8, 10, 85, 0.1);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}

.defence-profile {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(480px, 1.25fr);
  gap: clamp(42px, 7vw, 88px);
  margin-top: clamp(24px, 5vw, 54px);
  padding: clamp(34px, 5vw, 62px);
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(0, 143, 197, 0.23), transparent 44%),
    var(--deep);
  border-radius: var(--radius);
  overflow: hidden;
}

.defence-profile-heading > p {
  margin: 0 0 18px;
  color: #75d9f3;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.defence-profile-heading h3 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.04;
}

.defence-profile-heading > span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.defence-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.defence-capability-grid article {
  min-height: 188px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.defence-capability-grid span {
  color: #75d9f3;
  font-size: 12px;
  font-weight: 850;
}

.defence-capability-grid h4 {
  margin: 12px 0 9px;
  font-size: 18px;
  line-height: 1.22;
}

.defence-capability-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.operating-focus {
  padding: clamp(76px, 10vw, 132px) 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 143, 197, 0.18), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 90px),
    var(--deep);
}

.focus-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(42px, 8vw, 104px);
  align-items: start;
}

.focus-grid h2 {
  margin-top: 22px;
}

.focus-list {
  display: grid;
  gap: 14px;
}

.focus-list article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.focus-list h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.focus-list p,
.method-copy p,
.contact-section p,
.site-footer p,
.site-footer span {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.method {
  position: relative;
  padding: clamp(84px, 12vw, 152px) 0;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 143, 197, 0.17), transparent 44%),
    var(--deep-2);
}

.method::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(0, 143, 197, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 143, 197, 0.16) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  pointer-events: none;
}

.method-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(460px, 1.28fr);
  gap: clamp(42px, 8vw, 100px);
}

.method-copy h2 {
  margin: 22px 0 24px;
}

.method-copy p:last-child {
  max-width: 410px;
}

.steps {
  display: grid;
  gap: 0;
  padding: clamp(10px, 2vw, 20px) clamp(22px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.step {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 28px;
  align-items: start;
  padding: 28px 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.step:last-child {
  border-bottom: 0;
}

.step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 88px;
  bottom: -18px;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.step:last-child::before {
  display: none;
}

.step > p:first-child {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  grid-row: 1 / span 3;
  margin: 0;
  color: var(--deep);
  background: var(--blue-soft);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
}

.step h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.06;
}

.step span {
  display: block;
  width: 34px;
  height: 2px;
  margin: 14px 0 10px;
  background: var(--sand);
}

.step p:last-child {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.leadership {
  padding: clamp(76px, 10vw, 132px) 0;
  background: var(--white);
}

.leadership-heading p:last-child {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.team-card {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.member-photo-frame {
  width: 100%;
  aspect-ratio: 1.08 / 0.78;
  margin-bottom: 24px;
  overflow: hidden;
  background: #f7f9fc;
  border-radius: calc(var(--radius) - 2px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  transform-origin: center center;
}

.member-photo-ahmed {
  object-position: center 25%;
}

.member-photo-dean {
  object-position: center 20%;
}

.member-photo-stjepan {
  object-position: center 8%;
  transform: scale(1.12);
}

.member-photo-vedran {
  object-position: center 20%;
}

.member-photo-robert {
  object-position: 56% 22%;
}

.team-card h3 {
  margin: 10px 0 16px;
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.1;
}

.team-card p:last-child {
  min-height: 96px;
  margin: auto 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.contact-section {
  padding: clamp(78px, 12vw, 150px) 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(0, 143, 197, 0.22), transparent 40%),
    var(--deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 0.85fr);
  gap: clamp(42px, 8vw, 100px);
  align-items: start;
}

.contact-section h2 {
  margin: 22px 0 24px;
  max-width: 720px;
}

.contact-section p {
  max-width: 610px;
  margin-bottom: 34px;
  font-size: 18px;
}

.contact-card {
  display: grid;
  gap: 1px;
  padding: 0;
  font-style: normal;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-card div {
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: #8abcf1;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  color: var(--white);
  font-size: 20px;
  line-height: 1.35;
}

.contact-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.site-footer {
  padding: 42px 0;
  color: var(--white);
  background: #03052f;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, auto);
  gap: 34px;
  align-items: end;
}

.site-footer img {
  width: 156px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.site-footer strong {
  display: block;
  margin: 6px 0;
  color: var(--white);
  font-size: 17px;
}

.site-footer p,
.site-footer span {
  display: block;
  font-size: 14px;
}

.site-footer span + span {
  margin-top: 8px;
}

.site-footer a {
  transition: color 160ms ease, opacity 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #d8e8fb;
}

.legal-page {
  background: var(--white);
}

.legal-hero {
  padding: 160px 0 72px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 850px;
  margin: 16px 0 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 500;
  line-height: 1;
}

.legal-hero p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.legal-content {
  padding: clamp(64px, 9vw, 112px) 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
}

.legal-grid aside {
  position: sticky;
  top: 112px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-grid aside p,
.legal-grid aside span {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-grid aside strong {
  display: block;
  margin: 8px 0;
  color: var(--ink);
  font-size: 17px;
}

.legal-copy {
  max-width: 760px;
}

.legal-copy h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.08;
}

.legal-copy p {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.legal-copy a {
  color: var(--blue);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 160px 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
    gap: 5px;
  }

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

  .method-grid,
  .focus-grid,
  .contact-grid,
  .intro-grid,
  .defence-profile {
    grid-template-columns: 1fr;
  }

  .hero-statement p {
    max-width: 660px;
    font-size: 52px;
  }

  .step {
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 20px;
    padding: 24px 0;
  }

  .step > p:first-child {
    width: 52px;
    height: 52px;
  }

  .step::before {
    left: 25px;
    top: 82px;
  }
}

@media (max-width: 1180px) and (min-width: 1041px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 145px 1fr auto;
    min-height: 72px;
    padding: 12px 18px;
  }

  .brand {
    width: 126px;
    height: 48px;
  }

  .section-shell {
    width: min(var(--max), calc(100% - var(--page-gutter) - var(--page-gutter)));
  }

  .hero {
    min-height: 360px;
  }

  .hero-statement {
    align-items: flex-end;
    padding: 116px 0 46px;
  }

  .hero-statement p {
    max-width: 520px;
    font-size: 38px;
  }

  .hero-statement span {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-statement p::before {
    width: 42px;
    margin-bottom: 18px;
  }

  .hero-background {
    background-image:
      linear-gradient(180deg, rgba(13, 33, 54, 0.35) 0%, rgba(13, 33, 54, 0.78) 48%, rgba(13, 33, 54, 0.96) 100%),
      url("assets/riyadh-defense-ai-hero.png");
    background-position: 61% center;
  }

  .button {
    width: 100%;
  }

  .section-heading,
  .leadership-heading {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .defence-profile {
    padding: 28px 20px;
  }

  .defence-capability-grid {
    grid-template-columns: 1fr;
  }

  .defence-capability-grid article {
    min-height: auto;
  }

  .legal-hero {
    padding: 124px 0 54px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-grid aside {
    position: static;
  }

  .capability-item {
    min-height: auto;
  }

  .capability-icon {
    margin-bottom: 18px;
  }

  .contact-card div {
    padding: 22px;
  }
}
