/* Battle Plan LLC: one stylesheet for the whole site.
   Palette: dark blue, charcoal and white only (plus light tints of them). */

:root {
  --navy: #0f2a47;
  --navy-hover: #1b3d63;
  --charcoal: #2b2f33;
  --muted: #4f565d;
  --tint: #f3f5f8;
  --line: #dde3ea;
  --on-dark: #d5dde6;
  --white: #fff;
  --radius: 6px;
  --gutter: 20px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  margin: 0 0 .6em;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 3.4vw, 2.375rem); }
h3 { font-size: 1.1875rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--navy-hover); }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--white); }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow { max-width: 780px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* Dark surfaces */
.dark { color: var(--on-dark); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark a { color: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: var(--white); }

/* Filled button on dark surfaces: white with dark-blue text */
.dark .btn,
.btn-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}
.dark .btn:hover,
.btn-light:hover { background: var(--tint); border-color: var(--tint); color: var(--navy); }

/* Outline button on dark surfaces */
.dark .btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.dark .btn-outline:hover { background: var(--white); color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

/* Eyebrow label above headings */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.dark .eyebrow { color: var(--on-dark); }

/* Header */
.site-header { background: var(--navy); }

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo { display: block; }
.logo img { width: 68px; height: auto; }

.site-header .btn { padding: 10px 18px; font-size: .9375rem; }

.site-nav { order: 3; width: 100%; }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-block;
  padding: 6px 0;
  color: var(--on-dark);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { color: var(--white); text-decoration: underline; }

@media (min-width: 900px) {
  .logo img { width: 80px; }
  .site-nav { order: 0; width: auto; flex: 1; }
  .site-nav ul { justify-content: flex-end; gap: 0 32px; padding-right: 12px; }
  .site-nav a { font-size: .9375rem; }
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 480px;
  overflow: hidden;
  background: var(--navy);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 42, 71, .94) 0%, rgba(15, 42, 71, .8) 55%, rgba(15, 42, 71, .5) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 80px; }
.hero-text { max-width: 640px; }
.hero h1 { margin-bottom: .45em; }
.hero p { margin-bottom: 30px; font-size: 1.1875rem; color: var(--on-dark); }

@media (min-width: 900px) {
  .hero { min-height: 600px; }
  .hero p { font-size: 1.25rem; }
}

/* Sections */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

@media (min-width: 900px) {
  .section { padding: 104px 0; }
  .section-head { margin-bottom: 56px; }
}

/* Photo + overlapping text card (text left / photo right, or reversed) */
.split { display: grid; grid-template-columns: minmax(0, 1fr); }

.photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--navy);
}

.card {
  position: relative;
  margin: -36px 12px 0;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--tint);
}

@media (min-width: 900px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
  .split .photo { grid-column: 6 / 13; grid-row: 1; }
  .split .card { grid-column: 1 / 8; grid-row: 1; margin: 48px 0; padding: 56px; z-index: 1; }
  .split-reverse .photo { grid-column: 1 / 8; }
  .split-reverse .card { grid-column: 6 / 13; }
}

.section + .section-split { padding-top: 0; }

/* Lists with check marks */
.checks { margin: 20px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; margin-bottom: 12px; padding-left: 30px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .42em;
  width: 7px;
  height: 12px;
  border: solid var(--navy);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.text-link { font-weight: 600; }
.text-link::after { content: " \2192"; }

/* Four-column feature grid */
.features {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature {
  padding: 32px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.feature svg { width: 40px; height: 40px; margin-bottom: 18px; color: var(--navy); }
.feature h3 { margin-bottom: .4em; }
.feature p { color: var(--muted); font-size: 1rem; }

@media (min-width: 600px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

/* Our story */
.team {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.team li { display: flex; flex-direction: column; }
.team strong { color: var(--navy); font-size: 1.125rem; }
.team span { color: var(--muted); font-size: .9375rem; }
.partners { margin-top: 20px; color: var(--muted); font-size: .9375rem; }

/* Full-width band over a photo */
.band {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  text-align: center;
  background: var(--navy);
}
.band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 42, 71, .86);
}
.band .wrap { position: relative; z-index: 1; }
.tagline { margin: 0 0 12px; font-style: italic; font-size: 1.0625rem; color: var(--on-dark); letter-spacing: .04em; }
.band h2 { max-width: 760px; margin: 0 auto 30px; }

@media (min-width: 900px) { .band { padding: 112px 0; } }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
}
.steps p { color: var(--muted); }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
}

/* Who we work with */
.who p { max-width: 720px; margin: 0 auto; text-align: center; }
.industries {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: 920px;
  margin: 36px auto 0;
  padding: 0;
  list-style: none;
}
.industries li {
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  text-align: center;
}
@media (min-width: 600px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .industries { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Contact band */
.contact { padding: 80px 0; background: var(--navy); text-align: center; }
.contact p { max-width: 620px; margin-left: auto; margin-right: auto; }
.contact-email {
  display: inline-block;
  margin: 8px 0 6px;
  font-size: clamp(1.1875rem, 4.6vw, 1.625rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact address { margin-bottom: 30px; font-style: normal; }
@media (min-width: 900px) { .contact { padding: 112px 0; } }

/* Footer */
.site-footer { background: var(--charcoal); color: var(--on-dark); font-size: .9375rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  padding-top: 56px;
  padding-bottom: 48px;
}
.footer-logo img { width: 104px; height: auto; }
.footer-col h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: .02em;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col address { font-style: normal; }

@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-logo { grid-column: 1 / -1; } }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; padding-top: 72px; }
  .footer-logo { grid-column: auto; }
}

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); }
.footer-bottom p { margin: 0; padding: 20px 0; font-size: .875rem; }

/* Policy and 404 pages */
.page { padding: 56px 0 80px; }
.page h1 { font-size: clamp(1.875rem, 4.4vw, 2.625rem); }
.page h2 { margin-top: 1.8em; font-size: 1.5rem; padding-top: 1.2em; border-top: 1px solid var(--line); }
.page h3 { margin-top: 1.6em; }
.updated { color: var(--muted); font-size: .9375rem; }
.page address { font-style: normal; }
@media (min-width: 900px) { .page { padding: 80px 0 112px; } }
