:root {
  --bg: #07111f;
  --bg-2: #0b1628;
  --text: #eaf1ff;
  --muted: #9fb0ca;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.14);
  --accent: #59e1d4;
  --accent-2: #8ab4ff;
  --gold: #f8d06b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 28px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: 96px 0; position: relative; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 999;
  background: var(--accent);
  color: #04101d;
  padding: 10px 14px;
  border-radius: 999px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  background: rgba(7, 17, 31, 0.64);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease, padding 0.2s ease;
}
.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(7, 17, 31, 0.88);
  border-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 0; font-weight: 800; letter-spacing: -0.03em; font-size: 1.1rem; }
.brand-logo { width: 42px; height: 42px; }
.brand-logo-clean { width: 168px; max-height: 52px; height: auto; display: block; object-fit: contain; }
.brand-logo-final { width: 168px; max-height: 52px; height: auto; display: block; object-fit: contain; }
.accent { color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 28px; color: var(--muted); font-weight: 650; }
.nav-menu a { transition: color 0.2s ease, transform 0.2s ease; }
.nav-menu a:hover { color: var(--white); transform: translateY(-1px); }
.nav-cta {
  color: #06121f !important;
  background: var(--accent);
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(89, 225, 212, 0.2);
}
.nav-toggle { display: none; background: transparent; border: 0; width: 42px; height: 42px; padding: 0; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px auto; transition: transform 0.2s ease, opacity 0.2s ease; }

.hero { min-height: 100vh; display: grid; align-items: center; padding-top: 136px; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(89, 225, 212, 0.18), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(138, 180, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0b1730 54%, #09111e 100%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 86%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 850;
}
.eyebrow::before, .section-kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.9rem); line-height: 0.92; letter-spacing: -0.075em; margin-bottom: 26px; max-width: 900px; }
.hero-text { max-width: 720px; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); margin-bottom: 34px; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #06121f; border-color: transparent; box-shadow: 0 16px 40px rgba(89, 225, 212, 0.22); }
.btn-secondary { background: rgba(255,255,255,0.06); color: var(--text); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.32); }
.trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 46px; max-width: 760px; }
.trust-row div { padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,0.045); }
.trust-row strong { display: block; font-size: 1.7rem; letter-spacing: -0.04em; }
.trust-row span { display: block; color: var(--muted); font-size: 0.9rem; }
.hero-card {
  position: relative;
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.055));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  top: -90px;
  right: -80px;
  border-radius: 50%;
  background: rgba(89, 225, 212, 0.16);
}
.profile-orb {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 32px;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 900;
  color: #06121f;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  margin-bottom: 24px;
}

.profile-photo {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 32px;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 20px 60px rgba(89, 225, 212, 0.22);
}

.hero-card h2 { font-size: 1.85rem; letter-spacing: -0.04em; margin-bottom: 4px; }
.hero-card p { color: var(--muted); }
.profile-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.profile-list li { padding-left: 28px; position: relative; color: var(--text); }
.profile-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.mini-link { color: var(--accent); font-weight: 750; word-break: break-word; }

.stats-strip { padding: 0 0 96px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.025)); }
.stats-grid, .cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stat-card, .card, .quote-card, .contact-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 54px rgba(0,0,0,0.13);
}
.stat-card span { color: var(--accent); font-weight: 900; font-size: 0.88rem; }
.stat-card h3, .card h3 { margin: 10px 0 8px; font-size: 1.25rem; }
.stat-card p, .card p, .quote-card, .contact-card p { color: var(--muted); margin-bottom: 0; }

.split-grid { display: grid; grid-template-columns: 0.35fr 1fr; gap: 64px; align-items: center; }
.align-start { align-items: start; }
.section-title, .section-heading h2, .contact-section h2 { font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.065em; margin-bottom: 22px; }
.large-copy { font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--text); }
.split-grid p:not(.large-copy) { color: var(--muted); font-size: 1.03rem; }

.dark-section { background: #050b14; overflow: hidden; }
.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(89,225,212,0.12), transparent 34%);
  pointer-events: none;
}
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading p:last-child { color: var(--muted); font-size: 1.08rem; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { min-height: 242px; transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease; }
.card:hover { transform: translateY(-6px); border-color: rgba(89,225,212,0.42); background: var(--surface-strong); }
.icon { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: rgba(89,225,212,0.13); margin-bottom: 24px; font-size: 1.4rem; }

.project-list { display: grid; gap: 16px; }
.project {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.project:hover { transform: translateY(-3px); border-color: rgba(138,180,255,0.42); background: rgba(255,255,255,0.08); }
.project-tag { color: var(--accent); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 900; }
.project h3 { font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -0.04em; margin: 8px 0; }
.project p { color: var(--muted); margin-bottom: 0; }
.project a { color: var(--accent); font-weight: 850; }

.soft-section { background: #edf4ff; color: #07111f; }
.soft-section .section-kicker { color: #0f7f78; }
.soft-section .section-kicker::before { background: #0f7f78; }
.soft-section p { color: #3d4c63; }
.credentials-wrap .section-title { color: #07111f; }
.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 38px; }
.pill-grid span { background: #fff; color: #0d1a2b; border: 1px solid rgba(7,17,31,0.1); border-radius: 999px; padding: 10px 14px; font-weight: 750; box-shadow: 0 10px 24px rgba(7,17,31,0.06); }
.timeline { display: grid; gap: 16px; }
.timeline-item { background: #fff; border: 1px solid rgba(7,17,31,0.1); border-radius: 22px; padding: 22px; }
.timeline-item span { color: #0f7f78; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.76rem; }
.timeline-item p { margin: 8px 0 0; color: #3d4c63; }

.testimonials { background: linear-gradient(180deg, var(--bg), #0b172a); }
.quote-card { font-size: 1.05rem; }
.quote-card cite { display: block; color: var(--accent); margin-top: 20px; font-style: normal; font-weight: 800; }

.contact-section { background: #050b14; }
.contact-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 44px; align-items: center; }
.contact-section p { color: var(--muted); max-width: 620px; }
.contact-card { display: grid; gap: 14px; }
.contact-card > a { color: var(--text); font-size: 1.1rem; font-weight: 800; word-break: break-word; }
.contact-card > a:hover { color: var(--accent); }
.contact-actions { margin-top: 12px; }

.site-footer { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); background: #050b14; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-grid p { margin: 0; }
.footer-grid a { color: var(--accent); font-weight: 750; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }

@media (max-width: 980px) {
  .hero-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-card { max-width: 620px; }
  .stats-grid, .service-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 72px 0; }
  .site-header { padding: 12px 0; }
  .brand-logo-clean { width: 144px; max-height: 44px; }
  .brand-logo-final { width: 144px; max-height: 44px; }
  .nav-toggle { display: inline-block; position: relative; z-index: 70; }
  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(7,17,31,0.96);
    backdrop-filter: blur(18px);
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.24s ease;
    font-size: 1.15rem;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-toggle.is-open span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(3) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 118px; }
  h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .trust-row { grid-template-columns: 1fr; }
  .stats-grid, .service-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .project { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}

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