
:root {
  --bg: #07111f;
  --bg-soft: #0b1728;
  --panel: #0f1e31;
  --panel-light: #f4f7fb;
  --text: #0e1a2b;
  --muted: #667085;
  --white: #ffffff;
  --line: rgba(255,255,255,.12);
  --accent: #38bdf8;
  --accent-2: #22d3ee;
  --success: #34d399;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 22px 70px rgba(3, 12, 28, .16);
}

* { 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: #fff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 31, .88);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(56,189,248,.55);
  border-radius: 10px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(56,189,248,.22), rgba(34,211,238,.03)),
    #0d2138;
  box-shadow: inset 0 0 20px rgba(56,189,248,.08);
}
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}
.brand-mark::before { width: 18px; left: 7px; top: 11px; transform: rotate(-24deg); }
.brand-mark::after { width: 15px; right: 6px; bottom: 10px; transform: rotate(31deg); }

.nav-links { display: flex; align-items: center; gap: 28px; color: #c9d5e5; font-size: .95rem; }
.nav-links a { transition: .2s ease; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(56,189,248,.45);
  border-radius: 999px;
  color: #fff !important;
  background: rgba(56,189,248,.08);
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.45rem;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(56,189,248,.18), transparent 28%),
    radial-gradient(circle at 30% 80%, rgba(34,211,238,.08), transparent 30%),
    linear-gradient(135deg, #06101d 0%, #0a1930 55%, #07111f 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 70px;
  padding: 90px 0 80px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b7e8fb;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .78rem;
  font-weight: 800;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}
h1, h2, h3 { line-height: 1.08; margin-top: 0; letter-spacing: -.035em; }
.hero h1 {
  max-width: 850px;
  margin: 20px 0 24px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 850;
}
.hero h1 span { color: var(--accent); }
.hero-lead {
  max-width: 760px;
  color: #c2cfdd;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  margin: 0 0 32px;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #fff; color: #07111f; }
.btn-secondary { color: #fff; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04); }

.hero-card {
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(13, 30, 49, .72);
  backdrop-filter: blur(12px);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 26px 80px rgba(0,0,0,.24);
}
.hero-card-title { color: #93a9bd; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.metric {
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  padding: 18px;
  border: 1px solid rgba(255,255,255,.07);
}
.metric strong { display: block; color: #fff; font-size: 1.55rem; }
.metric span { color: #98aabd; font-size: .88rem; }

.section { padding: 100px 0; }
.section-soft { background: var(--panel-light); }
.section-dark { background: var(--bg); color: white; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 46px; }
.section-head h2 { margin-bottom: 0; font-size: clamp(2.2rem, 4vw, 4rem); max-width: 760px; }
.section-head p { max-width: 520px; color: var(--muted); margin: 0; }
.section-dark .section-head p { color: #a7b4c3; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border: 1px solid #e4eaf2;
  border-radius: var(--radius);
  background: #fff;
  padding: 30px;
  box-shadow: 0 10px 35px rgba(5, 20, 41, .04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-num { color: #8a99a8; font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.card h3 { font-size: 1.45rem; margin: 26px 0 14px; }
.card p { color: var(--muted); margin: 0; }
.card-link { display: inline-block; margin-top: 24px; font-weight: 800; color: #0878a4; }
.card-dark { background: #0d1b2d; border-color: rgba(255,255,255,.1); }
.card-dark p { color: #a9b6c5; }
.card-dark .card-link { color: #7dd3fc; }

.band {
  border-top: 1px solid #e7ecf2;
  border-bottom: 1px solid #e7ecf2;
  background: #fff;
}
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-item { padding: 28px; border-right: 1px solid #e7ecf2; }
.band-item:last-child { border-right: 0; }
.band-item strong { display: block; font-size: 1.25rem; }
.band-item span { color: var(--muted); font-size: .9rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.big-copy h2 { font-size: clamp(2.3rem, 4.5vw, 4.4rem); margin-bottom: 24px; }
.big-copy p { color: var(--muted); font-size: 1.08rem; }
.stack-panel {
  background: linear-gradient(145deg, #0b1728, #10253d);
  color: white;
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.stack-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.09);
}
.stack-row:last-child { border-bottom: 0; }
.stack-row span { color: #94a8ba; }
.stack-row strong { text-align: right; }

.page-hero {
  color: white;
  background:
    radial-gradient(circle at 85% 10%, rgba(56,189,248,.17), transparent 25%),
    linear-gradient(135deg, #07111f, #0c1d31);
  padding: 90px 0 80px;
}
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.8rem); margin: 18px 0 20px; }
.page-hero p { max-width: 780px; color: #bac8d6; font-size: 1.15rem; }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; color: #93a6b8; font-size: .92rem; }

.content-grid { display: grid; grid-template-columns: 270px 1fr; gap: 56px; align-items: start; }
.side-nav { position: sticky; top: 105px; }
.side-nav a { display: block; padding: 9px 0; color: #64748b; font-size: .92rem; }
.side-nav a:hover { color: #0c799f; }
.prose h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin: 0 0 24px; }
.prose h3 { font-size: 1.45rem; margin: 34px 0 12px; }
.prose h4 { font-size: 1.08rem; margin: 24px 0 8px; }
.prose p, .prose li { color: #4d5b6b; }
.prose ul { padding-left: 20px; }
.prose-section { padding: 0 0 65px; margin-bottom: 65px; border-bottom: 1px solid #e7ecf2; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card {
  min-height: 290px;
  border-radius: 24px;
  padding: 30px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.service-card h2 { font-size: 1.7rem; margin: 18px 0 14px; }
.service-card ul { padding-left: 19px; color: #596777; }

.timeline { border-left: 1px solid #dbe3ec; padding-left: 30px; }
.timeline-item { position: relative; margin-bottom: 60px; }
.timeline-item::before {
  content: ""; position: absolute; left: -37px; top: 6px;
  width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px #e7f7fd;
}
.timeline-date { color: #0783ae; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }

.callout {
  border-radius: 26px;
  padding: 42px;
  background: #0a1728;
  color: white;
}
.callout h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 16px; }
.callout p { color: #aebdca; max-width: 760px; }

.footer {
  padding: 55px 0;
  background: #050c15;
  color: #9daebf;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.footer strong { color: #fff; display: block; margin-bottom: 8px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 920px) {
  .hero-inner, .split, .content-grid { grid-template-columns: 1fr; }
  .hero-inner { min-height: auto; padding: 70px 0; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: 1fr 1fr; }
  .band-item:nth-child(2) { border-right: 0; }
  .side-nav { display: none; }
}
@media (max-width: 720px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    padding: 18px 20px 24px; background: #07111f; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 14px;
  }
  .nav-links.open { display: flex; }
  .hero h1 { font-size: 3.25rem; }
  .section { padding: 72px 0; }
  .section-head { flex-direction: column; align-items: start; gap: 15px; }
  .band-grid { grid-template-columns: 1fr; }
  .band-item { border-right: 0; border-bottom: 1px solid #e7ecf2; }
  .footer-grid { flex-direction: column; align-items: start; }
}

/* Project portfolio and case studies */
.project-feature { display:grid; grid-template-columns:1.15fr .85fr; gap:42px; padding:42px; border:1px solid #dce5ee; border-radius:28px; background:#fff; box-shadow:0 18px 55px rgba(3,12,28,.08); transition:.2s ease; }
.project-feature:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.project-feature h3 { font-size:clamp(2rem,3.6vw,3.6rem); margin:18px 0; max-width:760px; }
.project-feature p { color:var(--muted); font-size:1.05rem; }
.project-status { display:inline-flex; width:max-content; padding:7px 11px; border-radius:999px; background:#eef3f7; color:#526171; font-size:.73rem; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.project-status-live { background:#dcfce7; color:#137044; }
.project-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }
.project-tags span { padding:6px 10px; border-radius:999px; background:#edf5f9; color:#22627a; font-size:.78rem; font-weight:750; }
.project-link { display:inline-block; margin-top:28px; color:#0878a4; }
.mini-flow { display:flex; flex-direction:column; justify-content:center; gap:8px; border-radius:22px; padding:24px; background:#07111f; color:white; }
.mini-flow div { padding:15px 17px; border:1px solid rgba(255,255,255,.11); border-radius:14px; background:#0d1b2d; }
.mini-flow small { display:block; color:#91a5b9; text-transform:uppercase; letter-spacing:.1em; font-size:.65rem; }
.mini-flow strong { display:block; margin-top:4px; font-size:1.12rem; }
.mini-flow i { text-align:center; color:var(--accent); font-style:normal; }
.project-cards .card { min-height:320px; }
.project-cards .card h3 { margin-top:22px; }

.case-hero { position:relative; overflow:hidden; padding:100px 0 90px; color:white; background:radial-gradient(circle at 82% 18%,rgba(56,189,248,.19),transparent 28%),linear-gradient(135deg,#06101d,#0a1930 58%,#07111f); }
.case-hero::after { content:""; position:absolute; inset:0; opacity:.2; background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size:52px 52px; pointer-events:none; }
.case-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:1.3fr .7fr; gap:70px; align-items:center; }
.case-hero h1 { font-size:clamp(3.2rem,6vw,6.4rem); margin:20px 0 24px; }
.case-hero h1 span { color:var(--accent); }
.case-hero p { max-width:760px; color:#c2cfdd; font-size:1.16rem; }
.case-summary { border:1px solid rgba(255,255,255,.13); background:rgba(13,30,49,.78); border-radius:26px; padding:28px; }
.case-summary>span { color:#86d9f8; text-transform:uppercase; letter-spacing:.12em; font-size:.72rem; font-weight:850; }
.case-summary>strong { display:block; font-size:3rem; margin:12px 0 6px; }
.case-summary dl { margin:24px 0 0; }
.case-summary dl div { display:flex; justify-content:space-between; gap:18px; padding:12px 0; border-top:1px solid rgba(255,255,255,.1); }
.case-summary dt { color:#91a5b9; }
.case-summary dd { margin:0; text-align:right; font-weight:750; }
.risk-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:28px; }
.risk-grid div { padding:18px; border:1px solid #e1e8ef; border-radius:16px; background:#f8fafc; }
.risk-grid strong { display:block; color:#0990bd; font-size:.78rem; }
.risk-grid span { display:block; margin-top:8px; font-weight:780; }
.architecture-flow { display:grid; grid-template-columns:1fr auto 1fr auto 1fr auto 1fr; align-items:center; gap:10px; margin:30px 0 16px; }
.arch-node { min-height:145px; padding:20px; border-radius:18px; background:#07111f; color:white; display:flex; flex-direction:column; justify-content:center; }
.arch-node small { color:#78cfee; text-transform:uppercase; letter-spacing:.1em; font-size:.65rem; }
.arch-node strong { margin:8px 0; font-size:1.1rem; }
.arch-node span { color:#9eb0c0; font-size:.83rem; }
.arch-arrow { color:#0a89b4; font-size:1.3rem; font-weight:900; }
.environment-flow { display:grid; grid-template-columns:1fr auto 1fr auto 1fr; align-items:center; gap:12px; padding:18px; border-radius:18px; background:#eef5f8; }
.environment-flow div { padding:14px; }
.environment-flow small,.environment-flow span { display:block; color:#657586; }
.environment-flow strong { display:block; margin:4px 0; }
.environment-flow b { color:#0878a4; font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; }
.case-figure { margin:28px 0 18px; padding:10px; border:1px solid #dfe7ee; border-radius:22px; background:#f8fafc; box-shadow:0 18px 55px rgba(3,12,28,.09); }
.case-figure img { width:100%; border-radius:14px; }
.case-figure figcaption { padding:13px 10px 5px; color:#687789; font-size:.86rem; }
.proof-note { padding:20px 22px; border-left:4px solid var(--accent); background:#eff9fd; border-radius:0 14px 14px 0; }
.proof-note p { margin-bottom:0; }
.capability-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.capability-grid article { padding:24px; border:1px solid #e0e7ee; border-radius:18px; background:#fff; }
.capability-grid article>span { color:#0783ae; font-size:.75rem; font-weight:850; letter-spacing:.1em; }
.capability-grid h3 { margin:14px 0 10px; }
.capability-grid p { margin:0; }
.compact-timeline .timeline-item { margin-bottom:38px; }
.next-step { padding:24px; border-radius:18px; background:#07111f; color:white; }
.next-step span { color:#78cfee; text-transform:uppercase; letter-spacing:.1em; font-size:.7rem; font-weight:850; }
.next-step strong { display:block; margin:8px 0; font-size:1.3rem; }
.next-step p { color:#aebdca; margin:0; }

@media (max-width: 1050px) { .architecture-flow { grid-template-columns:1fr 1fr; } .arch-arrow { display:none; } .environment-flow { grid-template-columns:1fr; } .environment-flow b { text-align:center; } }
@media (max-width: 920px) { .project-feature,.case-hero-grid { grid-template-columns:1fr; } .risk-grid { grid-template-columns:1fr 1fr; } }
@media (max-width: 720px) { .project-feature { padding:26px; } .capability-grid,.risk-grid,.architecture-flow { grid-template-columns:1fr; } .case-hero { padding:72px 0; } .case-hero h1 { font-size:3.15rem; } }
