/* ==========================================================================
   edisonmooers.com  --  site stylesheet  (iteration 2)
   Executive polish pass. Layout language from the approved mockups;
   refined type scale, spacing rhythm, and detail work.
   ========================================================================== */

:root {
  /* palette */
  --navy-950: #0A1329;
  --navy-900: #0D1B3A;
  --navy-800: #12234A;
  --ink: #14213D;
  --body: #344158;
  --muted: #657188;
  --blue-700: #0F49D6;
  --blue-600: #1D5BFF;
  --blue-500: #2E7BFF;
  --blue-100: #DCE6FA;
  --bg: #F3F6FB;
  --surface: #F8FAFD;
  --card: #FFFFFF;
  --white: #FFFFFF;
  --line: #DDE5F0;
  --line-soft: #E8EDF4;
  --line-navy: rgba(255, 255, 255, 0.12);
  --grad-blue: linear-gradient(135deg, #0F49D6 0%, #2E7BFF 100%);
  --shadow-card: 0 1px 2px rgba(20, 33, 61, 0.05), 0 6px 22px rgba(20, 33, 61, 0.06);

  /* type */
  --font-display: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-mark: "Michroma", "Manrope", sans-serif;

  --header-h: 88px;
}

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

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 10px 18px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Signature motif: dash / slash / dash rule
   -------------------------------------------------------------------------- */
.rule-slash {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 10px;
  margin: 16px 0 24px;
}
.rule-slash i {
  display: block;
  height: 2px;
  background: var(--blue-600);
}
.rule-slash i:nth-child(1) { width: 48px; }
.rule-slash i:nth-child(2) { width: 12px; transform: skewX(-38deg); }
.rule-slash i:nth-child(3) { width: 20px; }
.rule-slash.center { margin-inline: auto; }
.rule-slash.on-dark i { background: var(--blue-500); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  background: rgba(243, 246, 251, 0.94);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 2px 14px rgba(20, 33, 61, 0.05);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand .brand-divider {
  width: 1px;
  height: 38px;
  background: var(--ink);
  opacity: 0.4;
}
.brand .wordmark {
  font-family: var(--font-mark);
  font-size: 13.5px;
  letter-spacing: 0.44em;
  color: var(--ink);
  line-height: 1.6;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 2px;
  background: var(--blue-600);
  transition: right 0.18s ease;
}
.main-nav a:hover { color: var(--blue-600); text-decoration: none; }
.main-nav a:hover::after { right: 0; }
.main-nav a.active { color: var(--blue-600); }
.main-nav a.active::after { right: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 2px rgba(10, 19, 41, 0.14);
  border-left: 3px solid var(--blue-600);
}
.btn:hover {
  background: var(--navy-800);
  text-decoration: none;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(10, 19, 41, 0.16);
}
.btn:active { transform: translateY(0); }
.btn .arrow { font-family: var(--font-body); transition: transform 0.15s; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--blue-600);
  color: var(--blue-600);
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  padding: 11px 20px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn-outline:hover { background: var(--blue-600); color: var(--white); text-decoration: none; }
.btn-outline svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Hero (Home / About shared pattern)
   -------------------------------------------------------------------------- */
.hero { background: var(--bg); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(410px, 0.96fr);
  align-items: stretch;
  gap: 28px;
}
.hero-copy {
  padding: 24px 0 38px;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: none;
  margin-bottom: 24px;
}
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.hero-title span {
  display: block;
  white-space: nowrap;
}
.hero-title-primary {
  color: var(--ink);
  font-size: clamp(34px, 2.65vw, 39px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.032em;
}
.hero-title-specialty {
  color: var(--blue-600);
  font-size: clamp(15px, 1.28vw, 18px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 3px 0 2px;
}

.kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.135em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.9;
}

.hero-hr { display: none; }

.hero-copy p { margin-bottom: 17px; max-width: 51ch; }
.hero-copy p.kicker { margin: 0 0 24px; }
.hero-copy .btn { margin-top: 14px; min-height: 48px; padding: 12px 24px; }

.hero-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--blue-600);
  margin-bottom: 16px;
}
.pattern-line {
  display: block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
}

/* Controlled executive portrait panel. The artwork carries the brand geometry;
   CSS only positions and anchors it. */
.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 640px;
  margin-top: 0;
  overflow: visible;
  background: transparent;
}
.hero-visual::before { display: none; }
.hero-visual .portrait {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
}

/* --------------------------------------------------------------------------
   Navy quick-nav band (4 cards)
   -------------------------------------------------------------------------- */
.nav-band { background: var(--navy-900); color: var(--white); }
.nav-band-grid {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.nav-card {
  padding: 48px 28px 42px;
  text-align: center;
  border-left: 1px solid var(--line-navy);
  color: inherit;
  text-decoration: none;
  transition: background 0.15s;
}
.nav-card:first-child { border-left: 0; }
.nav-card:hover { background: rgba(46, 123, 255, 0.07); text-decoration: none; color: inherit; }
.nav-card .icon {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 16px;
  color: var(--blue-500);
}
.nav-card .icon svg { width: 100%; height: 100%; display: block; }
.nav-card h3 {
  color: var(--white);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.nav-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
  max-width: 24ch;
  margin: 0 auto 14px;
}
.nav-card .go {
  color: var(--blue-500);
  width: 28px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: transform 0.15s, color 0.15s;
}
.nav-card .go svg {
  width: 100%;
  height: 100%;
  display: block;
}
.nav-card:hover .go {
  color: #5D98FF;
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 18px 0;
  position: relative;
  z-index: 1;
}
.footer-inner .sep { opacity: 0.3; }
.footer-inner a { color: rgba(255, 255, 255, 0.8); display: inline-flex; }
.footer-inner a:hover { color: var(--white); }
.footer-inner svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   Generic sections
   -------------------------------------------------------------------------- */
.section { padding: 80px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-title { font-size: 27px; }
.section-note { font-size: 13px; color: var(--muted); margin-bottom: 24px; }

/* two column split with vertical divider (About page) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: start;
}
.split > .col-right {
  border-left: 1px solid var(--line-soft);
  padding-left: 56px;
}

/* numbered journey timeline */
.journey { position: relative; margin-top: 26px; }
.j-item { position: relative; padding: 0 0 36px 60px; }
.j-item::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 40px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}
.j-item:last-child { padding-bottom: 0; }
.j-item:last-child::before { display: none; }
.j-num {
  position: absolute;
  left: 0;
  top: 2px;
  width: 31px;
  height: 31px;
  background: var(--blue-600);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.j-item h3 { font-size: 17.5px; margin-bottom: 10px; padding-top: 4px; }
.j-item p { font-size: 15px; margin-bottom: 14px; max-width: 66ch; }
.j-item p:last-of-type { margin-bottom: 8px; }
.j-item .more { font-size: 14px; font-weight: 600; }

/* quote cards */
.quote-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 26px 28px 22px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}
.quote-card .qmark {
  color: var(--blue-600);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 0.5;
  display: block;
  margin-bottom: 16px;
}
.quote-card blockquote {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 16px;
}
.quote-card cite {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  color: var(--muted);
  text-align: right;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.quote-card cite strong { color: var(--ink); }

/* expertise cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.x-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--blue-600);
  border-radius: 6px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.x-card h3 { font-size: 16.5px; margin-bottom: 10px; }
.x-card p { font-size: 14.5px; }

/* credentials */
.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 26px;
}
.cred-block h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16.5px;
  margin-bottom: 14px;
}
.cred-block h3 svg { width: 22px; height: 22px; color: var(--blue-600); flex: none; }
.cred-block ul { list-style: none; }
.cred-block li {
  font-size: 14.5px;
  padding: 6px 0 6px 16px;
  position: relative;
}
.cred-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-600);
}

/* beyond the work */
.beyond { display: flex; gap: 18px; align-items: flex-start; margin-top: 26px; }
.beyond .icon { display: block; width: 36px; height: 36px; color: var(--blue-600); flex: none; }
.beyond .icon svg { width: 100%; height: 100%; display: block; }
.beyond p { font-size: 15px; margin-bottom: 10px; }
.beyond a { font-weight: 600; font-size: 14px; }

/* philosophy band */
.philosophy {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: "";
  position: absolute;
  right: -80px; top: -40px; bottom: -40px;
  width: 340px;
  background: var(--grad-blue);
  clip-path: polygon(45% 0, 75% 0, 100% 50%, 70% 100%, 40% 100%, 68% 50%);
  opacity: 0.16;
  pointer-events: none;
}
.philosophy .container { position: relative; z-index: 1; }
.philosophy .section-title { color: var(--white); }
.philosophy p { margin-bottom: 16px; font-size: 16px; max-width: 72ch; }
.philosophy a { color: var(--blue-500); font-weight: 600; }
.philosophy .standout {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: 18px;
}

/* connect band */
.connect-band { background: var(--navy-800); color: var(--white); border-top: 1px solid var(--line-navy); }
.connect-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 44px 0;
  flex-wrap: wrap;
}
.connect-inner .icon { display: block; width: 50px; height: 50px; color: var(--blue-500); flex: none; }
.connect-inner .icon svg { width: 100%; height: 100%; display: block; }
.connect-inner h2 { color: var(--white); font-size: 23px; margin-bottom: 6px; }
.connect-inner p { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; max-width: 48ch; }
.connect-inner .btn { margin-left: auto; }

/* --------------------------------------------------------------------------
   Five Stories
   -------------------------------------------------------------------------- */
.stories-hero {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 76px 0 0;
}
.stories-hero .deco {
  position: absolute;
  right: -60px; top: 0;
  width: 420px; height: 100%;
  pointer-events: none;
}
.stories-hero .deco::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-blue);
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 20% 100%, 60% 45%);
  opacity: 0.92;
}
.stories-hero .deco::after {
  content: "";
  position: absolute;
  left: -30px; top: -10%;
  width: 55%; height: 80%;
  background: linear-gradient(160deg, #A6ACB8, #7C8494);
  clip-path: polygon(40% 0, 90% 0, 55% 100%, 5% 100%);
}
.stories-hero h1 { font-size: clamp(32px, 3.5vw, 43px); }
.stories-hero .intro { max-width: 58ch; margin: 4px 0 44px; }

.story-jumpbar {
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(20, 33, 61, 0.08);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.story-jumpbar a {
  padding: 16px 12px;
  text-align: center;
  border-left: 1px solid var(--line-soft);
  text-decoration: none;
  transition: background 0.15s;
}
.story-jumpbar a:first-child { border-left: 0; }
.story-jumpbar a:hover { background: var(--surface); }
.story-jumpbar .n {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-600);
  font-size: 14px;
}
.story-jumpbar .t {
  display: block;
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 500;
  margin-top: 1px;
}

.story { border-bottom: 1px solid var(--line-soft); scroll-margin-top: calc(var(--header-h) + 8px); }
.story:nth-child(even) { background: var(--surface); }

.story-banner {
  display: grid;
  grid-template-columns: 132px minmax(0, 1.3fr) minmax(0, 0.9fr);
  align-items: stretch;
  gap: 0 44px;
}
.story-num {
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 132px;
}
.story-num::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 0;
  bottom: 0;
  width: 32px;
  background: var(--blue-600);
  clip-path: polygon(0 100%, 50% 0, 100% 0, 50% 100%);
}
.story-head {
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-head h2 { font-size: 22px; margin-bottom: 10px; max-width: 30ch; }
.story-role {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.story-pull {
  border-left: 1px solid var(--line-soft);
  padding: 30px 8px 30px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-pull .qmark {
  color: var(--blue-600);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  line-height: 0.5;
  margin-bottom: 14px;
}
.story-pull blockquote {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}
.story-pull .pull-rule { margin: 16px 0 0; }

.story-body { max-width: 720px; padding: 10px 0 60px; }
.story-body p { margin-bottom: 19px; }
.story-body p.spoken {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  border-left: 3px solid var(--blue-600);
  padding: 4px 0 4px 22px;
}
.story-body figure { margin-top: 34px; }
.story-body figure img {
  border-radius: 8px;
  max-height: 400px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.explore-bar { background: var(--surface); border-top: 1px solid var(--line-soft); }
.explore-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 34px 0;
  flex-wrap: wrap;
}
.explore-inner .compass {
  display: flex;
  width: 48px; height: 48px;
  border: 1px solid var(--blue-600);
  border-radius: 50%;
  color: var(--blue-600);
  align-items: center;
  justify-content: center;
  flex: none;
}
.explore-inner .compass svg { width: 22px; height: 22px; display: block; }
.explore-inner .copy h3 { font-size: 15.5px; margin-bottom: 2px; }
.explore-inner .copy p { font-size: 13px; }
.explore-inner .actions { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Military & Leadership
   -------------------------------------------------------------------------- */
.mil-hero { background: var(--bg); padding: 76px 0 0; }
.mil-hero h1 { font-size: clamp(32px, 3.5vw, 43px); }
.mil-hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--blue-600);
  font-size: 19px;
  margin: 2px 0 18px;
}
.mil-hero .lede {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 17.5px;
  line-height: 1.55;
  max-width: 64ch;
  margin-bottom: 48px;
}
.mil-hero-photo img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 10px 10px 0 0;
}

.mil-section { padding: 72px 0; border-bottom: 1px solid var(--line-soft); }
.mil-section.alt { background: var(--surface); }
.mil-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 60px;
  align-items: center;
}
.mil-grid.flip { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.mil-grid h2 { font-size: 24px; }
.mil-grid p { margin-bottom: 17px; max-width: 62ch; }
.mil-grid p:last-child { margin-bottom: 0; }
.mil-grid figure img { border-radius: 8px; width: 100%; box-shadow: var(--shadow-card); }
.mil-copy-only { max-width: 720px; }
.mil-copy-only h2 { font-size: 24px; }
.mil-copy-only p { margin-bottom: 17px; }
.mil-copy-only p:last-of-type { margin-bottom: 48px; }
.mil-full { padding: 0; border-bottom: 1px solid var(--line-soft); }
.mil-full img { width: 100%; max-height: 500px; object-fit: cover; }

.final-thought {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}
.final-thought::before {
  content: "";
  position: absolute;
  left: -100px; top: -40px; bottom: -40px;
  width: 320px;
  background: var(--grad-blue);
  clip-path: polygon(45% 0, 75% 0, 100% 50%, 70% 100%, 40% 100%, 68% 50%);
  opacity: 0.14;
  pointer-events: none;
}
.final-thought .container { position: relative; z-index: 1; }
.final-thought .eyebrow {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 16px;
}
.final-thought blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 29px);
  color: var(--white);
  max-width: 28ch;
  margin: 0 auto 28px;
  line-height: 1.35;
}
.final-thought p { max-width: 64ch; margin: 0 auto 14px; }
.final-thought .back { display: inline-block; margin-top: 22px; color: var(--blue-500); font-weight: 600; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-hero { background: var(--bg); padding: 76px 0 48px; }
.contact-hero h1 { font-size: clamp(30px, 3.3vw, 40px); }
.contact-hero .intro { max-width: 58ch; margin-top: 4px; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}
.contact-grid figure img { border-radius: 10px; box-shadow: var(--shadow-card); }

.contact-form label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 20px 0 7px;
}
.contact-form label:first-of-type { margin-top: 0; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  padding: 13px 14px;
  border-radius: 4px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(46, 123, 255, 0.18);
}
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form .btn { margin-top: 26px; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
}
.form-status.show { display: block; }
.form-status.info { background: var(--blue-100); color: var(--navy-800); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split > .col-right { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 44px; }
  .story-banner { grid-template-columns: 104px 1fr; }
  .story-pull { grid-column: 2; border-left: 0; border-top: 1px solid var(--line-soft); padding: 20px 0; }
  .story-num { grid-row: 1 / 3; font-size: 28px; }
  .nav-band-grid { grid-template-columns: 1fr 1fr; }
  .nav-card:nth-child(3) { border-left: 0; }
  .nav-card { border-top: 1px solid var(--line-navy); }
  .nav-card:nth-child(-n+2) { border-top: 0; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(20, 33, 61, 0.12);
    padding: 8px 24px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .main-nav a::after { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 42px 0 40px; }
  .hero-copy h1 { max-width: none; }
  .hero-visual { min-height: 470px; margin: 0 -24px; }
  .hero-visual .portrait { right: 0; width: auto; height: 100%; }
  .mil-grid, .mil-grid.flip { grid-template-columns: 1fr; gap: 34px; }
  .mil-grid.flip figure { order: -1; }
  .cred-grid { grid-template-columns: 1fr; gap: 34px; }
  .cards-3 { grid-template-columns: 1fr; }
  .story-jumpbar { grid-template-columns: 1fr; }
  .story-jumpbar a { border-left: 0; border-top: 1px solid var(--line-soft); text-align: left; display: flex; gap: 12px; align-items: baseline; padding: 13px 16px; }
  .story-jumpbar a:first-child { border-top: 0; }
  .connect-inner .btn { margin-left: 0; }
  .explore-inner .actions { margin-left: 0; }
  .brand .wordmark { font-size: 11px; letter-spacing: 0.36em; }
  .brand img { height: 34px; }
  .brand .brand-divider { height: 32px; }
  .section { padding: 60px 0; }
}

@media (max-width: 560px) {
  .nav-band-grid { grid-template-columns: 1fr; }
  .nav-card { border-left: 0; padding: 36px 24px 32px; }
  .nav-card:nth-child(-n+2) { border-top: 1px solid var(--line-navy); }
  .nav-card:first-child { border-top: 0; }
  .story-banner { grid-template-columns: 1fr; }
  .story-num { grid-row: auto; min-height: 76px; }
  .story-num::after { display: none; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .footer-inner .sep { display: none; }
}



@media (max-width: 760px) {
  .hero-title { gap: 6px; }
  .hero-title span { white-space: normal; }
  .hero-title-primary { font-size: clamp(34px, 9.2vw, 42px); }
  .hero-title-specialty { font-size: 15px; letter-spacing: 0.11em; }
}

/* --------------------------------------------------------------------------
   Legal pages and footer links
   -------------------------------------------------------------------------- */
.footer-inner {
  justify-content: space-between;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.16s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}
.footer-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-linkedin svg {
  width: 17px;
  height: 17px;
}

.legal-hero {
  background: var(--bg);
  padding: 72px 0 28px;
}
.legal-container {
  max-width: 820px;
}
.legal-hero .eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.legal-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.05;
}
.legal-section {
  background: var(--bg);
  padding: 0 0 88px;
}
.legal-copy {
  border-top: 1px solid var(--line);
  padding-top: 38px;
}
.legal-copy .legal-updated {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 13px;
}
.legal-copy h2 {
  margin: 38px 0 10px;
  font-size: 20px;
}
.legal-copy p {
  max-width: 72ch;
  margin: 0 0 16px;
}
.legal-copy a {
  color: var(--blue-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 560px) {
  .footer-links { gap: 18px; }
  .legal-hero { padding-top: 52px; }
  .legal-section { padding-bottom: 64px; }
}

/* --------------------------------------------------------------------------
   About page narrative refinement
   Scoped to .about-page to protect the approved homepage and other routes.
   -------------------------------------------------------------------------- */
.about-page .about-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.about-page .about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, .72fr);
  gap: 68px;
  align-items: start;
  min-height: 0;
}
.about-page .about-hero-copy { padding: 24px 0 60px; }
.about-page .about-hero-copy h1 {
  font-size: clamp(42px, 4.7vw, 60px);
  line-height: 1.01;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}
.about-page .about-specialty {
  font-family: var(--font-display);
  color: var(--blue-600);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.about-page .about-hero-copy > p:not(.about-specialty):not(.about-pattern) {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.78;
}
.about-page .about-pattern {
  position: relative;
  max-width: 56ch;
  margin-top: 28px;
  padding: 22px 0 0 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}
.about-page .about-pattern::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 4px;
  height: calc(100% - 22px);
  background: var(--blue-600);
}
.about-page .about-hero-portrait {
  position: relative;
  width: min(100%, 390px);
  justify-self: end;
  margin: 24px 0 0;
  align-self: start;
}
.about-page .about-hero-portrait::before {
  content: "";
  position: absolute;
  inset: 34px -18px -18px 42px;
  border: 1px solid rgba(29, 91, 255, .28);
  z-index: 0;
}
.about-page .about-hero-portrait::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 72px;
  width: 6px;
  height: 118px;
  background: var(--blue-600);
}
.about-page .about-hero-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 23%;
}

.about-page .about-section { padding: 94px 0; }
.about-page .about-section-heading { margin-bottom: 46px; }
.about-page .about-section-heading-wide { max-width: 760px; }
.about-page .about-section-heading h2,
.about-page .about-philosophy-panel h2,
.about-page .about-credentials-intro h2 {
  font-size: clamp(29px, 3.1vw, 38px);
  letter-spacing: -0.03em;
  margin: 0;
}
.about-page .about-kicker,
.about-page .about-chapter-eyebrow {
  font-family: var(--font-display);
  color: var(--blue-600);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.about-page .about-kicker { margin-bottom: 10px; }
.about-page .about-chapter-eyebrow { margin-bottom: 10px; }

.about-page .about-journey-section {
  background: var(--white);
  padding-top: 78px;
  padding-bottom: 46px;
}
.about-page .about-journey-chapters {
  display: grid;
  gap: 24px;
}
.about-page .about-chapter {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 56px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--line-soft);
  background: var(--white);
  overflow: hidden;
}
.about-page .about-chapter-copy { position: relative; z-index: 1; }
.about-page .about-chapter-copy h3 {
  font-size: clamp(22px, 2.25vw, 29px);
  margin-bottom: 16px;
  letter-spacing: -0.022em;
}
.about-page .about-chapter-copy p {
  max-width: 72ch;
  font-size: 15.5px;
  line-height: 1.78;
  margin-bottom: 16px;
}
.about-page .about-chapter-copy p:last-child { margin-bottom: 0; }
.about-page .chapter-origin {
  grid-template-columns: minmax(0, 760px);
  background: var(--bg);
  border-left: 4px solid var(--blue-600);
  padding-block: 48px;
}
.about-page .chapter-technical {
  background: #F8FAFD;
  grid-template-columns: minmax(0, .84fr) minmax(420px, 1.16fr);
  padding-right: 0;
}
.about-page .chapter-technical .about-chapter-image { align-self: stretch; }
.about-page .chapter-technical .about-chapter-image img {
  height: 100%;
  min-height: 390px;
  object-position: center;
}
.about-page .chapter-leadership {
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr);
  background: var(--white);
}
.about-page .chapter-compwalk {
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  background: var(--bg);
}
.about-page .chapter-compwalk .about-chapter-copy { order: 2; }
.about-page .chapter-compwalk .about-chapter-visual-stack { order: 1; }
.about-page .chapter-current {
  grid-template-columns: minmax(0, .86fr) minmax(460px, 1.14fr);
  gap: 0;
  align-items: stretch;
  min-height: 540px;
  padding: 0;
  background: linear-gradient(135deg, #F8FAFD 0%, #F2F6FC 100%);
  border-left: 4px solid rgba(29, 91, 255, .78);
}
.about-page .chapter-current::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -175px;
  top: -175px;
  border: 1px solid rgba(29, 91, 255, .12);
  transform: rotate(45deg);
  pointer-events: none;
}
.about-page .chapter-current .about-chapter-copy {
  z-index: 2;
  padding: 56px 30px 54px 52px;
  align-self: center;
}
.about-page .chapter-current .about-chapter-image {
  align-self: stretch;
  margin: 0 0 0 -18px;
  background: transparent;
  overflow: hidden;
}
.about-page .chapter-current .about-chapter-image img {
  height: 100%;
  min-height: 510px;
  object-fit: cover;
  object-position: center;
}
.about-page .about-current-milestone {
  position: relative;
  z-index: 3;
  width: calc(100% + 92px);
  margin: 24px 0 24px !important;
  padding: 18px 22px 18px 22px;
  border-left: 4px solid var(--blue-600);
  border-top: 1px solid rgba(29, 91, 255, .14);
  border-bottom: 1px solid rgba(29, 91, 255, .14);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(11, 31, 69, .07);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.65 !important;
}
.about-page .about-chapter-image {
  margin: 0;
  background: var(--surface);
  overflow: hidden;
}
.about-page .about-chapter-image img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
}
.about-page .about-chapter-image.technical-image img { object-fit: cover; }
.about-page .placeholder-image img { object-fit: contain; }
.about-page .about-chapter-visual-stack {
  display: grid;
  gap: 20px;
}
.about-page .about-text-link,
.about-page .about-linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-600);
  text-decoration: none;
}
.about-page .about-text-link { margin-top: 20px; }
.about-page .about-text-link span,
.about-page .about-linkedin-link span {
  width: 27px;
  height: 18px;
  display: inline-flex;
  transition: transform .16s ease;
}
.about-page .about-text-link svg,
.about-page .about-linkedin-link svg { width: 100%; height: 100%; }
.about-page .about-text-link:hover span,
.about-page .about-linkedin-link:hover span { transform: translateX(4px); }

.about-page .about-quote-callout {
  position: relative;
  margin: 0;
  padding: 30px 30px 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue-600);
  background: var(--bg);
}
.about-page .about-quote-callout figcaption {
  margin-bottom: 18px;
  font-family: var(--font-display);
  color: var(--blue-600);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.about-page .about-quote-callout blockquote {
  margin: 0 0 18px;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
}
.about-page .about-quote-callout > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.about-page .about-quote-callout > p strong { color: var(--ink); font-size: 12.5px; }
.about-page .quote-compact { padding: 24px 26px 22px; }
.about-page .quote-compact blockquote { font-size: 13.5px; }

.about-page .about-expertise-section {
  position: relative;
  padding-top: 78px;
  padding-bottom: 78px;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.about-page .about-expertise-section::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -270px;
  bottom: -270px;
  border: 1px solid rgba(29, 91, 255, .13);
  transform: rotate(45deg);
}
.about-page .about-capability-field {
  position: relative;
  display: grid;
  gap: 16px;
  z-index: 1;
}
.about-page .about-capability {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  width: 88%;
  padding: 30px 34px 30px 0;
  border-top: 1px solid var(--line);
}
.about-page .about-capability:first-child { border-top-color: var(--blue-600); }
.about-page .capability-two { margin-left: 6%; }
.about-page .capability-three { margin-left: 12%; }
.about-page .about-capability-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -0.06em;
  color: rgba(29, 91, 255, .20);
}
.about-page .about-capability h3 {
  font-size: clamp(20px, 2vw, 25px);
  margin-bottom: 10px;
}
.about-page .about-capability p {
  max-width: 72ch;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
}

.about-page .about-credentials-section {
  background: var(--white);
  padding-top: 68px;
  padding-bottom: 72px;
}
.about-page .about-credentials-layout {
  display: grid;
  grid-template-columns: minmax(240px, .62fr) minmax(0, 1.38fr);
  gap: 80px;
  align-items: start;
}
.about-page .about-credentials-intro {
  position: relative;
  padding: 12px 0 0 22px;
}
.about-page .about-credentials-intro::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 76px;
  background: var(--blue-600);
}
.about-page .about-credential-ledger {
  border-top: 1px solid var(--ink);
}
.about-page .about-credential-ledger article {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 34px;
  padding: 30px 0 28px;
  border-bottom: 1px solid var(--line);
}
.about-page .about-credential-ledger h3 {
  color: var(--blue-600);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding-top: 5px;
}
.about-page .about-credential-ledger ul { list-style: none; margin: 0; padding: 0; }
.about-page .about-credential-ledger li {
  padding: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.55;
}
.about-page .about-credential-ledger li:last-child { padding-bottom: 0; }

.about-page .about-philosophy-stage {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
}
.about-page .about-philosophy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(310px, .78fr);
  align-items: center;
  gap: 0;
}
.about-page .about-philosophy-panel {
  position: relative;
  z-index: 1;
  background: var(--navy-900);
  color: rgba(255, 255, 255, .84);
  padding: 58px 64px 60px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-page .about-philosophy-panel h2 {
  color: var(--white);
  margin-bottom: 24px;
}
.about-page .about-philosophy-panel > p:not(.about-kicker):not(.about-philosophy-standout) {
  max-width: 68ch;
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-page .about-philosophy-panel a { color: #78A7FF; font-weight: 600; }
.about-page .about-philosophy-standout {
  margin-top: 12px;
  margin-bottom: 0;
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.5;
}
.about-page .quote-philosophy {
  z-index: 2;
  margin-left: -34px;
  background: var(--white);
  padding: 34px 34px 32px;
}
.about-page .quote-philosophy blockquote { font-size: 15px; }
.about-page .quote-philosophy .about-linkedin-link {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.about-page .about-beyond {
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  padding: 46px 0 50px;
}
.about-page .about-beyond-inner {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 760px);
  gap: 44px;
  align-items: baseline;
  padding-top: 18px;
}
.about-page .about-beyond-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 2px;
  background: var(--blue-600);
}
.about-page .about-beyond p { margin: 0; font-size: 14.5px; line-height: 1.75; }
.about-page .about-beyond .about-beyond-label {
  font-family: var(--font-display);
  color: var(--blue-600);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.about-page .about-beyond a { font-weight: 700; }

@media (max-width: 1024px) {
  .about-page .about-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
    gap: 42px;
  }
  .about-page .about-chapter { gap: 38px; padding: 44px; }
  .about-page .chapter-technical { padding-right: 0; }
  .about-page .about-capability { width: 94%; }
  .about-page .capability-two { margin-left: 3%; }
  .about-page .capability-three { margin-left: 6%; }
  .about-page .about-credentials-layout { gap: 50px; }
  .about-page .about-philosophy-panel { padding: 50px 46px; }
}

@media (max-width: 860px) {
  .about-page .about-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .about-page .about-hero-copy { padding: 54px 0 24px; }
  .about-page .about-hero-portrait {
    width: min(100%, 470px);
    justify-self: center;
    margin-top: 0;
  }
  .about-page .about-hero-portrait img { height: 430px; }
  .about-page .about-chapter,
  .about-page .chapter-origin,
  .about-page .chapter-technical,
  .about-page .chapter-leadership,
  .about-page .chapter-compwalk,
  .about-page .chapter-current {
    grid-template-columns: 1fr;
    padding: 40px;
  }
  .about-page .chapter-technical { padding-right: 40px; }
  .about-page .chapter-current {
    min-height: 0;
    padding: 40px;
  }
  .about-page .chapter-current .about-chapter-copy { padding: 0; }
  .about-page .chapter-current .about-chapter-image { margin: 0; }
  .about-page .chapter-current .about-chapter-image img { min-height: 0; height: auto; }
  .about-page .about-current-milestone { width: 100%; }
    .about-page .chapter-compwalk .about-chapter-copy,
  .about-page .chapter-compwalk .about-chapter-visual-stack { order: initial; }
  .about-page .chapter-technical .about-chapter-image img { min-height: 0; height: auto; }
  .about-page .about-chapter-image img { height: auto; max-height: 440px; }
  .about-page .about-capability,
  .about-page .capability-two,
  .about-page .capability-three { width: 100%; margin-left: 0; }
  .about-page .about-credentials-layout { grid-template-columns: 1fr; gap: 42px; }
  .about-page .about-philosophy-layout { grid-template-columns: 1fr; }
  .about-page .quote-philosophy { margin: -24px 24px 0; }
}

@media (max-width: 620px) {
  .about-page .about-section { padding: 66px 0; }
  .about-page .about-hero-portrait::before { inset: 26px -10px -10px 28px; }
  .about-page .about-hero-portrait::after { right: -10px; }
  .about-page .about-hero-portrait img { height: 360px; }
  .about-page .about-chapter,
  .about-page .chapter-origin,
  .about-page .chapter-technical,
  .about-page .chapter-leadership,
  .about-page .chapter-compwalk,
  .about-page .chapter-current { padding: 30px 24px; }
    .about-page .about-capability {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    padding-right: 0;
  }
  .about-page .about-capability-number { font-size: 38px; }
  .about-page .about-credential-ledger article { grid-template-columns: 1fr; gap: 12px; }
  .about-page .about-philosophy-panel { padding: 42px 28px 46px; }
  .about-page .quote-philosophy { margin: -18px 14px 0; padding: 28px 24px 26px; }
  .about-page .about-beyond-inner { grid-template-columns: 1fr; gap: 10px; }
}

/* ==========================================================================
   Five Stories refinement
   Scoped to .stories-page to protect the approved Home and About pages.
   ========================================================================== */
.stories-page .stories-hero {
  background: var(--bg);
  padding: 34px 0 58px;
  border-bottom: 1px solid var(--line-soft);
}
.stories-page .stories-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 72px;
  align-items: end;
}
.stories-page .stories-eyebrow,
.stories-page .story-role,
.stories-page .military-chapter-label {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.stories-page .stories-eyebrow { margin: -8px 0 20px; }
.stories-page .stories-hero h1 {
  font-size: clamp(42px, 5.4vw, 68px);
  margin-bottom: 22px;
  letter-spacing: -0.035em;
}
.stories-page .stories-intro {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.78;
}
.stories-page .story-jumpbar {
  display: grid;
  grid-template-columns: 1fr;
  background: transparent;
  border: 0;
  border-left: 2px solid var(--blue-600);
  box-shadow: none;
}
.stories-page .story-jumpbar a {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 0 10px 18px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
}
.stories-page .story-jumpbar a:last-child { border-bottom: 0; }
.stories-page .story-jumpbar a:hover {
  background: transparent;
  color: var(--blue-600);
  text-decoration: none;
}
.stories-page .story-jumpbar .n {
  font-size: 13px;
  letter-spacing: 0.08em;
}
.stories-page .story-jumpbar .t {
  margin: 0;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
}

.stories-page .story-chapter {
  padding: 76px 0;
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
  scroll-margin-top: calc(var(--header-h) + 10px);
}
.stories-page .story-chapter:nth-of-type(odd) { background: var(--surface); }
.stories-page .story-chapter-inner { max-width: 1080px; }
.stories-page .story-chapter-head {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 38px;
}
.stories-page .story-index {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1;
  font-weight: 800;
  color: #C9D8F7;
  letter-spacing: -0.05em;
}
.stories-page .story-title-block {
  border-left: 3px solid var(--blue-600);
  padding-left: 24px;
}
.stories-page .story-title-block h2 {
  font-size: clamp(27px, 3vw, 38px);
  max-width: 30ch;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}
.stories-page .story-role { line-height: 1.5; }
.stories-page .story-chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.72fr);
  gap: 64px;
  align-items: start;
}
.stories-page .visual-left .story-copy { order: 2; }
.stories-page .visual-left .story-evidence { order: 1; }
.stories-page .story-copy { max-width: 700px; }
.stories-page .story-copy p {
  margin-bottom: 19px;
  font-size: 15.8px;
  line-height: 1.78;
}
.stories-page .story-copy p:last-child { margin-bottom: 0; }
.stories-page .story-copy p.spoken {
  margin: 28px 0;
  padding: 20px 24px;
  border: 0;
  border-left: 3px solid var(--blue-600);
  background: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.65;
}
.stories-page .story-evidence {
  display: grid;
  gap: 0;
  align-self: start;
}
.stories-page .story-visual {
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.stories-page .story-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.stories-page .story-pullquote {
  margin: 0;
  padding: 26px 28px 28px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-600);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}
.stories-page .story-pullquote::before {
  content: "“";
  display: block;
  margin-bottom: 6px;
  color: var(--blue-600);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: .7;
}
.stories-page .nav-band { margin-top: 0; }

/* ==========================================================================
   Military & Leadership refinement
   Scoped to .military-page to protect the approved Home and About pages.
   ========================================================================== */
.military-page .military-hero {
  background: var(--bg);
  padding: 34px 0 72px;
  border-bottom: 1px solid var(--line-soft);
}
.military-page .military-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.military-page .military-hero-copy {
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 46px;
  align-items: start;
}
.military-page .military-hero-copy-text {
  min-width: 0;
}
.military-page .military-first-uniform-photo {
  width: 190px;
  margin: 0;
  align-self: start;
}
.military-page .military-first-uniform-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.military-page .military-first-uniform-photo figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.military-page .military-eyebrow,
.military-page .military-final-eyebrow {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.military-page .military-eyebrow { margin: -10px 0 22px; }
.military-page .military-hero h1 {
  font-size: clamp(40px, 5vw, 62px);
  margin-bottom: 24px;
  letter-spacing: -0.035em;
  max-width: none;
}
.military-page .military-lede {
  max-width: 62ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.72;
}
.military-page .military-hero-photo {
  width: min(66%, 760px);
  margin: 0 auto;
}
.military-page .military-hero-photo,
.military-page .military-photo-frame {
  display: grid;
  gap: 10px;
}
.military-page .military-photo-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.military-page .military-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.military-page .military-hero-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.military-page .military-photo-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: rgba(10, 31, 67, 0.82);
  opacity: 0.86;
  transition: opacity 160ms ease, transform 160ms ease;
}
.military-page .military-photo-expand svg { width: 17px; height: 17px; }
.military-page .military-photo-trigger:hover .military-photo-expand,
.military-page .military-photo-trigger:focus-visible .military-photo-expand {
  opacity: 1;
  transform: scale(1.04);
}
.military-page .military-photo-trigger:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 4px;
}

.military-page .military-journey { background: var(--white); }
.military-page .military-chapter {
  padding: 72px 0;
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
}
.military-page .military-chapter:nth-child(even) { background: var(--surface); }
.military-page .military-chapter-grid {
  max-width: 1060px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.75fr);
  gap: 66px;
  align-items: start;
}
.military-page .military-landscape-chapter .military-chapter-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  gap: 56px;
}
.military-page .military-leadership-lessons .military-chapter-grid {
  grid-template-columns: minmax(406px, 0.82fr) minmax(0, 1.18fr);
  gap: 66px;
}
.military-page .photo-left > .military-chapter-grid > .military-chapter-copy { order: 2; }
.military-page .photo-left > .military-chapter-grid > .military-photo-frame,
.military-page .photo-left > .military-chapter-grid > .military-photo-quote-stack { order: 1; }
.military-page .military-chapter-copy h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-top: 0;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}
.military-page .military-prose p {
  margin-bottom: 17px;
  font-size: 15.8px;
  line-height: 1.78;
}
.military-page .military-prose p:last-child { margin-bottom: 0; }
.military-page .military-prose a { font-weight: 600; }
.military-page .military-photo-frame {
  width: 100%;
  max-width: 100%;
  margin: 0;
  justify-self: start;
}
.military-page .military-photo-frame.photo-governor { max-width: 428px; }
.military-page .military-photo-frame.photo-ratt-rig { max-width: 509px; }
.military-page .military-photo-frame.photo-sicily { max-width: 100%; }
.military-page .military-photo-frame.photo-dress-uniform { max-width: 347px; }
.military-page .military-photo-frame.photo-khobar { max-width: 506px; }
.military-page .military-photo-frame.photo-ratt-team { max-width: 438px; }
.military-page .military-photo-frame.photo-sicily {
  gap: 6px;
}
.military-page .military-photo-frame img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  border: 0;
}
.military-page .military-photo-frame figcaption {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}


/* Queued military regression fixes: explicit top alignment and tight visual stacks. */
.military-page .military-keyboards-chapter .military-chapter-grid,
.military-page .military-landscape-chapter .military-chapter-grid,
.military-page .military-leadership-lessons .military-chapter-grid,
.military-page .military-death-chapter .military-chapter-grid,
.military-page .military-boardroom-chapter .military-chapter-grid {
  align-items: start;
}

.military-page .military-keyboards-chapter .military-chapter-copy,
.military-page .military-keyboards-chapter .military-photo-frame,
.military-page .military-landscape-chapter .military-chapter-copy,
.military-page .military-landscape-chapter .military-photo-frame,
.military-page .military-leadership-lessons .military-chapter-copy,
.military-page .military-leadership-lessons .military-photo-quote-stack,
.military-page .military-death-chapter .military-chapter-copy,
.military-page .military-death-chapter .military-photo-frame,
.military-page .military-boardroom-chapter .military-chapter-copy,
.military-page .military-boardroom-chapter .military-photo-frame {
  align-self: start;
  margin-top: 0;
}

/* From Keyboards to Combat: retain the 444px archival image and give the prose the unused width. */
.military-page .military-keyboards-chapter .military-chapter-grid {
  max-width: 1120px;
  grid-template-columns: 444px minmax(0, 1fr);
  gap: 48px;
}
.military-page .military-keyboards-chapter .photo-ratt-rig {
  width: 100%;
  max-width: 444px;
}

/* Living a Life Without Excuses: title and image share the same top edge; caption stays tight. */
.military-page .military-landscape-chapter .military-chapter-copy,
.military-page .military-landscape-chapter .photo-sicily {
  grid-row: 1;
}
.military-page .military-landscape-chapter .photo-sicily {
  gap: 6px;
}

/* Lessons in Leadership: one deliberate 347px stack: image, caption, breathing room, callout. */
.military-page .military-leadership-lessons .military-chapter-grid {
  grid-template-columns: 347px minmax(0, 1fr);
  gap: 66px;
}
.military-page .military-leadership-lessons .military-photo-quote-stack,
.military-page .military-leadership-lessons .photo-dress-uniform,
.military-page .military-leadership-lessons .military-quote-quiet {
  width: 347px;
  max-width: 347px;
}
.military-page .military-leadership-lessons .military-photo-quote-stack {
  gap: 0;
}
.military-page .military-leadership-lessons .military-quote-quiet {
  margin-top: 24px;
}

/* The First Time I Saw Death: explicit fixed visual column keeps image top aligned with title. */
.military-page .military-death-chapter .military-chapter-grid {
  grid-template-columns: minmax(0, 1fr) 444px;
  gap: 60px;
}
.military-page .military-death-chapter .photo-khobar {
  width: 100%;
  max-width: 444px;
}

/* From the Battlefield to the Boardroom: image and caption remain one 438px visual block. */
.military-page .military-boardroom-chapter .military-chapter-grid {
  grid-template-columns: 438px minmax(0, 1fr);
  gap: 66px;
}
.military-page .military-boardroom-chapter .photo-ratt-team {
  width: 100%;
  max-width: 438px;
}

.military-page .military-lightbox[hidden] { display: none; }
.military-page .military-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(5, 16, 38, 0.92);
}
.military-page .military-lightbox img {
  display: block;
  max-width: min(94vw, 1500px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border: 1px solid rgba(255,255,255,.22);
}
.military-page .military-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(5, 16, 38, 0.74);
  color: var(--white);
  font: 300 32px/1 var(--font-display);
  cursor: pointer;
}
.military-page .military-lightbox-close:hover,
.military-page .military-lightbox-close:focus-visible {
  border-color: rgba(255,255,255,.62);
  outline: none;
}
body.military-lightbox-open { overflow: hidden; }

.military-page .military-final {
  background: var(--bg);
  padding: 84px 0;
}
.military-page .military-final-wrap { max-width: 980px; }
.military-page .military-final-panel {
  position: relative;
  background: var(--navy-900);
  color: rgba(255,255,255,.82);
  padding: 58px 64px 56px;
  overflow: hidden;
}
.military-page .military-final-panel::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -130px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(46,123,255,.35);
  transform: rotate(45deg);
}
.military-page .military-final-eyebrow { margin-bottom: 16px; }
.military-page .military-final blockquote {
  position: relative;
  z-index: 1;
  max-width: 27ch;
  margin: 0 0 28px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.military-page .military-final p {
  position: relative;
  z-index: 1;
  max-width: 68ch;
  margin-bottom: 14px;
}
.military-page .military-final .back {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 18px;
  color: var(--blue-500);
  font-weight: 600;
}

@media (max-width: 980px) {
  .stories-page .stories-hero-grid,
  .military-page .military-hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .stories-page .story-jumpbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 0;
    border-top: 2px solid var(--blue-600);
  }
  .stories-page .story-jumpbar a {
    border-bottom: 1px solid var(--line-soft);
    border-right: 1px solid var(--line-soft);
  }
  .stories-page .story-chapter-grid,
  .military-page .military-chapter-grid,
  .military-page .military-keyboards-chapter .military-chapter-grid,
  .military-page .military-landscape-chapter .military-chapter-grid,
  .military-page .military-leadership-lessons .military-chapter-grid,
  .military-page .military-death-chapter .military-chapter-grid,
  .military-page .military-boardroom-chapter .military-chapter-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .stories-page .visual-left .story-copy,
  .stories-page .visual-left .story-evidence,
  .military-page .photo-left > .military-chapter-grid > .military-chapter-copy,
  .military-page .photo-left > .military-chapter-grid > .military-photo-frame,
  .military-page .photo-left > .military-chapter-grid > .military-photo-quote-stack { order: initial; }
  .stories-page .story-evidence { max-width: 620px; }
  .military-page .military-photo-frame { max-width: 620px; }
  .military-page .military-hero-copy {
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 32px;
  }
  .military-page .military-first-uniform-photo { width: 170px; }
  .military-page .military-hero-photo { width: min(86%, 760px); }
}

@media (max-width: 700px) {
  .stories-page .stories-hero,
  .military-page .military-hero { padding-top: 24px; }
  .stories-page .stories-hero h1,
  .military-page .military-hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .stories-page .story-jumpbar { grid-template-columns: 1fr; }
  .stories-page .story-chapter,
  .military-page .military-chapter { padding: 52px 0; }
  .stories-page .story-chapter-head {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 28px;
  }
  .stories-page .story-index { font-size: 42px; }
  .stories-page .story-title-block { padding-left: 18px; }
  .stories-page .story-title-block h2 { font-size: 28px; }
  .military-page .military-final { padding: 58px 0; }
  .military-page .military-final-panel { padding: 40px 28px 42px; }
  .military-page .military-hero-copy {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .military-page .military-first-uniform-photo {
    width: 160px;
    justify-self: end;
  }
  .military-page .military-hero-photo { width: 100%; }
  .military-page .military-lightbox { padding: 16px; }
  .military-page .military-lightbox-close { top: 12px; right: 12px; }
}

/* Five Stories: story-specific image handling and long-text balance */
.stories-page #story-fda .story-chapter-grid,
.stories-page #story-achs .story-chapter-grid {
  gap: 56px;
}

.stories-page #story-fda .story-chapter-grid {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.2fr);
}
.stories-page #story-fda .story-visual img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  display: block;
}

.stories-page #story-achs .story-chapter-grid {
  grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1.22fr);
}
.stories-page #story-achs .story-copy {
  max-width: 760px;
}
.stories-page #story-achs .story-visual img {
  aspect-ratio: 2 / 3;
  object-fit: contain;
  display: block;
}

@media (max-width: 980px) {
  .stories-page #story-fda .story-chapter-grid,
  .stories-page #story-achs .story-chapter-grid {
    grid-template-columns: 1fr;
  }
}

/* Military page pull-quote treatments */
.military-page .military-quote-callout {
  position: relative;
  margin: 28px 0 0;
  padding: 22px 24px 22px 28px;
  border-left: 3px solid var(--blue-600);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
}
.military-page .military-quote-signature {
  max-width: 470px;
  font-size: 19px;
}
.military-page .military-quote-quiet {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-600);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
}
.military-page .military-quote-compact {
  max-width: 560px;
  font-size: 16px;
}
.military-page .military-photo-quote-stack {
  display: grid;
  gap: 0;
  align-self: start;
  justify-self: start;
  width: 347px;
  max-width: 347px;
}
.military-page .military-leadership-lessons .military-chapter-grid {
  align-items: start;
}
.military-page .military-leadership-lessons .military-chapter-copy,
.military-page .military-leadership-lessons .military-photo-quote-stack {
  align-self: start;
}

@media (max-width: 980px) {
  .military-page .military-photo-quote-stack {
    max-width: 620px;
  }
}
