* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3f9;
  --ink: #14213d;
  --ink-soft: #304468;
  --muted: #556987;
  --line: #d3deec;
  --brand: #0057d9;
  --brand-deep: #003d9e;
  --accent: #00a8a8;
  --gold-muted: #b08d57;
  --gold-deep: #7d5f34;
  --ok: #1f7a52;
  --shadow-sm: 0 6px 18px rgba(20, 33, 61, 0.08);
  --shadow-md: 0 16px 32px rgba(20, 33, 61, 0.12);
  --radius-md: 14px;
  --radius-lg: 20px;
  --content-width: 1160px;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 168, 168, 0.08), transparent 28%),
    radial-gradient(circle at 92% 6%, rgba(0, 87, 217, 0.1), transparent 32%),
    var(--bg);
  color: var(--ink);
  font-family: 'Barlow', sans-serif;
  line-height: 1.65;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--brand);
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 500;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

#main-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

#site-header,
#site-footer {
  flex: 0 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(var(--content-width), calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 0.85rem 0;
}

#site-header {
  background: rgba(244, 247, 251, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-brand-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  justify-content: center;
  align-items: center;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
  position: relative;
  transition: transform 0.2s ease;
}

.nav-toggle-icon::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-icon::after {
  position: absolute;
  top: 6px;
}

.site-nav.nav-open .nav-toggle-icon {
  transform: rotate(45deg);
}

.site-nav.nav-open .nav-toggle-icon::before {
  transform: rotate(90deg) translateX(6px);
}

.site-nav.nav-open .nav-toggle-icon::after {
  opacity: 0;
}

.container {
  width: min(var(--content-width), calc(100% - 2.4rem));
  margin: 0 auto;
}

.section {
  padding: 4.8rem 0;
}

.section-soft {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--brand);
}

h1,
h2,
h3 {
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.2;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

p {
  color: var(--ink-soft);
}

.lead {
  max-width: 720px;
  font-size: 1.1rem;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.15rem;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  color: var(--brand);
  border-color: #9cc0f6;
  background: #edf4ff;
}

.btn-secondary:hover,
.btn-tertiary:hover {
  transform: translateY(-2px);
}

.btn-tertiary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.home-consult-cta {
  background: linear-gradient(140deg, var(--gold-muted), #9f7a45);
  border-color: #8b6a3b;
  color: #1d1407;
  box-shadow: 0 10px 22px rgba(122, 91, 44, 0.28);
}

.home-consult-cta:hover {
  background: linear-gradient(140deg, #8d6b3c, var(--gold-deep));
  border-color: #6f542e;
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(96, 72, 37, 0.34);
}

.home-secondary-cta {
  background: #f7faff;
  border-color: #d5e1f2;
  color: #435978;
}

.home-page .eyebrow {
  color: #9a7b4a;
}

.home-page .eyebrow::before {
  background: #9a7b4a;
}

.home-page .hero-panel {
  border-color: #e8ddcd;
  box-shadow: 0 10px 24px rgba(92, 70, 40, 0.09);
}

.home-page #our-services .card {
  border-color: #e8dfd0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 0.15rem;
}

.home-page #our-services .card:hover {
  border-color: #d4be96;
  box-shadow: 0 12px 24px rgba(96, 74, 39, 0.14);
}

.home-page #our-services .service-link {
  color: #7a5a30;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
}

.home-page #our-services .service-link:hover {
  color: #5f4625;
}

.home-page #our-services .service-card-head {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin-bottom: 0.5rem;
}

.home-page #our-services .service-card-head h3 {
  margin: 0;
  line-height: 1.25;
}

.home-page #our-services .service-icon {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 12px;
  border: 1px solid #dfcba9;
  background: #fdf8ef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6e522d;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.home-page #our-services .service-icon svg {
  width: 1.18rem;
  height: 1.18rem;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page #our-services .service-icon svg * {
  vector-effect: non-scaling-stroke;
}

.home-page #our-services .card > p {
  margin-top: 0.05rem;
  margin-bottom: 1rem;
}

.home-page #who-we-work-with .card li::before,
.home-page #public-sector .card li::before {
  background: var(--gold-muted);
}

.home-page #bottom-cta .cta-band {
  background: linear-gradient(135deg, #fff8ee, #f4f8ff);
  border-color: #dcc6a0;
}

.home-page #trust-build {
  padding-top: 3.3rem;
  padding-bottom: 3.1rem;
}

.home-page .trust-build-wrap {
  display: grid;
  gap: 0.9rem;
}

.home-page .trust-build-head {
  margin-bottom: 0.4rem;
}

.home-page #trust-build .lead {
  max-width: 78ch;
  margin: 0;
}

.home-page .trust-pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.home-page .trust-pillars li {
  position: relative;
  border: 1px solid #e5dccd;
  border-radius: 12px;
  background: var(--surface);
  padding: 0.9rem 0.95rem 0.9rem 2.2rem;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.55;
}

.home-page .trust-pillars li::before {
  content: '';
  position: absolute;
  left: 0.92rem;
  top: 1.05rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold-muted);
  box-shadow: 0 0 0 2px rgba(176, 141, 87, 0.16);
}

.hero {
  position: relative;
  padding: 5.2rem 0 3.7rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20% -8% auto auto;
  width: min(560px, 48vw);
  height: min(560px, 48vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 141, 87, 0.16) 0%, rgba(176, 141, 87, 0.04) 42%, transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(110, 82, 45, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 82, 45, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.17;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.08) 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.08) 62%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.25rem;
  align-items: stretch;
}

.hero-copy p {
  font-size: 1.05rem;
}

.home-page .hero-copy {
  max-width: 640px;
}

.home-page .hero-copy .eyebrow {
  margin-bottom: 0.58rem;
  letter-spacing: 0.16em;
}

.home-page .hero-copy h1 {
  max-width: 17ch;
  margin-bottom: 0.84rem;
  line-height: 1.07;
  font-size: clamp(2.35rem, 4.7vw, 3.95rem);
  text-wrap: balance;
}

.home-page .hero-copy .lead {
  max-width: 60ch;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.72;
}

.hero-ctas {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.home-page .hero-ctas {
  margin-top: 1.12rem;
  gap: 0.72rem;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.chip {
  background: #e7effb;
  border: 1px solid #c8d9f0;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-logo-wrap {
  background: linear-gradient(150deg, #e9f2ff, #f7fbff);
  border: 1px solid #d4e3f9;
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
}

.hero-logo-wrap img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.meta-list {
  display: grid;
  gap: 0.62rem;
}

.meta-item {
  background: #f7fbff;
  border: 1px solid #d7e7fb;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
}

.meta-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}

.meta-value {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.hero-value-card {
  display: grid;
  gap: 0.9rem;
}

.value-title {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-bottom: 0.1rem;
  line-height: 1.2;
  color: var(--ink);
}

.value-list {
  list-style: none;
  display: grid;
  gap: 0.62rem;
  padding-left: 0;
}

.value-list li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.55;
}

.value-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--gold-muted);
}

.value-footnote {
  margin-top: 0.35rem;
  padding-top: 0.8rem;
  border-top: 1px solid #e8ddcd;
  color: #786142;
  font-weight: 600;
  font-size: 0.92rem;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem;
}

.card p {
  margin-bottom: 0.8rem;
}

.card ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin: 0.4rem 0 1rem;
}

.card li {
  position: relative;
  padding-left: 0.85rem;
  color: var(--ink-soft);
}

.card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

.cta-right-card {
  display: flex;
  flex-direction: column;
}

.cta-right-card .btn-primary {
  margin-top: auto;
  align-self: flex-end;
}

.service-link {
  font-weight: 700;
  text-decoration: none;
}

.trust-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.trust-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  color: var(--ink-soft);
}

.gov-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.gov-id-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.gov-id {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem;
}

.gov-id span {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.gov-id strong {
  color: var(--ink);
  font-size: 1rem;
}

.cta-band {
  background: linear-gradient(120deg, #dff3ff, #ebf8f5);
  border: 1px solid #c6e9f8;
  border-radius: 18px;
  padding: 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-band p {
  margin: 0;
}

.insights-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.insights-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.insights-list a {
  font-weight: 700;
  text-decoration: none;
}

.insights-list.compact li {
  padding: 0.8rem 0.9rem;
}

.insights-list.compact p {
  margin-bottom: 0;
}

.home-bottom-grid {
  align-items: start;
}

.home-main-card {
  display: grid;
  gap: 1rem;
}

.home-cta-band {
  margin-top: 0.4rem;
}

.home-insights-card {
  position: sticky;
  top: 6rem;
}

.page-hero {
  padding: 3.8rem 0 2rem;
}

.page-hero .lead {
  margin-top: 0.65rem;
}

.metrics-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.metric {
  border: 1px solid #c3d8f9;
  background: #f3f8ff;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1rem;
}

.service-sidebar {
  position: sticky;
  top: 6rem;
  align-self: start;
}

.callout {
  background: #edf7f7;
  border: 1px solid #c5e5e5;
  border-radius: 12px;
  padding: 1rem;
}

.callout h3 {
  margin-bottom: 0.5rem;
}

.form-grid {
  display: grid;
  gap: 0.8rem;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #bed2f2;
  padding: 0.65rem 0.7rem;
  font: inherit;
  color: var(--ink);
  background: #fdfefe;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-feedback {
  font-size: 0.9rem;
  color: var(--ok);
}

.site-footer {
  width: min(var(--content-width), calc(100% - 2.4rem));
  margin: 1.6rem auto 1.2rem;
  padding-top: 1rem;
  display: grid;
  gap: 0.3rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-title {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  color: var(--ink);
}

.footer-title-right,
.footer-copy,
.footer-meta {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.footer-title-right {
  font-size: 0.8rem;
  text-align: right;
  white-space: nowrap;
}

.footer-copy,
.footer-meta {
  font-size: 0.78rem;
}

.footer-copy {
  white-space: nowrap;
}

.footer-meta {
  text-align: right;
  white-space: nowrap;
}

.article-shell {
  max-width: 860px;
}

.article-shell p,
.article-shell li {
  color: var(--ink-soft);
}

.article-shell ul,
.article-shell ol {
  margin: 0.75rem 0 1rem 1.2rem;
}

.article-shell h2,
.article-shell h3 {
  margin-top: 1.15rem;
}

.inline-note {
  font-size: 0.95rem;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .gov-grid,
  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }

  .home-insights-card {
    position: static;
  }

  .site-footer {
    gap: 0.5rem;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .footer-title-right,
  .footer-meta {
    text-align: left;
    white-space: normal;
  }

  .footer-copy {
    white-space: normal;
  }
}

@media (max-width: 840px) {
  .site-nav {
    padding: 0.7rem 0;
  }

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

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: none;
  }

  .site-nav.nav-open .nav-links {
    display: flex;
  }

  .nav-links li {
    border-top: 1px solid var(--line);
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 1.2rem;
  }

  .hero,
  .section,
  .page-hero {
    padding: 3.2rem 0;
  }

  .home-page .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.15rem, 8vw, 3rem);
    line-height: 1.1;
    margin-bottom: 0.85rem;
  }

  .home-page .hero-copy .lead {
    font-size: 1rem;
    line-height: 1.68;
  }

  .home-page .hero-ctas {
    margin-top: 1.05rem;
  }

  .hero::before {
    width: min(420px, 72vw);
    height: min(420px, 72vw);
    opacity: 0.85;
  }

  .hero::after {
    opacity: 0.16;
    background-size: 56px 56px;
  }

  .gov-id-grid,
  .hero-points {
    grid-template-columns: 1fr;
  }

  .home-page .trust-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container,
  .site-nav,
  .site-footer {
    width: min(var(--content-width), calc(100% - 1.4rem));
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .btn-primary,
  .btn-secondary,
  .btn-tertiary {
    width: 100%;
  }
}
