/* =========================================================
   Uprise Global — temp_5 (Technology x Talent x Impact)
   Palette sampled from the approved mockup
   ========================================================= */
:root {
  --navy: #082040;
  --navy-2: #0A2C55;
  --green: #18C070;
  --green-dark: #0FA85C;
  --blue: #2F9BEA;
  --sky: #E7F2FE;
  --green-soft: #E9F8F0;
  --lime-soft: #F2FCE9;
  --lime: #7CC24A;
  --text: #44566E;
  --muted: #7A8AA0;
  --line: #E5EDF5;
  --radius: 10px;
  --shadow: 0 10px 28px rgba(8, 32, 64, .07);
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 14.5px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.22; font-weight: 700; }
.container { width: min(1160px, 92%); margin: 0 auto; }
h2 { font-size: 26px; font-weight: 700; letter-spacing: -.2px; }
.muted { color: var(--muted); }
.muted.light { color: rgba(255,255,255,.75); }

.eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: 2.2px;
  color: var(--green-dark); margin-bottom: 10px;
}
.eyebrow.light { color: var(--green); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 13.5px; line-height: 1;
  padding: 14px 24px; border-radius: 999px;
  transition: all .25s ease; border: 1.5px solid transparent;
}
.btn .arr { font-size: 13px; transition: transform .25s; transform: translateY(1px); }
.btn:hover .arr { transform: translate(3px, 1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--green); color: var(--green-dark); background: var(--green-soft); }
.btn.sm { padding: 12px 20px; font-size: 12.5px; }

.text-link { color: var(--navy); font-weight: 600; font-size: 13px; }
.text-link .arr { color: var(--green-dark); display: inline-block; transition: transform .2s; }
.text-link:hover .arr { transform: translateX(3px); }
.text-link.sm { font-size: 12px; }

/* ================= HEADER ================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
}
.header-inner { position: relative; display: flex; align-items: center; gap: 26px; height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { width: 32px; height: 32px; }
.brand-text { font-size: 18px; font-weight: 800; color: #fff; line-height: 1; display: inline-flex; flex-direction: column; }
.brand-text small { font-size: 7px; font-weight: 600; letter-spacing: 4px; color: rgba(255,255,255,.6); margin-top: 4px; }
.brand.light .brand-text { color: #fff; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 24px; height: 66px; }
.main-nav > ul > li { display: flex; align-items: center; }
.main-nav > ul > li > a, .main-nav .nav-menu-trigger { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); padding-bottom: 8px; position: relative; }
.main-nav > ul > li > a i { font-size: 8px; vertical-align: 1px; }
.main-nav .nav-menu-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; font-family: inherit; cursor: pointer; line-height: 1.65;
}
.main-nav > ul > li > a.current, .main-nav .nav-menu-trigger.current { color: #fff; }
.main-nav > ul > li > a.current::after, .main-nav .nav-menu-trigger.current::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 22px; height: 3px;
  border-radius: 3px; background: var(--green);
}
.main-nav > ul > li > a:hover, .main-nav .nav-menu-trigger:hover { color: #fff; }
.main-nav .mega-caret { font-size: 8px; line-height: 1; align-self: center; transition: transform .2s ease; }
.has-menu { position: static; }
.has-menu.open .mega-caret { transform: rotate(180deg); }

/* ---- Mega menus (Services / Resources) ---- */
/* Panels are centred on the header (not on their nav item) so they can never
   run off the right edge of the viewport. */
.mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%); z-index: 120;
  display: none; width: 800px; max-width: calc(100vw - 40px);
  max-height: calc(100vh - 110px); overflow-y: auto;
  background: #fff; border-radius: 0 0 8px 8px;
  box-shadow: 0 26px 50px rgba(8, 32, 64, .18);
  padding: 24px; text-align: left;
}
.has-menu.open .mega-menu { display: block; }
.mega-resources { width: 1060px; }
.mega-groups { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 216px; gap: 30px; }
.resources-groups { grid-template-columns: repeat(4, minmax(0, 1fr)) 216px; gap: 22px; }
.mega-col, .mega-copy { min-width: 0; }
.mega-label {
  font-size: 9.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--navy-2); margin-bottom: 8px;
}
.mega-list li + li { margin-top: 2px; }
.mega-list a { display: flex; gap: 11px; padding: 7px 0; border-radius: 6px; }
.mega-ico {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 8px;
  background: #F1F5FB; color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
  transition: background .2s, color .2s;
}
.mega-copy b { display: block; font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.mega-copy small { display: block; font-size: 11px; color: var(--muted); line-height: 1.45; margin-top: 1px; }
.mega-list a:hover b { color: var(--green-dark); }
.mega-list a:hover .mega-ico { background: var(--green-soft); color: var(--green-dark); }
.mega-card {
  background: var(--navy); border-radius: 8px; padding: 18px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.mega-badge {
  font-size: 8px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase;
  background: var(--green); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.mega-card h3 { color: #fff; font-size: 15px; line-height: 1.3; margin: 11px 0 8px; }
.mega-card p { color: rgba(255,255,255,.7); font-size: 11px; line-height: 1.55; margin-bottom: 14px; }
.mega-card .btn { margin-top: auto; font-size: 11.5px; padding: 11px 16px; }
.guide-card { padding: 15px; }
.guide-img { width: 100%; height: 88px; object-fit: cover; border-radius: 5px; margin: 10px 0 10px; }
.guide-card h3 { margin: 0 0 7px; font-size: 15px; }

/* ---- Announcement bar ---- */
.announce { background: var(--lime); }
.announce a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 30px; padding: 6px 16px; text-align: center;
  color: var(--navy); font-size: 11.5px; font-weight: 700; letter-spacing: .1px;
}
.announce a:hover { text-decoration: underline; }
.announce .arr { transition: transform .2s; }
.announce a:hover .arr { transform: translateX(3px); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.search-btn { background: none; border: 0; color: #fff; font-size: 14px; cursor: pointer; }
.header-cta { padding: 11px 20px; font-size: 12.5px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px; margin: 4px 0; }

/* ================= HERO ================= */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero::before { /* subtle diagonal sheen */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(47,155,234,.14) 0%, transparent 38%);
}
.hero-grid { position: relative; z-index: 3; }
.hero-copy { max-width: 660px; padding: 73px 0 34px; }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: 3.5px; color: #CFE3F7; margin-bottom: 20px; }
.kicker .dot { font-size: 6px; font-style: normal; color: var(--green); vertical-align: 2px; margin: 0 2px; }
.hero h1 { color: #fff; font-size: 46px; font-weight: 800; letter-spacing: -.6px; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-sub { max-width: 470px; color: rgba(255,255,255,.78); font-size: 14px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Path selector: "What do you need?" */
.hero-need { margin-bottom: 26px; }
.hero-need-label { font-size: 11px; font-weight: 700; color: #fff; margin-bottom: 9px; }
.path-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 620px; }
.path-option {
  display: block; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px; padding: 11px 14px; text-align: left; cursor: pointer;
  font-family: inherit; color: #fff; transition: border-color .2s, background .2s;
}
.path-option b { display: block; font-size: 13px; font-weight: 700; line-height: 1.35; }
.path-option span { display: block; font-size: 11px; color: rgba(255,255,255,.66); line-height: 1.4; margin-top: 3px; }
.path-option:hover, .path-option:focus-visible { border-color: var(--green); background: rgba(255,255,255,.09); outline: none; }

/* Speed strip under the hero */
.speed-strip { background: #fff; border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(8,32,64,.05); }
.speed-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.speed-step { display: flex; align-items: flex-start; gap: 13px; padding: 20px 24px; border-left: 1px solid var(--line); }
.speed-step:first-child { border-left: 0; padding-left: 0; }
.speed-num {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.speed-step h3 { font-size: 13px; margin-bottom: 1px; }
.speed-step p { font-size: 11.5px; color: var(--muted); }

.hero-media {
  position: absolute; top: 0; right: 0; bottom: 0; left: 55%;
  background: url('../img/1.avif') center 30% / cover no-repeat;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}
.hero-script { display: none; }

/* ================= SERVICES ================= */
.services { padding: 72px 0 76px; background: #F7FAFD; }
.services-grid { display: grid; grid-template-columns: 290px 1fr; gap: 56px; }

.services-intro h2 { margin-bottom: 16px; }
.services-intro .muted { font-size: 13.5px; margin-bottom: 22px; }

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

.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px 34px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Whole-card links (What we deliver / Who we serve) */
.card-link { display: flex; flex-direction: column; align-items: flex-start; color: inherit; text-decoration: none; }
.card-link .btn { pointer-events: none; margin-top: auto; }
.card-link h3 { margin-top: 10px; }
.card-link p, .card-link ul { margin-bottom: 16px; }
.card-link:hover h3, .card-link:focus-visible h3 { color: var(--green-dark); }
.card-link:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.card-ico {
  width: 46px; height: 46px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; margin-bottom: 16px;
}
.ico-sky { background: var(--sky); color: var(--blue); }
.ico-green { background: var(--green-soft); color: var(--green-dark); }
.ico-lime { background: var(--lime-soft); color: var(--lime); }

.card h3 { font-size: 14.5px; margin-bottom: 9px; }
.card p { font-size: 12.5px; color: var(--muted); line-height: 1.6; padding-right: 6px; }
.card p a { color: var(--blue); font-weight: 600; }
.card-arrow {
  position: absolute; right: 18px; bottom: 14px;
  color: var(--navy); font-size: 12px;
}

/* ================= ABOUT ================= */
.about {
  display: grid; grid-template-columns: 460px 1fr 300px;
  align-items: stretch; background: #fff;
}
.about-media { position: relative; min-height: 340px; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-arrow { display: none; }
.about-media { border-radius: 0; }
.play-btn {
  position: absolute; left: 7%; bottom: 13%;
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; cursor: pointer;
  color: #fff; font-family: inherit; font-weight: 700; font-size: 14px;
}
.play-btn i {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; box-shadow: 0 6px 18px rgba(8,32,64,.25);
}

.about-body { padding: 64px 40px 56px 46px; }
.about-body h2 { margin-bottom: 16px; }
.about-body .muted { font-size: 13.5px; margin-bottom: 26px; max-width: 430px; }

.about-stats {
  border-left: 1px solid var(--line); padding: 58px 0 50px 40px; padding-right: 8px;
  display: flex; flex-direction: column; justify-content: center; gap: 26px;
}
.stat { display: flex; gap: 14px; }
.stat .s-ico { flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.stat h3 { font-size: 21px; margin-bottom: 2px; }
.stat p { font-size: 12.5px; font-weight: 600; color: var(--navy-2); margin-bottom: 3px; }
.stat small { font-size: 11px; color: var(--muted); line-height: 1.45; display: block; max-width: 200px; }

/* ================= PROJECTS ================= */
.projects { background: var(--navy-2); padding: 58px 0 64px; position: relative; overflow: hidden; }
.projects::before {
  content: ""; position: absolute; left: -140px; top: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,155,234,.18), transparent 70%);
}
.projects-grid { display: grid; grid-template-columns: 290px 1fr; gap: 50px; position: relative; }
.projects-intro h2 { color: #fff; margin-bottom: 14px; }
.projects-intro .muted { font-size: 13px; margin-bottom: 24px; }

.project-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p-card { background: #fff; border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.p-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.25); }
.p-card img { width: 100%; height: 128px; object-fit: cover; }
.p-body { padding: 16px 16px 14px; }
.p-body h3 { font-size: 13.5px; margin-bottom: 7px; }
.p-body p { font-size: 11.5px; color: var(--muted); margin-bottom: 12px; }
.p-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span {
  font-size: 9px; font-weight: 700; letter-spacing: .4px;
  color: var(--navy-2); background: #F0F5FA;
  padding: 4px 9px; border-radius: 999px;
}
.p-meta > i { color: var(--navy); font-size: 11px; padding-bottom: 3px; }

/* ================= IMPACT ================= */
.impact { background: #DFEDE9; }
.impact-grid {
  display: grid; grid-template-columns: 330px 1fr 360px;
  gap: 0; align-items: center;
}
.impact-photo {
  position: relative; min-height: 250px;
  background: url('../img/impact.jpg') center / cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}
.impact-photo { overflow: hidden; }
.impact-script { display: none; }
.impact-copy { padding: 48px 34px; }
.impact-copy h2 { margin-bottom: 12px; }
.impact-copy .muted { font-size: 13px; max-width: 360px; margin-bottom: 20px; }

.impact-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  border-left: 1px solid rgba(8,32,64,.12);
  padding: 34px 0;
}
.i-stat { padding: 14px 26px; border-bottom: 1px solid rgba(8,32,64,.1); }
.i-stat:nth-child(3), .i-stat:nth-child(4) { border-bottom: 0; }
.i-stat:nth-child(odd) { border-right: 1px solid rgba(8,32,64,.1); }
.i-stat .s-ico { color: var(--green-dark); font-size: 16px; margin-bottom: 10px; display: inline-block; }
.i-stat h3 { font-size: 21px; margin-bottom: 2px; }
.i-stat p { font-size: 12.5px; font-weight: 600; color: var(--navy-2); margin-bottom: 3px; }
.i-stat small { font-size: 10.5px; color: var(--muted); }

/* ================= CAREERS + BLOG SPLIT ================= */
.split { padding: 56px 0;  background: #fff; }
.split-grid { display: grid; grid-template-columns: 340px 1fr; gap: 54px; }

.careers h2 { margin: 2px 0 10px; }
.careers .muted { font-size: 12.5px; margin-bottom: 18px; }
.careers-photo-row img { width: 100%; height: 170px; object-fit: cover; border-radius: 10px; margin: 0 0 18px; }

.blog-head-b { margin-bottom: 14px; }
.blog h2 { margin: 2px 0 10px; }
.blog .muted { font-size: 12.5px; margin-bottom: 14px; }

.blog-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.b-col img { width: 100%; height: 86px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.b-col h3 { font-size: 12px; margin-bottom: 4px; line-height: 1.4; }
.b-col time { font-size: 10px; color: var(--muted); display: block; width: 100%; }
.b-col .text-link { display: inline-block; }

/* ================= CTA ================= */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(100deg, #103767 0%, #0B2E58 60%, #082240 100%);
  padding: 40px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { color: rgba(255,255,255,.75); font-size: 13.5px; margin-bottom: 18px; }
.cta-copy .eyebrow { margin-bottom: 6px; }
.cta-copy .btn { margin-top: 4px; }
.cta-script {
  font-family: 'Caveat', cursive; font-size: 25px; font-weight: 600;
  color: #fff; transform: rotate(-6deg); text-align: center; margin-right: 4%;
}
.cta-script em { font-style: normal; }
.cta-deco { position: absolute; right: 0; bottom: 0; width: 62%; height: 100%; z-index: 0; opacity: .35; }
.cta-inner { position: relative; z-index: 2; }

/* ================= FOOTER ================= */
.footer { background: var(--navy); padding: 30px 0 22px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-nav ul { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.78); font-size: 12.5px; font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { color: rgba(255,255,255,.8); font-size: 13px; }
.footer-social a:hover { color: var(--green); }
.copyright {
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.45); font-size: 11px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .hero-media { left: 62%; }
  .hero-copy { max-width: 560px; }
  .about { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); flex-direction: row; padding: 30px 6%; gap: 40px; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .impact-photo { display: none; }
  .impact-grid { grid-template-columns: 1fr 1.1fr; }
}
@media (max-width: 1024px) {
  .service-cards, .project-cards { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .projects-grid { grid-template-columns: 1fr; gap: 34px; }
  .blog-cols { grid-template-columns: repeat(3, 1fr); }
  .split-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 1080px) {
  .header-inner { gap: 16px; }
  .main-nav ul { gap: 12px; }
  .mega-groups { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
  .resources-groups { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mega-card { grid-column: 1 / -1; }
  .mega-card .btn { margin-top: 4px; }
  .guide-img { height: 120px; }
}
@media (max-width: 880px) {
  .main-nav {
    position: absolute; top: 66px; left: 0; right: 0; background: var(--navy);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: calc(100vh - 66px); overflow-y: auto; }
  .main-nav > ul { height: auto; flex-direction: column; gap: 0; padding: 8px 4% 18px; }
  .main-nav > ul > li { display: block; width: 100%; }
  .main-nav > ul > li > a, .main-nav .nav-menu-trigger { display: flex; width: 100%; padding: 12px 0; text-align: left; }
  .main-nav > ul > li > a { display: block; }
  .main-nav .nav-menu-trigger { justify-content: space-between; }
  .main-nav > ul > li > a.current::after, .main-nav .nav-menu-trigger.current::after { display: none; }
  .mega-menu {
    position: static; width: auto; max-width: none; transform: none;
    max-height: none; overflow: visible;
    margin: 4px 0 12px; padding: 16px; border-radius: 8px;
  }
  .mega-groups, .resources-groups { grid-template-columns: 1fr; gap: 18px; }
  .mega-card, .guide-card { padding: 16px; }
  .mega-card h3, .guide-card h3 { font-size: 14px; }
  .guide-img { height: 130px; }
  .mega-card .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: block; }
  .speed-grid { grid-template-columns: 1fr; }
  .speed-step { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0; }
  .speed-step:first-child { border-top: 0; padding-top: 18px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card .btn { margin-top: 16px; }
  .hero-media { left: 12%; opacity: .25; }
  .hero-script { display: none; }
  .hero h1 { font-size: 34px; }
  .hero-copy { padding: 52px 0 76px; }
  .about { grid-template-columns: 1fr; }
  .about-body { padding: 48px 6%; }
  .about-stats { flex-direction: column; gap: 22px; }
  .blog-cols { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-script { display: none; }
}
@media (max-width: 560px) {
  .service-cards, .project-cards { grid-template-columns: 1fr; }
  .impact-stats { grid-template-columns: 1fr; border-left: 0; }
  .i-stat { border-right: 0 !important; border-bottom: 1px solid rgba(8,32,64,.1) !important; }
  .i-stat:last-child { border-bottom: 0 !important; }
  .hero h1 { font-size: 29px; }
  .path-options { grid-template-columns: 1fr; }
  .announce a { font-size: 10.5px; }
}

/* =========================================================
   Inner pages / views (existing design tokens only)
   ========================================================= */

/* --- Page hero band --- */
.page-hero {
  position: relative; background: var(--navy); overflow: hidden;
  padding: 58px 0 52px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(47,155,234,.14) 0%, transparent 38%);
}
.page-hero .container { position: relative; z-index: 3; }
.page-hero .eyebrow.light { margin-bottom: 9px; }
.page-hero h1 {
  color: #fff; font-size: 36px; font-weight: 800;
  letter-spacing: -.5px; margin-bottom: 14px; max-width: 780px;
}
.page-hero .ph-sub { color: rgba(255,255,255,.78); font-size: 14px; max-width: 660px; }

/* --- Generic layout helpers --- */
.section { padding: 64px 0; }
.section.md { padding: 48px 0; }
.section.alt { background: #F7FAFD; }
.section-head { max-width: 700px; margin-bottom: 28px; }
.section-head h2 { margin-bottom: 11px; }
.section-head p { font-size: 13.5px; max-width: 640px; }
.section-head.tight { margin-bottom: 18px; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.page-hero .btn-row { margin-top: 22px; }
.btn.line { border-color: var(--line); color: var(--navy); background: #fff; }
.btn.line:hover { border-color: var(--green); color: var(--green-dark); }
.btn.block { width: 100%; justify-content: center; }

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

.badge {
  display: inline-block; font-size: 9px; font-weight: 800;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-dark);
}
.badge.info { background: var(--sky); color: var(--blue); }
.badge.warn { background: var(--lime-soft); color: #6E8F3D; }

.pill {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--navy-2); background: #F0F5FA; border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 999px; margin: 0 6px 7px 0;
}

/* --- Proof / stat strips --- */
.proof-strip {
  background:
    linear-gradient(rgba(10, 26, 51, 0.82), rgba(10, 25, 47, 0.82)),
    url('./../img/04.jfif') center / cover no-repeat;
  padding: 70px 0;
}
.proof-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.proof h3 { color: #fff; font-size: 24px; margin-bottom: 3px; }
.proof p { color: rgba(255,255,255,.65); font-size: 11px; line-height: 2.5; }

.f-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #F7FAFD; border: 1px solid var(--line);
  border-radius: var(--radius); margin-top: 30px; overflow: hidden;
}
.f-metric { padding: 20px 24px; border-left: 1px solid var(--line); }
.f-metric:first-child { border-left: 0; }
.f-metric h3 { font-size: 22px; margin-bottom: 3px; }
.f-metric p { font-size: 11.5px; color: var(--muted); }

/* --- Why / comparison columns --- */
.why-col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 16px; display: flex; flex-direction: column;
}
.why-col h3 { font-size: 13px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.why-col.up { border-color: rgba(24,192,112,.5); box-shadow: var(--shadow); }
.why-col ul { flex: 1; }
.why-col li {
  display: flex; gap: 9px; font-size: 12.5px; padding: 8px 0;
  color: var(--muted); border-top: 1px dashed var(--line);
}
.why-col li:first-child { border-top: 0; padding-top: 0; }
.why-col li i { margin-top: 3px; font-size: 11px; width: 13px; text-align: center; flex-shrink: 0; }
.why-yes { color: var(--green-dark); }
.why-no { color: #A9B6C6; }
.why-note { margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--green-dark); padding-top: 10px; border-top: 1px solid var(--line); }

/* --- Data tables --- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff;
  box-shadow: 0 4px 14px rgba(8,32,64,.04);
}
.data { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.data th {
  background: #F0F5FA; color: var(--navy-2); text-align: left;
  padding: 11px 14px; font-size: 10.5px; font-weight: 800;
  letter-spacing: .7px; text-transform: uppercase; white-space: nowrap;
}
.data td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; color: var(--text); }
.data td b, .data td strong { color: var(--navy); font-weight: 700; }
.data ul { list-style: none; }
.data ul li { padding: 2px 0; position: relative; padding-left: 12px; }
.data ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.data .sub { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }

/* --- Capability rows (Services) --- */
.cap-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: grid; grid-template-columns: 240px 1fr 180px;
  gap: 24px; align-items: start; margin-bottom: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cap-block:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cap-block h3 { font-size: 15px; }
.cap-headline { font-size: 12px; font-weight: 700; color: var(--green-dark); margin-top: 5px; }
.cap-block .desc { font-size: 12.5px; color: var(--muted); }
.cap-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* --- Capability / audience detail pages --- */
.check-list { list-style: none; margin-top: 12px; }
.check-list li {
  display: flex; gap: 10px; align-items: flex-start; font-size: 13px;
  padding: 7px 0; border-bottom: 1px dashed var(--line);
}
.check-list li:last-child { border-bottom: 0; }
.check-list i { color: var(--green-dark); font-size: 11px; margin-top: 4px; flex: 0 0 auto; }
.detail-num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; margin-bottom: 12px;
}
.detail-meta { font-size: 12.5px; color: var(--muted); }

/* --- Checkmark/cross choice rows --- */
.choice li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.choice li:last-child { border-bottom: 0; }
.choice li i { margin-top: 4px; font-size: 11px; flex-shrink: 0; }
.choice .why-yes { color: var(--green-dark); }
.choice .why-no { color: #A9B6C6; }

/* --- Tab system (EOR page) --- */
.tab-box .tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); margin-bottom: 20px;
}
.tab-btn {
  padding: 11px 18px; font-size: 12.5px; font-weight: 700;
  color: var(--muted); background: none; border: 0;
  border-bottom: 3px solid transparent; cursor: pointer; font-family: inherit;
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-color: var(--green); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* --- Pricing cards + work-model tabs --- */
.price-lead { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.pricing-tabs .tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 0; margin-bottom: 26px; }
.pricing-tabs .tab-btn {
  padding: 8px 17px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--navy-2); background: #fff;
}
.pricing-tabs .tab-btn:hover { border-color: var(--navy-2); color: var(--navy); }
.pricing-tabs .tab-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px;
  transition: box-shadow .25s, transform .25s;
}
.price-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.price-card.featured { border-color: var(--green); box-shadow: 0 14px 30px rgba(24,192,112,.14); }
.price-tag {
  position: absolute; top: -11px; left: 18px;
  background: var(--green); color: #fff; font-size: 9.5px; font-weight: 800;
  letter-spacing: .2px; padding: 4px 11px; border-radius: 999px;
}
.price-card h3 { font-size: 16px; margin-bottom: 5px; }
.price-desc { font-size: 11.5px; color: var(--muted); line-height: 1.5; min-height: 34px; margin-bottom: 14px; }
.price-amount { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -.5px; line-height: 1.1; }
.price-amount small { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 3px; }
.price-features { margin: 16px 0 20px; }
.price-features li { display: flex; gap: 8px; font-size: 12px; padding: 5px 0; color: var(--text); }
.price-features i { color: var(--green-dark); font-size: 10px; margin-top: 4px; flex-shrink: 0; }
.price-card .btn { margin-top: auto; width: 100%; justify-content: center; font-size: 12px; padding: 12px 18px; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.price-footnote { font-size: 11px; color: var(--muted); margin-top: 18px; }

/* --- Accordions / FAQ --- */
.acc-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; margin-bottom: 10px; overflow: hidden;
}
.acc-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 18px; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--navy); text-align: left;
}
.acc-q i { font-size: 11px; color: var(--green-dark); transition: transform .25s; flex-shrink: 0; }
.acc-item.open .acc-q i { transform: rotate(180deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-a-inner { padding: 0 18px 16px; font-size: 13px; color: var(--muted); max-width: 900px; }

/* --- Calculator panels --- */
.calc-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: start; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 4px 14px rgba(8,32,64,.04);
}
.panel h3 { font-size: 14.5px; margin-bottom: 6px; }
.panel .p-sub { font-size: 12px; color: var(--muted); margin-bottom: 18px; }

.res-list { margin-top: 4px; }
.res-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 13px 0; border-top: 1px dashed var(--line); }
.res-row:first-child { border-top: 0; padding-top: 4px; }
.res-row .lab { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.res-row .val { font-size: 17px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.res-row .val.pos { color: var(--green-dark); }
.res-row.big { background: var(--green-soft); border: 1px solid rgba(24,192,112,.28); border-radius: 10px; padding: 14px 16px; margin-top: 10px; }
.res-row.big .val { font-size: 22px; color: var(--green-dark); }

.fineprint {
  font-size: 11px; color: var(--muted); background: #F7FAFD;
  border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; margin-top: 18px; line-height: 1.6;
}
.fineprint a { color: var(--blue); font-weight: 700; }

/* --- Forms --- */
.field { margin-bottom: 14px; }
.field label { font-size: 11.5px; font-weight: 700; color: var(--navy-2); display: block; margin-bottom: 6px; letter-spacing: .3px; }
.field input[type="text"], .field input[type="email"], .field input[type="number"],
.field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 13px; color: var(--text); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field select { cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,155,234,.12);
}
.field textarea { resize: vertical; min-height: 84px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row.triple { grid-template-columns: 1fr 1fr 1fr; }
.field .err { display: none; color: #C0472F; font-size: 10.5px; font-weight: 600; margin-top: 4px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #D9614F; }
.field.invalid .err { display: block; }

/* Form-level submission feedback and spam honeypot */
.pf-alert {
  background: #FDF1EE; border: 1px solid #F0C7BE; border-radius: 8px;
  color: #A83C26; font-size: 12px; font-weight: 600; line-height: 1.5;
  padding: 9px 12px; margin: 0 0 12px;
}
.pf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent-lead { font-size: 13px; }

/* --- Checklist --- */
.checklist label {
  display: flex; gap: 11px; align-items: flex-start; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px;
  font-size: 13px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s;
}
.checklist label:hover { border-color: var(--green); }
.checklist input { accent-color: var(--green); margin-top: 3px; flex-shrink: 0; }

/* --- Associations --- */
.assoc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; gap: 14px; align-items: center;
}
.assoc .card-ico { margin-bottom: 0; }
.assoc h3 { font-size: 13.5px; margin-bottom: 3px; }
.assoc p { font-size: 11.5px; color: var(--muted); }

/* --- Founder --- */
.founder-grid { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; }
.founder-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.founder-name { font-weight: 800; color: var(--navy); font-size: 15px; }
.founder-role { font-size: 11.5px; color: var(--muted); }

/* --- Team --- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.team-body { padding: 14px 16px 16px; border-top: 3px solid var(--green-soft); }
.team-card:hover .team-body { border-top-color: var(--green); }
.team-dept { font-size: 9px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.team-body h3 { font-size: 13.5px; margin-bottom: 3px; }
.team-role { font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.team-email { margin-top: 6px; font-size: 11px; line-height: 1.5; word-break: break-word; }
.team-email a { color: var(--green); text-decoration: none; transition: color .2s ease; }
.team-email a:hover { color: var(--navy); text-decoration: underline; }
.team-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.team-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--green-soft); color: var(--navy); font-size: 11.5px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.team-links a:hover { background: var(--green); color: #fff; transform: translateY(-2px); }

@media (max-width: 1000px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 420px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* --- Footer (4-column layout) --- */
.footer-grid {
  display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 34px; padding-top: 44px; padding-bottom: 34px;
}
.footer .f-blurb { color: rgba(255,255,255,.62); font-size: 12px; max-width: 270px; margin-top: 14px; line-height: 1.65; }
.f-col h4 { color: #fff; font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 14px; }
.f-col ul { display: grid; gap: 4px; }
.f-col a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 0; color: rgba(255,255,255,.72); font-size: 12.5px; transition: color .2s; }
.f-col a:hover { color: var(--green); }
.f-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.09); padding-top: 16px; padding-bottom: 4px;
}
.f-bottom p { color: rgba(255,255,255,.45); font-size: 11px; }
.f-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.f-legal a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 0; color: rgba(255,255,255,.55); font-size: 11.5px; transition: color .2s; }
.f-legal a:hover { color: var(--green); }
@media (max-width: 768px) {
  .f-col a, .f-legal a { min-height: 44px; padding: 10px 0; }
}

/* --- Pilot request modal --- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal-overlay { position: absolute; inset: 0; background: rgba(8,32,64,.58); }
.modal-card {
  position: relative; z-index: 2; background: #fff; border-radius: 14px;
  max-width: 760px; width: 92%; max-height: 88vh; overflow-y: auto;
  margin: 5vh auto 5vh; padding: 32px 34px; box-shadow: 0 30px 70px rgba(8,32,64,.35);
}
.modal-kicker { font-size: 11px; font-weight: 700; letter-spacing: 2.2px; color: var(--green-dark); margin-bottom: 8px; }
.modal-card h3 { font-size: 20px; margin-bottom: 4px; }
.modal-sub { font-size: 13px; color: var(--green-dark); font-weight: 700; margin-bottom: 6px; }
.modal-note { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.modal-close {
  position: absolute; top: 14px; right: 16px; background: none; border: 0;
  font-size: 20px; color: var(--muted); cursor: pointer; line-height: 1; padding: 4px;
}
.modal-close:hover { color: var(--navy); }

.f-legend {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--navy-2); margin: 20px 0 12px; padding-top: 16px; border-top: 1px solid var(--line);
}
.f-legend i { color: var(--green); font-size: 10px; }

.form-success { display: none; text-align: center; padding: 20px 8px 8px; }
.form-success.show { display: block; }
.fs-ico {
  width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft);
  color: var(--green-dark); display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.form-success h3 { font-size: 18px; margin-bottom: 8px; }
.form-success p { font-size: 13px; color: var(--text); max-width: 460px; margin: 0 auto 16px; }
.fs-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.fs-echo {
  text-align: left; font-size: 12px; color: var(--muted); background: #F7FAFD;
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px;
  margin: 0 auto 16px; max-width: 460px; white-space: pre-line;
}

/* --- Responsive additions --- */
@media (max-width: 1000px) {
  .calc-grid { grid-template-columns: 1fr; }
  .cap-block { grid-template-columns: 1fr; gap: 14px; }
  .cap-cta { flex-direction: row; align-items: center; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .founder-grid { grid-template-columns: 1fr; gap: 22px; }
  .founder-photo { max-width: 380px; }
}
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .f-metrics { grid-template-columns: 1fr; }
  .f-metric { border-left: 0; border-top: 1px solid var(--line); }
  .f-metric:first-child { border-top: 0; }
  .why-grid { grid-template-columns: 1fr !important; }
  .main-nav.open { max-height: calc(100vh - 66px); overflow-y: auto; }
}
@media (max-width: 620px) {
  .section { padding: 48px 0; }
  .page-hero h1 { font-size: 27px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row, .form-row.triple { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .modal-card { padding: 24px 18px; margin: 3vh auto; }
  .f-bottom { flex-direction: column; align-items: flex-start; }
  .res-row .val { font-size: 15px; }
}
