:root {
  --navy: #102349;
  --navy-2: #1d3564;
  --ink: #172033;
  --muted: #667085;
  --line: #dce4ec;
  --aqua: #79c7d8;
  --green: #587d59;
  --stone: #f4f0e9;
  --paper: #fbfaf7;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 35, 73, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Montserrat', -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 60px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 10px 32px rgba(16, 35, 73, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: clamp(100px, 10vw, 150px);
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 180ms ease, width 180ms ease;
}

.brand-byline {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  align-self: center;
  transition: color 180ms ease;
}

.site-header.is-scrolled .brand-byline,
.site-header.is-open .brand-byline {
  color: var(--ink);
}


.site-header.is-scrolled .brand-logo,
.site-header.is-open .brand-logo {
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(121, 199, 216, 0.34), transparent 28%),
    radial-gradient(circle at 18% 76%, rgba(88, 125, 89, 0.22), transparent 30%),
    linear-gradient(135deg, #07142f 0%, #102349 48%, #1d4f77 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 44%);
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 20, 47, 0.74), rgba(16, 35, 73, 0.28) 58%, rgba(121, 199, 216, 0.12)),
    linear-gradient(0deg, rgba(7, 20, 47, 0.3), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  padding: clamp(140px, 18vh, 200px) 0 clamp(46px, 5vh, 70px);
  margin-left: clamp(20px, 7vw, 110px);
}

.hero .eyebrow {
  margin-top: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-copy .eyebrow {
  color: var(--muted);
  font-size: 0.88rem;
}

.section-heading .eyebrow,
.contact-content .eyebrow {
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero h1,
.section h2,
.contact-section h2 {
  margin: 0;
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(3.2rem, 8.5vw, 7rem);
}

.hero-the {
  display: block;
  font-size: 0.4em;
  font-weight: 400;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin-bottom: 2px;
}

.hero-copy {
  max-width: 560px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.92rem, 1.3vw, 1.08rem);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.button.primary {
  color: var(--navy);
  background: var(--aqua);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-icon {
  flex-shrink: 0;
  margin-right: 8px;
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.metrics-band div {
  min-height: 142px;
  padding: clamp(22px, 3vw, 36px);
  background: var(--white);
}

.metrics-band strong {
  display: block;
  color: var(--navy);
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1;
}

.metrics-band span {
  display: block;
  max-width: 320px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: clamp(70px, 8vw, 120px) clamp(20px, 5vw, 80px);
}

.split-section,
.plan-section,
.location-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.contact-section h2 {
  max-width: 780px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
}

.section-copy p,
.section-heading p,
.contact-content p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.04rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.feature-grid span {
  min-height: 64px;
  padding: 18px;
  border-left: 4px solid var(--aqua);
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 35, 73, 0.08);
  font-weight: 800;
}

.media-panel,
.plan-image,
.location-map {
  margin: 0;
}

.media-panel img,
.plan-image img,
.location-map img,
.wide-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.plan-image img {
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 11;
  border-radius: 6px;
}

.location-map img {
  height: auto;
  object-fit: contain;
}

.media-panel img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.image-led {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(70px, 8vw, 110px) clamp(20px, 5vw, 80px);
  background: var(--stone);
  overflow: hidden;
}

.wide-image img {
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.compact {
  max-width: 640px;
}

.portfolio-section {
  position: relative;
  padding-block: clamp(28px, 2.5vw, 44px);
  background: var(--navy);
}

.portfolio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/site/portfolio-bg.png') center / cover no-repeat;
  opacity: 0.06;
}

.portfolio-section .section-heading,
.portfolio-section .project-grid,
.portfolio-section .pipeline-label {
  position: relative;
  z-index: 1;
}

.portfolio-section .section-heading h2,
.portfolio-section .project-card h3 {
  color: var(--white);
}

.portfolio-section .section-heading p {
  color: var(--aqua);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.pipeline-label {
  grid-column: 1 / -1;
  margin-top: 24px;
  margin-bottom: 0;
}

.project-card {
  min-height: 320px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
}

.project-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  color: var(--muted);
}

.project-card.featured img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-card.featured > div {
  padding: 26px;
}

.project-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.18;
}

.project-card.featured h3 {
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.project-card p {
  margin: 0 0 22px;
}

.status {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--aqua);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dl div {
  display: grid;
  gap: 2px;
}

dt {
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: 0.72;
}

dd {
  margin: 0;
  color: inherit;
  font-weight: 700;
}

.project-card.featured dd,
.project-card.featured h3 {
  color: var(--navy);
}

.plan-section {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  align-items: center;
  background: var(--white);
}

.market-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.market-list li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
}

/* Developer / Cross Regions section */

.developer-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  background: var(--white);
}

.developer-intro {
  max-width: 560px;
}

.developer-logo {
  width: clamp(140px, 16vw, 200px);
  height: auto;
  margin-bottom: 24px;
}

.developer-intro .eyebrow {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.by-lowercase {
  text-transform: lowercase;
}

.developer-intro h2 {
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}

.developer-intro p {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 520px;
}

.developer-intro .button.primary {
  margin-top: 10px;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 3vw, 40px) 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--stone);
  box-shadow: 0 8px 24px rgba(16, 35, 73, 0.06);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  box-shadow: 0 12px 32px rgba(16, 35, 73, 0.12);
  border-color: var(--aqua);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(16, 35, 73, 0.06);
}

.service-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 150ms ease;
}

.service-link:hover {
  color: var(--aqua);
}

.contact-section {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.contact-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.42;
}

.contact-section::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(16, 35, 73, 0.92), rgba(16, 35, 73, 0.5));
}

.contact-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  padding: clamp(80px, 11vw, 140px) 0;
  margin-left: clamp(20px, 7vw, 110px);
}

.contact-section h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.2vw, 3rem);
}

.contact-content p {
  color: var(--white);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 4vw, 60px);
  color: rgba(255, 255, 255, 0.72);
  background: #0a1730;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--aqua);
  font-weight: 800;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 250ms ease, visibility 250ms ease;
}

.video-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.video-modal-content {
  position: relative;
  width: min(92vw, 960px);
  transform: scale(0.92);
  transition: transform 250ms ease;
}

.video-modal.is-active .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 150ms ease;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.video-modal-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-modal-fallback {
  display: inline-flex;
  margin-top: 14px;
  color: var(--aqua);
  font-weight: 800;
}

@media (max-width: 1020px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .plan-section,
  .location-section,
  .image-led,
  .developer-section {
    grid-template-columns: 1fr;
  }

  .plan-image {
    order: 2;
  }

  .developer-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .brand-logo {
    width: clamp(90px, 24vw, 120px);
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: min(100% - 32px, 620px);
    padding-top: 150px;
    margin-inline: 16px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 17vw, 5.8rem);
  }

  .metrics-band {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .project-grid,
  .developer-services {
    grid-template-columns: 1fr;
  }

  .project-card.featured {
    grid-column: auto;
  }

  .section {
    padding-block: 64px;
  }

  .contact-content {
    width: min(100% - 32px, 640px);
    margin-inline: 16px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    width: 85px;
  }

  .button {
    width: 100%;
  }

  .project-card {
    padding: 20px;
  }
}
