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

:root {
  --navy:    #1A2760;
  --navy-w:  #283564;
  --navy-d:  #12205A;
  --white:   #FDFDFB;
  --pure:    #FFFFFF;
  --slate:   #64748B;
  --slate-l: #CBD5E1;
  --mist:    #F4F6FA;
  --ink:     #0F172A;
  --line:    #E2E8F0;
  --body:    'DM Sans', sans-serif;
  --display: 'Playfair Display', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,253,251,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; height: 46px; }
.nav-logo img { height: 42px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2.25rem; list-style: none; }
.nav-links a { text-decoration: none; font-size: 13px; font-weight: 500; color: var(--slate); transition: color .15s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy) !important; color: var(--white) !important;
  padding: 9px 20px !important; font-size: 13px !important; font-weight: 500 !important;
  transition: background .15s !important;
}
.nav-cta:hover { background: var(--navy-d) !important; }
.nav-signin {
  border: 1px solid var(--slate-l);
  padding: 8px 19px !important; font-size: 13px !important; font-weight: 500 !important;
  color: var(--navy) !important;
  transition: border-color .15s, background .15s, color .15s !important;
}
.nav-signin:hover { border-color: var(--navy); background: var(--navy); color: var(--white) !important; }
/* Mobile menu toggle — hidden on desktop, revealed in the narrow breakpoint.
   Mirrors the a2v sub-nav toggle for a consistent disclosure pattern. */
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  font-family: var(--body); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--navy);
  padding: 7px 14px; cursor: pointer;
}

.hero { padding: 100px 2.5rem 80px; max-width: 980px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 28px;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--navy); }
.hero-headline {
  font-family: var(--display); font-style: italic; font-size: clamp(2.4rem, 5vw, 3.7rem);
  line-height: 1.14; color: var(--navy); max-width: 800px; margin-bottom: 26px; font-weight: 700;
}
.hero-headline .plain { font-style: normal; }
.hero-headline .muted { color: var(--slate); }
.hero-sub {
  font-size: 1.0625rem; line-height: 1.75; color: var(--slate);
  max-width: 640px; margin-bottom: 18px; font-weight: 300;
}
.hero-tagline {
  font-size: 0.95rem; color: var(--navy-w); font-weight: 500; font-style: italic;
  margin-bottom: 42px; letter-spacing: .005em;
}
.hero-actions { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: var(--navy); color: var(--white);
  padding: 14px 30px; font-family: var(--body); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: background .15s; letter-spacing: .01em;
}
.btn-primary:hover { background: var(--navy-d); }
.hero-note { font-size: 13px; color: var(--slate); font-weight: 300; font-style: italic; }

.capability-rail { background: var(--navy); padding: 18px 2.5rem; overflow: hidden; }
.rail-inner { display: flex; gap: 2.5rem; align-items: center; flex-wrap: wrap; max-width: 980px; margin: 0 auto; }
.rail-item {
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(253,253,251,0.78); white-space: nowrap; display: flex; align-items: center; gap: 10px;
}
.rail-item::after { content: '\00b7'; color: rgba(253,253,251,0.32); font-size: 18px; line-height: 1; }
.rail-item:last-child::after { display: none; }

.section { padding: 84px 2.5rem; max-width: 980px; margin: 0 auto; }
.section-divider { width: 100%; height: 1px; background: var(--line); max-width: 980px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--navy); opacity: .35; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; color: var(--navy); line-height: 1.25; margin-bottom: 16px; }
.section-body { font-size: 1rem; color: var(--slate); line-height: 1.75; max-width: 640px; font-weight: 300; margin-bottom: 40px; }

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5px; background: var(--line); border: 1.5px solid var(--line); margin-top: 40px;
}
.service-card { background: var(--white); padding: 36px 32px; position: relative; transition: background .2s; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--navy); transition: height .3s ease; }
.service-card:hover { background: var(--mist); }
.service-card:hover::before { height: 100%; }
.service-icon { width: 36px; height: 36px; margin-bottom: 20px; color: var(--navy); }
.service-title { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.service-desc { font-size: .875rem; color: var(--slate); line-height: 1.75; font-weight: 300; }

.ai-block { background: var(--navy); padding: 80px 2.5rem; }
.ai-inner { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.ai-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(253,253,251,0.55); margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.ai-label::before { content: ''; display: block; width: 20px; height: 2px; background: rgba(253,253,251,0.35); }
.ai-title { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 600; color: var(--white); line-height: 1.25; margin-bottom: 20px; }
.ai-body { font-size: .9375rem; color: rgba(253,253,251,0.62); line-height: 1.8; font-weight: 300; }
.ai-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.ai-list li { display: flex; align-items: flex-start; gap: 14px; font-size: .9rem; color: rgba(253,253,251,0.78); line-height: 1.65; font-weight: 300; }
.ai-list li::before { content: ''; display: block; flex-shrink: 0; width: 16px; height: 1.5px; background: rgba(253,253,251,0.42); margin-top: 11px; }

.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 48px; }
.proof-stat { border-left: 3px solid var(--navy); padding-left: 20px; margin-bottom: 32px; }
.proof-stat-num { font-size: 2.25rem; font-weight: 600; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.proof-stat-label { font-size: .8125rem; color: var(--slate); font-weight: 400; line-height: 1.55; }
.proof-text-block p { font-size: .9375rem; color: var(--slate); line-height: 1.8; font-weight: 300; margin-bottom: 16px; }
.about-name { font-size: 1rem; font-weight: 600; color: var(--navy); margin-top: 28px; margin-bottom: 3px; }
.about-role { font-size: .8125rem; color: var(--slate); font-weight: 300; margin-bottom: 20px; }
.tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 11px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--navy); border: 1px solid rgba(26,39,96,0.25); padding: 5px 12px; }

.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.audience-card { background: var(--white); padding: 30px 26px; transition: background .2s; }
.audience-card:hover { background: var(--mist); }
.audience-card-title { font-size: .875rem; font-weight: 600; color: var(--navy); margin-bottom: 9px; line-height: 1.3; }
.audience-card-desc { font-size: .8125rem; color: var(--slate); line-height: 1.65; font-weight: 300; }

.contact-section { background: var(--mist); border-top: 1px solid var(--line); padding: 84px 2.5rem; }
.contact-inner { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-heading { font-size: clamp(1.4rem, 2.5vw, 1.875rem); font-weight: 600; color: var(--navy); line-height: 1.25; margin-bottom: 16px; margin-top: 20px; }
/* On the mist background, --slate (#64748B) is 4.39:1 — just under AA.
   The contact-section texts use this darker slate (6.26:1 on mist). */
.contact-body { font-size: .9375rem; color: #525C6B; line-height: 1.75; font-weight: 300; margin-bottom: 28px; }
.availability-badge { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 500; color: var(--navy); letter-spacing: .04em; border: 1px solid rgba(26,39,96,0.2); padding: 8px 14px; background: var(--white); }
.availability-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; flex-shrink: 0; }
.contact-direct { margin-top: 26px; font-size: .8125rem; color: #525C6B; line-height: 1.9; font-weight: 300; }
.contact-direct a { color: var(--navy); font-weight: 500; text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 11px; font-weight: 600; color: var(--ink); letter-spacing: .07em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--body); font-size: 14px; font-weight: 300; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); padding: 10px 14px;
  outline: none; transition: border-color .15s; width: 100%; -webkit-appearance: none; border-radius: 0;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 100px; }

.captcha-box { background: var(--white); border: 1.5px solid var(--line); padding: 14px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.captcha-q { font-size: 13px; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.captcha-challenge { font-family: var(--body); font-weight: 600; color: var(--navy); background: var(--mist); border: 1px solid var(--slate-l); padding: 4px 12px; letter-spacing: .05em; font-size: 14px; }
.captcha-input { width: 90px !important; }
.captcha-refresh { background: none; border: none; cursor: pointer; color: var(--slate); font-size: 12px; text-decoration: underline; padding: 0; font-family: var(--body); }
.captcha-refresh:hover { color: var(--navy); }
.captcha-error { font-size: 12px; color: #B91C1C; font-weight: 400; display: none; }

.form-submit {
  font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--white);
  background: var(--navy); border: none; padding: 14px 28px; cursor: pointer;
  transition: background .15s; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; letter-spacing: .01em;
}
.form-submit:hover { background: var(--navy-d); }
.form-submit svg { transition: transform .15s; }
.form-submit:hover svg { transform: translateX(3px); }
.form-success { display: none; background: #EFF4FF; border: 1px solid rgba(26,39,96,0.25); padding: 14px 18px; font-size: 14px; color: var(--navy); font-weight: 400; }

.smallprint { margin-top: 18px; font-size: 11.5px; color: #525C6B; line-height: 1.7; font-weight: 300; border-top: 1px solid var(--line); padding-top: 16px; }
.smallprint strong { color: var(--navy-w); font-weight: 600; }

footer { border-top: 1px solid var(--line); padding: 32px 2.5rem; max-width: 980px; margin: 0 auto; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 22px; }
.footer-logo img { height: 34px; width: auto; opacity: .85; }
.footer-links { display: flex; gap: 1.75rem; list-style: none; }
.footer-links a { font-size: 12px; color: var(--slate); text-decoration: none; font-weight: 400; transition: color .15s; }
.footer-links a:hover { color: var(--navy); }
.footer-legal { font-size: 11px; color: var(--slate); font-weight: 300; line-height: 1.7; border-top: 1px solid var(--line); padding-top: 18px; }

@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-toggle { display: inline-block; }
  /* Open menu drops down as a panel below the bar so the fixed-height,
     sticky nav is left undisturbed. */
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px -12px rgba(15,23,42,0.18);
    padding: 6px 1.25rem 14px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 15px; }
  .nav-links .nav-signin, .nav-links .nav-cta {
    text-align: center; padding: 11px 16px !important; margin-top: 8px;
  }
  .hero { padding: 60px 1.25rem 48px; }
  .section { padding: 56px 1.25rem; }
  .ai-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .ai-block { padding: 56px 1.25rem; }
  .proof-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-section { padding: 56px 1.25rem; }
  footer { padding: 28px 1.25rem; }
  .footer-top { flex-direction: column; gap: 18px; }
  .capability-rail { padding: 18px 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---- Accessibility baseline (site-wide) ------------------------------ */

/* Skip link: off-screen until focused, then pinned top-left. Mirrors the
   A2V pages' .a2v-skip-link so every route has the same keyboard entry. */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: var(--white);
  padding: 10px 18px; font-size: 13px; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Visible keyboard-focus indicator for every interactive element. Form
   fields set `outline: none` above; this restores a clear indicator for
   keyboard users (WCAG 2.2 focus visible) without showing on mouse click.
   Placed last so it wins over the earlier form `outline: none`. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
