:root {
  --navy: #0a192f;
  --navy-light: #112240;
  --navy-mid: #1e293b;
  --grey-lightest: #f8fafc;
  --grey-light: #e2e8f0;
  --grey-mid: #94a3b8;
  --grey-dark: #475569;
  --text-dark: #0f172a;
  --accent-blue: #3b82f6;
  --white: #ffffff;
  --shadow-soft: 0 20px 60px rgba(10, 25, 47, 0.08);
  --shadow-deep: 0 20px 50px rgba(10, 25, 47, 0.14);
  --radius: 4px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--grey-lightest);
  color: var(--text-dark);
  line-height: 1.55;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-dark);
}
.eyebrow.soft { color: var(--grey-mid); }
.eyebrow.soft-blue { color: var(--grey-mid); }

h1, h2, h3, h4 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 1.02;
  color: var(--navy);
}
h1 span { color: var(--accent-blue); }
h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.08;
  color: var(--navy);
}
h3 {
  font-size: 1.2rem;
  line-height: 1.2;
}

p { margin: 0; }
.line-accent {
  width: 48px;
  height: 2px;
  background: var(--accent-blue);
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  font-weight: 600;
  transition: .28s ease;
  border: 1px solid transparent;
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-light); }
.btn-light {
  border-color: var(--grey-light);
  color: var(--navy);
  background: transparent;
}
.btn-light:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.site-header { position: relative; z-index: 30; }
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(10,25,47,.46), rgba(10,25,47,.12));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: .28s ease;
}
.navbar.scrolled {
  background: linear-gradient(180deg, rgba(3,8,18,.96) 0%, rgba(7,15,30,.90) 100%);
  border-bottom-color: rgba(148,163,184,.16);
  box-shadow: 0 18px 42px rgba(0,0,0,.34), 0 2px 0 rgba(255,255,255,.04) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
.logo {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links > a:not(.nav-btn) {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.82);
  font-weight: 600;
}
.nav-links > a:not(.nav-btn):hover,
.logo:hover { color: var(--white); }
.nav-btn { padding-inline: 24px; border-radius: 14px; }
.navbar.scrolled .logo {
  color: var(--white);
  text-shadow: 0 8px 22px rgba(0,0,0,.28);
}
.navbar.scrolled .nav-links > a:not(.nav-btn) {
  color: rgba(255,255,255,.88);
  text-shadow: 0 4px 16px rgba(0,0,0,.22);
}
.navbar.scrolled .nav-links > a:not(.nav-btn):hover,
.navbar.scrolled .logo:hover { color: #8ec5ff; }
.navbar.scrolled .brand-logo {
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.42)) brightness(1.08) contrast(1.08);
}
.navbar.scrolled .nav-btn {
  background: linear-gradient(135deg, rgba(138,182,255,.98) 0%, rgba(79,135,255,.98) 48%, rgba(37,99,235,.96) 100%);
  color: var(--white);
  border-color: rgba(219,234,254,.88);
  box-shadow: 0 6px 16px rgba(15,23,42,.24), 0 1px 0 rgba(255,255,255,.30) inset, 0 0 0 1px rgba(191,219,254,.18);
  text-shadow: 0 1px 2px rgba(15,23,42,.24);
}
.navbar.scrolled .nav-btn:hover {
  background: linear-gradient(135deg, rgba(180,209,255,1) 0%, rgba(96,165,250,1) 45%, rgba(37,99,235,.98) 100%);
  color: var(--white);
  border-color: rgba(239,246,255,.98);
  box-shadow: 0 10px 22px rgba(30,64,175,.26), 0 1px 0 rgba(255,255,255,.34) inset, 0 0 0 1px rgba(219,234,254,.24);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  position: relative;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--white);
  margin: 4px auto;
  transition: transform .22s ease, opacity .22s ease, background .22s ease, width .22s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.navbar.scrolled .mobile-toggle span { background: rgba(255,255,255,.98); }
.navbar.scrolled .mobile-toggle {
  background: linear-gradient(180deg, rgba(15,23,42,.98), rgba(2,8,23,.96));
  border-color: rgba(96,165,250,.34);
  box-shadow: 0 16px 34px rgba(2,6,23,.45), 0 1px 0 rgba(255,255,255,.08) inset;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-toggle.active {
  background: linear-gradient(180deg, rgba(59,130,246,.98), rgba(37,99,235,.92));
  border-color: rgba(191,219,254,.88);
  box-shadow: 0 18px 36px rgba(37,99,235,.30);
}
.mobile-menu {
  display: none;
  background: rgba(2,6,23,.30);
  border-top: 1px solid rgba(148,163,184,.16);
  padding: 10px 24px 24px;
  box-shadow: 0 18px 40px rgba(2,6,23,.22);
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.94);
  font-size: 13px;
  font-weight: 700;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15,23,42,.96), rgba(30,41,59,.92));
  border: 1px solid rgba(96,165,250,.16);
  box-shadow: 0 16px 30px rgba(2,6,23,.28);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, color .28s ease, background .28s ease;
}
.mobile-menu a::after {
  content: '↗';
  font-size: 14px;
  line-height: 1;
  color: rgba(59,130,246,.88);
  transition: transform .28s ease, color .28s ease;
}
.mobile-menu a:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(2,6,23,.34);
  border-color: rgba(147,197,253,.95);
  color: var(--white);
  background: linear-gradient(180deg, rgba(30,41,59,.98), rgba(37,99,235,.88));
}
.mobile-menu a:hover::after {
  transform: translate(2px, -2px);
  color: rgba(37,99,235,1);
}
.mobile-btn {
  width: 100%;
  margin-top: 18px;
  margin-bottom: 0;
}
.mobile-menu.open { display: block; }

.mobile-menu-panel {
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 24px 22px 26px;
  border: 1px solid rgba(96,165,250,.18);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(2,8,23,.98), rgba(15,23,42,.96));
  box-shadow: 0 28px 64px rgba(2,6,23,.42);
}
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(148,163,184,.18);
}
.mobile-menu-label,
.mobile-menu-brand {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 700;
}
.mobile-menu-label { color: rgba(148,163,184,.88); }
.mobile-menu-brand { color: rgba(255,255,255,.96); }
.mobile-menu .mobile-btn {
  justify-content: center;
  background: linear-gradient(180deg, rgba(96,165,250,.98), rgba(37,99,235,.94));
  color: var(--white);
  border-color: rgba(191,219,254,.82);
  box-shadow: 0 18px 36px rgba(37,99,235,.28);
}
.mobile-menu .mobile-btn::after {
  content: '→';
  color: rgba(255,255,255,.9);
}
.mobile-menu .mobile-btn:hover {
  background: linear-gradient(180deg, rgba(59,130,246,.98), rgba(37,99,235,.92));
  color: var(--white);
  border-color: rgba(147,197,253,.95);
}
.mobile-menu .mobile-btn:hover::after {
  color: var(--white);
}
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10,25,47,.96), rgba(17,34,64,.88));
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 45px rgba(10,25,47,.24);
  cursor: pointer;
  z-index: 65;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease, background .28s ease;
}
.back-to-top:hover {
  background: linear-gradient(180deg, rgba(59,130,246,.96), rgba(37,99,235,.9));
  transform: translateY(-2px);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top span {
  font-size: 20px;
  line-height: 1;
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
  padding: 112px 0 72px;
}
.hero-shell {
  width: min(1360px, calc(100% - 48px));
}
.hero-stage {
  position: relative;
  min-height: calc(100svh - 146px);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(10,25,47,.20);
  isolation: isolate;
  background: var(--navy);
}
.hero-stage-media,
.project-large img,
.project-card img,
.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
}
.hero-stage-media {
  position: absolute;
  inset: 0;
  object-position: center center;
}
.hero-stage:hover .hero-stage-media,
.project-large:hover img,
.project-card:hover img,
.about-image-frame:hover img { transform: scale(1.06); }
.hero-stage-overlay,
.project-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,18,34,.88) 0%, rgba(7,18,34,.72) 36%, rgba(7,18,34,.30) 62%, rgba(7,18,34,.52) 100%),
    linear-gradient(to top, rgba(7,18,34,.72), rgba(7,18,34,.08) 38%, rgba(7,18,34,.30) 100%);
}
.hero-stage-glow {
  position: absolute;
  inset: auto -12% -22% auto;
  width: 44vw;
  height: 44vw;
  max-width: 640px;
  max-height: 640px;
  background: radial-gradient(circle, rgba(59,130,246,.28), rgba(59,130,246,0) 62%);
  pointer-events: auto;
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 146px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .62fr);
  align-items: center;
  gap: 48px;
  padding: clamp(32px, 4vw, 58px);
}
.hero-copy {
  max-width: 720px;
}
.hero-eyebrow { color: rgba(255,255,255,.72); }
.hero-copy h1 { color: var(--white); text-wrap: balance; }
.hero-copy h1 span { color: #7db6ff; }
.hero-text {
  font-size: 1.08rem;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin-top: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}
.hero .btn-dark {
  background: var(--white);
  color: var(--navy);
}
.hero .btn-dark:hover {
  background: #dbeafe;
  color: var(--navy);
}
.hero-btn-light {
  border-color: rgba(255,255,255,.26);
  color: var(--white);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
}
.hero-btn-light:hover {
  background: rgba(255,255,255,.18);
  color: var(--white);
  border-color: rgba(255,255,255,.34);
}
.hero-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  justify-self: end;
}
.hero-video-badge {
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  color: rgba(255,255,255,.84);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  border-radius: 999px;
}
.play-button {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  border: 2px solid rgba(255,255,255,.32);
  display: grid;
  place-items: center;
  animation: pulseGlow 2s ease-in-out infinite;
  box-shadow: 0 18px 55px rgba(10,25,47,.24);
}
.triangle {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid white;
  margin-left: 4px;
}
.hero-bottom-bar {
  position: absolute;
  left: clamp(24px, 4vw, 38px);
  right: clamp(24px, 4vw, 38px);
  bottom: clamp(20px, 3vw, 34px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hero-metric {
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border-radius: 20px;
}
.hero-metric strong {
  display: block;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 1.04rem;
  letter-spacing: -.03em;
}
.hero-metric span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.68);
  font-size: .92rem;
}


.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  z-index: 9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 176px;
  min-height: 58px;
  padding: 0 24px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(34,58,107,.98), rgba(15,30,58,.96));
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(10,25,47,.20);
  transition: background .24s ease, border-color .24s ease, box-shadow .24s ease, color .24s ease;
}
.scroll-indicator:hover {
  background: linear-gradient(180deg, rgba(45,74,134,.98), rgba(18,36,69,.98));
  border-color: rgba(147,197,253,.30);
  box-shadow: 0 22px 52px rgba(10,25,47,.24);
}
.scroll-indicator-text {
  display: inline-block;
}
.scroll-indicator-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: 13px;
  line-height: 1;
}

.section { padding: 110px 0; }
.section-white { background: var(--white); }
.section-soft { background: var(--grey-lightest); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 16px;
}
.section-head-stacked { justify-content: flex-start; }
.section-side {
  max-width: 360px;
  color: var(--grey-dark);
  font-size: 1.04rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
}
.service-card {
  border: 1px solid var(--grey-light);
  padding: 36px;
  min-height: 250px;
  transition: .34s cubic-bezier(.25,.46,.45,.94);
}
.service-card:hover {
  background: var(--navy);
  color: var(--white);
}
.service-card:hover p,
.service-card:hover .service-number { color: var(--grey-mid); }
.service-card:hover .service-icon { filter: saturate(1.3); }
.service-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--grey-mid);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 12px;
  font-weight: 600;
}
.service-icon {
  font-size: 34px;
  margin-bottom: 18px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--grey-dark); font-size: .96rem; }

.about-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 64px;
  align-items: start;
}
.about-image-frame {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.about-media { position: relative; }
.about-deco {
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 96px;
  height: 96px;
  border: 2px solid var(--accent-blue);
}
.about-text {
  display: grid;
  gap: 18px;
  margin: 34px 0;
  color: var(--grey-dark);
}
.about-values {
  gap: 22px;
}
.value-card {
  position: relative;
  padding: 28px 30px 30px;
  border: 1px solid rgba(16, 32, 66, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(246,249,253,0.92) 100%),
    linear-gradient(135deg, rgba(36, 92, 170, 0.08), rgba(16, 32, 66, 0.02));
  box-shadow: 0 18px 44px rgba(7, 15, 37, 0.08);
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-blue), rgba(16, 32, 66, 0.28));
}
.value-card-alt::before {
  background: linear-gradient(180deg, rgba(16, 32, 66, 0.88), rgba(53, 98, 174, 0.4));
}
.value-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.value-card-head h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  letter-spacing: -0.03em;
}
.value-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(36, 92, 170, 0.08);
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
}
.value-divider {
  width: 100%;
  height: 1px;
  margin: 18px 0 16px;
  background: linear-gradient(90deg, rgba(36, 92, 170, 0.22), rgba(16, 32, 66, 0.08), transparent);
}
.value-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--grey-dark);
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
}
.highlight-item {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-dark);
}
.placeholder {
  border: 1px dashed var(--grey-mid);
  background: var(--grey-light);
  color: var(--grey-mid);
  display: grid;
  place-items: center;
  text-align: center;
}
.wide-placeholder {
  margin-top: 40px;
  min-height: 210px;
  gap: 8px;
  padding: 24px;
}
.wide-placeholder strong,
.map-placeholder strong { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.wide-placeholder span,
.horizontal-placeholder span { font-size: 11px; }

.stats-section {
  background: var(--navy);
  color: var(--white);
}
.stats-section h2 { color: var(--white); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}
.stat-line {
  width: 34px;
  height: 1px;
  background: var(--accent-blue);
  margin: 18px 0;
}
.stat p {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--grey-mid);
  font-weight: 600;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  margin-top: 48px;
}
.project-large,
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  min-height: 420px;
  cursor: pointer;
}
.project-card { min-height: 255px; }
.projects-side { display: grid; gap: 20px; }
.projects-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.square-placeholder {
  aspect-ratio: 1/1;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  padding: 20px;
}
.project-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
}
.project-content p {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 11px;
  color: rgba(255,255,255,.66);
  margin-bottom: 8px;
}
.project-content h3 {
  color: white;
  font-size: 1.7rem;
  margin-bottom: 4px;
}
.project-content span,
.project-content.small h3 { color: rgba(255,255,255,.76); }
.project-content.small h3 { font-size: 1.3rem; }
.bottom-placeholders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.horizontal-placeholder {
  aspect-ratio: 16/10;
  padding: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
}

.external-image-slot {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.external-image-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,23,45,0) 40%, rgba(7,23,45,.36) 100%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.external-image-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  place-items: center;
}
.external-image-slot.has-external-image {
  border-style: solid;
  border-color: rgba(10,25,47,.08);
  background-color: #091223;
  box-shadow: 0 18px 45px rgba(10,25,47,.12);
}
.external-image-slot.has-external-image::before {
  opacity: 1;
}
.external-image-slot.has-external-image .external-image-copy {
  opacity: 0;
}
.external-image-slot.has-external-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(10,25,47,.18);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.testimonial {
  border-top: 2px solid var(--grey-light);
  padding-top: 28px;
  transition: border-color .28s ease;
}
.testimonial:hover { border-top-color: var(--accent-blue); }
.quote-mark {
  color: var(--accent-blue);
  font-size: 40px;
  line-height: 1;
  margin-bottom: 14px;
}
.testimonial p {
  font-size: 1.04rem;
  color: var(--text-dark);
  font-style: italic;
  min-height: 154px;
}
.testimonial-author { margin-top: 24px; display: grid; gap: 3px; }
.testimonial-author strong { font-size: 15px; }
.testimonial-author span { color: var(--grey-mid); font-size: 12px; }

.contact-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 56px;
  margin-top: 48px;
  align-items: stretch;
}
.contact-info {
  display: grid;
  gap: 26px;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  height: 100%;
}
.contact-form-wrap {
  display: flex;
  min-height: 100%;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--navy);
  color: white;
  border-radius: 4px;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item p {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 11px;
  color: var(--grey-mid);
  margin-bottom: 4px;
  font-weight: 700;
}
.contact-item strong { display: block; font-size: 15px; color: var(--navy); }
.contact-item span { display: block; margin-top: 3px; color: var(--grey-mid); font-size: 12px; }
.map-placeholder {
  min-height: 260px;
  height: 100%;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(10,25,47,.08);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
  flex: 1;
}
.map-address {
  display: grid;
  gap: 4px;
  padding: 18px 20px 20px;
  background: linear-gradient(180deg, rgba(245,247,250,.2), rgba(245,247,250,.9));
}
.map-address strong {
  color: var(--navy);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.map-address span {
  color: var(--grey-mid);
  font-size: 12px;
  letter-spacing: .04em;
}
.contact-form {
  display: grid;
  gap: 22px;
  width: 100%;
  height: 100%;
  align-content: start;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.contact-form label { display: grid; gap: 10px; }
.contact-form label span {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 11px;
  color: var(--grey-mid);
  font-weight: 700;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--grey-light);
  background: var(--grey-lightest);
  border-radius: 4px;
  color: var(--text-dark);
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input { min-height: 48px; }
.contact-form textarea {
  resize: none;
  min-height: 180px;
  max-height: 180px;
  height: 180px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10,25,47,.08);
}
.submit-btn { width: fit-content; }
.form-message {
  display: none;
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 14px;
}
.form-message.show { display: block; }
.form-message.success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.form-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.site-footer {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(96,165,250,.12), transparent 26%),
    linear-gradient(180deg, #061224 0%, #07172d 100%);
  padding-top: 88px;
  padding-bottom: 28px;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .82fr) minmax(180px, .62fr);
  gap: 64px;
  align-items: start;
  padding-bottom: 44px;
}
.footer-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: rgba(186,205,234,.8);
}
.footer-brand h2 {
  font-size: clamp(3.3rem, 6vw, 5.7rem);
  line-height: .92;
  color: white;
  margin-bottom: 18px;
}
.footer-brand p {
  color: rgba(214,223,239,.82);
  max-width: 560px;
  font-size: 1.04rem;
  line-height: 1.8;
}
.footer-title {
  color: rgba(164,183,215,.72);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 22px;
}
.footer-column {
  display: grid;
  align-content: start;
  gap: 16px;
  padding-top: 14px;
}
.footer-column a {
  color: rgba(214,223,239,.82);
  font-size: 1rem;
  line-height: 1.65;
  transition: color .25s ease, transform .25s ease, opacity .25s ease;
}
.footer-column a:hover {
  color: white;
  opacity: 1;
  transform: translateX(3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-bottom p {
  color: rgba(182,197,223,.76);
  font-size: 12px;
  letter-spacing: .02em;
}
.footer-bottom p:last-child {
  color: rgba(123,147,183,.6);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .72s ease, transform .72s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .22s; }
.reveal-delay-3 { transition-delay: .32s; }

@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(59,130,246,.38); }
  50% { box-shadow: 0 0 0 12px rgba(59,130,246,0); }
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--grey-lightest); }
::-webkit-scrollbar-thumb { background: var(--grey-mid); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy); }
::selection { background: var(--navy); color: white; }

@media (max-width: 1100px) {
  .about-grid,
  .contact-grid,
  .projects-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid,
  .stats-grid,
  .testimonials-grid,
  .bottom-placeholders { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-direction: column; align-items: start; }
  .section-side { max-width: 100%; }
  .hero-content { grid-template-columns: 1fr; align-items: end; }
  .hero-side { justify-self: start; align-items: flex-start; }
  .hero-bottom-bar { grid-template-columns: 1fr; position: relative; left: auto; right: auto; bottom: auto; margin: 0 34px 34px; }
  .hero-stage, .hero-content { min-height: auto; }
  .hero-stage { min-height: 860px; }
  .project-large { min-height: 380px; }
}

@media (max-width: 820px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .hero-shell { width: min(1360px, calc(100% - 28px)); }
  .navbar {
    background: linear-gradient(to bottom, rgba(6,16,31,.84), rgba(6,16,31,.28));
  }
  .nav-inner { min-height: 74px; }
  .nav-links { display: none; }
  .mobile-toggle {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(15,23,42,.98), rgba(2,8,23,.94));
    border: 1px solid rgba(96,165,250,.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 34px rgba(2,6,23,.34), 0 1px 0 rgba(255,255,255,.06) inset;
  }
  .mobile-toggle span {
    width: 22px;
    background: rgba(255,255,255,.96);
  }
  .navbar.scrolled .mobile-toggle {
    background: linear-gradient(180deg, rgba(15,23,42,.98), rgba(2,8,23,.96));
    border-color: rgba(96,165,250,.34);
    box-shadow: 0 16px 34px rgba(2,6,23,.45), 0 1px 0 rgba(255,255,255,.08) inset;
  }
  .navbar.scrolled .mobile-toggle span { background: rgba(255,255,255,.98); }
  .mobile-menu {
    position: fixed;
    inset: 88px 14px auto 14px;
    padding: 0;
    border-top: 0;
    background: transparent;
    box-shadow: none;
    animation: mobileMenuIn .28s ease;
  }
  .mobile-menu-panel {
    width: 100%;
    padding: 20px 18px 18px;
    border-radius: 28px;
    background:
      linear-gradient(180deg, rgba(2,8,23,.99), rgba(15,23,42,.97));
    border: 1px solid rgba(96,165,250,.18);
    box-shadow: 0 30px 64px rgba(2,6,23,.44);
  }
  .mobile-menu a {
    padding: 16px 4px;
    font-size: 13px;
  }
    .mobile-btn { margin-top: 18px; min-height: 56px; border-radius: 18px; }
  .hero {
    padding-top: 96px;
    padding-bottom: 72px;
    min-height: auto;
  }
  .hero-stage {
    border-radius: 30px;
    min-height: max(760px, calc(100svh - 118px));
  }
  .hero-stage-media {
    object-position: center top;
    transform: scale(1.02);
  }
  .hero-stage-overlay {
    background:
      linear-gradient(180deg, rgba(7,18,34,.16) 0%, rgba(7,18,34,.34) 18%, rgba(7,18,34,.58) 38%, rgba(7,18,34,.88) 68%, rgba(7,18,34,.95) 100%),
      linear-gradient(90deg, rgba(7,18,34,.28) 0%, rgba(7,18,34,.05) 100%);
  }
  .hero-content {
    grid-template-columns: 1fr;
    align-items: end;
    min-height: 100%;
    gap: 0;
    padding: 30px 24px 132px;
  }
  .hero-copy {
    max-width: 100%;
    position: relative;
    z-index: 3;
    margin-top: auto;
  }
  .hero-copy h1 {
    font-size: clamp(2.85rem, 12.5vw, 4.4rem);
    line-height: .94;
    max-width: 6.2ch;
  }
  .hero-eyebrow {
    color: rgba(255,255,255,.78);
    margin-bottom: 16px;
  }
  .hero-text {
    font-size: .98rem;
    line-height: 1.72;
    max-width: 100%;
    margin-top: 18px;
    color: rgba(255,255,255,.82);
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 26px;
  }
  .hero .btn {
    min-height: 56px;
    border-radius: 18px;
    box-shadow: 0 16px 30px rgba(10,25,47,.16);
  }
  .hero-side {
    position: static;
    left: 50%;
    right: auto;
    top: 290px;
    transform: translateX(-50%);
    justify-self: stretch;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 2;
    pointer-events: auto;
    width: min(100% - 48px, 240px);
  }
  .hero-video-badge {
    width: max-content;
    max-width: 100%;
    border-radius: 999px;
    padding: 11px 16px;
    text-align: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
  }
  .play-button {
    width: 112px;
    height: 112px;
    box-shadow: 0 24px 60px rgba(10,25,47,.26);
  }
  .hero-bottom-bar {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0 20px 20px;
  }
  .hero-metric {
    padding: 16px 18px;
    border-radius: 20px;
  }
  

.scroll-indicator {
  background: linear-gradient(135deg,#3b82f6,#1e40af);
  border-radius: 26px;
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
  padding: 18px 36px;
  font-size: 12px;
  font-weight:600;
  letter-spacing:.14em;
  transition: all .3s ease;

  background: linear-gradient(135deg,#4f8cff,#2d5bff);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  border-radius: 22px;
  font-weight:600;
  letter-spacing:.12em;

    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
    min-width: 164px;
    min-height: 54px;
    font-size: 10px;
    padding: 0 18px;
    max-width: calc(100% - 120px);
    border-radius: 18px;
  }
  .services-grid,
  .stats-grid,
  .testimonials-grid,
  .bottom-placeholders,
  .projects-mini-grid,
  .highlights-grid,
  .form-row { grid-template-columns: 1fr; }
  .service-card,
  .testimonial,
  .contact-form-wrap {
    border-radius: 22px;
  }
  .service-card {
    min-height: auto;
    padding: 28px 24px;
  }
  .projects-grid { gap: 16px; }
  .project-large, .project-card { min-height: 300px; border-radius: 22px; }
  .projects-side { gap: 16px; }
  .testimonial {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-top-width: 1px;
    box-shadow: var(--shadow-soft);
  }
  .testimonial p { min-height: auto; }
  .contact-grid { gap: 34px; }
  .contact-form {
    gap: 18px;
    padding: 24px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid var(--grey-light);
    box-shadow: var(--shadow-soft);
  }
  .contact-form input,
  .contact-form textarea {
    border-radius: 16px;
    padding: 15px 16px;
  }
  .map-placeholder,
  .wide-placeholder,
  .square-placeholder,
  .horizontal-placeholder { border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


@media (max-width: 991px) {
  .contact-info {
    grid-template-rows: auto;
    height: auto;
  }
  .contact-form-wrap,
  .contact-form,
  .map-placeholder {
    min-height: auto;
    height: auto;
  }
  .map-placeholder {
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .section { padding: 78px 0; }
  .navbar { backdrop-filter: blur(20px); }
  .nav-inner { min-height: 70px; }
  .logo { font-size: 1.9rem; }
  .mobile-toggle {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
  .mobile-toggle span { width: 20px; margin: 3.5px auto; }
  .mobile-menu { inset: 78px 10px auto 10px; }
  .mobile-menu-panel {
    width: 100%;
    padding: 20px 16px 22px;
    border-radius: 26px;
  }
  .mobile-menu-top { padding-bottom: 12px; }
  .hero { padding-top: 86px; padding-bottom: 66px; }
  .hero-stage {
    border-radius: 24px;
    min-height: max(700px, calc(100svh - 102px));
  }
  .hero-stage-media { object-position: 52% top; }
  .hero-content { padding: 22px 18px 104px; }
  .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
    max-width: 6ch;
  }
  .hero-text { font-size: .94rem; }
  .hero-actions { grid-template-columns: 1fr; }
  .btn, .submit-btn { width: 100%; }
  .hero-side {
    left: 50%;
    right: auto;
    top: 258px;
    transform: translateX(-50%);
    gap: 14px;
    width: min(calc(100% - 36px), 220px);
  }
  .hero-video-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
  }
  .play-button { width: 98px; height: 98px; }
  .hero-bottom-bar { margin: 0 16px 16px; }
  .hero-metric { padding: 15px 16px; }
  

.scroll-indicator {
  background: linear-gradient(135deg,#3b82f6,#1e40af);
  border-radius: 26px;
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
  padding: 18px 36px;
  font-size: 12px;
  font-weight:600;
  letter-spacing:.14em;
  transition: all .3s ease;

  background: linear-gradient(135deg,#4f8cff,#2d5bff);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  border-radius: 22px;
  font-weight:600;
  letter-spacing:.12em;

    left: 50%;
    bottom: -22px;
    transform: translateX(-50%);
    min-width: 154px;
    min-height: 52px;
    padding: 0 16px;
    max-width: calc(100% - 92px);
    border-radius: 17px;
    letter-spacing: .12em;
  }
  .section-head { gap: 18px; }
  .service-card { padding: 24px 20px; }
  .project-large, .project-card { min-height: 260px; }
  .project-content { left: 18px; right: 18px; bottom: 18px; }
  .project-content h3 { font-size: 1.35rem; }
  .contact-form { padding: 20px 16px; border-radius: 20px; }
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
}

@keyframes mobileMenuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}


@media (max-width: 820px){
  .hero-side{
    position: relative;
    margin-top: 28px;
    display:flex;
    flex-direction:column;
    align-items:center;
  }
  .play-button{
    width:88px;
    height:88px;
    margin-top:10px;
  }
}



.hero-stage-media{
  filter: none !important;
  transform: scale(1.02);
}




.logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
  transition: filter .28s ease, transform .28s ease;
}

.navbar.scrolled .brand-logo {
  transform: translateY(-1px);
}

.logo-brand span {
  line-height: 1;
}

.mobile-menu-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mobile-brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.footer-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-brand .footer-kicker {
  display: block;
  margin-bottom: 6px;
}

@media (max-width: 767px) {
  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .logo-brand {
    gap: 10px;
  }

  .footer-brand-top {
    align-items: center;
    gap: 14px;
  }

  .footer-logo {
    width: 58px;
    height: 58px;
  }
}


.logo-brand span,
.mobile-menu-brand span {
  position: relative;
  display: inline-block;
  transition: color .28s ease, text-shadow .28s ease, opacity .28s ease;
}

.logo-brand span::after,
.mobile-menu-brand span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(96,165,250,.95), rgba(191,219,254,.98));
  box-shadow: 0 0 14px rgba(59,130,246,.35);
  transition: width .28s ease, opacity .28s ease, box-shadow .28s ease;
  opacity: .88;
}

.logo-brand:hover span,
.mobile-menu-brand:hover span {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(96,165,250,.22), 0 2px 12px rgba(15,23,42,.22);
}

.logo-brand:hover span::after,
.mobile-menu-brand:hover span::after {
  width: 100%;
}

.navbar.scrolled .logo-brand span,
.navbar.scrolled .mobile-menu-brand span {
  color: #a9c8ff;
}

.navbar.scrolled .logo-brand:hover span,
.navbar.scrolled .mobile-menu-brand:hover span {
  color: #ffffff;
}


@media (max-width: 820px) {
  .mobile-menu-brand span {
    color: #eef4ff;
    text-shadow: 0 6px 18px rgba(2,6,23,.28);
  }

  .mobile-menu a {
    color: #f8fbff;
  }

  .mobile-btn {
    background: linear-gradient(135deg, rgba(138,182,255,.98) 0%, rgba(79,135,255,.98) 48%, rgba(37,99,235,.96) 100%);
    border-color: rgba(219,234,254,.88);
    box-shadow: 0 8px 20px rgba(15,23,42,.24), 0 1px 0 rgba(255,255,255,.30) inset;
  }
}


/* === Final premium navigation upgrade === */
.navbar {
  isolation: isolate;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 22%),
    radial-gradient(circle at 14% 50%, rgba(96,165,250,.18), transparent 28%),
    radial-gradient(circle at 85% 50%, rgba(37,99,235,.12), transparent 32%);
  pointer-events: none;
  z-index: -1;
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148,163,184,.28), transparent);
  pointer-events: none;
}

.nav-inner {
  min-height: 88px;
}

.logo-brand {
  gap: 16px;
}

.logo-brand span {
  font-size: clamp(2.45rem, 3.1vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #eef4ff;
  text-shadow: 0 6px 20px rgba(3,8,18,.22);
}

.brand-logo {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.22));
}

.nav-links {
  gap: 14px;
}

.nav-links > a:not(.nav-btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  color: rgba(255,255,255,.80);
  letter-spacing: .09em;
  font-size: 12.5px;
  font-weight: 700;
  overflow: hidden;
  transition: color .28s ease, transform .28s ease, text-shadow .28s ease, background .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.nav-links > a:not(.nav-btn)::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.02));
  opacity: 0;
  transition: opacity .28s ease;
}

.nav-links > a:not(.nav-btn)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(96,165,250,.0), rgba(147,197,253,1), rgba(96,165,250,0));
  transform: scaleX(.45);
  transform-origin: center;
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
}

.nav-links > a:not(.nav-btn):hover,
.nav-links > a:not(.nav-btn):focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
  text-shadow: 0 0 14px rgba(96,165,250,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 12px 24px rgba(2,6,23,.14);
}

.nav-links > a:not(.nav-btn):hover::before,
.nav-links > a:not(.nav-btn):focus-visible::before {
  opacity: 1;
}

.nav-links > a:not(.nav-btn):hover::after,
.nav-links > a:not(.nav-btn):focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.navbar.scrolled .nav-links > a:not(.nav-btn) {
  color: rgba(236,244,255,.88);
}

.navbar.scrolled .nav-links > a:not(.nav-btn):hover,
.navbar.scrolled .nav-links > a:not(.nav-btn):focus-visible {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 14px 28px rgba(2,6,23,.24);
}

.nav-btn {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .11em;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(135deg, #0d1b38 0%, #0a1630 52%, #081326 100%);
  box-shadow: 0 14px 26px rgba(2,6,23,.14), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}

.nav-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0));
  pointer-events: none;
}

.nav-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -120%;
  width: 64%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}

.nav-btn:hover,
.nav-btn:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #13264e 0%, #0f2148 46%, #0a1835 100%);
  border-color: rgba(147,197,253,.34);
  box-shadow: 0 18px 34px rgba(2,6,23,.20), 0 0 0 1px rgba(96,165,250,.10), inset 0 1px 0 rgba(255,255,255,.10);
}

.nav-btn:hover::after,
.nav-btn:focus-visible::after {
  left: 125%;
}

.navbar.scrolled .nav-btn {
  background: linear-gradient(135deg, #122954 0%, #173b80 44%, #1d4ed8 100%);
  border-color: rgba(219,234,254,.24);
  box-shadow: 0 18px 36px rgba(15,23,42,.24), 0 0 0 1px rgba(147,197,253,.14), inset 0 1px 0 rgba(255,255,255,.18);
}

.navbar.scrolled .nav-btn:hover,
.navbar.scrolled .nav-btn:focus-visible {
  background: linear-gradient(135deg, #18366e 0%, #2563eb 52%, #3b82f6 100%);
  border-color: rgba(239,246,255,.52);
  box-shadow: 0 22px 44px rgba(30,64,175,.24), 0 0 0 1px rgba(191,219,254,.18), inset 0 1px 0 rgba(255,255,255,.22);
}

.logo-brand:hover .brand-logo {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.26));
}

.logo-brand:hover span {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(96,165,250,.20), 0 10px 24px rgba(2,6,23,.18);
}

.logo-brand span::after,
.mobile-menu-brand span::after {
  bottom: -9px;
  height: 2px;
  background: linear-gradient(90deg, rgba(96,165,250,0), rgba(147,197,253,1), rgba(191,219,254,.96), rgba(96,165,250,0));
  box-shadow: 0 0 16px rgba(59,130,246,.25);
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 8px;
  }

  .nav-links > a:not(.nav-btn) {
    padding: 0 12px;
    font-size: 12px;
  }

  .nav-btn {
    min-height: 52px;
    padding: 0 24px;
  }
}

@media (max-width: 820px) {
  .nav-inner {
    min-height: 84px;
  }

  .logo-brand span {
    font-size: clamp(2.1rem, 7vw, 2.7rem);
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }
}



/* === FORCE INDSE TEXT WHITE IN ALL STATES === */
a.logo.logo-brand > span,
a.logo.logo-brand:link > span,
a.logo.logo-brand:visited > span,
a.logo.logo-brand:hover > span,
a.logo.logo-brand:active > span,
a.logo.logo-brand:focus > span,
.site-header a.logo.logo-brand > span,
.navbar a.logo.logo-brand > span,
.site-header.scrolled a.logo.logo-brand > span,
.navbar.scrolled a.logo.logo-brand > span,
.site-header.is-scrolled a.logo.logo-brand > span,
.navbar.is-scrolled a.logo.logo-brand > span,
.site-header.sticky a.logo.logo-brand > span,
.navbar.sticky a.logo.logo-brand > span,
header.site-header a.logo.logo-brand > span,
header.site-header.scrolled a.logo.logo-brand > span,
header.site-header.sticky a.logo.logo-brand > span {
  color: #ffffff !important;
  background: none !important;
  background-image: none !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  text-shadow: none !important;
  filter: none !important;
}

/* exact hover effect requested: only the underline line, no text color change */
a.logo.logo-brand:hover > span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}




/* === IMAGE POPUP / LIGHTBOX === */
.image-popup-trigger,
[data-image].has-external-image,
.project-large img,
.project-card img,
.about-image-frame img,
.hero-stage-media {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-lightbox__panel {
  position: relative;
  width: min(94vw, 1600px);
  height: min(90vh, 980px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  background: #0f172a;
}

.image-lightbox__close {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 132px;
  min-height: 50px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(30,41,59,0.96), rgba(15,23,42,0.96));
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 35px rgba(2, 6, 23, 0.32);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.image-lightbox__close:hover {
  transform: translateY(-1px);
  border-color: rgba(191, 219, 254, 0.55);
  box-shadow: 0 22px 40px rgba(2, 6, 23, 0.4);
}

.image-lightbox__close:focus-visible {
  outline: 2px solid rgba(191, 219, 254, 0.75);
  outline-offset: 3px;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 820px) {
  .image-lightbox {
    padding: 18px;
  }

  .image-lightbox__panel {
    width: 100%;
    height: min(84vh, 760px);
  }

  .image-lightbox__close {
    top: -2px;
    right: 0;
    min-width: 112px;
    min-height: 46px;
    font-size: 12px;
  }

  .image-lightbox__img {
    border-radius: 14px;
  }
}




/* === LIGHTBOX CLOSE BUTTON: X ONLY === */
.image-lightbox__close {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(30,41,59,0.96), rgba(15,23,42,0.96)) !important;
  color: #ffffff !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.project-large,
.project-card,
.project-large *,
.project-card * {
  cursor: zoom-in;
}

