:root {
  --ap-font: 'Lato', sans-serif;
  --ap-dark: #0d0d0d;
  --ap-navy: #1a2b5e;
  --ap-blue: #1d4ed8;
  --ap-blue-mid: #2563eb;
  --ap-teal: #00bfa5;
  --ap-gold: #c9a227;
  --ap-orange: #f97316;
  --ap-orange-dark: #ea580c;
  --ap-purple: #6d28d9;
  --ap-green: #16a34a;
  --ap-green-dark: #15803d;
  --ap-white: #ffffff;
  --ap-off-white: #f5f7fa;
  --ap-light-gray: #eef0f5;
  --ap-card-bg: #f0f2f7;
  --ap-border: #e2e8f0;
  --ap-body: #4a5568;
  --ap-muted: #718096;
  --ap-heading: #1a1f36;
  --ap-hero-grad: linear-gradient(135deg, rgba(10, 16, 40, 0.88) 0%, rgba(13, 43, 110, 0.75) 60%, rgba(0, 150, 130, 0.55) 100%);
  --ap-story-grad: linear-gradient(135deg, #1a2b6e 0%, #1a4ba8 45%, #2d7dd4 100%);
  --ap-wm-grad: linear-gradient(160deg, #1e3a8a 0%, #1d4ed8 100%);
  --ap-advisory-grad: linear-gradient(160deg, #f97316 0%, #fb923c 100%);
  --ap-integrity-grad: linear-gradient(160deg, #1e3a8a 0%, #2563eb 100%);
  --ap-trust-grad: linear-gradient(160deg, #f97316 0%, #fb923c 100%);
  --ap-respect-grad: linear-gradient(160deg, #5b21b6 0%, #7c3aed 100%);
  --ap-innovation-grad: linear-gradient(160deg, #16a34a 0%, #22c55e 100%);
  --ap-courage-grad: linear-gradient(160deg, #0d9488 0%, #14b8a6 100%);
  --ap-gov-grad: linear-gradient(160deg, #1e3a8a 0%, #2563eb 100%);
  --ap-commit-grad: linear-gradient(160deg, #0d9488 0%, #14b8a6 100%);
  --ap-disclaimer-grad: linear-gradient(160deg, #1e3f8a 0%, #2563eb 70%, #1a5dab 100%);
  --ap-container: 960px;
  --ap-pad: clamp(1.5rem, 6vw, 5rem);
  --ap-sec-py: clamp(2.5rem, 5vw, 4rem);
  --ap-radius-sm: 4px;
  --ap-radius-md: 10px;
  --ap-radius-lg: 16px;
  --ap-radius-xl: 22px;
}

.ap-page,
.ap-page * {
  box-sizing: border-box;
}

.ap-page {
  color: var(--ap-body);
  background: var(--ap-white);
  font-family: var(--ap-font);
  font-size: 15px;
  line-height: 1.65;
}

html {
  scroll-behavior: smooth;
}

.ap-page .ap-richtext p {
  margin: 0 0 0.85rem;
}

.ap-page .ap-richtext p:last-child,
.ap-page .ap-richtext--disclaimer p:last-child {
  margin-bottom: 0;
}

.ap-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.ap-reveal.ap-visible {
  opacity: 1;
  transform: translateY(0);
}

.ap-delay-1 {
  transition-delay: 0.1s;
}

.ap-delay-2 {
  transition-delay: 0.2s;
}

.ap-delay-3 {
  transition-delay: 0.3s;
}

.ap-delay-4 {
  transition-delay: 0.4s;
}

.ap-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 var(--ap-pad);
  background: #0a0f28;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ap-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--ap-container);
  height: 56px;
  margin: 0 auto;
}

.ap-nav-brand {
  color: var(--ap-white);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.ap-nav-links {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ap-nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.ap-nav-links a:hover,
.ap-nav-links a.ap-nav-active {
  color: var(--ap-white);
}

.ap-nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.ap-nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ap-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.ap-nav-hamburger.ap-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ap-nav-hamburger.ap-open span:nth-child(2) {
  opacity: 0;
}

.ap-nav-hamburger.ap-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.ap-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 480px;
  overflow: hidden;
  background-color: #0a0f28;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ap-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--ap-hero-grad);
}

.ap-hero-arrow {
  position: absolute;
  right: 6%;
  bottom: -5%;
  width: 340px;
  opacity: 0.55;
  pointer-events: none;
}

.ap-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--ap-container) + (var(--ap-pad) * 2));
  margin: 0 auto;
  padding: var(--ap-sec-py) var(--ap-pad);
}

.ap-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 0.3rem 0.8rem;
  color: var(--ap-white);
  background: var(--ap-teal);
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ap-hero-h1 {
  max-width: 600px;
  margin-bottom: 0.5rem;
  color: var(--ap-white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
}

.ap-hero-h1 .ap-hero-brand {
  color: var(--ap-teal);
  font-weight: 900;
}

.ap-hero-subtitle {
  max-width: 540px;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
}

.ap-hero-body {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  line-height: 1.8;
}

.ap-who,
.ap-services,
.ap-why,
.ap-disclaimer {
  padding: var(--ap-sec-py) var(--ap-pad);
  background: var(--ap-white);
}

.ap-story,
.ap-values,
.ap-solutions,
.ap-foundations {
  padding: var(--ap-sec-py) var(--ap-pad);
  background: var(--ap-off-white);
}

.ap-story {
  background: var(--ap-story-grad);
}

.ap-who-inner,
.ap-story-inner,
.ap-services-inner,
.ap-values-inner,
.ap-why-inner,
.ap-foundations-inner,
.ap-solutions-inner {
  max-width: var(--ap-container);
  margin: 0 auto;
}

.ap-who-inner,
.ap-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.ap-story-inner {
  align-items: center;
}

.ap-who-content .ap-sec-heading,
.ap-story-content .ap-sec-heading,
.ap-section-header .ap-sec-heading {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
}

.ap-who-content .ap-sec-heading,
.ap-section-header .ap-sec-heading {
  color: var(--ap-heading);
}

.ap-story-content .ap-sec-heading {
  color: var(--ap-white);
}

.ap-who-content p,
.ap-story-content p {
  font-size: 0.875rem;
  line-height: 1.78;
}

.ap-story-content p,
.ap-story-content .ap-richtext {
  color: rgba(255, 255, 255, 0.82);
}

.ap-who-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.ap-stat-cell {
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-sm);
  transition: box-shadow 0.2s;
}

.ap-stat-cell:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.ap-stat-label {
  margin-bottom: 0.3rem;
  color: var(--ap-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ap-stat-value {
  color: var(--ap-heading);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.ap-who-image,
.ap-story-img-wrap,
.ap-svc-img-wrap {
  overflow: hidden;
  border-radius: var(--ap-radius-md);
}

.ap-who-image {
  height: 460px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.ap-story-img-wrap {
  height: 480px;
}

.ap-who-image img,
.ap-story-img-wrap img,
.ap-svc-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
}

.ap-who-image img {
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.ap-who-image:hover img {
  transform: scale(1.02);
}

.ap-story-img-wrap img,
.ap-svc-img-wrap img {
  object-fit: cover;
  object-position: center;
}

.ap-section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.ap-section-subtext {
  max-width: 540px;
  margin: 0 auto;
  color: var(--ap-muted);
  font-size: 0.875rem;
}

.ap-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.ap-value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  min-height: 180px;
  padding: 1.5rem 1.25rem;
  color: var(--ap-white);
  text-align: center;
  border-radius: var(--ap-radius-md);
  transition: box-shadow 0.25s ease;
}

.ap-value-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.ap-value-card svg {
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 0.85);
}

.ap-value-card h3 {
  color: var(--ap-white);
  font-size: 0.95rem;
  font-weight: 700;
}

.ap-value-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  line-height: 1.6;
}

.ap-vc-integrity {
  background: var(--ap-integrity-grad);
}

.ap-vc-trust {
  background: var(--ap-trust-grad);
}

.ap-vc-respect {
  background: var(--ap-respect-grad);
}

.ap-vc-innovation {
  background: var(--ap-innovation-grad);
}

.ap-vc-courage {
  background: var(--ap-courage-grad);
}

.ap-value-quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: var(--ap-white);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-md);
}

.ap-value-quote blockquote {
  color: var(--ap-heading);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.55;
}

.ap-quote-rule {
  width: 36px;
  height: 3px;
  background: var(--ap-blue-mid);
  border-radius: 2px;
}

.ap-services-grid,
.ap-foundations-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.ap-foundations-grid {
  grid-template-columns: 1fr 1fr;
}

.ap-svc-wm,
.ap-found-card {
  padding: 1.75rem 1.5rem;
  color: var(--ap-white);
  border-radius: var(--ap-radius-md);
}

.ap-svc-wm {
  background: var(--ap-wm-grad);
}

.ap-svc-wm svg,
.ap-svc-advisory svg {
  width: 28px;
  height: 28px;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.ap-svc-wm h3,
.ap-svc-advisory h3,
.ap-found-card h3 {
  margin-bottom: 0.6rem;
  color: var(--ap-white);
  font-size: 1.1rem;
  font-weight: 900;
}

.ap-svc-wm h3 {
  font-size: 1.2rem;
}

.ap-svc-wm > p,
.ap-svc-advisory p,
.ap-found-card > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  line-height: 1.7;
}

.ap-svc-wm > p,
.ap-found-card > p {
  margin-bottom: 1.1rem;
}

.ap-svc-list,
.ap-found-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ap-svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ap-svc-list li:last-child {
  border-bottom: 0;
}

.ap-svc-list-arrow {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--ap-teal);
  font-size: 1rem;
  font-weight: 900;
}

.ap-svc-list-content h4 {
  margin-bottom: 0.15rem;
  color: var(--ap-white);
  font-size: 0.82rem;
  font-weight: 700;
}

.ap-svc-list-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  line-height: 1.55;
}

.ap-svc-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ap-svc-advisory {
  flex: 1;
  padding: 1.5rem;
  color: var(--ap-white);
  background: var(--ap-advisory-grad);
  border-radius: var(--ap-radius-md);
}

.ap-svc-img-wrap {
  position: relative;
  flex-shrink: 0;
  height: 200px;
}

.ap-svc-img-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.75rem 1rem;
  color: var(--ap-white);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  font-size: 0.78rem;
  font-weight: 400;
}

.ap-solutions-component .feature-14-section {
  padding: 0;
  background: transparent;
}

.ap-solutions-component .container,
.ap-solutions-component .row,
.ap-solutions-component .col {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.ap-solutions-component .feature-14-header {
  text-align: center;
}

.ap-solutions-empty {
  padding: 1.5rem;
  color: var(--ap-muted);
  text-align: center;
  background: var(--ap-white);
  border: 1px dashed var(--ap-border);
  border-radius: var(--ap-radius-md);
}

.ap-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.ap-why-card {
  padding: 1.25rem;
  background: var(--ap-card-bg);
  border: 1px solid transparent;
  border-radius: var(--ap-radius-md);
  transition: border-color 0.2s ease;
}

.ap-why-card:hover,
.ap-why-card:focus {
  border-color: var(--ap-border);
  outline: none;
}

.ap-why-card h3 {
  margin-bottom: 0.5rem;
  color: #1a3a8a;
  font-size: 0.9rem;
  font-weight: 700;
}

.ap-why-card p {
  color: var(--ap-body);
  font-size: 0.82rem;
  line-height: 1.7;
}

.ap-found-gov {
  background: var(--ap-gov-grad);
}

.ap-found-commit {
  background: var(--ap-commit-grad);
}

.ap-found-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  line-height: 1.5;
}

.ap-found-list li svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
}

.ap-disclaimer-card {
  max-width: var(--ap-container);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
  background: var(--ap-disclaimer-grad);
  border-radius: var(--ap-radius-lg);
}

.ap-disclaimer-card h2 {
  margin-bottom: 1rem;
  color: var(--ap-white);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 900;
}

.ap-richtext--disclaimer p {
  max-width: 640px;
  margin: 0 auto 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  line-height: 1.75;
}

@media (max-width: 860px) {
  .ap-who-inner,
  .ap-story-inner,
  .ap-services-grid,
  .ap-foundations-grid {
    grid-template-columns: 1fr;
  }

  .ap-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ap-who-image {
    height: 300px;
  }

  .ap-story-img-wrap {
    height: 280px;
  }

  .ap-nav {
    position: relative;
  }

  .ap-nav-links {
    position: absolute;
    top: 56px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem var(--ap-pad);
    background: #0a0f28;
  }

  .ap-nav-links.ap-open {
    display: flex;
  }

  .ap-nav-hamburger {
    display: flex;
  }
}

@media (max-width: 560px) {
  .ap-values-grid,
  .ap-why-grid,
  .ap-who-stats {
    grid-template-columns: 1fr;
  }

  .ap-hero-h1 {
    font-size: 1.9rem;
  }

  .ap-who-image {
    height: 240px;
  }
}
