/* ==========================================================================
   SHADAB DIGITAL & WIRELESS SOLUTIONS LLC — website stylesheet
   --------------------------------------------------------------------------
   1. Design tokens        5. Home page
   2. Base & typography   6. Inner pages
   3. Layout              7. Forms & legal
   4. Components          8. Utilities & motion
   ========================================================================== */

/* 1. Design tokens --------------------------------------------------------- */
:root {
  /* Brand palette */
  --navy-950: #081127;
  --navy-900: #0B1630;   /* primary background */
  --navy-800: #142746;   /* secondary background */
  --navy-700: #1C3358;
  --blue: #168BFF;       /* primary accent (lines, icons, accents) */
  --blue-600: #0B6FDF;   /* button fill — passes WCAG AA with white text */
  --blue-700: #0A5DC0;   /* link/eyebrow colour on light backgrounds */
  --blue-300: #4AA3FF;   /* link/accent text on dark backgrounds */
  --cyan: #20C5D9;       /* secondary accent */
  --light: #F5F8FC;      /* light sections */
  --white: #FFFFFF;

  /* Text */
  --ink: #0B1630;
  --ink-2: #2F3D58;
  --ink-muted: #56657F;
  --on-dark: #FFFFFF;
  --on-dark-2: #C5D1E3;
  --on-dark-muted: #93A4BF;

  /* Lines */
  --line-light: #DCE4EF;
  --line-dark: rgba(255, 255, 255, 0.09);
  --line-dark-strong: rgba(255, 255, 255, 0.18);

  /* Type */
  --font-sans: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, "Roboto Mono", monospace;
  --fs-display: clamp(2.5rem, 1.55rem + 3.7vw, 4.4rem);
  --fs-h1: clamp(2.2rem, 1.6rem + 2.5vw, 3.5rem);
  --fs-h2: clamp(1.85rem, 1.4rem + 1.8vw, 2.75rem);
  --fs-h3: 1.2rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);

  /* Space & shape */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --header-h: 76px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-lift: 0 18px 40px -18px rgba(11, 22, 48, 0.28);
  --shadow-media: 0 30px 60px -30px rgba(4, 10, 24, 0.6);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Surface themes: components read these variables, so the same markup
   works on dark and light sections. */
.theme-dark,
.section--dark,
.section--deep,
.page-hero,
.hero,
.cta-band,
.site-footer {
  --c-heading: var(--on-dark);
  --c-text: var(--on-dark-2);
  --c-muted: var(--on-dark-muted);
  --c-eyebrow: var(--cyan);
  --c-link: var(--blue-300);
  --c-line: var(--line-dark);
  --c-line-strong: var(--line-dark-strong);
  --c-surface: rgba(255, 255, 255, 0.03);
  --c-icon-bg: rgba(22, 139, 255, 0.12);
  --c-icon: var(--blue-300);
  color: var(--c-text);
}
.theme-light,
.section--light,
.section--white,
body {
  --c-heading: var(--ink);
  --c-text: var(--ink-2);
  --c-muted: var(--ink-muted);
  --c-eyebrow: var(--blue-700);
  --c-link: var(--blue-700);
  --c-line: var(--line-light);
  --c-line-strong: #C3CEDD;
  --c-surface: #FFFFFF;
  --c-icon-bg: #EAF3FF;
  --c-icon: var(--blue-700);
}

/* 2. Base & typography ----------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main { display: block; background: var(--white); }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--c-heading);
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.005em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

ul, ol { margin: 0; }

strong { font-weight: 600; color: var(--c-heading); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--c-text); }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--navy-900); }
.section--deep { background: var(--navy-800); }
.section--light { background: var(--light); }
.section--white { background: var(--white); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* Engineering grid texture for dark sections */
.has-grid { position: relative; isolation: isolate; overflow: hidden; }
.has-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 75% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 75% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head .lead { margin-top: 1.1rem; }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem clamp(2rem, 6vw, 5rem);
  align-items: end;
}
.section-head--split .lead { margin-top: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

@media (max-width: 899px) {
  .split, .split--even, .section-head--split { grid-template-columns: minmax(0, 1fr); }
}

/* 4. Components ------------------------------------------------------------ */

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 22, 48, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  transition: background-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.site-header.is-scrolled::before { background: rgba(11, 22, 48, 0.97); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}
.brand { display: inline-flex; flex: none; border-radius: 6px; }
.brand img { width: 214px; height: auto; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 2px; list-style: none; padding: 0; }
.primary-nav a {
  position: relative;
  display: block;
  padding: 8px 11px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-dark-2);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
}
.primary-nav a:hover { color: var(--white); }
.primary-nav a[aria-current="page"] { color: var(--white); }
.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}
.nav-mobile-extra { display: none; }
.header-cta { flex: none; margin-left: 8px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-dark-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1139px) {
  .nav-toggle { display: inline-flex; margin-left: 8px; }
  .header-cta { margin-left: auto; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    margin: 0;
    padding: 12px var(--gutter) 40px;
    background: var(--navy-900);
    border-top: 1px solid var(--line-dark);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.32s var(--ease), visibility 0s linear 0.32s;
  }
  .nav-open .primary-nav {
    transform: none;
    visibility: visible;
    transition: transform 0.32s var(--ease), visibility 0s;
  }
  .primary-nav ul { flex-direction: column; gap: 0; max-width: 640px; }
  .primary-nav a {
    padding: 16px 4px;
    font-size: 1.2rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .primary-nav a[aria-current="page"] { color: var(--white); }
  .primary-nav a[aria-current="page"]::after {
    left: auto; right: 4px; top: 50%; bottom: auto;
    width: 8px; height: 8px; border-radius: 50%;
    transform: translateY(-50%);
  }
  .nav-mobile-extra { display: block; max-width: 640px; margin-top: 28px; }
  .nav-mobile-extra .btn { width: 100%; }
  .nav-mobile-extra p { margin-top: 1.25rem; font-size: 0.95rem; color: var(--on-dark-muted); }
  .nav-mobile-extra a:not(.btn) { display: inline; padding: 0; border: 0; font-size: inherit; color: var(--blue-300); }
  html.nav-open, html.nav-open body { overflow: hidden; }
}
@media (max-width: 599px) {
  .header-inner .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .brand img { width: 184px; }
  :root { --header-h: 68px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); }
.btn-outline { border-color: var(--c-line-strong); color: var(--c-heading); background: transparent; }
.btn-outline:hover { border-color: var(--c-heading); background: var(--c-surface); }
.theme-light .btn-outline:hover,
.section--light .btn-outline:hover,
.section--white .btn-outline:hover { border-color: var(--blue-700); color: var(--blue-700); background: transparent; }
.btn-sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.92rem; }
.btn-lg { min-height: 54px; padding: 0.9rem 1.6rem; font-size: 1.02rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* Text link with arrow */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  color: var(--c-link);
  text-decoration: none;
}
.text-link .icon { width: 1.05em; height: 1.05em; transition: transform 0.2s var(--ease); }
.text-link:hover { text-decoration: underline; }
.text-link:hover .icon { transform: translateX(3px); }

/* Eyebrow label */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--c-eyebrow);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: none;
  background: currentColor;
  opacity: 0.75;
}

/* Media frames (illustrations / photography) */
.figure { margin: 0; }
.media-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-lg);
  background: var(--navy-800);
  box-shadow: var(--shadow-media);
}
.media-frame img { width: 100%; height: auto; }
.figure figcaption {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* Check list */
.check-list { list-style: none; padding: 0; }
.check-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-text);
}
.check-list li:first-child { border-top: 1px solid var(--c-line); }
.check-list .icon { margin-top: 0.2em; width: 1.1em; height: 1.1em; color: var(--c-icon); }

/* Chips / tags */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; }
.chip {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--c-text);
  text-decoration: none;
  background: var(--c-surface);
}
a.chip:hover { border-color: var(--blue); color: var(--c-heading); }

/* Icon box */
.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c-icon-bg);
  color: var(--c-icon);
}
.icon-box .icon { width: 24px; height: 24px; }

/* Cards */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1099px) { .card-grid, .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .card-grid, .card-grid--3, .card-grid--2 { grid-template-columns: minmax(0, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.6rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  color: var(--c-text);
  transition: border-color 0.2s ease, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.card .icon-box { margin-bottom: 1.5rem; }
.card h3 { margin-bottom: 0.65rem; font-size: 1.14rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { font-size: 0.97rem; color: var(--c-muted); margin-bottom: 1.25rem; }
.card__index {
  position: absolute;
  top: 1.75rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}
.card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--c-link);
}
.card__more .icon { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.card--link:hover { border-color: #9CC6F5; box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.card--link:hover .card__more .icon { transform: translateX(3px); }
.card--link:focus-within { border-color: var(--blue); }
.card--feature {
  background: var(--navy-900);
  border-color: var(--navy-900);
  --c-heading: var(--on-dark);
  --c-text: var(--on-dark-2);
  --c-muted: var(--on-dark-2);
  --c-link: var(--blue-300);
}
.card--feature .btn { margin-top: auto; align-self: flex-start; }
.section--deep .card,
.section--dark .card { background: rgba(255, 255, 255, 0.03); }

/* Pillars (numbered value statements) */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; border-top: 1px solid var(--c-line); }
.pillar { padding: 2rem 0; border-bottom: 1px solid var(--c-line); }
.pillar:nth-child(odd) { padding-right: 2rem; border-right: 1px solid var(--c-line); }
.pillar:nth-child(even) { padding-left: 2rem; }
.pillar__index { display: block; margin-bottom: 1rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--c-eyebrow); }
.pillar h3 { margin-bottom: 0.6rem; }
.pillar p { font-size: 0.98rem; color: var(--c-text); }
@media (max-width: 639px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar:nth-child(odd), .pillar:nth-child(even) { padding-inline: 0; border-right: 0; }
}

/* Process (horizontal steps) */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; list-style: none; padding: 0; }
.process__step { position: relative; padding-top: 4rem; }
.process__step::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 54px;
  right: -1.5rem;
  height: 1px;
  background: var(--c-line-strong);
}
.process__step:last-child::before { display: none; }
.process__num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--c-heading);
  background: var(--c-icon-bg);
}
.process__step h3 { margin-bottom: 0.55rem; }
.process__step p { font-size: 0.97rem; color: var(--c-text); }
@media (max-width: 899px) {
  .process { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .process__step { padding: 0 0 2rem 4rem; }
  .process__step::before { top: 50px; bottom: 6px; left: 21px; right: auto; width: 1px; height: auto; }
  .process__step:last-child { padding-bottom: 0; }
}

/* CTA band */
.cta-band { background: var(--navy-800); padding-block: clamp(3.5rem, 7vw, 6rem); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; }
.cta-band h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.cta-band p { margin-top: 1rem; font-size: var(--fs-lead); }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; justify-self: end; }
.cta-band__actions .btn-group { justify-content: flex-start; }
@media (max-width: 899px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
  .cta-band__actions { justify-self: start; }
}

/* Notice / callout */
.notice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--blue-700);
  border-radius: var(--radius);
  background: var(--c-surface);
}
.notice .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--c-icon); }
.notice h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.notice p { font-size: 0.97rem; color: var(--c-text); }

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy-900);
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line-dark);
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(22, 139, 255, 0.16), transparent);
  pointer-events: none;
}
.page-hero h1 { font-size: var(--fs-h1); max-width: 20em; margin-bottom: 1.25rem; }
.page-hero .lead { max-width: 44em; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; }
@media (max-width: 899px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr); } }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.breadcrumb a { color: var(--on-dark-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--on-dark-muted); }

/* Footer */
.site-footer { background: var(--navy-950); padding-top: clamp(3.5rem, 6vw, 5rem); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 2.5rem; }
.footer-brand img { width: 228px; margin-bottom: 1.4rem; }
.footer-brand p { max-width: 30em; font-size: 0.95rem; }
.footer-tagline { margin-top: 1rem; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.footer-title { margin: 0 0 1.1rem; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); }
.footer-links { display: grid; gap: 0.65rem; list-style: none; padding: 0; }
.footer-links a { color: var(--on-dark-2); font-size: 0.95rem; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-contact { display: grid; gap: 0.9rem; font-size: 0.95rem; font-style: normal; }
.footer-contact > div { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact .icon { margin-top: 0.2em; color: var(--blue-300); width: 1.1em; height: 1.1em; }
.footer-contact a { color: var(--on-dark-2); text-decoration: none; }
.footer-contact a:hover { color: var(--white); text-decoration: underline; }
.footer-contact .btn { margin-top: 0.5rem; justify-self: start; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1.6rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.86rem;
  color: var(--on-dark-muted);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; padding: 0; }
.footer-bottom a { color: var(--on-dark-2); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 999px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 539px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* 5. Home page ------------------------------------------------------------- */
.hero { background: var(--navy-900); padding-block: clamp(2.75rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6.5rem); }
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -20%;
  right: -15%;
  width: 70%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(22, 139, 255, 0.17), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: var(--fs-display); line-height: 1.03; letter-spacing: -0.028em; margin-bottom: 1.6rem; }
.hero h1 .accent { display: block; color: var(--blue-300); }
.hero-lead { font-size: var(--fs-lead); line-height: 1.55; color: #E1E8F3; max-width: 34em; margin-bottom: 1rem; }
.hero-text { max-width: 34em; color: var(--on-dark-2); }
.hero .btn-group { margin-top: 2.1rem; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin-top: 2.4rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
  font-size: 0.92rem;
  color: var(--on-dark-2);
}
.hero-points li { display: flex; align-items: center; gap: 0.5rem; }
.hero-points .icon { color: var(--cyan); width: 1.1em; height: 1.1em; }
.hero-visual .media-frame { border-color: var(--line-dark-strong); }
@media (max-width: 999px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 640px; }
}

.tech-band { background: var(--navy-800); border-block: 1px solid var(--line-dark); padding-block: 1.5rem; }
.tech-band .container { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.25rem; }
.tech-band__label { flex: none; margin: 0; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }
.tech-band .chip { color: #DCE5F2; border-color: var(--line-dark-strong); background: rgba(255, 255, 255, 0.02); }

.value-intro h2 { font-size: var(--fs-h2); margin-bottom: 1.25rem; }
.value-intro .lead { margin-bottom: 2rem; }

.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
.tile {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.tile--wide { grid-column: span 3; }
.tile__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
@media (min-width: 1000px) {
  .tile--wide { flex-direction: row; }
  .tile--wide .tile__media { flex: 0 0 56%; align-self: center; }
  .tile--wide .tile__body { justify-content: center; padding: 1.75rem; }
}
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.tile__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.tile h3 { margin-bottom: 0.5rem; font-size: 1.12rem; }
.tile h3 a { color: inherit; text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; }
.tile p { font-size: 0.96rem; color: var(--c-muted); margin-bottom: 1.1rem; }
.tile:hover { border-color: #9CC6F5; box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.tile:hover .tile__media img { transform: scale(1.03); }
.tile:hover .card__more .icon { transform: translateX(3px); }
@media (max-width: 999px) {
  .tile, .tile--wide { grid-column: span 3; }
  .tile:last-child { grid-column: 1 / -1; }
}
@media (max-width: 639px) { .tile, .tile--wide, .tile:last-child { grid-column: 1 / -1; } }

.statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: start; }
.statement__quote { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.6rem); font-weight: 600; line-height: 1.18; letter-spacing: -0.02em; color: var(--c-heading); }
.statement__quote span { color: var(--blue-700); }
.statement__body p { font-size: 1.05rem; }
.statement__body .text-link { margin-top: 1.25rem; }
@media (max-width: 899px) { .statement { grid-template-columns: minmax(0, 1fr); } }

/* 6. Inner pages ----------------------------------------------------------- */

/* Sticky in-page navigation (Services, Solutions) */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line-light);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.subnav ul {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0.6rem 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.subnav a:hover { background: var(--light); color: var(--ink); }
.subnav a.is-active { background: #E6F0FD; color: var(--blue-700); }

/* Service & solution blocks */
.detail-block { padding-block: clamp(4rem, 7vw, 6.5rem); scroll-margin-top: calc(var(--header-h) + 56px); }
.detail-block + .detail-block.section--white,
.detail-block.section--white + .detail-block.section--white { border-top: 1px solid var(--line-light); }
.detail-block__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.detail-block--reverse .detail-block__media { order: -1; }
.detail-block__num { display: block; margin-bottom: 1rem; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em; color: var(--c-eyebrow); }
.detail-block h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.4rem); margin-bottom: 1.1rem; }
.detail-block .lead { margin-bottom: 1.75rem; }
.detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 5vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.detail-title { margin-bottom: 1rem; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); }
.q-list { display: grid; gap: 0.75rem; list-style: none; padding: 0; }
.q-list li {
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  font-weight: 500;
  color: var(--c-heading);
}
.section--white .q-list li { background: var(--light); }
.consider-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1.75rem; list-style: none; padding: 0; }
.consider-grid li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--c-text);
}
.consider-grid .icon { margin-top: 0.12em; color: var(--c-icon); width: 1.05em; height: 1.05em; }
.related { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-bottom: 2rem; }
.related .detail-title { margin: 0; }
@media (max-width: 899px) {
  .detail-block__grid, .detail-columns { grid-template-columns: minmax(0, 1fr); }
  .detail-block--reverse .detail-block__media, .detail-block__media { order: -1; }
}
@media (max-width: 539px) { .consider-grid { grid-template-columns: minmax(0, 1fr); } }

/* About */
.facts { padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: var(--c-surface); }
.facts dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.95rem 1.75rem; margin: 0; }
.facts dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); padding-top: 0.2em; }
.facts dd { margin: 0; font-weight: 500; color: var(--c-heading); overflow-wrap: anywhere; }
@media (max-width: 539px) { .facts dl { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; } .facts dd { margin-bottom: 0.75rem; } }

.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; list-style: none; padding: 0; }
.principle { padding: 1.75rem 1.5rem; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: var(--c-surface); }
.principle .icon-box { margin-bottom: 1.4rem; }
.principle__index { display: block; margin-bottom: 0.4rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--c-eyebrow); }
.principle h3 { margin-bottom: 0.6rem; }
.principle p { font-size: 0.97rem; }
@media (max-width: 1099px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .principles { grid-template-columns: minmax(0, 1fr); } }

/* Approach timeline */
.timeline { position: relative; list-style: none; padding: 0; }
.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 27px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--cyan));
  opacity: 0.55;
}
.timeline__item { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); padding-bottom: 2rem; scroll-margin-top: calc(var(--header-h) + 24px); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--white);
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--blue-700);
}
.timeline__card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.timeline__card h3 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); margin-bottom: 0.75rem; }
.timeline__label { display: block; margin-bottom: 0.5rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-700); }
.timeline__outcome {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.95rem;
  color: var(--ink);
}
.timeline__outcome .icon { color: var(--blue-700); margin-top: 0.15em; }
@media (max-width: 899px) { .timeline__card { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 539px) {
  .timeline::before { left: 19px; }
  .timeline__item { grid-template-columns: 40px minmax(0, 1fr); gap: 1rem; }
  .timeline__marker { width: 40px; height: 40px; font-size: 0.8rem; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-panel { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg); background: var(--navy-900); }
.info-panel h2 { font-size: 1.35rem; margin-bottom: 1.25rem; }
.info-list { list-style: none; padding: 0; margin-bottom: 2rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); }
.info-list li:first-child { border-top: 1px solid var(--line-dark); }
.info-list .icon-box { width: 42px; height: 42px; border-radius: 10px; flex: none; }
.info-list .icon-box .icon { width: 20px; height: 20px; }
.info-list small { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 0.2rem; }
.info-list strong, .info-list a { color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
.info-list a { text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.steps-mini { display: grid; gap: 0.85rem; counter-reset: s; list-style: none; padding: 0; }
.steps-mini li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 0.95rem; counter-increment: s; }
.steps-mini li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--white);
}
.info-panel .btn { margin-top: 1.75rem; width: 100%; }
@media (max-width: 999px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .info-panel { position: static; order: 2; } }

/* 7. Forms & legal --------------------------------------------------------- */
.form-card { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line-light); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 1px 2px rgba(11, 22, 48, 0.04), 0 12px 32px -20px rgba(11, 22, 48, 0.2); }
.form-card > h2 { font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.8rem); margin-bottom: 0.5rem; }
.form-card > p { color: var(--ink-muted); margin-bottom: 1.75rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field label { display: block; margin-bottom: 0.45rem; font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.field .req { color: #B42318; margin-left: 0.15em; }
.field .optional { font-weight: 400; color: var(--ink-muted); }
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 0.95rem;
  border: 1px solid #B9C6D8;
  border-radius: 8px;
  background: var(--white);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1630' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8391A7; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8EA0BA; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(22, 139, 255, 0.22); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C8102E; }
.field.has-error input:focus, .field.has-error select:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.16); }
.field-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; font-size: 0.82rem; color: var(--ink-muted); }
.field-error { display: none; margin-top: 0.4rem; font-size: 0.86rem; font-weight: 500; color: #B42318; }
.field.has-error .field-error { display: block; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.form-note { flex: 1 1 260px; margin: 0; font-size: 0.86rem; color: var(--ink-muted); }
.form-status { display: none; margin-top: 1.5rem; padding: 1.25rem 1.35rem; border: 1px solid; border-radius: var(--radius); font-size: 0.97rem; }
.form-status.is-visible { display: block; }
.form-status--info { background: #EEF5FF; border-color: #B9D6FA; color: var(--ink); }
.form-status--error { background: #FEF3F2; border-color: #F5B5AE; color: #7A271A; }
.form-status h3 { font-size: 1.05rem; margin-bottom: 0.45rem; color: inherit; }
.form-status p { margin-bottom: 0.75rem; }
.form-status .btn-group { margin-top: 0.5rem; }
.form-status .btn { min-height: 42px; }
.copy-feedback { display: inline-block; margin-left: 0.25rem; font-size: 0.88rem; font-weight: 600; color: var(--blue-700); }

/* Legal pages */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc ol { display: grid; gap: 0.15rem; list-style: none; padding: 0; border-left: 1px solid var(--line-light); }
.toc a { display: block; padding: 0.35rem 0 0.35rem 1rem; font-size: 0.9rem; color: var(--ink-muted); text-decoration: none; }
.toc a:hover { color: var(--blue-700); }
.prose { max-width: 72ch; color: var(--ink-2); }
.prose h2 { font-size: 1.4rem; margin: 2.75rem 0 0.9rem; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 1.75rem 0 0.6rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4rem; }
.prose .updated { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
@media (max-width: 899px) { .legal-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound__code { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.16em; color: var(--cyan); }

/* 8. Utilities & motion ---------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }

.reveal-init { opacity: 0; transform: translateY(16px); }
.reveal-init.reveal-in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .subnav, .cta-band, .nav-toggle, .site-footer .btn { display: none !important; }
  body, main { background: #fff; color: #000; }
  .hero, .page-hero, .section--dark, .section--deep, .site-footer { background: #fff !important; --c-heading: #000; --c-text: #222; }
}

main:focus { outline: none; }

/* Heading that looks like an h3 (used where the outline needs a different level) */
.h3-like { font-size: var(--fs-h3); line-height: 1.3; margin-bottom: 0.55rem; }
.process-link { color: inherit; text-decoration: none; }
.process-link:hover { color: var(--blue-300); text-decoration: underline; }
.notice .h3-like { font-size: 1.05rem; margin-bottom: 0.35rem; }
