:root {
  --black: #05070b;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: rgba(14, 23, 38, 0.11);
  --white: #ffffff;
  --soft: #f6f9fb;
  --green: #67d018;
  --green-bright: #b9ff14;
  --blue: #026fd0;
  --navy: #001d56;
  --gold: #d6ad53;
  --shadow: 0 24px 70px rgba(0, 29, 86, 0.14);
  --gradient: linear-gradient(135deg, #001d56 0%, #026fd0 38%, #67d018 73%, #d6ad53 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader img {
  width: 84px;
  animation: pulseLogo 1.2s ease-in-out infinite;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 16px clamp(16px, 3vw, 42px);
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  padding-top: 9px;
  padding-bottom: 9px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 29, 86, 0.08);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: clamp(132px, 16vw, 190px);
  height: auto;
}

.nav-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #263241;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-menu a {
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nav-cta,
.button-primary {
  color: white;
  background: var(--gradient);
  box-shadow: 0 16px 32px rgba(2, 111, 208, 0.24);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(103, 208, 24, 0.28);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
}

.section {
  position: relative;
  padding: clamp(76px, 9vw, 128px) 20px;
  overflow: hidden;
}

.section[id] {
  scroll-margin-top: 102px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 124px;
  background:
    radial-gradient(circle at 82% 12%, rgba(185, 255, 20, 0.22), transparent 28%),
    radial-gradient(circle at 8% 18%, rgba(2, 111, 208, 0.16), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.hero-inner,
.split-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  color: var(--black);
  font-size: clamp(2.85rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--black);
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  color: var(--black);
  font-size: 1.1rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-subheading {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 12px;
  max-width: 560px;
  margin-top: 40px;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 45px rgba(0, 29, 86, 0.08);
}

.hero-metrics strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-panel {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at 62% 18%, rgba(103, 208, 24, 0.38), transparent 34%),
    radial-gradient(circle at 18% 45%, rgba(2, 111, 208, 0.28), transparent 34%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-panel img {
  width: min(310px, 72%);
  margin: 0 auto auto;
  filter: drop-shadow(0 24px 38px rgba(0, 29, 86, 0.26));
  animation: floatSlow 5s ease-in-out infinite;
}

.hero-panel-content {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.hero-panel-content span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-panel-content h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.4rem, 2.3vw, 2.15rem);
  line-height: 1.08;
}

.hero-panel-content p {
  margin-bottom: 0;
}

.hero-visual,
.mesh-grid,
.orb {
  position: absolute;
  pointer-events: none;
}

.hero-visual {
  inset: 0;
  overflow: hidden;
}

.mesh-grid {
  inset: 12% 0 0 auto;
  width: 56vw;
  height: 70vh;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(2, 111, 208, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 111, 208, 0.18) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle, black, transparent 68%);
}

.orb {
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.42;
  animation: drift 8s ease-in-out infinite alternate;
}

.orb-blue {
  right: 10%;
  top: 22%;
  width: 220px;
  height: 220px;
  background: var(--blue);
}

.orb-green {
  right: 28%;
  bottom: 10%;
  width: 280px;
  height: 280px;
  background: var(--green-bright);
  animation-delay: -3s;
}

.signal-card {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 8px;
  color: #132031;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 50px rgba(0, 29, 86, 0.12);
  backdrop-filter: blur(14px);
  font-weight: 800;
  font-size: 0.82rem;
  animation: floatSlow 5.6s ease-in-out infinite;
}

.signal-a { right: 16%; top: 22%; }
.signal-b { right: 7%; bottom: 32%; animation-delay: -2s; }
.signal-c { right: 33%; top: 57%; animation-delay: -4s; }

.about,
.why,
.testimonials {
  background: var(--soft);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 42px;
}

.about-grid,
.service-grid,
.feature-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

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

.glass-card,
.service-card,
.testimonial-card,
.contact-card,
.contact-form {
  border: 1px solid rgba(14, 23, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(0, 29, 86, 0.08);
  backdrop-filter: blur(18px);
}

.glass-card {
  padding: 24px;
}

.glass-card span,
.process-step span {
  color: var(--gold);
  font-weight: 900;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  min-height: 342px;
  padding: 14px 14px 24px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(103, 208, 24, 0.44);
  box-shadow: 0 28px 70px rgba(2, 111, 208, 0.16);
}

.service-featured {
  background:
    linear-gradient(145deg, rgba(0, 29, 86, 0.96), rgba(2, 111, 208, 0.9));
}

.service-featured h3,
.service-featured p {
  color: white;
}

.service-media {
  height: 138px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.45s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.1);
}

.service-card h3,
.service-card p,
.service-card .icon {
  margin-left: 10px;
  margin-right: 10px;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: white;
  background: var(--gradient);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 15px 30px rgba(2, 111, 208, 0.2);
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature {
  min-height: 94px;
  display: flex;
  align-items: center;
  padding: 22px;
  border-left: 3px solid var(--green);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 36px rgba(0, 29, 86, 0.06);
  color: var(--black);
  font-weight: 800;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 18px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: 8px;
  color: white;
  background: #001d56;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 29, 86, 0.04), rgba(0, 13, 39, 0.84)),
    radial-gradient(circle at 80% 18%, rgba(185, 255, 20, 0.24), transparent 34%);
  z-index: 0;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  z-index: 1;
}

.portfolio-card:hover {
  transform: translateY(-7px) scale(1.01);
}

.portfolio-card span,
.portfolio-card h3 {
  position: relative;
  z-index: 2;
}

.portfolio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.portfolio-card:hover img {
  transform: scale(1.09);
}

.portfolio-card span {
  color: var(--green-bright);
  font-weight: 900;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.portfolio-card h3 {
  max-width: 420px;
  margin-bottom: 0;
  color: white;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
}

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

.portfolio-card.wide {
  grid-column: span 2;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  padding: 26px;
  border-top: 3px solid var(--green);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 44px rgba(0, 29, 86, 0.08);
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  padding: 28px;
}

.testimonial-card p {
  color: #263241;
  font-size: 1.02rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  color: var(--black);
}

.testimonial-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta {
  padding: 82px 20px;
}

.cta-inner {
  padding: clamp(34px, 7vw, 72px);
  border-radius: 8px;
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(185, 255, 20, 0.38), transparent 28%),
    linear-gradient(135deg, #05070b 0%, #001d56 55%, #026fd0 100%);
  box-shadow: var(--shadow);
}

.cta-inner h2,
.cta-inner p {
  color: white;
}

.contact-layout {
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding: 20px;
}

.contact-card strong {
  color: var(--black);
}

.contact-card a,
.contact-card span {
  color: var(--muted);
  line-height: 1.6;
}

iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 29, 86, 0.08);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--black);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  font: inherit;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(103, 208, 24, 0.14);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  color: white;
  background: var(--gradient);
  box-shadow: 0 18px 38px rgba(2, 111, 208, 0.28);
  font-weight: 900;
}

.site-footer {
  padding: 58px 20px 24px;
  color: white;
  background: var(--black);
}

.footer-inner,
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
}

.footer-inner img {
  width: 170px;
  margin-bottom: 18px;
}

.footer-inner p,
.footer-inner a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.68);
}

.footer-inner h3 {
  color: white;
}

.footer-inner a {
  display: block;
  margin: 10px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.footer-bottom a {
  margin-left: 18px;
}

.founder-hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding-top: 156px;
  background:
    radial-gradient(circle at 74% 14%, rgba(185, 255, 20, 0.18), transparent 28%),
    radial-gradient(circle at 10% 30%, rgba(2, 111, 208, 0.13), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.founder-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(2, 111, 208, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 30px rgba(0, 29, 86, 0.08);
}

.founder-hero h1 {
  max-width: 680px;
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  line-height: 1.02;
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.founder-photo-stack {
  position: relative;
  min-height: 560px;
}

.founder-photo {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-photo.primary {
  inset: 0 9% 14% 0;
}

.founder-photo.secondary {
  right: 0;
  bottom: 0;
  width: 46%;
  height: 46%;
}

.founder-bio {
  background: var(--soft);
}

.bio-card {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.bio-card p {
  color: #344253;
  font-size: 1.02rem;
}

.bio-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.bio-highlights div {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(0, 29, 86, 0.06);
  font-weight: 900;
  color: var(--black);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: 0.78; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-30px, 24px, 0) scale(1.08); }
}

@media (max-width: 1040px) {
  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-menu {
    position: fixed;
    inset: 82px 16px auto;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero-inner,
  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 430px;
  }

  .service-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .process-line,
  .testimonial-grid,
  .footer-inner,
  .founder-layout,
  .bio-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .founder-photo-stack {
    min-height: 500px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 10px 14px;
  }

  .navbar {
    min-height: 58px;
  }

  .hero {
    padding-top: 108px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.95rem, 10vw, 2.6rem);
  }

  .hero-metrics,
  .about-grid,
  .service-grid,
  .feature-grid,
  .portfolio-grid,
  .process-line,
  .testimonial-grid,
  .footer-inner,
  .founder-layout,
  .bio-highlights {
    grid-template-columns: 1fr;
  }

  .founder-hero {
    padding-top: 130px;
  }

  .founder-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.05rem);
  }

  .founder-photo-stack {
    min-height: 430px;
  }

  .founder-photo.primary {
    inset: 0 0 18% 0;
  }

  .founder-photo.secondary {
    width: 54%;
    height: 40%;
  }

  .portfolio-card.large,
  .portfolio-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .portfolio-grid {
    grid-auto-rows: 220px;
  }

  .hero-panel {
    min-height: 380px;
    padding: 18px;
  }

  .signal-card {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom a {
    display: inline-block;
    margin: 0 14px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
