/* ==========================================================================
   GISPromo IT Solutions — Global Stylesheet  (v2, brand-matched)
   Palette and typography taken from the GISPromo brand sheet:
     #0D47A1 navy   #1976D2 blue   #42A5F5 sky
     #43A047 green  #7BA3C7 steel  #E6F0FA ice
   Typeface: Montserrat.
   ========================================================================== */

:root {
  /* Brand colours, exactly as specified on the brand sheet */
  --brand-navy:  #0D47A1;
  --brand-blue:  #1976D2;
  --brand-sky:   #42A5F5;
  --brand-green: #43A047;
  --brand-steel: #7BA3C7;
  --brand-ice:   #E6F0FA;

  /* Working scale derived from those */
  --navy-950: #062B63;
  --navy-900: #0A3A85;
  --navy-850: #0D47A1;
  --navy-800: #1257AF;
  --navy-700: #1565C0;
  --navy-600: #1976D2;

  --cyan-400: #42A5F5;
  --cyan-500: #1976D2;
  --cyan-600: #1565C0;
  --teal-400: #5CB860;
  --teal-500: #43A047;

  /* Neutrals */
  --ink-900: #0E2340;
  --ink-700: #29405C;
  --ink-600: #4A6382;
  --ink-500: #6E87A6;
  --ink-400: #93AAC6;
  --line: #D9E6F5;
  --line-strong: #BED3EA;
  --surface: #ffffff;
  --surface-alt: #F1F7FD;
  --surface-tint: #E6F0FA;

  /* Type */
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  /* the brand's spaced-capitals treatment, not a monospace face */
  --font-mono: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Arial, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 860px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(10, 40, 90, 0.06),
    0 2px 8px rgba(10, 40, 90, 0.05);
  --shadow: 0 4px 10px rgba(10, 40, 90, 0.07),
    0 18px 40px -18px rgba(10, 40, 90, 0.22);
  --shadow-lg: 0 30px 70px -30px rgba(10, 40, 90, 0.45);

  --header-h: 88px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.18;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 1.25rem + 2.9vw, 3.35rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.35rem); font-weight: 700; }
h3 { font-size: clamp(1.12rem, 1rem + 0.5vw, 1.32rem); font-weight: 600; }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy-700); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--cyan-400); color: var(--navy-950); }

:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.6rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.6rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding: clamp(4rem, 7vw, 7rem) 0; }
.section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section--alt { background: var(--surface-alt); }
.section--tint {
  background: linear-gradient(180deg, var(--surface-tint), var(--surface));
}
.section--dark {
  background: var(--navy-900);
  color: #D3E4F8;
  position: relative;
  overflow: hidden;
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--cyan-500); color: #ffffff; padding: .7rem 1.2rem;
  font-weight: 600; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono);
  font-size: .73rem; letter-spacing: .19em; text-transform: uppercase;
  color: var(--brand-blue); font-weight: 700; margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--cyan-500);
  border-radius: 2px;
}
.section--dark .eyebrow,
.page-hero .eyebrow,
.hero .eyebrow,
.cta-band .eyebrow { color: #7FD68A; }
.section--dark .eyebrow::before,
.page-hero .eyebrow::before,
.hero .eyebrow::before,
.cta-band .eyebrow::before { background: #7FD68A; }

.section-head { max-width: 780px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p {
  font-size: 1.08rem; color: var(--ink-600);
}
.section--dark .section-head p { color: #BCD6F2; }

.lead { font-size: 1.15rem; color: var(--ink-600); }
.section--dark .lead { color: #C6DCF5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.6rem;
  font-family: var(--font-sans);
  font-size: .96rem; font-weight: 600; letter-spacing: .005em;
  border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .22s cubic-bezier(.4, 0, .2, 1);
  text-align: center;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-500), var(--teal-500));
  color: #ffffff;
  box-shadow: 0 8px 24px -10px rgba(25, 118, 210, .8);
}
.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -12px rgba(25, 118, 210, .95);
}

.btn-outline {
  border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy-800); color: #fff; border-color: var(--navy-800);
}
.btn-dark:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }

.btn-ghost { border-color: var(--line-strong); color: var(--ink-700); }
.btn-ghost:hover { border-color: var(--navy-800); color: var(--navy-800); background: var(--surface-alt); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .94rem; color: var(--cyan-600);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ----------
   White, so the full-colour brand lockup sits on the background it was drawn for. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 22px -12px rgba(10, 40, 90, .30);
  border-bottom-color: transparent;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .7rem; }
.brand svg,
.brand img { width: 42px; height: 42px; flex: none; }

/* header: the supplied horizontal lockup, used as artwork */
.brand--lockup { gap: 0; }
.brand--lockup img {
  width: auto; height: 58px; flex: none; display: block;
}
@media (max-width: 560px) { .brand--lockup img { height: 46px; } }
.brand-text { display: flex; flex-direction: column; line-height: 1.18; gap: .1rem; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.22rem;
  color: #fff; letter-spacing: -.01em;
}
.brand-name span { color: #6FCF7B; }
.brand-sub {
  font-family: var(--font-sans); font-size: .6rem; letter-spacing: .24em;
  font-weight: 600; text-transform: uppercase; color: #9FC3E8;
}

.brand-tagline {
  font-size: .55rem; letter-spacing: .26em; text-transform: uppercase;
  color: #8FBDEA; font-weight: 600; margin-top: .18rem;
}
.brand-tagline b { color: #6FCF7B; font-weight: 600; }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  padding: .55rem .82rem; border-radius: 8px;
  font-size: .92rem; font-weight: 600; color: var(--ink-700);
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: var(--brand-navy); background: var(--brand-ice); }
.nav a.active { color: var(--brand-blue); background: var(--brand-ice); }
.nav .btn { margin-left: .6rem; padding: .62rem 1.25rem; font-size: .88rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: .45rem; color: var(--brand-navy);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 1rem 1.3rem 1.6rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: .85rem .6rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 1rem 0 0; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--navy-950);
  background-image:
    radial-gradient(1000px 480px at 80% -6%, rgba(25, 118, 210, .20), transparent 62%),
    radial-gradient(700px 400px at 6% 106%, rgba(46, 125, 50, .14), transparent 60%),
    linear-gradient(102deg,
      rgba(6, 34, 78, .96) 0%,
      rgba(9, 52, 122, .88) 34%,
      rgba(13, 71, 161, .68) 66%,
      rgba(13, 71, 161, .55) 100%),
    url("../img/hero-terrain.jpg");
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center right;
  background-repeat: no-repeat;
  color: #DCEAFA;
  padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(4.5rem, 8vw, 7.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(190, 220, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 220, 255, .045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 85% 75% at 55% 40%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 55% 40%, #000 25%, transparent 78%);
}
@keyframes driftSlow {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to   { transform: translate3d(-28px, 26px, 0) rotate(4deg); }
}

.hero-inner { max-width: 900px; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--cyan-400), var(--teal-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(.72rem, .62rem + .3vw, .84rem);
  letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  color: #8FD6FF; margin-bottom: 1.6rem;
}
.hero-tagline span { color: #6FCF7B; margin: 0 .5rem; }
.hero-disciplines {
  font-size: .82rem; letter-spacing: .04em; color: #9FC3E8;
  margin-bottom: 1.7rem; font-weight: 500;
}
.hero p { font-size: clamp(1.02rem, .95rem + .35vw, 1.16rem); color: #C6DCF5; max-width: 700px; }

.badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .42rem 1rem .42rem .55rem;
  border: 1px solid rgba(66, 165, 245, .3);
  background: rgba(66, 165, 245, .09);
  border-radius: 999px;
  font-size: .8rem; font-weight: 500; color: #CFE6FB;
  margin-bottom: 1.6rem;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 4px rgba(67, 160, 71, .18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(67, 160, 71, .2); }
  50%      { box-shadow: 0 0 0 7px rgba(67, 160, 71, .05); }
}

/* Hero stat strip */
.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.4rem 2rem; margin-top: 3.4rem; padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, .11);
}
.hero-stats div strong {
  display: block; font-family: var(--font-display); font-size: 1.05rem;
  color: #fff; margin-bottom: .18rem; font-weight: 600;
}
.hero-stats div span { font-size: .87rem; color: #A7C6E9; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  background-color: var(--navy-950);
  background-image:
    radial-gradient(820px 380px at 82% 0%, rgba(25, 118, 210, .20), transparent 62%),
    linear-gradient(104deg,
      rgba(6, 34, 78, .97) 0%, rgba(11, 60, 138, .92) 40%, rgba(13, 71, 161, .74) 100%),
    url("../img/hero-terrain.jpg");
  background-size: auto, auto, cover;
  background-position: center, center, center right;
  background-repeat: no-repeat;
  color: #C6DCF5;
  padding: clamp(3.4rem, 5.5vw, 5.4rem) 0 clamp(3.4rem, 5.5vw, 5rem);
  overflow: hidden; isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(190, 220, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 220, 255, .06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 90% at 60% 20%, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 60% 20%, #000 20%, transparent 76%);
}
.page-hero h1 { color: #fff; margin-bottom: .7rem; }
.page-hero p { max-width: 720px; font-size: 1.08rem; color: #BCD6F2; }

.crumbs {
  font-size: .82rem; color: #9DBFE6; margin-bottom: 1.1rem;
  display: flex; gap: .5rem; flex-wrap: wrap; align-items: center;
}
.crumbs a { color: #B6D3F2; }
.crumbs a:hover { color: var(--cyan-400); }
.crumbs span { opacity: .5; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.75rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--cyan-500), var(--teal-400));
  transition: width .35s cubic-bezier(.4, 0, .2, 1);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.card:hover::after { width: 100%; }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .96rem; color: var(--ink-600); }
.card > :last-child { margin-bottom: 0; }

.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.15rem;
  background: linear-gradient(140deg, rgba(25, 118, 210, .14), rgba(46, 125, 50, .12));
  color: var(--cyan-600);
  border: 1px solid rgba(25, 118, 210, .18);
}
.card-icon svg { width: 24px; height: 24px; }

.card--dark {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .1);
}
.card--dark h3 { color: #fff; }
.card--dark p { color: #C0D8F3; }
.card--dark:hover { background: rgba(255, 255, 255, .07); border-color: rgba(66, 165, 245, .28); }
.card--dark .card-icon {
  background: rgba(66, 165, 245, .12); color: var(--cyan-400);
  border-color: rgba(66, 165, 245, .22);
}

/* Service block (detail page) */
.svc {
  --svc-pad: clamp(1.8rem, 3vw, 2.9rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--svc-pad);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.9rem;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.svc-head { display: flex; gap: 1.15rem; align-items: flex-start; margin-bottom: 1.2rem; }
.svc-head .card-icon { margin-bottom: 0; }
.svc-head h2 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); margin-bottom: .25rem; }
.svc-kicker {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cyan-600);
}

/* Capability list */
.caps {
  list-style: none; padding: 0; margin: 1.4rem 0 0;
  display: grid; gap: .55rem 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.caps li {
  position: relative; padding-left: 1.6rem; margin: 0;
  font-size: .95rem; color: var(--ink-600);
}
.caps li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 2px;
  background: linear-gradient(135deg, var(--cyan-500), var(--teal-400));
}
.caps--tight { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.section--dark .caps li { color: #C0D8F3; }

.subhead {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; color: var(--ink-900);
  margin: 2rem 0 .4rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.svc > .subhead:first-of-type { margin-top: 1.8rem; }

/* Steps / process */
.steps { counter-reset: step; display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.step {
  position: relative; padding: 1.7rem 1.6rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  transition: border-color .25s ease, background .25s ease;
}
.step:hover { border-color: rgba(66, 165, 245, .3); background: rgba(255, 255, 255, .065); }
.step-no {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em;
  color: var(--cyan-400); display: block; margin-bottom: .7rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.step p { font-size: .93rem; color: #BCD6F2; margin: 0; }

/* Industry tiles */
.tile {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.65rem 1.5rem; background: var(--surface);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(25, 118, 210, .35); }
.tile h3 { font-size: 1.06rem; margin-bottom: .45rem; display: flex; align-items: center; gap: .6rem; }
.tile h3 svg { width: 20px; height: 20px; color: var(--cyan-600); flex: none; }
.tile p { font-size: .93rem; margin: 0; color: var(--ink-600); }

/* Tech stack */
.tech-group {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; background: var(--surface);
}
.tech-group h4 {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan-600); margin-bottom: 1rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-block; padding: .38rem .85rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .855rem; font-weight: 500; color: var(--ink-700);
  background: var(--surface-alt);
}
.section--dark .tech-group { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .tech-group h4 { color: var(--cyan-400); }
.section--dark .chip {
  background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #DCEAFA;
}

/* Split feature */
.split {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  align-items: center;
}
.split-visual {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-alt);
  box-shadow: var(--shadow);
}

/* Stat band */
.stat-band {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.stat { text-align: center; padding: 1.2rem .6rem; }
.stat strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  color: var(--navy-800); line-height: 1.1; margin-bottom: .35rem;
}
.section--dark .stat strong {
  background: linear-gradient(100deg, var(--cyan-400), var(--teal-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: .89rem; color: var(--ink-500); }
.section--dark .stat span { color: #A7C6E9; }

/* Callout / CTA band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(700px 340px at 15% 0%, rgba(25, 118, 210, .28), transparent 62%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 4rem);
  color: #CCE1F7; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(190, 220, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 220, 255, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 40%, #000, transparent 75%);
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 640px; margin-inline: auto; color: #C3DAF4; }
.cta-band .btn-row { justify-content: center; }

/* Quote / statement */
.statement {
  border-left: 3px solid var(--brand-green);
  padding: .3rem 0 .3rem 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.02rem + .7vw, 1.6rem);
  line-height: 1.45; color: var(--ink-900); letter-spacing: -.015em;
}
.section--dark .statement { color: #fff; }
.section-head p.statement,
.section-head .statement {
  font-size: clamp(1.2rem, 1.02rem + .7vw, 1.6rem);
  line-height: 1.45;
}

/* Split with a wider primary column (contact form, feature pairs) */
@media (min-width: 900px) {
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
}

/* ---------- Projects ---------- */
.project {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-thumb {
  aspect-ratio: 16 / 9; position: relative;
  background: linear-gradient(140deg, var(--navy-850), var(--navy-600));
  display: grid; place-items: center; overflow: hidden;
}
.project-thumb svg { width: 100%; height: 100%; }
.project-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}
.project:hover .project-thumb img { transform: scale(1.045); }
.project-body { padding: 1.5rem 1.5rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
.project-tag {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--cyan-600); margin-bottom: .6rem;
}
.project h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.project p { font-size: .93rem; color: var(--ink-600); margin-bottom: 1rem; }
.project .meta {
  margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--ink-500);
  display: flex; flex-wrap: wrap; gap: .4rem 1rem;
}

/* ---------- Insights ---------- */
.post {
  display: grid; gap: 1.5rem; grid-template-columns: 210px 1fr;
  padding: 1.8rem 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.post-aside { display: flex; flex-direction: column; }
.post-thumb {
  display: block; margin-top: .7rem;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.post-thumb img { transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.post:hover .post-thumb { box-shadow: var(--shadow); }
.post:hover .post-thumb img { transform: scale(1.05); }
.post:first-of-type { border-top: 1px solid var(--line); }
.post-date {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em;
  color: var(--ink-500); text-transform: uppercase; padding-top: .3rem;
}
.post h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.post h3 a { color: var(--ink-900); }
.post h3 a:hover { color: var(--cyan-600); }
.post p { font-size: .96rem; color: var(--ink-600); margin-bottom: .8rem; }
.post-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.post-tags span {
  font-size: .74rem; padding: .22rem .65rem; border-radius: 999px;
  background: var(--surface-tint); color: var(--ink-600); border: 1px solid var(--line);
}
@media (max-width: 700px) {
  .post { grid-template-columns: 1fr; gap: .8rem; }
  .post-aside {
    flex-direction: column-reverse; gap: .55rem;
  }
  .post-thumb { margin-top: 0; max-width: 100%; }
}

/* ---------- Imagery ---------- */
.media {
  position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--navy-850);
  border: 1px solid var(--line);
}
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--21x9 { aspect-ratio: 21 / 9; }
.media--4x3  { aspect-ratio: 4 / 3; }

/* full-bleed visual across the top of a service block */
.svc-visual {
  position: relative;
  margin: calc(-1 * var(--svc-pad)) calc(-1 * var(--svc-pad)) 1.9rem;
  aspect-ratio: 24 / 7;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--navy-850);
}
.svc-visual img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}
.svc:hover .svc-visual img { transform: scale(1.035); }
.svc-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 34, 78, .30) 0%,
              rgba(6, 34, 78, 0) 42%, rgba(6, 34, 78, .18) 100%);
}
.svc-visual .caption {
  position: absolute; left: 1.1rem; bottom: .75rem; z-index: 2;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .13em;
  text-transform: uppercase; color: rgba(255, 255, 255, .78);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}
@media (max-width: 640px) { .svc-visual { aspect-ratio: 16 / 8; } }

/* figure with caption, used in articles and feature blocks */
figure.fig { margin: 2.2rem 0; }
figure.fig .media { box-shadow: var(--shadow); }
figure.fig figcaption {
  margin-top: .75rem; font-size: .85rem; color: var(--ink-500);
  border-left: 2px solid var(--cyan-500); padding-left: .8rem; line-height: 1.55;
}
.section--dark figure.fig figcaption { color: #A7C6E9; }

/* card that leads with an image */
.card--media { padding: 0; overflow: hidden; }
.card--media .media { border: 0; border-radius: 0; }
.card--media .card-body { padding: 1.6rem 1.6rem 1.8rem; }
.card--media .card-body > :last-child { margin-bottom: 0; }

/* transparent art (the layer stack) needs no frame */
.art { display: block; width: 100%; height: auto; }
.art--pad { padding: .5rem 0; }

/* image inside the split feature */
.split-visual { position: relative; overflow: hidden; }
.split-visual img { width: 100%; display: block; }
.split-visual--plain { border: 0; background: none; box-shadow: none; }

/* Article ---------- */
.article { font-size: 1.05rem; }
.article h2 { margin-top: 2.6rem; font-size: clamp(1.35rem, 1.15rem + .7vw, 1.7rem); }
.article h3 { margin-top: 1.9rem; }
.article ul, .article ol { margin-bottom: 1.3rem; }
.article li { margin-bottom: .55rem; }
.article blockquote {
  margin: 1.9rem 0; padding: .2rem 0 .2rem 1.5rem;
  border-left: 3px solid var(--cyan-500);
  font-family: var(--font-display); font-size: 1.15rem;
  color: var(--ink-900); line-height: 1.5;
}
.article code {
  font-family: var(--font-mono); font-size: .88em;
  background: var(--surface-tint); border: 1px solid var(--line);
  border-radius: 5px; padding: .12em .4em; color: var(--navy-700);
}
.article pre {
  background: var(--navy-900); color: #DCEAFA; border-radius: var(--radius);
  padding: 1.2rem 1.3rem; overflow-x: auto; font-size: .87rem;
  font-family: var(--font-mono); line-height: 1.6;
}
.article pre code { background: none; border: 0; padding: 0; color: inherit; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; align-items: center;
  font-size: .87rem; color: var(--ink-500);
  padding-bottom: 1.6rem; margin-bottom: 2.2rem; border-bottom: 1px solid var(--line);
}
.article figure { margin: 2rem 0; }
.article figcaption { font-size: .87rem; color: var(--ink-500); margin-top: .6rem; }
.callout {
  background: var(--brand-ice); border: 1px solid var(--line);
  border-left: 3px solid var(--brand-green);
  border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin: 1.9rem 0;
  font-size: .97rem;
}
.callout strong { color: var(--ink-900); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.7rem, 3.4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block; font-size: .87rem; font-weight: 600;
  color: var(--ink-900); margin-bottom: .45rem;
}
.field label .req { color: #d9534f; }
.field input,
.field select,
.field textarea {
  width: 100%; padding: .82rem 1rem;
  font-family: inherit; font-size: .96rem; color: var(--ink-900);
  background: var(--surface-alt);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(25, 118, 210, .13);
}
.field-row { display: grid; gap: 0 1.1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.hint { font-size: .82rem; color: var(--ink-500); margin-top: .4rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-note {
  margin-top: 1rem; font-size: .85rem; color: var(--ink-500);
}
.form-status {
  display: none; margin-bottom: 1.3rem; padding: .95rem 1.15rem;
  border-radius: var(--radius-sm); font-size: .93rem; font-weight: 500;
}
.form-status.show { display: block; }
.form-status.ok { background: #e8f8f2; color: #10715c; border: 1px solid #a9e3d1; }
.form-status.err { background: #fdecec; color: #9c2b26; border: 1px solid #f3c2c0; }

/* Contact info list */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex; gap: .95rem; align-items: flex-start;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line); margin: 0;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 20px; height: 20px; color: var(--cyan-600); flex: none; margin-top: .25rem; }
.contact-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-500); font-weight: 600; margin-bottom: .12rem; }
.contact-list span { font-size: .98rem; color: var(--ink-900); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line); padding: 1.15rem 0;
}
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--font-display);
  font-weight: 600; font-size: 1.03rem; color: var(--ink-900);
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 1.3rem;
  color: var(--cyan-600); flex: none; transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .85rem 0 0; font-size: .96rem; color: var(--ink-600); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950); color: #A7C6E9;
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
  font-size: .93rem;
}
.footer-grid {
  display: grid; gap: 2.4rem 2rem;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255, 255, 255, .09);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 1.1rem; gap: .85rem; }
.footer-brand .brand img { width: 54px; height: 54px; }
.footer-brand p { font-size: .92rem; color: #A0C0E4; max-width: 340px; }
.footer-tag {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .11em;
  color: #7BA3C7; margin-top: 1rem; text-transform: uppercase;
}
.site-footer h4 {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; margin-bottom: 1rem; font-family: var(--font-mono); font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #B6D3F2; }
.site-footer a:hover { color: var(--cyan-400); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  align-items: center; padding-top: 1.8rem; font-size: .85rem; color: #7BA3C7;
}
.footer-bottom nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal.visible {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .8rem; }
.mt-2 { margin-top: 1.6rem; }
.mt-3 { margin-top: 2.4rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-500); font-size: .93rem; }
.section--dark .muted { color: #9DBFE6; }
.nowrap { white-space: nowrap; }
