:root {
  --ink: #101619;
  --ink-soft: #273237;
  --paper: #f5f7f6;
  --white: #ffffff;
  --line: #d8dfdc;
  --teal: #087f75;
  --teal-dark: #075f59;
  --amber: #d99614;
  --muted: #657277;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; }
.skip-link:focus { left: 16px; top: 16px; background: var(--white); padding: 10px 14px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  background: rgba(16, 22, 25, .97);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; }
.brand-mark { display: grid; place-items: center; width: 38px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.55); color: #67d4c9; font-size: 13px; font-weight: 800; }
.brand-name { white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: #d7dfdc; font-size: 14px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"] { border-bottom: 2px solid #67d4c9; }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: white; cursor: pointer; }
.menu-button span { display: block; height: 2px; background: currentColor; margin: 5px 0; }

.hero {
  position: relative;
  min-height: min(720px, calc(92svh - 76px));
  display: grid;
  align-items: center;
  color: var(--white);
  background: url("/assets/technology-iraq.webp") center / cover no-repeat;
  overflow: hidden;
}
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero::before { background: rgba(8, 12, 14, .45); }
.hero::after { right: auto; width: 58%; background: rgba(8, 12, 14, .78); }
.hero-content { position: relative; z-index: 1; width: min(680px, 62%); padding-block: 82px; }
.eyebrow { margin: 0 0 18px; color: #74ddd2; font-size: 13px; font-weight: 800; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.15; letter-spacing: 0; }
h1 { margin-bottom: 22px; font-size: clamp(42px, 6vw, 74px); font-weight: 780; }
.hero p { max-width: 620px; margin: 0 0 34px; color: #e0e7e4; font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; min-height: 46px; padding: 11px 18px; border: 1px solid var(--teal); background: var(--teal); color: var(--white); text-decoration: none; font-weight: 700; }
.button:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.button.secondary { background: transparent; border-color: rgba(255,255,255,.55); }
.button.secondary:hover { background: rgba(255,255,255,.1); }

.section { padding: 88px 0; }
.section.muted { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; margin-bottom: 46px; align-items: start; }
.section-head h2, .page-intro h1 { font-size: clamp(34px, 4vw, 52px); }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.section-dark .section-head p { color: #bac5c1; }
.rule { width: 46px; height: 4px; margin-bottom: 20px; background: var(--amber); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-item { min-height: 245px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.service-number { display: block; margin-bottom: 40px; color: var(--teal); font-weight: 800; font-size: 13px; }
.service-item h3 { font-size: 22px; }
.service-item p { color: var(--muted); margin-bottom: 0; }
.fact-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 320px; }
.fact-media { background: url("/assets/technology-iraq.webp") 72% center / cover no-repeat; }
.fact-copy { display: flex; flex-direction: column; justify-content: center; padding: 58px max(40px, calc((100vw - var(--max))/2)); padding-left: 64px; background: var(--teal-dark); color: var(--white); }
.fact-copy h2 { font-size: 38px; }
.fact-copy p { color: #d2e8e5; }

.page-intro { padding: 90px 0 58px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-intro p { max-width: 760px; color: var(--muted); font-size: 19px; }
.content-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 72px; }
.content-grid aside { color: var(--teal-dark); font-weight: 750; }
.prose { max-width: 800px; }
.prose h2 { margin-top: 44px; font-size: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 20px; }
.contact-panel { border-left: 4px solid var(--amber); padding: 8px 0 8px 26px; max-width: 720px; }
.contact-panel strong { display: block; margin-bottom: 6px; }

.site-footer { background: #0b1012; color: #c4ceca; padding: 50px 0 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand p { max-width: 440px; margin: 12px 0 0; color: #8f9b97; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; align-content: flex-start; }
.footer-links a { text-decoration: none; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; color: #85918d; font-size: 13px; }

@media (max-width: 820px) {
  .site-header { height: 68px; }
  .brand-name { font-size: 14px; }
  .menu-button { display: block; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 4px; }
  .nav-links a[aria-current="page"] { border-bottom: 0; color: #74ddd2; }
  .hero { min-height: 690px; background-position: 66% center; }
  .hero::after { width: 100%; background: rgba(8, 12, 14, .72); }
  .hero-content { width: 100%; padding-block: 70px; }
  h1 { font-size: 44px; }
  .hero p { font-size: 17px; }
  .section { padding: 64px 0; }
  .section-head, .content-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item { min-height: 0; }
  .service-number { margin-bottom: 20px; }
  .fact-band { grid-template-columns: 1fr; }
  .fact-media { min-height: 280px; }
  .fact-copy { padding: 48px 24px; }
  .footer-top, .footer-bottom { flex-direction: column; }
}

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