/* ==========================================================================
   A3 Shield LLC — Site Styles
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-950: #060C16;
  --navy-900: #0A1220;
  --navy-850: #0E1A2C;
  --navy-800: #13223A;
  --navy-700: #1B3050;
  --steel-600: #2A4468;
  --steel-400: #52719A;

  --accent: #2E86DE;
  --accent-bright: #4BA3F5;
  --accent-deep: #1B5FA8;
  --amber: #F0A73C;

  --ink: #0B1220;
  --body: #4C5A6E;
  --body-light: #6B7A8F;
  --line: #E2E8F0;
  --line-soft: #EDF1F6;
  --surface: #FFFFFF;
  --surface-alt: #F5F8FC;
  --surface-tint: #EEF4FB;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 2px 6px rgba(11, 18, 32, .04);
  --shadow: 0 4px 12px rgba(11, 18, 32, .07), 0 12px 28px rgba(11, 18, 32, .07);
  --shadow-lg: 0 10px 24px rgba(11, 18, 32, .10), 0 30px 60px rgba(11, 18, 32, .12);

  --maxw: 1200px;
  --gutter: 24px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --header-h: 76px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.15rem, 5.2vw, 3.65rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
h4 { font-size: 1.0625rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

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

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 880px; }

.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--surface-alt); }
.section--tint { background: var(--surface-tint); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.075rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-head--center .eyebrow { justify-content: center; }

.lede { font-size: 1.15rem; color: var(--body); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: .01em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease,
              border-color .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(46, 134, 222, .32);
}
.btn--primary:hover { background: var(--accent-deep); color: #fff; box-shadow: 0 8px 22px rgba(46, 134, 222, .4); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

.btn--outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent-deep); background: #fff; }

.btn--sm { padding: 11px 20px; font-size: .875rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-row--center { justify-content: center; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
  font-size: .925rem;
  color: var(--accent-deep);
}
.link-arrow svg { transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar__list { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, .82); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { flex: none; opacity: .8; }
.topbar__note { display: inline-flex; align-items: center; gap: 8px; }
.topbar__note .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #45C77A; box-shadow: 0 0 0 3px rgba(69, 199, 122, .22);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 18, 32, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  transition: opacity .16s ease;
}
.brand:hover { color: #fff; opacity: .85; }
.brand__mark { flex: none; height: 46px; width: auto; }
.brand__word { flex: none; height: 20px; width: auto; }

.brand--lg .brand__mark { height: 52px; }
.brand--lg .brand__word { height: 23px; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, .8);
  font-size: .925rem;
  font-weight: 550;
  white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.nav__list a:hover,
.nav__list a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 650;
  font-size: .95rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent-bright); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: #fff;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background-color .15s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 12, 22, .96) 0%, rgba(6, 12, 22, .88) 38%,
                    rgba(8, 16, 28, .62) 62%, rgba(8, 16, 28, .48) 100%),
    linear-gradient(180deg, rgba(6, 12, 22, .55) 0%, rgba(6, 12, 22, 0) 30%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: clamp(72px, 9vw, 132px) 0 clamp(56px, 6vw, 88px);
}
.hero__content { max-width: 730px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(1.075rem, 1.9vw, 1.35rem);
  font-weight: 550;
  color: rgba(255, 255, 255, .93);
  margin-bottom: 18px;
  line-height: 1.45;
}
.hero__body {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .76);
  max-width: 640px;
  margin-bottom: 32px;
}
.hero .eyebrow { color: var(--accent-bright); }
.hero .eyebrow::before { background: var(--accent-bright); }

.hero__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .92);
  font-weight: 600;
  font-size: 1rem;
}
.hero__contact a:hover { color: var(--accent-bright); }
.hero__contact svg { flex: none; color: var(--accent-bright); }

/* Hero service strip */
.hero-strip {
  position: relative;
  z-index: 2;
  background: rgba(6, 12, 22, .72);
  border-top: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-strip__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-strip__list li {
  margin: 0;
  padding: 20px 18px;
  border-left: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
  line-height: 1.35;
}
.hero-strip__list li:first-child { border-left: 0; }
.hero-strip__list svg { flex: none; color: var(--accent-bright); }

/* ==========================================================================
   Intro / two-column
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.split--reverse .split__media { order: -1; }

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split__media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.media-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  right: 22px;
  background: rgba(6, 12, 22, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: #fff;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.media-badge svg { flex: none; color: var(--accent-bright); margin-top: 2px; }
.media-badge strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.media-badge span { font-size: .84rem; color: rgba(255, 255, 255, .72); line-height: 1.45; }

/* ==========================================================================
   Solution cards
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: 28px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #CBD8E8;
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-800);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card__media img { transform: scale(1.045); }
.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 22, .1) 40%, rgba(6, 12, 22, .55) 100%);
}
.card__icon {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 20px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(46, 134, 222, .95);
  color: #fff;
  box-shadow: 0 6px 16px rgba(6, 12, 22, .35);
}

.card__body {
  padding: 26px 26px 12px;
  flex: 1;
}
.card__body h3 { margin-bottom: 10px; }
.card__body p { font-size: .975rem; }

.card__list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}
.card__list--single { grid-template-columns: 1fr; }
.card__list li {
  position: relative;
  padding-left: 20px;
  font-size: .9rem;
  color: var(--body-light);
  margin: 0;
  line-height: 1.5;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 4px; top: .58em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .55;
}
.card__list-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 18px 0 0;
}

.card__foot {
  padding: 18px 26px 26px;
  margin-top: auto;
}

/* ==========================================================================
   Steps (How We Work)
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 26px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-700));
  color: #fff;
  font-weight: 750;
  font-size: 1.05rem;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px rgba(19, 34, 58, .22);
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: .95rem; margin: 0; }
.step::after {
  content: "";
  position: absolute;
  top: 54px;
  right: -17px;
  width: 12px; height: 12px;
  border-top: 2px solid #C3D2E4;
  border-right: 2px solid #C3D2E4;
  transform: rotate(45deg);
}
.steps .step:last-child::after { display: none; }

/* ==========================================================================
   Feature grid (Why A3 Shield)
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature {
  background: var(--navy-850);
  padding: 34px 30px;
  transition: background-color .2s ease;
}
.feature:hover { background: var(--navy-800); }
.feature__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(46, 134, 222, .16);
  border: 1px solid rgba(75, 163, 245, .3);
  color: var(--accent-bright);
  margin-bottom: 18px;
}
.feature h3 { color: #fff; font-size: 1.125rem; margin-bottom: 8px; }
.feature p { color: rgba(255, 255, 255, .68); font-size: .95rem; margin: 0; }

/* Dark section shell */
.section--dark {
  background:
    radial-gradient(1000px 500px at 12% -10%, rgba(46, 134, 222, .18), transparent 60%),
    radial-gradient(800px 400px at 92% 110%, rgba(46, 134, 222, .12), transparent 60%),
    var(--navy-900);
  color: rgba(255, 255, 255, .74);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .eyebrow { color: var(--accent-bright); }
.section--dark .eyebrow::before { background: var(--accent-bright); }
.section--dark .lede { color: rgba(255, 255, 255, .8); }

/* ==========================================================================
   Connected systems band
   ========================================================================== */
.connect-band {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--navy-900);
}
.connect-band__media { position: absolute; inset: 0; }
.connect-band__media img { width: 100%; height: 100%; object-fit: cover; }
.connect-band__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 12, 22, .95) 0%, rgba(6, 12, 22, .86) 50%, rgba(6, 12, 22, .7) 100%);
}
.connect-band__inner { position: relative; z-index: 2; }

.connect-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
}
.connect-list li {
  margin: 0;
  padding: 20px 22px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.5;
}
.connect-list svg { flex: none; color: var(--accent-bright); margin-top: 3px; }

/* ==========================================================================
   Environment chips
   ========================================================================== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.chips li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 550;
  color: var(--ink);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.chips li:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.chips li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ==========================================================================
   Callout / assessment band
   ========================================================================== */
.callout {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 55%, var(--steel-600) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 4.5vw, 56px);
  color: #fff;
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 163, 245, .22), transparent 68%);
  pointer-events: none;
}
.callout h2 { color: #fff; margin-bottom: 12px; }
.callout p { color: rgba(255, 255, 255, .8); margin-bottom: 0; }
.callout p + p { margin-top: .9em; }
.callout__actions { position: relative; z-index: 2; }

/* ==========================================================================
   Contact / final CTA
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.2vw, 40px);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 7px;
}
.field .req { color: #C0392B; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field select { appearance: none; background-image:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234C5A6E' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46, 134, 222, .16);
}
.form-note {
  font-size: .8rem;
  color: var(--body-light);
  margin: 14px 0 0;
  line-height: 1.5;
}

.contact-detail {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail:last-of-type { border-bottom: 0; }
.contact-detail__icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--surface-tint);
  color: var(--accent-deep);
}
.contact-detail h4 { margin: 0 0 3px; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--body-light); font-weight: 700; }
.contact-detail p, .contact-detail a { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--ink); line-height: 1.45; }
.contact-detail a:hover { color: var(--accent-deep); }
.contact-detail address { font-style: normal; font-size: 1.05rem; font-weight: 600; color: var(--ink); line-height: 1.45; }

.hours {
  margin-top: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.hours h4 {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--body-light); margin-bottom: 14px; font-weight: 700;
}
.hours dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 9px 20px; }
.hours dt { font-weight: 600; color: var(--ink); font-size: .95rem; }
.hours dd { margin: 0; text-align: right; font-size: .95rem; color: var(--body); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .62);
  padding: clamp(52px, 6vw, 76px) 0 0;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 44px;
}
.site-footer h4 {
  color: #fff;
  font-size: .8rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer a { color: rgba(255, 255, 255, .68); }
.site-footer a:hover { color: #fff; }
.site-footer p { margin-bottom: .9em; }
.footer-brand__desc { max-width: 380px; margin: 20px 0 24px; line-height: 1.6; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; line-height: 1.5;
}
.footer-contact svg { flex: none; margin-top: 3px; color: var(--accent-bright); opacity: .85; }
.footer-hours { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-hours div { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 7px; }
.footer-hours span:first-child { color: rgba(255, 255, 255, .82); }

.footer-services {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  align-items: center;
  font-size: .875rem;
  color: rgba(255, 255, 255, .58);
}
.footer-services span:not(.sep) { padding-right: 12px; }
.footer-services .sep { padding-right: 12px; color: var(--accent); opacity: .7; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }

/* ==========================================================================
   Legal / document pages
   ========================================================================== */
.page-hero {
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(46, 134, 222, .22), transparent 62%),
    var(--navy-900);
  color: #fff;
  padding: clamp(52px, 6vw, 84px) 0;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .75); max-width: 720px; margin: 0; }
.page-hero .eyebrow { color: var(--accent-bright); }
.page-hero .eyebrow::before { background: var(--accent-bright); }
.page-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: .85rem;
  color: rgba(255, 255, 255, .85);
}

.breadcrumb {
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 20px;
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255, 255, 255, .75); }
.breadcrumb a:hover { color: #fff; }

.doc-layout {
  display: grid;
  grid-template-columns: 258px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.doc-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}
.doc-toc h2 {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--body-light);
  margin-bottom: 14px;
  font-weight: 700;
}
.doc-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.doc-toc li { margin-bottom: 3px; }
.doc-toc a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--body);
  line-height: 1.4;
  border-left: 2px solid transparent;
}
.doc-toc a:hover { background: #fff; color: var(--accent-deep); border-left-color: var(--accent); }

.doc-body { max-width: 780px; font-size: 1.02rem; }
.doc-body > section { margin-bottom: 44px; scroll-margin-top: calc(var(--header-h) + 20px); }
.doc-body > section:last-child { margin-bottom: 0; }
.doc-body h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--line-soft);
}
.doc-body h3 { font-size: 1.1rem; margin-top: 28px; margin-bottom: 10px; }
.doc-body ul { padding-left: 0; list-style: none; }
.doc-body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  line-height: 1.6;
}
.doc-body ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: .6em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--accent);
  opacity: .45;
}
.doc-note {
  background: var(--surface-tint);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 22px 0;
  font-size: .96rem;
}
.doc-note strong { color: var(--ink); }

.doc-contact {
  margin-top: 28px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
}
.doc-contact h3 { margin-top: 0; }
.doc-contact ul { list-style: none; padding: 0; margin: 14px 0 0; }
.doc-contact ul li { padding-left: 0; margin-bottom: 8px; }
.doc-contact ul li::before { display: none; }

/* ==========================================================================
   Motion
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.2, .7, .3, 1), transform .6s cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* The real wordmark is wider than the old text lockup — shed the header
   button before the nav starts crowding it. */
@media (max-width: 1199px) {
  .header-cta .btn { display: none; }
}

@media (max-width: 1080px) {
  .hero-strip__list { grid-template-columns: repeat(3, 1fr); }
  .hero-strip__list li:nth-child(4) { border-left: 0; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { position: static; }
  .doc-toc ol { columns: 2; column-gap: 24px; }
}

@media (max-width: 940px) {
  :root { --header-h: 68px; }

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

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .35);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter) 18px;
  }
  .nav__list a { padding: 13px 12px; border-radius: var(--radius-sm); }
  .nav__list li + li { border-top: 1px solid rgba(255, 255, 255, .07); }

  /* Primary call CTA on touch — the bare text link was a 17px target. */
  .header-phone { font-size: .9rem; min-height: 44px; padding: 0 4px; }
  .site-header__inner { position: relative; gap: 14px; }
  .brand__mark { height: 41px; }
  .brand__word { height: 18px; }

  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media img { min-height: 280px; }

  .callout { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .steps .step::after { display: none; }

  /* --- Touch ergonomics ---------------------------------------------------
     Applied from the width where the hamburger appears, so iPad portrait
     (768px) gets them too — it is a touch device, not a small desktop. */

  /* iOS/iPadOS Safari zooms the whole page when a focused field is under 16px. */
  .field input,
  .field select,
  .field textarea { font-size: 16px; }

  /* Comfortable thumb targets. */
  .topbar a { padding: 10px 0; }
  .hero__contact a { padding: 9px 0; }
  .link-arrow { padding: 11px 0; }
  .footer-list a,
  .footer-contact a,
  .footer-legal a { display: inline-block; padding: 9px 0; }
  .contact-detail a { display: inline-flex; align-items: center; min-height: 44px; }
  .brand { padding: 4px 0; }
  .doc-toc a { padding: 11px 10px; }
  .breadcrumb a { display: inline-block; padding: 8px 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --gutter: 20px; }

  .topbar__list { gap: 14px; }
  .topbar__note { display: none; }

  .hero-strip__list { grid-template-columns: 1fr 1fr; }
  .hero-strip__list li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); padding: 15px 14px; font-size: .82rem; }
  .hero-strip__list li:nth-child(-n+2) { border-top: 0; }

  /* The 100deg overlay thins out on narrow screens — go vertical instead */
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(6, 12, 22, .92) 0%, rgba(6, 12, 22, .84) 45%,
                      rgba(6, 12, 22, .9) 100%);
  }
  .hero__media img { object-position: center 35%; }

  .hero__contact { gap: 12px 20px; }
  .btn-row .btn { width: 100%; }
  .card__list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }

  /* Stacked lists read better without dangling separators */
  .footer-services { display: block; }
  .footer-services .sep { display: none; }
  .footer-services span:not(.sep) {
    display: block;
    padding: 0 0 8px;
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal > span[aria-hidden] { display: none; }

  .doc-toc ol { columns: 1; }
  .hours dl { grid-template-columns: 1fr; gap: 4px; }
  .hours dd { text-align: left; margin-bottom: 8px; }

  /* Long CTA labels must be allowed to wrap rather than overflow the screen. */
  .btn { white-space: normal; }

  .footer-brand .brand__mark { height: 42px; }
  .footer-brand .brand__word { height: 19px; }
}

@media (max-width: 420px) {
  .header-phone span { display: none; }
  .brand__mark { height: 34px; }
  .brand__word { height: 15px; }
  .footer-brand .brand__mark { height: 36px; }
  .footer-brand .brand__word { height: 16px; }

  .topbar__list { gap: 6px 14px; }
  .card__body, .card__foot { padding-inline: 20px; }
  .hero-strip__list { grid-template-columns: 1fr; }
  .hero-strip__list li { border-top: 1px solid rgba(255, 255, 255, .1); }
  .hero-strip__list li:first-child { border-top: 0; }
}

/* Smallest phones still in use (iPhone SE 1st gen / older Android at 320px) —
   the lockup has to give up a little more width to clear the toggle and phone. */
@media (max-width: 360px) {
  .brand { gap: 8px; }
  .brand__mark { height: 30px; }
  .brand__word { height: 13px; }
  .site-header__inner { gap: 10px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .topbar, .site-footer, .doc-toc, .nav-toggle, .btn { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .doc-layout { grid-template-columns: 1fr; }
  .page-hero { background: none; color: #000; padding: 0 0 18pt; }
  .page-hero h1, .page-hero p { color: #000; }
}
