/* ============================================================
   NAVY FINANCIAL SUPPORT CONSULTING LLC — design tokens
   ============================================================ */
:root {
  /* Color */
  --navy-950: #0A2438;
  --navy-900: #123855;
  --navy-800: #17456A;
  --navy-700: #1F4E70;
  --navy-500: #4C7896;
  --navy-300: #9AB6C8;
  --teal-500: #2FAEB4;
  --teal-400: #3FC4C9;
  --teal-100: #E4F5F5;
  --paper: #F6F5F0;
  --paper-raised: #FFFFFF;
  --ink-900: #142430;
  --ink-600: #47606E;
  --line: #DBE1E0;
  --line-dark: rgba(255,255,255,0.16);

  /* Type */
  --font-head: "Spectral", "Iowan Old Style", Georgia, serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --gap: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy-950);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; max-width: 62ch; }
p.lede { font-size: 1.15rem; color: var(--ink-600); max-width: 58ch; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-500);
  margin: 0 0 0.9em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--teal-500);
  display: inline-block;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--teal-500);
  color: var(--navy-950);
}
.btn-primary:hover { background: var(--teal-400); }

.btn-outline {
  border-color: var(--line-dark);
  color: inherit;
}
.btn-outline:hover { border-color: var(--teal-400); color: var(--teal-400); }

.btn-outline.on-light {
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn-outline.on-light:hover {
  background: var(--navy-900);
  color: #fff;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { position: relative; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 52px; width: auto; }
.brand-word {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-950);
  line-height: 1.15;
}
.brand-word span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-600);
  letter-spacing: 0.02em;
}

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
  font-weight: 500;
}
.main-nav a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-900);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--teal-500);
  transition: right 0.2s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--navy-950); font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-950);
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy-950);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero .eyebrow {
  color: var(--teal-400);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: 0.42em; }
.hero p.lede { color: #C6D6DE; }
.hero .cta-row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-chart {
  width: 100%;
  height: auto;
}

.hero.small .wrap {
  grid-template-columns: 1fr;
  padding-top: 62px;
  padding-bottom: 62px;
}
.hero.small h1 { margin-bottom: 0.3em; }
.hero.small p.lede { max-width: 68ch; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--teal-400);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--teal-400); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--navy-300); margin: 0 6px; }

/* ---------- photography ---------- */
.photo {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(10,36,56,.55) 0%, rgba(18,56,85,.14) 65%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.photo.deep::after {
  background: linear-gradient(155deg, rgba(10,36,56,.78) 10%, rgba(10,36,56,.4) 100%);
}
.photo-frame { position: relative; }
.photo-frame::before {
  content: "";
  position: absolute;
  top: 18px; left: 18px;
  right: -18px; bottom: -18px;
  border: 1px solid var(--teal-500);
  z-index: -1;
}
.photo-caption {
  position: absolute;
  left: 22px; bottom: 20px;
  right: 22px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
}
.photo-caption .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400); flex: none; }
.photo-16-10 { aspect-ratio: 16 / 10; }
.photo-4-3 { aspect-ratio: 4 / 3; }
.photo-3-4 { aspect-ratio: 3 / 4; }
.photo-21-9 { aspect-ratio: 21 / 9; }

.photo-band {
  position: relative;
  color: #fff;
}
.photo-band .photo { position: absolute; inset: 0; }
.photo-band .wrap { position: relative; z-index: 2; }
.photo-band h2, .photo-band h3 { color: #fff; }
.photo-band p { color: #D7E3E8; }

/* route line motif */
.route-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 44px;
}
.route-rule .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
  flex: none;
}
.route-rule .line {
  height: 1px;
  background: var(--line);
  flex: 1;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.bg-white { background: var(--paper-raised); }
.bg-navy { background: var(--navy-950); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: #C6D6DE; }
.bg-tint { background: var(--teal-100); }

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.two-col.reverse { grid-template-columns: 1.1fr 0.9fr; }

/* ---------- pillar / service cards ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}
.pillar-card {
  background: var(--paper-raised);
  padding: 38px 36px;
  position: relative;
}
.pillar-card .num {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--teal-500);
  margin-bottom: 18px;
  display: block;
}
.pillar-card h3 { margin-bottom: 10px; }
.pillar-card p { margin-bottom: 16px; color: var(--ink-600); font-size: 0.98rem; }
.pillar-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--ink-600);
}
.pillar-card li {
  padding: 7px 0;
  border-top: 1px solid var(--line);
}
.pillar-card li:first-child { border-top: none; }

/* ---------- tier / journey strip ---------- */
.tier-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.tier-strip::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--line-dark);
}
.tier {
  padding: 0 22px 0 0;
  position: relative;
}
.tier .marker {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--teal-400);
  border: 2px solid var(--navy-950);
  outline: 2px solid var(--teal-400);
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.tier .step { font-size: 0.8rem; color: var(--teal-400); font-weight: 600; margin-bottom: 6px; }
.tier h4 { color: #fff; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 8px; }
.tier p { font-size: 0.92rem; color: #B7C9D2; }

/* ---------- stat row ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 8px;
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 2.3rem;
  color: var(--navy-950);
  font-weight: 500;
}
.bg-navy .stat b { color: #fff; }
.stat span {
  font-size: 0.88rem;
  color: var(--ink-600);
}
.bg-navy .stat span { color: #9CB7C4; }

/* ---------- partner cards ---------- */
.partner-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 44px;
}
.partner-card {
  border: 1px solid var(--line);
  padding: 36px;
  background: var(--paper-raised);
}
.partner-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-900);
  background: var(--teal-100);
  padding: 4px 10px;
  margin-bottom: 16px;
}
.partner-card h3 { margin-bottom: 4px; }
.partner-card .role { color: var(--ink-600); font-size: 0.9rem; margin-bottom: 18px; }
.partner-card ul { margin: 0; padding: 0; list-style: none; }
.partner-card li {
  padding: 9px 0 9px 20px;
  border-top: 1px solid var(--line);
  position: relative;
  font-size: 0.94rem;
  color: var(--ink-600);
}
.partner-card li:first-child { border-top: none; }
.partner-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 6px; height: 1px;
  background: var(--teal-500);
}

/* ---------- team ---------- */
.team-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 52px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.team-block:last-of-type { border-bottom: 1px solid var(--line); }
.avatar-plate {
  background: var(--navy-950);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.avatar-plate .initials {
  font-family: var(--font-head);
  font-size: 4rem;
  color: #fff;
  font-weight: 500;
  z-index: 2;
}
.avatar-plate svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.team-meta { margin-top: 18px; font-size: 0.88rem; color: var(--ink-600); }
.team-meta div { padding: 6px 0; border-top: 1px solid var(--line); }
.team-meta div:first-child { border-top: none; }
.team-meta b { color: var(--navy-950); font-weight: 600; }

.team-copy h3 { font-size: 1.55rem; }
.team-copy .role { color: var(--teal-500); font-weight: 600; font-size: 0.92rem; margin-bottom: 14px; }
.team-copy .highlights {
  margin-top: 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.team-copy .highlights li {
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink-600);
}
.team-copy .highlights li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 8px; height: 1px;
  background: var(--teal-500);
}

/* ---------- values ---------- */
.value-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 40px;
}
.value-list h3 { font-size: 1.1rem; }
.value-list .mark {
  width: 34px; height: 34px;
  margin-bottom: 18px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-950);
  color: #fff;
  padding: 68px 0;
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #B7C9D2; margin-bottom: 0; }

/* ---------- careers / job listings ---------- */
.job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}
.job-card {
  background: var(--paper-raised);
  padding: 34px 32px;
}
.job-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.job-card-head h3 { margin: 0; }
.job-tag {
  flex: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-900);
  background: var(--teal-100);
  padding: 4px 10px;
  white-space: nowrap;
}
.job-meta {
  font-size: 0.85rem;
  color: var(--teal-500);
  font-weight: 600;
  margin-bottom: 14px;
}
.job-card p { color: var(--ink-600); font-size: 0.96rem; margin-bottom: 20px; }

.no-openings {
  grid-column: 1 / -1;
  background: var(--paper-raised);
  padding: 48px 40px;
  text-align: left;
}
.no-openings p { max-width: 60ch; margin-bottom: 20px; color: var(--ink-600); font-size: 1.02rem; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  margin-top: 44px;
}
.contact-info dl { margin: 0; }
.contact-info dt {
  font-size: 0.8rem;
  color: var(--teal-500);
  font-weight: 600;
  margin: 28px 0 6px;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 0; font-size: 1.02rem; }

.form-field { margin-bottom: 22px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-950);
  margin-bottom: 8px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink-900);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--teal-500);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 0.85rem; color: var(--ink-600); margin-top: -6px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-950);
  color: #B7C9D2;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.footer-brand img { height: 44px; }
.footer-brand .name { font-family: var(--font-head); color: #fff; font-size: 1rem; }
.footer-tag { font-size: 0.92rem; max-width: 32ch; }
.site-footer h4 {
  color: #fff;
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.site-footer a:hover { color: var(--teal-400); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #7F9BAA;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .main-nav ul { display: none; }
  .nav-toggle { display: block; }
  .main-nav > a.btn { display: none; }
  .brand-word { font-size: 0.86rem; }
  .brand img { height: 40px; }
  .brand-word span { display: none; }
  .hero .wrap, .two-col, .two-col.reverse, .contact-grid { grid-template-columns: 1fr; }
  .pillar-grid, .partner-cards, .value-list, .form-row, .job-grid { grid-template-columns: 1fr !important; }
  .tier-strip { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .tier-strip::before { display: none; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 28px; }
  .team-block { grid-template-columns: 1fr; }
  .avatar-plate { max-width: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
  .photo-frame { margin-right: 14px; margin-bottom: 14px; }
  .photo-frame::before { top: 12px; left: 12px; right: -12px; bottom: -12px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .wrap { padding: 0 20px; }
}

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