:root {
  --navy: #02017a;
  --navy-900: #050735;
  --green: #94d351;
  --text: #1f2937;
  --muted: #64748b;
  --line: #e5e7eb;
  --bg: #f8fafc;
  --white: #fff;
  --shadow: 0 20px 50px rgba(2, 1, 122, .12);
  --radius: 22px;
  --max: 1180px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65
}

img {
  max-width: 100%;
  height: auto
}

a {
  color: inherit
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px max(18px, calc((100vw - var(--max))/2));
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, .8)
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto
}

.main-nav a {
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 999px;
  color: #334155
}

.main-nav a:hover,
.main-nav a.active {
  background: #eef4ff;
  color: var(--navy)
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--green);
  color: #07112b;
  text-decoration: none;
  font-weight: 800;
  border: 0;
  box-shadow: 0 14px 30px rgba(148, 211, 81, .28);
  transition: .2s ease
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px)
}

.btn.secondary {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: none
}

.btn.dark {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 30px rgba(2, 1, 122, .18)
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: var(--navy);
  color: white;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 1.3rem
}

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, rgba(5, 7, 53, .92), rgba(2, 1, 122, .72), rgba(2, 1, 122, .2)), url('../img/gallery/hero-engineering.webp') center/cover no-repeat
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 150px;
  background: linear-gradient(transparent, #fff)
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-block: 110px
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(148, 211, 81, .16);
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 1.02;
  margin: 22px 0 18px;
  letter-spacing: -.06em
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 680px;
  color: #e9eef7
}

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

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -70px
}

.trust-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line)
}

.stat {
  padding: 28px;
  text-align: center;
  border-right: 1px solid var(--line)
}

.stat:last-child {
  border-right: 0
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 900
}

.stat span {
  color: var(--muted);
  font-weight: 700
}

.section {
  padding: 90px 0
}

.section.bg {
  background: var(--bg)
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px
}

.section-head.center {
  text-align: center;
  margin-inline: auto
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  margin: 10px 0;
  letter-spacing: -.04em;
  color: #0f172a
}

.section-head p {
  font-size: 1.08rem;
  color: var(--muted)
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center
}

.feature-panel {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden
}

.feature-panel:before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  background: var(--green);
  opacity: .28;
  border-radius: 50%
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 24px
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start
}

.check {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #07112b;
  font-weight: 900
}

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

.service-card,
.industry-card,
.project-card,
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, .06);
  transition: .2s ease
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow)
}

.icon {
  font-size: 2.1rem;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #f0f7e9;
  display: grid;
  place-items: center;
  margin-bottom: 18px
}

.service-card h3,
.industry-card h3,
.project-card h3,
.value-card h3 {
  margin: 0 0 8px;
  color: #0f172a
}

.service-card p,
.industry-card p,
.project-card p,
.value-card p {
  margin: 0;
  color: var(--muted)
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px
}

.industry-card {
  text-align: center;
  padding: 24px 12px;
  font-weight: 800
}

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

.project-card {
  padding: 0;
  overflow: hidden
}

.project-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block
}

.project-card .content {
  padding: 24px
}

.clients {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap
}

.clients img {
  max-height: 106px;
  max-width: 210px;
  /*filter: grayscale(1);*/
  /*opacity: .85;*/
 /* background: #fff;*/
  /*border: 1px solid var(--line);*/
  border-radius: 16px;
  padding: 14px
}

.cta-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-900));
  color: #fff;
  border-radius: 34px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden
}

.cta-section:after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--green);
  opacity: .2
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 10px
}

.cta-section p {
  margin: 0;
  color: #dbe4f0
}

.page-hero {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy), #0f172a);
  color: #fff
}

.page-hero p {
  max-width: 740px;
  color: #dbe4f0;
  font-size: 1.15rem
}

.content-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, .06)
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px
}

.contact-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--line)
}

.contact-card a {
  display: block;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  margin-top: 8px
}

.form {
  display: grid;
  gap: 14px
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit
}

.form textarea {
  min-height: 150px
}

.footer {
  background: #070923;
  color: #dbe4f0;
  padding-top: 70px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px
}

.footer-logo {
  width: 150px;
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  margin-bottom: 18px
}

.footer h3 {
  color: #fff;
  margin-top: 0
}

.footer a {
  display: block;
  color: #dbe4f0;
  text-decoration: none;
  margin: 8px 0
}

.footer a:hover {
  color: var(--green)
}

.footer-bottom {
  text-align: center;
  padding: 24px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #94a3b8
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 18px
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.badge {
  background: #eef4ff;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800
}

.timeline {
  display: grid;
  gap: 14px
}

.timeline-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px
}

.timeline-item b {
  color: var(--navy)
}

@media (max-width:900px) {
  .menu-toggle {
    display: block
  }

  .main-nav,
  .nav-cta {
    display: none
  }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 18px;
    padding: 12px
  }

  .site-header.nav-open .main-nav a {
    border-radius: 12px
  }

  .hero {
    min-height: 680px
  }

  .trust-card,
  .cards,
  .project-grid,
  .grid-2,
  .contact-grid,
  .footer-grid,
  .two-col {
    grid-template-columns: 1fr
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .cta-section {
    grid-template-columns: 1fr;
    padding: 34px
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:560px) {
  .brand img {
    width: 108px
  }

  .hero-content {
    padding-block: 70px
  }

  .section {
    padding: 64px 0
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -.04em
  }

  .gallery {
    grid-template-columns: 1fr
  }

  .hero-actions .btn {
    width: 100%
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999
}

.skip-link:focus {
  left: 10px
}

.service-card a {
  display: inline-block;
  margin-top: 16px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none
}

.industry-card {
  text-decoration: none
}

.industry-card span {
  display: block;
  font-size: 2rem;
  margin-bottom: 8px
}

.service-detail-grid,
.industry-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px
}

.service-detail,
.industry-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, .06);
  scroll-margin-top: 110px
}

.service-detail h2,
.industry-detail h2 {
  margin: 0 0 10px;
  color: #0f172a
}

.service-detail ul,
.clean-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted)
}

.service-detail li,
.clean-list li {
  margin: 8px 0
}

.industry-detail span {
  font-size: 2.4rem
}

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

.team-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(15, 23, 42, .06)
}

.team-grid img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block
}

.team-grid h3 {
  margin: 0;
  padding: 20px;
  color: #0f172a
}

.note,
.form-note {
  font-size: .95rem;
  color: var(--muted)
}

.contact-card+.contact-card {
  margin-top: 16px
}

.alert {
  padding: 14px 16px;
  border-radius: 14px;
  margin: 16px 0;
  font-weight: 800
}

.alert.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0
}

.alert.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca
}

.hidden-field {
  position: absolute !important;
  left: -9999px !important
}

.map {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow)
}

.profile-link {
  display: inline-block !important;
  margin-top: 10px;
  color: var(--green) !important;
  font-weight: 900
}

.gallery {
  align-items: stretch
}

.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden
}

.gallery-item img {
  transition: .2s ease
}

.gallery-item:hover img {
  transform: scale(1.04)
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(3, 7, 18, .88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px
}

.lightbox.open {
  display: flex
}

.lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 86vh;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35)
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #111827;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer
}

.footer p {
  margin-top: 0
}

@media (max-width:900px) {

  .service-detail-grid,
  .industry-detail-grid,
  .team-grid {
    grid-template-columns: 1fr
  }

  .team-grid img {
    height: 260px
  }

  .site-header {
    padding-left: 16px;
    padding-right: 16px
  }
}

@media (max-width:560px) {

  .service-detail,
  .industry-detail {
    padding: 24px
  }

  .hero {
    min-height: 620px
  }

  .page-hero {
    padding: 74px 0
  }

  .map {
    height: 320px
  }
}


/* Sprint 3: updated logo and leadership team cards */
.site-header .brand img {
  width: 260px;
  max-width: 260px;
  height: auto;
  object-fit: contain
}

.team-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%)
}

.leadership-grid {
  grid-template-columns: repeat(3, 1fr)
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(15, 23, 42, .08);
  transition: .2s ease;
  text-align: center
}

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

.team-card img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center;
  display: block
}

.team-card .team-info {
  padding: 24px 20px 26px
}

.team-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.2
}

.team-card h3:after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  background: var(--green);
  margin: 12px auto 10px;
  border-radius: 999px
}

.team-card span {
  display: block;
  color: var(--muted);
  font-weight: 700
}

@media (max-width:900px) {
  .site-header .brand img {
    width: 190px
  }

  .leadership-grid {
    grid-template-columns: 1fr
  }

  .team-card img {
    height: 360px
  }
}

@media (max-width:560px) {
  .site-header .brand img {
    width: 155px
  }

  .team-card img {
    height: 320px
  }
}

/* Sprint 4: fixed leadership team alignment */
.team-section .container {
  max-width: 1180px
}

.team-section .section-head {
  margin-bottom: 30px
}

.team-section .section-head .eyebrow {
  background: transparent;
  padding: 0;
  color: var(--green);
  letter-spacing: .04em;
  font-size: .9rem
}

.team-section .section-head h2 {
  margin-top: 8px;
  margin-bottom: 8px;
  color: #071a44;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05
}

.team-section .section-head p {
  max-width: 620px;
  margin: 0 auto;
  color: #334155;
  line-height: 1.55
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}

.leadership-grid .team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 6px;
  border: 0;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .14);
  text-align: center;
}

.leadership-grid .team-card:hover {
  transform: none;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .14)
}

.leadership-grid .team-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center top;
  display: block;
  flex: 0 0 auto;
}

.leadership-grid .team-card .team-info {
  min-height: 112px;
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
}

.leadership-grid .team-card h3 {
  margin: 0;
  padding: 0;
  color: #071a44;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
}

.leadership-grid .team-card h3:after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  background: var(--green);
  margin: 12px auto 10px;
  border-radius: 999px;
}

.leadership-grid .team-card span {
  display: block;
  color: #334155;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width:1000px) {
  .leadership-grid {
    max-width: 760px;
    grid-template-columns: 1fr;
    gap: 24px
  }

  .leadership-grid .team-card img {
    height: 420px
  }
}

@media (max-width:560px) {
  .leadership-grid .team-card img {
    height: 320px
  }

  .team-section .section-head h2 {
    font-size: 2.1rem
  }
}

/* Sprint 5: Homepage hero redesign */
.home-hero-v2 {
  background: #fff;
  padding: 0 0 26px;
}

.hero-shell-v2 {
  width: min(100% - 32px, 1320px);
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.08fr);
  align-items: stretch;
  min-height: 560px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .10);
}

.hero-copy-v2 {
  background: radial-gradient(circle at 18% 18%, rgba(2, 1, 122, .38), transparent 36%), linear-gradient(135deg, #061633 0%, #001a37 55%, #001022 100%);
  color: #fff;
  padding: 70px 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy-v2 h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.7rem, 4.2vw, 4.95rem);
  line-height: 1.13;
  letter-spacing: -.055em;
  font-weight: 900;
}

.hero-copy-v2 h1 span {
  color: var(--green)
}

.hero-line-v2 {
  width: 84px;
  height: 3px;
  background: var(--green);
  margin: 28px 0 26px;
  border-radius: 999px;
}

.hero-copy-v2 p {
  max-width: 560px;
  margin: 0;
  color: #f1f5f9;
  font-size: 1.12rem;
  line-height: 1.72;
}

.hero-actions-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.hero-actions-v2 .btn {
  min-height: 58px;
  padding: 15px 25px;
  border-radius: 7px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.hero-actions-v2 .btn.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .85);
}

.btn-icon {
  font-size: 1.1rem;
  line-height: 1
}

.hero-proof-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 52px;
}

.proof-item-v2 {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .25);
  padding: 0 16px;
}

.proof-item-v2:last-child {
  border-right: 0
}

.proof-icon-v2 {
  display: block;
  color: var(--green);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
  font-style: normal;
}

.proof-item-v2 strong,
.proof-item-v2 em {
  display: block;
  color: #fff;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
}

.proof-item-v2 em {
  font-weight: 700;
  color: #e7eef8
}

.hero-image-v2 {
  background: #e2e8f0;
  min-height: 560px;
}

.hero-image-v2 img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.results-v2 {
  background: #fff;
  padding: 0 0 72px;
}

.results-heading-v2 {
  text-align: center;
  margin: 0 auto 34px;
}

.results-heading-v2 span {
  display: block;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.results-heading-v2 h2 {
  margin: 0;
  color: #071a46;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.results-heading-v2 div {
  width: 60px;
  height: 3px;
  background: var(--green);
  margin: 18px auto 0;
  border-radius: 999px;
}

.results-grid-v2 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: center;
}

.result-v2 {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  border-right: 1px solid var(--line);
  padding: 0 20px;
}

.result-v2:last-child {
  border-right: 0
}

.result-icon-v2 {
  grid-row: 1 / span 2;
  color: var(--green);
  font-size: 2.7rem;
  line-height: 1;
  font-style: normal;
}

.result-v2 strong {
  color: #071a46;
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.04em;
}

.result-v2 em {
  color: #071a46;
  font-size: .98rem;
  font-style: normal;
  line-height: 1.2;
}

@media (max-width: 1100px) {
  .hero-shell-v2 {
    grid-template-columns: 1fr;
    min-height: 0
  }

  .hero-copy-v2 {
    padding: 56px 36px 42px
  }

  .hero-image-v2,
  .hero-image-v2 img {
    min-height: 420px
  }

  .results-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0
  }

  .result-v2:nth-child(2n) {
    border-right: 0
  }

  .result-v2:last-child {
    grid-column: 1 / -1;
    border-right: 0
  }
}

@media (max-width: 700px) {
  .home-hero-v2 {
    padding-bottom: 12px
  }

  .hero-shell-v2 {
    width: min(100% - 20px, 1320px);
    border-radius: 14px
  }

  .hero-copy-v2 {
    padding: 44px 24px 32px
  }

  .hero-copy-v2 p {
    font-size: 1rem
  }

  .hero-actions-v2 .btn {
    width: 100%;
    justify-content: center
  }

  .hero-proof-v2 {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 34px
  }

  .proof-item-v2 {
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
    padding: 18px 10px
  }

  .proof-item-v2:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .18)
  }

  .hero-image-v2,
  .hero-image-v2 img {
    min-height: 300px
  }

  .results-v2 {
    padding-bottom: 54px
  }

  .results-grid-v2 {
    grid-template-columns: 1fr;
    gap: 0
  }

  .result-v2 {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    justify-content: start;
    padding: 18px 28px
  }

  .result-v2:last-child {
    border-bottom: 0;
    grid-column: auto
  }
}

/* Sprint 6: Homepage services section */
.services-home-v2 {
  position: relative;
  padding: 96px 0 104px;
  background:
    radial-gradient(circle at 92% 8%, rgba(148, 211, 81, .12), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  overflow: hidden;
}

.services-home-v2::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -180px;
  bottom: -180px;
  border: 44px solid rgba(2, 1, 122, .035);
  border-radius: 50%;
}

.services-heading-v2 {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.services-heading-v2>span {
  display: inline-block;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  font-size: .9rem;
  margin-bottom: 10px;
}

.services-heading-v2 h2 {
  margin: 0 0 16px;
  color: #071a46;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.services-heading-v2 p {
  margin: 0 auto;
  max-width: 760px;
  color: #526075;
  font-size: 1.08rem;
  line-height: 1.75;
}

.services-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.service-card-v2 {
  position: relative;
  min-height: 320px;
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .055);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card-v2::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), #b8e47c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.service-card-v2:hover {
  transform: translateY(-8px);
  border-color: rgba(148, 211, 81, .65);
  box-shadow: 0 20px 48px rgba(2, 1, 122, .13);
}

.service-card-v2:hover::after {
  transform: scaleX(1)
}

.service-icon-v2 {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #edf8df, #f8fcef);
  color: #69ad1f;
  margin-bottom: 24px;
}

.service-icon-v2 svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-number-v2 {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #e6ebf2;
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -.08em;
}

.service-card-v2 h3 {
  margin: 0 0 12px;
  color: #071a46;
  font-size: 1.35rem;
  line-height: 1.25;
}

.service-card-v2 p {
  margin: 0 0 24px;
  color: #64748b;
  line-height: 1.65;
}

.service-card-v2 a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: #071a46;
  text-decoration: none;
  font-weight: 900;
}

.service-card-v2 a span {
  color: var(--green);
  font-size: 1.25rem;
  transition: transform .2s ease;
}

.service-card-v2 a:hover span {
  transform: translateX(4px)
}

.services-cta-v2 {
  margin-top: 42px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}

.services-cta-v2 p {
  margin: 0;
  color: #334155;
  font-weight: 800;
}

@media (max-width:980px) {
  .services-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width:640px) {
  .services-home-v2 {
    padding: 72px 0 78px
  }

  .services-grid-v2 {
    grid-template-columns: 1fr
  }

  .service-card-v2 {
    min-height: 0
  }

  .services-cta-v2 {
    flex-direction: column;
    text-align: center
  }

  .services-cta-v2 .btn {
    width: 100%;
    justify-content: center
  }
}


/* Sprint 7: Homepage industries section and verified trust facts */
.result-v2 strong {
  font-size: clamp(1.55rem, 2.6vw, 2.7rem)
}

.industries-home-v2 {
  padding: 100px 0 108px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(148, 211, 81, .16), transparent 25%),
    linear-gradient(135deg, #061633 0%, #071f45 58%, #031124 100%);
  overflow: hidden;
  position: relative;
}

.industries-home-v2::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 58px solid rgba(255, 255, 255, .025);
  border-radius: 50%;
}

.industries-home-v2 .container {
  position: relative;
  z-index: 1
}

.industries-intro-v2 {
  display: grid;
  grid-template-columns: 1.05fr .75fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 44px;
}

.eyebrow-v2 {
  display: block;
  color: var(--green);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.industries-intro-v2 h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}

.industries-intro-v2 p {
  margin: 0;
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.75;
}

.industries-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.industry-card-v2 {
  position: relative;
  min-height: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
  box-shadow: 0 18px 45px rgba(0, 0, 0, .15);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
  overflow: hidden;
}

.industry-card-v2::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.industry-card-v2:hover {
  transform: translateY(-6px);
  border-color: rgba(148, 211, 81, .55);
  background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .055));
}

.industry-card-v2:hover::before {
  transform: scaleX(1)
}

.industry-icon-v2 {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(148, 211, 81, .13);
  border: 1px solid rgba(148, 211, 81, .25);
  margin-bottom: 26px;
}

.industry-icon-v2 svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry-index-v2 {
  position: absolute;
  top: 28px;
  right: 28px;
  color: rgba(255, 255, 255, .34);
  font-weight: 900;
  letter-spacing: .06em;
}

.industry-card-v2 h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.2;
}

.industry-card-v2 p {
  margin: 0 0 24px;
  color: #cbd5e1;
  line-height: 1.65;
}

.industry-card-v2 b {
  margin-top: auto;
  color: var(--green);
  font-size: .92rem;
}

.industries-footer-v2 {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.industries-footer-v2 p {
  margin: 0;
  color: #e2e8f0;
  font-weight: 800;
  font-size: 1.05rem
}

.industries-footer-v2 .btn.dark {
  background: var(--green);
  color: #07112b
}

@media (max-width:900px) {
  .industries-intro-v2 {
    grid-template-columns: 1fr;
    gap: 22px
  }

  .industries-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width:620px) {
  .industries-home-v2 {
    padding: 76px 0 82px
  }

  .industries-grid-v2 {
    grid-template-columns: 1fr
  }

  .industry-card-v2 {
    min-height: 270px
  }

  .industries-footer-v2 {
    align-items: flex-start;
    flex-direction: column
  }

  .industries-footer-v2 .btn {
    width: 100%
  }
}

/* Sprint 8: Engineering portfolio, case studies and generator hire */
.featured-projects-v3 {
  padding: 105px 0;
  background: #f7f9fc
}

.portfolio-intro-v3 {
  display: grid;
  grid-template-columns: 1.05fr .75fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 42px
}

.portfolio-intro-v3 h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  color: var(--navy)
}

.portfolio-intro-v3 p {
  margin: 0;
  color: #526071;
  font-size: 1.06rem;
  line-height: 1.75
}

.featured-project-grid-v3 {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px
}

.portfolio-card-v3 {
  background: #fff;
  border: 1px solid #e5eaf1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(13, 32, 68, .08);
  transition: transform .22s ease, box-shadow .22s ease
}

.portfolio-card-v3:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 58px rgba(13, 32, 68, .14)
}

.portfolio-card-large-v3 {
  grid-row: span 2
}

.portfolio-image-v3 {
  display: block;
  position: relative;
  overflow: hidden;
  background: #dbe3ed;
  aspect-ratio: 16/10
}

.portfolio-card-large-v3 .portfolio-image-v3 {
  aspect-ratio: 5/4
}

.portfolio-image-v3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease
}

.portfolio-card-v3:hover .portfolio-image-v3 img {
  transform: scale(1.035)
}

.portfolio-badge-v3 {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green);
  color: #08152d;
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em
}

.portfolio-content-v3 {
  padding: 26px 28px 29px
}

.portfolio-content-v3>span {
  display: block;
  color: #678;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  margin-bottom: 8px
}

.portfolio-content-v3 h3,
.portfolio-content-v3 h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.2
}

.portfolio-content-v3 p {
  margin: 0 0 20px;
  color: #5d6877;
  line-height: 1.65
}

.portfolio-content-v3 a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: none
}

.portfolio-content-v3 a b {
  color: #75b62e
}

.portfolio-footer-v3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 34px
}

.portfolio-footer-v3 p {
  margin: 0;
  color: #536071;
  font-weight: 700
}

.generator-banner-v3 {
  padding: 88px 0;
  background: #071b3c;
  color: #fff
}

.generator-shell-v3 {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 62px;
  align-items: center
}

.generator-copy-v3 h2 {
  color: #fff;
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -.04em
}

.generator-copy-v3 p {
  color: #cbd6e5;
  line-height: 1.72;
  font-size: 1.06rem;
  max-width: 650px
}

.generator-features-v3 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 24px 0 30px
}

.generator-features-v3 span {
  color: #e9f2df;
  font-weight: 800
}

.generator-image-v3 {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 26px 65px rgba(0, 0, 0, .3)
}

.generator-image-v3 img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block
}

.generator-image-v3 span {
  position: absolute;
  inset: auto 0 0;
  padding: 20px 24px;
  background: linear-gradient(transparent, rgba(3, 12, 29, .9));
  color: #fff;
  font-weight: 900;
  text-align: right
}

.service-card-featured-v3 {
  border-color: rgba(148, 211, 81, .55);
  background: linear-gradient(145deg, #fff, #f5faef)
}

.new-service-badge-v3,
.service-pill-v3 {
  display: inline-flex;
  width: max-content;
  background: var(--green);
  color: #10213c;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900
}

.service-detail-featured-v3 {
  border: 2px solid rgba(148, 211, 81, .55)
}

.service-detail-featured-v3>a {
  font-weight: 900;
  color: var(--navy);
  text-decoration: none
}

.portfolio-page-hero-v3 {
  background: linear-gradient(135deg, #071b3c, #0c2f61)
}

.portfolio-page-v3 {
  padding: 72px 0 110px;
  background: #f7f9fc
}

.project-filters-v3 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px
}

.project-filters-v3 button {
  border: 1px solid #d8e0eb;
  background: #fff;
  color: #33445d;
  border-radius: 999px;
  padding: 11px 17px;
  font: inherit;
  font-weight: 800;
  cursor: pointer
}

.project-filters-v3 button.active,
.project-filters-v3 button:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff
}

.portfolio-grid-v3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px
}

.portfolio-list-card-v3 {
  display: flex;
  flex-direction: column
}

.portfolio-list-card-v3 .portfolio-content-v3 {
  display: flex;
  flex: 1;
  flex-direction: column
}

.portfolio-list-card-v3 .portfolio-content-v3>a {
  margin-top: auto
}

.portfolio-list-card-v3.hidden {
  display: none
}

.project-detail-hero-v3 {
  padding: 74px 0 82px;
  background: linear-gradient(135deg, #061832, #0a2e5d);
  color: #fff
}

.project-detail-grid-v3 {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 62px;
  align-items: center
}

.project-detail-grid-v3 h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  letter-spacing: -.055em;
  line-height: 1;
  margin: 12px 0 20px
}

.project-detail-grid-v3 p {
  color: #cfdae9;
  font-size: 1.08rem;
  line-height: 1.75
}

.project-detail-grid-v3>img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, .32)
}

.back-link-v3 {
  display: block;
  color: #d7e4f3;
  text-decoration: none;
  font-weight: 800;
  margin-bottom: 32px
}

.project-client-v3 {
  margin-top: 30px;
  padding-left: 18px;
  border-left: 4px solid var(--green)
}

.project-client-v3 small {
  display: block;
  color: #9eb0c7;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 800
}

.project-client-v3 strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
  margin-top: 4px
}

.project-summary-v3 {
  background: #fff;
  border-bottom: 1px solid #e7ebf1
}

.project-services-v3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding: 25px 0
}

.project-services-v3>span {
  text-transform: uppercase;
  color: #728096;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em
}

.project-services-v3 b {
  color: #1f3553
}

.project-gallery-v3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px
}

.project-gallery-v3 .gallery-item {
  aspect-ratio: 4/3
}

.compare-v3 {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(13, 32, 68, .17);
  background: #dbe2eb
}

.compare-v3>img,
.compare-after-v3 img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.compare-after-v3 {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden
}

.compare-after-v3 img {
  width: 1000px;
  max-width: none
}

.compare-v3 input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3
}

.compare-v3 i {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .2);
  transform: translateX(-50%);
  pointer-events: none
}

.compare-v3 i:after {
  content: '↔';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #07152f;
  font-style: normal;
  font-weight: 900;
  font-size: 1.3rem
}

.compare-label {
  position: absolute;
  top: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(4, 15, 36, .78);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  z-index: 2
}

.compare-label.before {
  left: 18px
}

.compare-label.after {
  right: 18px
}

@media(max-width:900px) {

  .portfolio-intro-v3,
  .generator-shell-v3,
  .project-detail-grid-v3 {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .featured-project-grid-v3 {
    grid-template-columns: 1fr 1fr
  }

  .portfolio-card-large-v3 {
    grid-row: auto;
    grid-column: 1/-1
  }

  .portfolio-card-large-v3 .portfolio-image-v3 {
    aspect-ratio: 16/9
  }

  .portfolio-grid-v3 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .project-gallery-v3 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:620px) {

  .featured-projects-v3,
  .generator-banner-v3 {
    padding: 76px 0
  }

  .featured-project-grid-v3,
  .portfolio-grid-v3,
  .project-gallery-v3 {
    grid-template-columns: 1fr
  }

  .portfolio-footer-v3 {
    align-items: flex-start;
    flex-direction: column
  }

  .portfolio-footer-v3 .btn {
    width: 100%
  }

  .generator-features-v3 {
    flex-direction: column
  }

  .project-detail-hero-v3 {
    padding-top: 48px
  }

  .project-services-v3 {
    align-items: flex-start;
    flex-direction: column
  }

  .compare-v3 {
    aspect-ratio: 4/3
  }

  .compare-after-v3 img {
    width: calc(100vw - 40px)
  }
}


/* Sprint 9: Why Joli and delivery process */
.why-joli-v4 {
  padding: 105px 0;
  background: #fff
}

.why-joli-shell-v4 {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 72px;
  align-items: start
}

.why-joli-copy-v4 {
  position: sticky;
  top: 120px
}

.why-joli-copy-v4 h2 {
  margin: 12px 0 20px;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.5vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -.045em
}

.why-joli-copy-v4 p {
  margin: 0 0 28px;
  color: #586779;
  line-height: 1.75;
  font-size: 1.04rem;
  max-width: 610px
}

.why-joli-grid-v4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px
}

.why-joli-grid-v4 article {
  position: relative;
  min-height: 260px;
  padding: 34px 30px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f7f9fc);
  box-shadow: 0 16px 45px rgba(13, 32, 68, .07);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease
}

.why-joli-grid-v4 article:hover {
  transform: translateY(-5px);
  box-shadow: 0 23px 55px rgba(13, 32, 68, .12);
  border-color: rgba(148, 211, 81, .65)
}

.why-joli-grid-v4 article::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(148, 211, 81, .1)
}

.why-joli-grid-v4 article>span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--green);
  color: #0b1c39;
  font-weight: 950;
  margin-bottom: 38px
}

.why-joli-grid-v4 h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.28rem
}

.why-joli-grid-v4 p {
  margin: 0;
  color: #617083;
  line-height: 1.65
}

.process-v4 {
  padding: 105px 0;
  background: #071b3c;
  color: #fff
}

.process-heading-v4 {
  display: grid;
  grid-template-columns: 1.05fr .75fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 52px
}

.process-heading-v4 h2 {
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(2.15rem, 4.5vw, 3.85rem);
  line-height: 1.06;
  letter-spacing: -.045em
}

.process-heading-v4 p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.75;
  font-size: 1.03rem
}

.process-grid-v4 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: process
}

.process-grid-v4 li {
  position: relative;
  display: flex;
  gap: 18px;
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
  overflow: hidden
}

.process-grid-v4 li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--green);
  transform: scaleX(.18);
  transform-origin: left;
  transition: transform .22s ease
}

.process-grid-v4 li:hover::before {
  transform: scaleX(1)
}

.process-grid-v4 li>span {
  flex: 0 0 auto;
  color: var(--green);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .1em;
  padding-top: 4px
}

.process-grid-v4 h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.22rem
}

.process-grid-v4 p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.65
}

@media(max-width:900px) {

  .why-joli-shell-v4,
  .process-heading-v4 {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .why-joli-copy-v4 {
    position: static
  }

  .process-grid-v4 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:620px) {

  .why-joli-v4,
  .process-v4 {
    padding: 76px 0
  }

  .why-joli-grid-v4,
  .process-grid-v4 {
    grid-template-columns: 1fr
  }

  .why-joli-grid-v4 article,
  .process-grid-v4 li {
    min-height: 0
  }
}

/* Sprint 10: Homepage contact CTA and modern footer */
.contact-cta-v5 {
  padding: 106px 0;
  background: #f5f8fc
}

.contact-cta-shell-v5 {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 58px;
  align-items: center;
  padding: 58px;
  border-radius: 30px;
  background: linear-gradient(135deg, #071b3c 0%, #0b2d5b 68%, #123b68 100%);
  box-shadow: 0 30px 80px rgba(7, 27, 60, .2);
  overflow: hidden
}

.contact-cta-shell-v5::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  right: -150px;
  top: -190px;
  background: rgba(148, 211, 81, .16)
}

.contact-cta-shell-v5::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  left: -120px;
  bottom: -150px
}

.contact-cta-copy-v5,
.contact-cta-panel-v5 {
  position: relative;
  z-index: 1
}

.contact-cta-copy-v5 h2 {
  margin: 11px 0 18px;
  color: #fff;
  font-size: clamp(2.2rem, 4.3vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.048em
}

.contact-cta-copy-v5>p {
  max-width: 690px;
  margin: 0;
  color: #cbd6e5;
  line-height: 1.75;
  font-size: 1.04rem
}

.contact-cta-actions-v5 {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 31px
}

.contact-cta-phone-v5 {
  display: grid;
  grid-template-columns: 42px auto;
  column-gap: 12px;
  color: #fff;
  text-decoration: none;
  align-items: center
}

.contact-cta-phone-v5>span {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: var(--green)
}

.contact-cta-phone-v5 small {
  color: #9fb0c6;
  font-weight: 700
}

.contact-cta-phone-v5 strong {
  font-size: 1.05rem
}

.contact-cta-panel-v5 {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .075);
  backdrop-filter: blur(7px)
}

.contact-cta-label-v5 {
  display: block;
  margin-bottom: 19px;
  color: var(--green);
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase
}

.contact-cta-panel-v5 ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px
}

.contact-cta-panel-v5 li {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .11)
}

.contact-cta-panel-v5 li:first-child {
  padding-top: 0
}

.contact-cta-panel-v5 li:last-child {
  border-bottom: 0
}

.contact-cta-panel-v5 li>span {
  flex: 0 0 auto;
  color: var(--green);
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .1em;
  padding-top: 3px
}

.contact-cta-panel-v5 strong,
.contact-cta-panel-v5 small {
  display: block
}

.contact-cta-panel-v5 strong {
  color: #fff;
  margin-bottom: 4px
}

.contact-cta-panel-v5 small {
  color: #bac8d9;
  line-height: 1.5
}

.contact-cta-panel-v5>a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 900
}

.contact-cta-panel-v5>a span {
  color: var(--green)
}

.footer-v5 {
  background: #061630;
  color: #cbd5e1
}

.footer-main-v5 {
  display: grid;
  grid-template-columns: 1.45fr .9fr .8fr 1.15fr;
  gap: 48px;
  padding-top: 78px;
  padding-bottom: 58px
}

.footer-logo-v5 {
  display: block;
  width: 190px;
  height: auto;
  padding: 9px 12px;
  border-radius: 15px;
  background: #fff;
  margin-bottom: 20px
}

.footer-brand-v5>p {
  max-width: 430px;
  margin: 0 0 22px;
  color: #aebdd0;
  line-height: 1.7
}

.footer-profile-v5 {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--green) !important;
  font-weight: 900;
  text-decoration: none
}

.footer-v5 h3 {
  position: relative;
  margin: 8px 0 24px;
  color: #fff;
  font-size: 1rem
}

.footer-v5 h3::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-top: 10px;
  border-radius: 99px;
  background: var(--green)
}

.footer-column-v5 a {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 10px 0;
  color: #b7c5d6;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease
}

.footer-column-v5 a:hover {
  color: #fff;
  transform: translateX(4px)
}

.footer-contact-item-v5 {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin: 0 0 16px
}

.footer-contact-item-v5>span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(148, 211, 81, .12);
  color: var(--green)
}

.footer-contact-item-v5 p {
  margin: 2px 0 0;
  color: #b7c5d6;
  line-height: 1.6
}

.footer-contact-item-v5 a {
  color: #dce6f1;
  text-decoration: none;
  font-weight: 750
}

.footer-contact-item-v5 a:hover {
  color: var(--green)
}

.footer-quote-v5 {
  display: inline-flex !important;
  align-items: center;
  gap: 14px;
  margin-top: 11px;
  padding: 12px 17px;
  border: 1px solid rgba(148, 211, 81, .48);
  border-radius: 12px;
  color: #fff !important;
  text-decoration: none;
  font-weight: 900
}

.footer-quote-v5 span {
  color: var(--green)
}

.footer-strip-v5 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.footer-strip-v5 p {
  margin: 0;
  color: #8295ac;
  font-size: .9rem
}

.footer-strip-v5 a {
  color: #dce6f1;
  text-decoration: none;
  font-weight: 850;
  white-space: nowrap
}

.footer-strip-v5 a span {
  color: var(--green)
}

.footer-legal-v5 {
  padding: 19px 0;
  background: #040f22;
  color: #7588a0;
  font-size: .88rem;
  text-align: center
}

@media(max-width:980px) {
  .contact-cta-shell-v5 {
    grid-template-columns: 1fr;
    padding: 48px
  }

  .footer-main-v5 {
    grid-template-columns: 1.35fr 1fr 1fr
  }

  .footer-contact-v5 {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px
  }

  .footer-contact-v5 h3,
  .footer-contact-v5 .footer-quote-v5 {
    grid-column: 1/-1
  }
}

@media(max-width:700px) {
  .contact-cta-v5 {
    padding: 76px 0
  }

  .contact-cta-shell-v5 {
    padding: 34px 24px;
    border-radius: 22px
  }

  .contact-cta-actions-v5 {
    align-items: flex-start;
    flex-direction: column
  }

  .contact-cta-actions-v5 .btn {
    width: 100%
  }

  .contact-cta-panel-v5 {
    padding: 24px 20px
  }

  .footer-main-v5 {
    grid-template-columns: 1fr 1fr;
    gap: 38px 28px;
    padding-top: 62px
  }

  .footer-brand-v5,
  .footer-contact-v5 {
    grid-column: 1/-1
  }

  .footer-contact-v5 {
    display: block
  }

  .footer-strip-v5 {
    align-items: flex-start;
    flex-direction: column
  }

  .footer-strip-v5 a {
    align-self: flex-start
  }
}

@media(max-width:460px) {
  .footer-main-v5 {
    grid-template-columns: 1fr
  }

  .footer-column-v5 {
    grid-column: 1/-1
  }

  .contact-cta-phone-v5 {
    width: 100%
  }
}

/* Version 2.1 SEO, accessibility and header polish */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px
}

.form label {
  font-weight: 800;
  color: #0f172a;
  margin-bottom: -8px
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(2, 1, 122, .1);
  outline: 0
}

.site-header {
  min-height: 74px
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto
}

.brand img {
  object-fit: contain
}

@media(max-width:900px) {
  .site-header {
    min-height: 66px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *:before,
  *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important
  }
}

/* Version 2.2 quality and accessibility fixes */
body.lightbox-open {
  overflow: hidden
}

.main-nav a:focus-visible,
.btn:focus-visible,
.nav-cta:focus-visible,
.menu-toggle:focus-visible,
.gallery-item:focus-visible,
.project-filters-v3 button:focus-visible {
  outline: 3px solid #94d351;
  outline-offset: 3px
}

.form input:invalid:not(:placeholder-shown),
.form textarea:invalid:not(:placeholder-shown),
.form select:invalid:not(:focus) {
  border-color: #b91c1c
}

.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important
}

.lightbox[aria-hidden="true"] {
  visibility: hidden
}

.lightbox.open {
  visibility: visible
}