/* ===========================================================
   Next Era Progress — shared stylesheet
   Brand colors:  navy #0B1F3B   bright blue #1E6FFF
   =========================================================== */

:root {
  --navy:        #0B1F3B;
  --navy-soft:   #14305C;
  --blue:        #1E6FFF;
  --blue-light:  #5A93FF;
  --sky:         #E8F0FF;
  --paper:       #FBFCFE;
  --ink:         #1A2236;
  --muted:       #5C6577;
  --rule:        #E2E8F2;
  --shadow:      0 10px 30px rgba(11, 31, 59, 0.08);
  --shadow-lg:   0 25px 60px rgba(11, 31, 59, 0.18);
  --serif:       "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:        "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.005em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow    { width: min(760px, 92%); margin: 0 auto; }

/* =================== HEADER / NAV =================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 64px;
  width: auto;
  display: block;
}

@media (max-width: 520px) {
  .brand img { height: 52px; }
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-links a {
  color: var(--navy);
  font-weight: 500;
  font-size: .96rem;
  position: relative;
  padding: 4px 0;
}

.nav-links a.active,
.nav-links a:hover { color: var(--blue); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--blue);
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  transition: background .15s ease;
}
.nav-cta:hover { background: var(--blue); color: #fff !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 5%;
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--rule); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-links a.active::after { display: none; }
  .nav-cta { display: inline-block; margin: 12px 0; text-align: center; }
}

/* =================== BUTTONS =================== */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(30, 111, 255, 0.25);
}
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy) !important;
  padding: 12px 26px;
}
.btn-outline:hover { background: var(--navy); color: #fff !important; }

.btn-ghost-light {
  background: rgba(255,255,255,.12);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.45);
}
.btn-ghost-light:hover { background: #fff; color: var(--navy) !important; }

/* =================== HERO =================== */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
              rgba(11, 31, 59, 0.78) 0%,
              rgba(11, 31, 59, 0.55) 45%,
              rgba(30, 111, 255, 0.35) 100%);
  z-index: -1;
}

.hero-inner {
  padding: 120px 0 100px;
  max-width: 760px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  margin-bottom: .6em;
}

.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,.92);
  margin-bottom: 2em;
  max-width: 620px;
}

.hero .eyebrow { color: var(--blue-light); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-mini {
  min-height: 46vh;
}
.hero-mini .hero-inner { padding: 90px 0 70px; }

/* =================== SECTIONS =================== */

section { padding: 90px 0; }

section.tight { padding: 60px 0; }

.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 { margin-bottom: .4em; }
.section-head p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.08rem; }

.bg-paper { background: var(--paper); }
.bg-sky   { background: var(--sky); }
.bg-navy  { background: var(--navy); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,.85); }
.bg-navy .eyebrow { color: var(--blue-light); }

/* =================== SPLIT (image + text) =================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

.split-text h2 { margin-top: 0; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse { direction: ltr; }
}

/* =================== CARDS =================== */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}

.card-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { color: var(--navy); }
.card-body p { color: var(--muted); }
.card-body .card-cta { margin-top: auto; padding-top: 14px; font-weight: 600; }

.card-step {
  position: relative;
  padding-left: 56px;
}
.card-step .step-num {
  position: absolute;
  top: 24px; left: 22px;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

/* =================== STORY (narrative section) =================== */

.story {
  background: var(--paper);
  padding: 100px 0;
  text-align: center;
}
.story p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  color: var(--navy);
  line-height: 1.55;
  margin: 0 auto 1em;
  max-width: 760px;
  font-weight: 500;
}
.story p.bold-line {
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin: 1.5em auto;
}

/* =================== CTA STRIP =================== */

.cta-strip {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 60%, var(--blue) 130%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255,255,255,.9); max-width: 600px; margin: 0 auto 2em; }

/* =================== APPROACH LIST =================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.pillar {
  background: #fff;
  border-left: 4px solid var(--blue);
  padding: 28px 32px;
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow);
}
.pillar h3 { margin-top: 0; }
.pillar p:last-child { margin-bottom: 0; color: var(--muted); }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* =================== TIMELINE / PROGRESSION =================== */

.progression {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.prog-item {
  background: #fff;
  border-radius: 14px;
  padding: 32px 36px;
  border: 1px solid var(--rule);
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 28px;
  align-items: center;
}
.prog-num {
  font-family: var(--serif);
  color: var(--blue);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}
.prog-body h3 { margin: 0 0 .4em; }
.prog-body p  { margin: 0; color: var(--muted); }
.prog-body small { color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.prog-cta a { white-space: nowrap; }

@media (max-width: 820px) {
  .prog-item { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .prog-num { font-size: 2.2rem; }
}

/* =================== CONTACT =================== */

.contact-wrap {
  background: #fff;
  border-radius: 18px;
  padding: 50px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.contact-wrap h2 { margin-top: 0; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px dashed var(--rule); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { color: var(--navy); margin-right: 8px; }
.calendly-box {
  background: var(--sky);
  border-radius: 14px;
  padding: 36px;
  text-align: center;
}
.calendly-box h3 { color: var(--navy); }
.calendly-box p  { color: var(--muted); margin-bottom: 24px; }

@media (max-width: 820px) {
  .contact-wrap { grid-template-columns: 1fr; padding: 30px; gap: 30px; }
}

/* =================== FOOTER =================== */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: 60px 0 30px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 700;
}
.footer-grid a { color: rgba(255,255,255,.78); }
.footer-grid a:hover { color: #fff; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 6px 0; }
.footer-brand-text { line-height: 1.5; max-width: 320px; color: rgba(255,255,255,.78); }
.footer-logo {
  background: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 18px;
}
.footer-logo img { height: 80px; width: auto; display: block; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom em { font-style: italic; color: var(--blue-light); }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =================== UTILITIES =================== */

.center { text-align: center; }
.spacer-sm { height: 24px; }
.spacer    { height: 48px; }
