:root {
  --primary: #00a0e3;
  --primary-dark: #0082bc;
  --primary-soft: #e8f6fc;
  --navy: #0b2c44;
  --navy-2: #143a56;
  --bg: #f4f8fb;
  --surface: #ffffff;
  --text: #0b2c44;
  --muted: #5b6f82;
  --line: #d9e6ef;
  --max: 1120px;
  --max-nav: 1280px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --shadow: 0 12px 40px rgba(11, 44, 68, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-nav {
  width: min(var(--max-nav), calc(100% - 1.5rem));
}

.wrap-hero {
  width: min(var(--max-nav), calc(100% - 2rem));
  margin-left: max(1rem, calc((100% - var(--max-nav)) / 2 - 1.25rem));
  margin-right: auto;
}

.eyebrow {
  margin: 0 0 .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.7);
}

/* —— Floating glass nav (enlarged) —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 1.1rem 0 0;
  background: transparent;
  pointer-events: none;
}

.site-header .wrap {
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 78px;
  padding: .7rem .7rem .7rem 1.35rem;
  border-radius: 999px;
  background: rgba(12, 18, 28, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  box-shadow:
    0 14px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled .nav-pill {
  background: rgba(11, 28, 44, 0.88);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  flex-shrink: 0;
  color: #fff;
}

.logo-mark {
  width: 2.45rem;
  height: 2.45rem;
  border: 3px solid var(--primary);
  border-radius: 50%;
  border-right-color: transparent;
  transform: rotate(-25deg);
  position: relative;
  background: rgba(0, 160, 227, 0.18);
  flex-shrink: 0;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: .4rem;
  border-radius: 50%;
  background: var(--primary);
  opacity: .75;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  line-height: 1.1;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .01em;
  color: #fff;
}

.logo-tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  flex: 1;
}

.site-nav a {
  position: relative;
  padding: .55rem .85rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  transition: color .2s ease;
  white-space: nowrap;
}

.site-nav a:hover { color: rgba(255, 255, 255, 0.95); }

.site-nav a.is-active {
  color: #fff;
  font-weight: 650;
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .2rem;
  height: 2.5px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(0, 160, 227, 0.6);
}

.nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .7rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff !important;
  background: linear-gradient(135deg, #00b4f0 0%, #0082bc 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 8px 22px rgba(0, 160, 227, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.nav-cta-mobile { display: none !important; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* —— Hero (3D globe) —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #070b12;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 40% at 55% 100%, rgba(255, 79, 216, 0.1), transparent 50%),
    radial-gradient(ellipse 60% 55% at 60% 45%, rgba(0, 180, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 80%, rgba(26, 108, 255, 0.18), transparent 55%),
    linear-gradient(180deg, #03060e 0%, #070b16 45%, #050810 100%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 20px rgba(0, 200, 255, 0.35)) contrast(1.05) saturate(1.15);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 16, 0.9) 0%, rgba(5, 8, 16, 0.5) 36%, rgba(5, 8, 16, 0.08) 62%, rgba(5, 8, 16, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 8, 16, 0.45) 0%, transparent 38%, rgba(5, 8, 16, 0.55) 100%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 160, 227, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 160, 227, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 65% at 65% 45%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 65% 45%, #000 25%, transparent 78%);
  pointer-events: none;
  opacity: .85;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.88) 0%, rgba(7, 11, 18, 0.42) 38%, rgba(7, 11, 18, 0.05) 68%, rgba(7, 11, 18, 0.25) 100%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.4) 0%, transparent 40%, rgba(7, 11, 18, 0.55) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 7.5rem 0 5rem;
  max-width: 28rem;
  color: #fff;
}

.hero-brand {
  margin: 0 0 .85rem;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-shadow: none;
}

.hero-title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.05rem, 4.2vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #fff;
  max-width: 14ch;
  text-wrap: balance;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  color: var(--primary);
  text-shadow: 0 0 28px rgba(0, 160, 227, 0.35);
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: .98rem;
  max-width: 36ch;
  line-height: 1.6;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.hero .btn-primary {
  box-shadow: 0 0 0 1px rgba(0, 160, 227, 0.35), 0 10px 28px rgba(0, 160, 227, 0.4);
}

.hero .btn-ghost {
  backdrop-filter: blur(8px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .8rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 160, 227, 0.35);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  z-index: 1;
  transform: translateX(-50%);
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}

.hero-scroll span {
  display: block;
  width: 4px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 50%;
  background: #fff;
  animation: scrollDot 1.6s ease-in-out infinite;
}

/* —— Sections —— */
.section {
  padding: 5.75rem 0;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.section-head h2,
.work-copy h2,
.about-brand h2,
.contact-box h2 {
  margin: 0 0 .65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  letter-spacing: -.02em;
  color: var(--navy);
}

.section-head p,
.work-copy > p,
.about-text p,
.about-aside {
  margin: 0;
  color: var(--muted);
}

.trust {
  padding: 1.75rem 0;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.products { background: var(--bg); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.product {
  padding: 1.75rem 1.55rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  min-height: 100%;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.product:hover {
  border-color: rgba(0, 160, 227, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(0, 160, 227, 0.12);
}

.product-index {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: .75rem;
  letter-spacing: .08em;
}

.product h3 {
  margin: 0 0 .55rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}

.product p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1rem;
}

.product a {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: .95rem;
}

.product .muted {
  color: #8a9bab;
  font-size: .9rem;
}

.process {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.process-step {
  padding: 1.5rem 1.25rem;
  border-radius: 1.2rem;
  background: var(--bg);
  border: 1px solid var(--line);
  min-height: 100%;
}

.process-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .85rem;
  letter-spacing: .06em;
}

.process-step h3 {
  margin: 0 0 .45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.work {
  background: linear-gradient(180deg, #eaf6fc 0%, #f4f8fb 100%);
}

.work-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.75rem;
  align-items: center;
}

.work-points {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .8rem;
}

.work-points li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--navy-2);
}

.work-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 160, 227, 0.18);
}

.work-panel {
  display: grid;
  gap: .9rem;
}

.stat {
  padding: 1.35rem 1.4rem;
  border-radius: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: .25rem;
  color: var(--navy);
}

.stat span { color: var(--muted); font-size: .95rem; }

.industries { background: var(--bg); }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.industry {
  padding: 1.6rem 1.4rem;
  border-radius: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.industry h3 {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
}

.industry p {
  margin: 0;
  color: var(--muted);
}

.about { background: var(--surface); }

.about-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 2.25rem;
  align-items: start;
}

.crescent {
  display: block;
  width: 3.4rem;
  height: 3.4rem;
  border: 3px solid var(--primary);
  border-radius: 50%;
  border-right-color: transparent;
  transform: rotate(-30deg);
  margin-bottom: 1rem;
}

.about-aside {
  margin-top: .85rem !important;
  max-width: 22ch;
  font-size: .95rem;
}

.about-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--navy) !important;
  line-height: 1.35;
  margin-bottom: 1rem !important;
}

.about-text {
  display: grid;
  gap: .95rem;
}

.contact {
  padding-bottom: 4.5rem;
  background: var(--bg);
}

.contact-box {
  padding: clamp(2rem, 4.5vw, 3rem);
  border-radius: 1.6rem;
  background: linear-gradient(135deg, #0082bc 0%, #00a0e3 48%, #0b2c44 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 1.4rem;
  color: #fff;
  box-shadow: 0 20px 55px rgba(0, 130, 188, 0.3);
}

.contact-box h2 { color: #fff; }

.contact-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  max-width: 42ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.contact-box .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: none;
}

.contact-box .btn-primary:hover { background: #f0f9ff; }

.contact-box .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  padding-top: .35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: .92rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-meta a:hover { color: #fff; }

.site-footer {
  padding: 3rem 0 1.75rem;
  background: var(--navy);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.footer-brand p {
  margin: .55rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  max-width: 28ch;
  font-size: .92rem;
}

.footer-col {
  display: grid;
  gap: .45rem;
  align-content: start;
}

.footer-col h4 {
  margin: 0 0 .35rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: .95rem;
  font-weight: 500;
}

.footer-col a:hover { color: #7dd3f5; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover { color: #7dd3f5; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@keyframes scrollDot {
  0%, 100% { opacity: .3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(10px); }
}

@media (max-width: 1100px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav a {
    padding: .5rem .6rem;
    font-size: .92rem;
  }
}

@media (max-width: 980px) {
  .site-nav { display: none; }

  .nav-cta-desktop { display: none; }

  .nav-toggle { display: inline-flex; }

  .nav-pill {
    position: relative;
    min-height: 72px;
    padding: .65rem .65rem .65rem 1.15rem;
  }

  .site-nav.is-open {
    display: flex;
    position: absolute;
    top: calc(100% + .65rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    padding: .9rem;
    border-radius: 1.35rem;
    background: rgba(12, 18, 28, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  }

  .site-nav a {
    padding: .85rem 1rem;
    border-radius: .85rem;
    font-size: 1.02rem;
  }

  .site-nav a.is-active {
    background: rgba(0, 160, 227, 0.14);
  }

  .site-nav a.is-active::after { display: none; }

  .nav-cta-mobile {
    display: inline-flex !important;
    margin-top: .45rem;
    width: 100%;
  }
}

@media (max-width: 860px) {
  .product-grid,
  .work-layout,
  .about-layout,
  .industry-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content { padding-top: 7.25rem; }

  .wrap-hero {
    margin-left: auto;
    margin-right: auto;
    width: min(var(--max-nav), calc(100% - 1.75rem));
  }
}

@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; }
  .logo-tag { display: none; }
  .logo-text { font-size: 1.05rem; }
  .logo-mark { width: 2.1rem; height: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll span { animation: none; }
}
