:root {
  --navy: #0b1f3b;
  --navy-2: #10294f;
  --royal: #1e5eff;
  --cyan: #3dd6ff;
  --sky: #eaf2ff;
  --sky-2: #f5f8ff;
  --paper: #f8fbff;
  --text: #0f172a;
  --muted: #5b6780;
  --line: #d9e3f5;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(11, 31, 59, 0.12);
  --shadow-strong: 0 20px 60px rgba(2, 9, 23, 0.30);
  --radius: 22px;
  --radius-lg: 30px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 20%, #f8fbff 100%);
  overflow-x: hidden;
}

/* subtle noise overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: overlay;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="240" height="240"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/></filter><rect width="240" height="240" filter="url(%23n)" opacity="0.6"/></svg>');
  background-size: 240px 240px;
  z-index: 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Topbar */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.88);
  font-size: 14px;
  position: relative;
  z-index: 3;
}
.topbar-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-links a:hover { color: white; }

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,.84);
  border-bottom: 1px solid rgba(217,227,245,.85);
}
.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: .02em;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  display: grid;
  place-items: center;
  color: white;
  box-shadow: var(--shadow);
  font-size: 18px;
  font-weight: 800;
}
.brand-text small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.brand-text strong { display: block; font-size: 19px; color: var(--navy); }

.menu {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.menu a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--navy);
  font-weight: 700;
  transition: .2s ease;
}
.menu a:hover, .menu a.active {
  background: var(--sky);
  color: var(--royal);
}

.mobile-toggle { display: none; }

/* Buttons */
.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--royal), #3f79ff);
  color: white;
  box-shadow: 0 14px 30px rgba(30, 94, 255, .22);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: translateX(-120%);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.btn-primary:hover::before { transform: translateX(120%); }

.btn-secondary {
  background: white;
  color: var(--navy);
  border: 1px solid var(--line);
}

/* Typography */
h1, h2, h3 { margin: 0 0 16px; line-height: 1.04; }
h2, h3 { font-family: "Outfit", sans-serif; letter-spacing: -.02em; color: var(--navy); }
h3 { letter-spacing: -.01em; }
.serif-ital { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 700; letter-spacing: -.01em; }

.lead { font-size: 18px; line-height: 1.75; color: var(--muted); max-width: 62ch; }

/* Hero */
.hero {
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: white;
  padding: 120px 0 60px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,19,38,.12) 0%, rgba(6,19,38,.84) 70%, rgba(6,19,38,.96) 100%),
    radial-gradient(900px 700px at 20% 20%, rgba(30,94,255,.26), transparent 55%),
    url('https://images.unsplash.com/photo-1527030280862-64139fba04ca?auto=format&fit=crop&w=2400&q=80') center/cover;
  transform: scale(1.02);
  filter: saturate(1.04) contrast(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 600px at 80% 30%, rgba(61,214,255,.10), transparent 55%);
  mix-blend-mode: screen;
  opacity: .85;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: end;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.96);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.dot-live {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: rgba(61,214,255,1);
  box-shadow: 0 0 0 0 rgba(61,214,255,.6);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61,214,255,.55); }
  70% { box-shadow: 0 0 0 12px rgba(61,214,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,214,255,0); }
}

.hero h1 {
  font-size: clamp(42px, 6.2vw, 76px);
  color: white;
  font-family: "Outfit", sans-serif;
  letter-spacing: -.02em;
  margin-top: 14px;
}
.hero-lead { color: rgba(255,255,255,.86); max-width: 60ch; }

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

.hero-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-strong);
  padding: 28px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-panel p { margin: 0; color: rgba(255,255,255,.82); line-height: 1.7; }
.hero-panel .mono {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-weight: 800;
  color: rgba(255,255,255,.70);
}
.hero-panel-title { color: white; margin-bottom: 12px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 18px;
  backdrop-filter: blur(10px);
  position: relative;
  transform-style: preserve-3d;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.stat strong {
  display: block;
  font-size: 30px;
  color: white;
  margin-bottom: 8px;
  font-family: "Outfit", sans-serif;
}
.stat span { color: rgba(255,255,255,.80); font-size: 14px; }

/* Sections */
.section { padding: 44px 0 88px; }
.section-tight { padding-bottom: 0; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }

.grid-3, .grid-2 { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

/* Premium depth: halo highlight + sweep */
.card::before,
.step::before,
.contact-item::before,
.stat::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(600px 240px at var(--mx, 30%) var(--my, 20%), rgba(30,94,255,.22), transparent 55%),
    radial-gradient(480px 220px at calc(var(--mx, 30%) + 18%) calc(var(--my, 20%) + 12%), rgba(61,214,255,.14), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.card::after,
.step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.0) 0%, rgba(255,255,255,.35) 35%, rgba(255,255,255,0) 70%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .28s ease;
  mix-blend-mode: soft-light;
}

.card.is-hover { border-color: rgba(30,94,255,.22); box-shadow: 0 22px 70px rgba(11,31,59,.16); }
.card.is-hover::before { opacity: 1; }
.card.is-hover::after { opacity: .75; transform: translateX(120%); }

.card-body { padding: 28px; }
.card p { color: var(--muted); line-height: 1.75; }

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  color: white;
  font-size: 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.icon-mini { margin: 0; width: 48px; height: 48px; border-radius: 14px; font-size: 20px; }

/* Split layout */
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 26px; align-items: stretch; }

/* About photo placeholder */
.about-photo {
  min-height: 640px;
  border-radius: 30px;
  border: 1px dashed #aac3f7;
  background:
    linear-gradient(180deg, rgba(11,31,59,.10), rgba(11,31,59,.24)),
    url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1200&q=80') center/cover;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo .placeholder {
  position: absolute;
  left: 22px;
  bottom: 22px;
  right: 22px;
  background: rgba(255,255,255,.94);
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--muted);
  font-weight: 700;
}

/* Pills */
.pill-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.pill {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--navy);
  font-weight: 700;
  border: 1px solid #d3e0fb;
}
.hero-pills { margin-top: 0; }
.pill-hero { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.14); color: white; }

/* Steps */
.step {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 230px;
  transform-style: preserve-3d;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.step.is-hover { border-color: rgba(30,94,255,.18); box-shadow: 0 22px 70px rgba(11,31,59,.14); }
.step.is-hover::before { opacity: 1; }
.step.is-hover::after { opacity: .75; transform: translateX(120%); }

.step-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: white;
  font-weight: 800;
  margin-bottom: 18px;
  font-family: "Outfit", sans-serif;
}

/* Projects */
.project-thumb { min-height: 260px; background-size: cover; background-position: center; }
.project-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--royal);
  font-size: 13px;
  font-weight: 800;
}

/* Quote */
.quote {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
  padding: 32px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.quote p { color: rgba(255,255,255,.86); font-size: 18px; line-height: 1.8; }
.kicker { color: var(--royal); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: 13px; margin-bottom: 10px; }
.kicker-light { color: #8fb1ff; }
.h2-on-dark { color: white; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.contact-card { padding: 30px; }
.contact-list { display: grid; gap: 14px; margin-top: 22px; }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 18px;
  background: var(--sky-2);
  border: 1px solid #dfe9fb;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.contact-item.is-hover { border-color: rgba(30,94,255,.18); box-shadow: 0 18px 45px rgba(11,31,59,.12); }
.contact-item.is-hover::before { opacity: 1; }

form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field-full { grid-column: 1 / -1; }

input, textarea, select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
  padding: 15px 16px;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: #84a7ff;
  box-shadow: 0 0 0 4px rgba(30,94,255,.08);
}
textarea { min-height: 150px; resize: vertical; }

/* Page hero (inner pages) */
.page-hero { padding: 44px 0 18px; }
.page-title {
  font-family: "Outfit", sans-serif;
  letter-spacing: -.02em;
  font-size: clamp(34px, 4.6vw, 56px);
  color: var(--navy);
  margin: 10px 0 10px;
}

/* CTA card */
.cta-card { border-radius: 30px; }
.cta-body { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.84);
  padding: 26px 0 44px;
  margin-top: 36px;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-brand { color: white; margin-bottom: 20px; }
.footer-small { color: rgba(255,255,255,.58); }
.footer-strong { color: white; }

/* Helpers */
.muted { color: var(--muted); }
.sp-18 { height: 18px; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid, .split, .contact-wrap { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .about-photo { min-height: 460px; }
}

@media (max-width: 760px) {
  .menu {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 84px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    z-index: 60;
  }
  .menu.open { display: flex; }
  .menu a, .menu .btn { width: 100%; justify-content: center; }
  .mobile-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: white;
    color: var(--navy);
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }
  .stats, .grid-3 { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; }
  form { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 120px; }
}