/* Shared styles for index.html, services.html, and experience.html */
:root {
  --navy: #082B5C;
  --navy-strong: #0A224A;
  --secondary-navy: #1C4478;
  --pale-blue: #80A8D6;
  --surface: #FFFFFF;
  --alt-surface: #F4F8FD;
  --border: #D8E3F2;
  --heading: #082B5C;
  --body: #1F2937;
  --muted: #5B6471;
  --white: #FFFFFF;
  --shadow: 0 18px 30px -24px rgba(8, 43, 92, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--surface);
  color: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--heading);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}
h1 { font-size: clamp(2.8rem, 4vw, 4.7rem); }
h2 { font-size: clamp(2.1rem, 3vw, 3.1rem); }
h3 { font-size: clamp(1.5rem, 2vw, 2rem); }
p { font-size: 1.02rem; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--pale-blue); outline-offset: 3px; }

html { scroll-padding-top: 96px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--secondary-navy);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; display: block; width: 22px; height: 2px; background: var(--pale-blue);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 22px; border-radius: 6px; border: 1px solid transparent;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; font-weight: 700;
  text-decoration: none; transition: all 0.2s ease; cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--secondary-navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover, .btn-light:focus-visible { background: #EAF1FB; color: var(--navy); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--navy); color: var(--white); }

header {
  position: sticky; top: 0; z-index: 120; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative;
}
.logo-mark img { height: 72px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  position: relative; color: var(--body); font-size: 0.92rem; font-weight: 600; padding: 6px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--secondary-navy); transition: width 0.2s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--secondary-navy); }
.mobile-menu-toggle { display: none; }

section { padding: 88px 0; }

  .hero {
  position: relative; overflow: hidden; color: var(--white);
  padding: 40px 0 40px; display: block;
}

/* Background hero reel (video) */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,31,66,0.78) 0%, rgba(10,34,74,0.82) 100%); z-index: 1; pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; padding: 80px 24px; display: grid; gap: 18px; align-items: center;
}
.hero-content { max-width: 980px; }
.hero-tagline { font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: rgba(255,255,255,0.95); font-size: clamp(0.95rem, 2.2vw, 1.25rem); margin-bottom: 14px; }
.hero h1 { color: var(--white); margin-bottom: 18px; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.02; }
.hero p.lead { color: rgba(255,255,255,0.9); max-width: 760px; font-size: clamp(1rem, 1.6vw, 1.18rem); }
.hero .cta-row { display: flex; gap: 14px; margin-top: 26px; }

/* Hero-specific button contrast overrides */
.hero .cta-row .btn-primary { background: var(--white); color: var(--navy); border: 1px solid transparent; }
.hero .cta-row .btn-primary:hover, .hero .cta-row .btn-primary:focus-visible { background: #f4f8fd; color: var(--navy); }
.hero .cta-row .btn-outline { background: var(--white); border-color: var(--white); color: var(--navy-strong); }
.hero .cta-row .btn-outline:hover, .hero .cta-row .btn-outline:focus-visible { background: #A9C6E6; border-color: #A9C6E6; color: var(--navy-strong); }


@media (max-width: 900px) {
  .hero-inner { padding: 56px 18px; }
  .hero h1 { font-size: clamp(2rem, 7vw, 3rem); }
}


@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.stats-strip {
  background: var(--alt-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1200px; margin: 0 auto; padding: 24px 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.stat-box { padding: 10px 12px; }
.stat-value {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 2vw, 2.4rem); font-weight: 700; color: var(--navy); line-height: 1.1;
  margin-bottom: 8px;
}
.stat-label { color: var(--muted); font-size: 0.92rem; }

.section-header {
  max-width: 760px; margin-bottom: 32px;
}
.section-header p { color: var(--muted); }

.services-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: var(--surface);
}
.service-item {
  position: relative; padding: 28px 28px 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); min-height: 260px;
}
.service-item:nth-child(odd) { background: rgba(244, 248, 253, 0.3); }
.service-item h3 { margin-bottom: 10px; color: var(--heading); font-size: clamp(1.5rem, 1.5vw, 1.8rem); }
.service-item p { color: var(--muted); margin-bottom: 14px; }
.service-item ul { display: grid; gap: 8px; }
.service-item li {
  position: relative; padding-left: 15px; color: var(--body); font-size: 0.96rem; line-height: 1.5;
}
.service-item li::before { content: '•'; position: absolute; left: 0; color: var(--secondary-navy); }



.why-block {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: center; background: var(--alt-surface); border: 1px solid var(--border); border-radius: 8px; padding: 34px;
}
.why-image {
  width: 100%; height: auto; display: block; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow);
}
.why-copy { display: grid; gap: 18px; }
.why-copy p { color: var(--muted); }
.differentiators {
  display: grid; gap: 16px; margin-top: 18px;
}
.differentiator {
  border-top: 1px solid var(--border); padding-top: 16px;
}
.differentiator strong { display: block; color: var(--heading); font-size: 1rem; margin-bottom: 4px; }
.differentiator span { color: var(--muted); }

.engage-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; border-top: 1px solid var(--border); padding-top: 22px;
}
.engage-item { padding: 12px 10px 0; }
.engage-item h4 { font-size: 1.05rem; margin-bottom: 8px; }
.engage-item p { color: var(--muted); font-size: 0.96rem; }

#lifecycle .section-header { max-width: none; }
.lifecycle-wrap {
  display: flex; flex-direction: column; gap: 18px;
}
.lifecycle-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.lifecycle-step {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 22px 18px;
  box-shadow: var(--shadow);
}
.lifecycle-step .step-number {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--alt-surface); color: var(--navy); font-size: 0.82rem; font-weight: 700; margin-bottom: 14px;
  font-family: 'Space Grotesk', sans-serif;
}
.lifecycle-step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.lifecycle-step p { color: var(--muted); font-size: 0.96rem; }
.lifecycle-note { color: var(--muted); margin-top: 10px; }

.experience-wrap {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 26px; align-items: stretch;
}
.experience-visual { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-content: start; min-width: 0; }
.experience-visual figure { margin: 0; }
.experience-visual img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; display: block; object-fit: cover; border-radius: 8px; border: 1px solid var(--border);
}
.experience-content {
  display: grid; gap: 18px;
}
.experience-card {
  background: var(--alt-surface); border: 1px solid var(--border); border-radius: 8px; padding: 22px 20px;
}
.experience-card h3 { margin-bottom: 10px; }
.experience-card p { color: var(--muted); }
.experience-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.compact-group {
  border-top: 1px solid var(--border); padding-top: 14px;
}
.compact-group h4 { margin-bottom: 6px; font-size: 1.03rem; }
.compact-group p { color: var(--muted); font-size: 0.97rem; }

.contact-section {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-strong) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 0, rgba(128,168,214,0.14), transparent 28%);
  pointer-events: none;
}
.contact-layout {
  position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 30px; align-items: start;
}
.contact-copy { min-width: 0; container-type: inline-size; }
.contact-copy h2 { font-size: clamp(1rem, 7cqw, 2.4rem); white-space: nowrap; }
.contact-copy .eyebrow { color: var(--pale-blue); }
.contact-copy .eyebrow::before { background: var(--pale-blue); }
.contact-copy h2, .contact-copy p { color: var(--white); }
.contact-copy p { margin-top: 8px; max-width: 520px; }
.contact-meta { margin-top: 24px; display: grid; gap: 10px; }
.contact-meta a { color: var(--white); text-decoration: underline; }

.contact-form-panel {
  background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 28px; box-shadow: var(--shadow);
}
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--navy); font-weight: 700; margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--body); padding: 12px 14px; font: inherit;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--secondary-navy); box-shadow: 0 0 0 3px rgba(28,68,120,0.08); outline: none; }
.honeypot {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0;
}
.form-note {
  color: var(--muted); font-size: 0.9rem; margin: 10px 0 18px;
}
.status { min-height: 24px; font-size: 0.9rem; margin-top: 12px; }
.status.info { color: var(--navy); }
.status.error { color: #8d1e1e; }
.status.success { color: #0e6d42; }

footer {
  background: var(--heading);
  color: var(--white);
  padding: 52px 0 26px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 26px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .footer-tagline { color: var(--white); font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 600; line-height: 1.3; max-width: 440px; margin-top: 0; }
.footer-brand p { color: rgba(255,255,255,0.8); max-width: 440px; margin-top: 14px; }
.footer-links { display: flex; gap: 54px; flex-wrap: wrap; }
.footer-links h5 {
  font-family: 'Space Grotesk', sans-serif; color: var(--white); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.76rem; margin-bottom: 12px;
}
.footer-links a { display: block; color: rgba(255,255,255,0.72); margin-bottom: 8px; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--pale-blue); }
.footer-bottom {
  padding-top: 18px; font-size: 0.82rem; color: rgba(255,255,255,0.7);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--navy); font-size: 1.3rem; cursor: pointer;
  }
  .mobile-menu-toggle[aria-expanded="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 12px 20px 18px; background: rgba(255,255,255,0.98); border-bottom: 1px solid var(--border);
  }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-inner, .why-block, .experience-wrap, .contact-layout { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .lifecycle-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-inner { grid-template-columns: 1fr; }
  .engage-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .header-inner { padding: 14px 20px; }
  .logo-mark img { height: 60px; }
  .hero { padding-top: 42px; }
  .hero-copy .cta-row { flex-direction: column; align-items: flex-start; }
  .hero-image-wrap { order: 2; }
  .hero-copy { order: 1; }
  .lifecycle-row, .experience-grid, .field-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .contact-form-panel { padding: 20px 18px; }
  .service-item, .why-block { padding-left: 18px; padding-right: 18px; }
  .why-block { padding-top: 20px; padding-bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Standalone page additions */
.page-intro { padding-top: 72px; }
.page-intro h1.page-title { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 14px; }
.page-cta .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.page-cta .contact-copy h2 { white-space: normal; font-size: clamp(2rem, 3vw, 2.6rem); }
@media (max-width: 600px) { .page-intro { padding-top: 48px; } }

/* Home page services overview */
.services-strip { background: var(--alt-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services-strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card {
  display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 22px 20px; box-shadow: var(--shadow); transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover, .service-card:focus-visible { border-color: var(--secondary-navy); transform: translateY(-2px); }
.service-card h3 { font-size: 1.2rem; }
.service-card p { color: var(--muted); font-size: 0.96rem; flex: 1; }
.service-card-link { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--secondary-navy); }
.services-strip .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Lifecycle on the services page */
#lifecycle { background: var(--alt-surface); border-top: 1px solid var(--border); }

@media (max-width: 900px) {
  .services-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .services-strip-grid { grid-template-columns: 1fr; }
}
