
:root {
  --bg: #081120;
  --panel: rgba(10, 18, 35, 0.72);
  --panel-solid: #0f1b31;
  --panel-2: #121f37;
  --text: #e8eefc;
  --muted: #a9b7d0;
  --line: rgba(255, 255, 255, 0.1);
  --brand: #6ea8fe;
  --brand-2: #89f0ff;
  --accent: #8b5cf6;
  --success: #50d890;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: min(1180px, calc(100vw - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(110, 168, 254, 0.18), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(139, 92, 246, 0.14), transparent 28%),
    linear-gradient(180deg, #081120 0%, #0a1427 55%, #09111d 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.bg-grid,
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}
.bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 90%);
}
.bg-glow {
  z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(80, 216, 144, 0.16), transparent 22%),
    radial-gradient(circle at 85% 18%, rgba(110, 168, 254, 0.18), transparent 20%),
    radial-gradient(circle at 55% 60%, rgba(137, 240, 255, 0.08), transparent 25%);
}

.container { width: var(--container); margin-inline: auto; }
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-title {
  font-size: clamp(1.9rem, 1.5rem + 1.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.section-kicker {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-2);
  background: rgba(255,255,255,0.04);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.section-copy,
.lead {
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  max-width: 68ch;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  z-index: 200;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(22px);
  background: rgba(8, 17, 32, 0.68);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}
.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 14px 40px rgba(110, 168, 254, 0.2);
}
.brand-text { min-width: 0; }
.brand-title {
  display: block;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1rem;
}
.brand-subtitle {
  display: block;
  font-size: 0.83rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 14px;
  cursor: pointer;
}
.site-nav ul {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}
.site-nav a {
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  transition: 0.2s ease;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.header-cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn:hover,
.btn-secondary:hover,
.btn-ghost:hover { transform: translateY(-1px); }
.btn {
  color: #031120;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 16px 40px rgba(110, 168, 254, 0.25);
}
.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,0.05);
}
.btn-ghost {
  color: var(--muted);
  border-color: transparent;
  background: transparent;
}
.btn-block { width: 100%; }

.hero { padding: 64px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.hero-copy {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 1rem + 2vw, 2.6rem);
  box-shadow: var(--shadow);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--brand-2);
  background: rgba(255,255,255,0.04);
  font-size: 0.9rem;
}
.hero h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2.4rem, 1.5rem + 3vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.hero p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.18rem);
  max-width: 60ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.75rem 0;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.hero-stat,
.metric-card,
.feature-card,
.service-card,
.card,
.contact-card,
.project-card,
.step-card,
.quote-card,
.profile-card,
.value-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero-stat {
  padding: 1rem;
}
.hero-stat strong,
.metric-card strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.hero-stat span,
.metric-card span { color: var(--muted); font-size: 0.95rem; }
.hero-media {
  position: relative;
  min-height: 100%;
}
.showcase {
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  box-shadow: var(--shadow);
}
.showcase img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}
.floating-panel {
  position: absolute;
  padding: 1rem 1.15rem;
  max-width: 240px;
  backdrop-filter: blur(14px);
}
.floating-top {
  top: auto;
  left: 1rem;
  bottom: 6.5rem;
}

.floating-bottom {
  right: 1rem;
  bottom: 1rem;
}
.panel-label { color: var(--brand-2); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.panel-title { font-weight: 700; display: block; margin-top: 0.35rem; }
.panel-copy { color: var(--muted); font-size: 0.92rem; margin-top: 0.4rem; }

.grid-3,
.grid-4,
.metrics-grid,
.services-grid,
.values-grid,
.projects-grid,
.contact-grid,
.steps-grid,
.team-grid {
  display: grid;
  gap: 1rem;
}
.grid-3,
.services-grid,
.values-grid,
.projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4,
.metrics-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-grid,
.team-grid { grid-template-columns: 1.05fr 0.95fr; }
.steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.feature-card,
.service-card,
.metric-card,
.value-card,
.project-card,
.step-card,
.contact-card,
.profile-card,
.card {
  padding: 1.35rem;
}
.card h3,
.feature-card h3,
.service-card h3,
.value-card h3,
.project-card h3,
.step-card h3,
.contact-card h3,
.profile-card h3 { margin: 0 0 0.65rem; font-size: 1.18rem; letter-spacing: -0.02em; }
.card p,
.feature-card p,
.service-card p,
.value-card p,
.project-card p,
.step-card p,
.contact-card p,
.profile-card p { margin: 0; color: var(--muted); }
.card ul,
.service-card ul,
.project-card ul,
.profile-card ul { margin: 1rem 0 0; padding-left: 1rem; color: var(--muted); }
.card li,
.service-card li,
.project-card li,
.profile-card li { margin: 0.4rem 0; }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(110,168,254,0.22), rgba(137,240,255,0.12));
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--brand-2);
}

.metric-card {
  text-align: left;
  padding: 1.2rem;
}
.metric-card strong { margin-bottom: 0.25rem; }

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.media-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 100%;
}
.media-card img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}
.media-overlay {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  background: rgba(9, 15, 28, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  backdrop-filter: blur(12px);
}
.list-check {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}
.list-check li {
  margin: 0.8rem 0;
  color: var(--muted);
  padding-left: 1.6rem;
  position: relative;
}
.list-check li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--success);
  font-size: 1.2rem;
}

.band {
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(110,168,254,0.18), rgba(139,92,246,0.16));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow);
}
.band-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: center;
}
.band-copy p { margin: 0.7rem 0 0; color: rgba(232,238,252,0.84); }
.band-actions { display: flex; justify-content: flex-end; gap: 0.8rem; flex-wrap: wrap; }

.page-hero {
  padding: 56px 0 30px;
}
.page-hero-card {
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.3rem);
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
}
.page-hero-card h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.2rem, 1.6rem + 2vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.page-hero-card p { color: var(--muted); margin: 0; max-width: 65ch; }

.quote-card {
  padding: 1.6rem;
}
.quote-card blockquote {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.7;
}
.quote-card footer {
  margin-top: 1rem;
  color: var(--muted);
}
.profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: center;
}
.profile-card img {
  width: 122px;
  height: 122px;
  border-radius: 24px;
  object-fit: cover;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1rem; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.74rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  font-size: 0.88rem;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}
.contact-card address { font-style: normal; color: var(--muted); }
.contact-detail {
  display: grid;
  gap: 0.8rem;
}
.contact-detail a { color: var(--brand-2); }
.form-note { color: var(--muted); font-size: 0.95rem; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.form-grid .full { grid-column: 1 / -1; }
.input,
.textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 0.95rem 1rem;
}
.textarea { min-height: 150px; resize: vertical; }
.input::placeholder,
.textarea::placeholder { color: #8ea0c2; }

.site-footer {
  padding: 26px 0 40px;
  color: var(--muted);
}
.footer-card {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links a:hover { color: var(--text); }

@media (max-width: 1100px) {
  .hero-grid,
  .grid-4,
  .contact-grid,
  .team-grid,
  .split-layout,
  .band-grid,
  .steps-grid,
  .services-grid,
  .values-grid,
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-nav {
    position: fixed;
    inset: 79px 1rem auto 1rem;
    background: rgba(10,18,35,0.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 1rem;
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { display: block; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .hero,
  .page-hero { padding-top: 34px; }
  .hero-grid,
  .grid-3,
  .grid-4,
  .services-grid,
  .values-grid,
  .projects-grid,
  .contact-grid,
  .team-grid,
  .steps-grid,
  .split-layout,
  .band-grid,
  .hero-stats,
  .metrics-grid,
  .form-grid { grid-template-columns: 1fr; }
  .profile-card { grid-template-columns: 1fr; }
  .showcase img,
  .media-card img { min-height: 340px; }
  .floating-panel { position: static; max-width: none; margin-top: 0.9rem; }
  .hero-media { display: grid; gap: 0.9rem; }
  .header-inner { min-height: 72px; }
  .brand-subtitle { white-space: normal; }
  .site-nav { inset: 74px 0.75rem auto 0.75rem; }
  .band { padding: 22px; }
}


/* Live balance ticker */
.balance-ticker {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(90deg, rgba(4, 10, 22, .96), rgba(10, 24, 45, .96), rgba(4, 10, 22, .96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 44px rgba(0,0,0,.20);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-viewport {
  width: 100%;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: dcTickerSeamless 24s linear infinite;
}
.ticker-segment {
  flex: 0 0 auto;
  min-width: 100vw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.72rem, 1.35vw, 1.15rem);
  padding: .68rem clamp(1rem, 4vw, 3rem);
}
.balance-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .22rem .62rem;
  border-radius: 999px;
  border: 1px solid rgba(137,240,255,.28);
  color: #031120;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(110,168,254,.18);
}
.ticker-label {
  color: rgba(255,255,255,.84);
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .78rem;
}
.ticker-balance {
  color: #fff;
  font-size: clamp(.95rem, .85rem + .28vw, 1.12rem);
  font-weight: 900;
  letter-spacing: .01em;
  text-shadow: 0 0 24px rgba(137,240,255,.16);
}
.ticker-change {
  font-weight: 900;
  padding: .2rem .58rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.ticker-change.is-up { color: #1ff083; background: rgba(31,240,131,.12); border-color: rgba(31,240,131,.24); }
.ticker-change.is-down { color: #ff5266; background: rgba(255,82,102,.12); border-color: rgba(255,82,102,.24); }
.ticker-change.is-flat { color: #f6c85f; background: rgba(246,200,95,.12); border-color: rgba(246,200,95,.24); }
.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(137,240,255,.58);
  box-shadow: 0 0 14px rgba(137,240,255,.55);
}
.ticker-meta {
  color: rgba(255,255,255,.58);
  font-size: .82rem;
  font-weight: 600;
}
@keyframes dcTickerSeamless {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 760px) {
  .balance-ticker {
    width: 100vw;
    overflow: hidden;
  }
  .ticker-track {
    animation: dcTickerSeamless 16s linear infinite;
  }
  .ticker-segment {
    justify-content: flex-start;
    min-width: 100vw;
    gap: .72rem;
    padding-inline: 1.15rem;
  }
  .ticker-label { font-size: .68rem; }
  .ticker-pill { font-size: .62rem; padding: .18rem .5rem; }
  .ticker-balance { font-size: .94rem; }
  .ticker-change { padding: .16rem .48rem; }
  .ticker-meta { display: inline-flex; font-size: .72rem; }
}
/* Do not disable the live index animation on mobile: the ticker is part of the brand signal. */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation-duration: 32s; }
}
