:root {
  --bg: #030508;
  --surface: #0a1018;
  --surface-2: #101824;
  --line: rgba(0, 212, 255, 0.18);
  --text: #e8eef8;
  --muted: #8b9bb3;
  --cyan: #00d4ff;
  --amber: #f5b942;
  --max: 1180px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #7de8ff; }
img { max-width: 100%; display: block; }

.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

.preview-banner {
  background: #1a1408;
  color: #f0c86a;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem;
  border-bottom: 1px solid rgba(245, 185, 66, 0.25);
}

.grim-tip {
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
  color: var(--muted);
  background: rgba(0, 212, 255, 0.05);
  border-bottom: 1px solid var(--line);
}
.grim-tip strong {
  font-family: var(--mono);
  color: var(--amber);
  font-weight: 600;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(3, 5, 8, 0.9);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
}
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand__name,
.logo-lockup__wordmark {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand__name { font-size: 1rem; line-height: 1.15; }
.wordmark__spark { color: var(--amber); }
.wordmark__line { color: var(--text); }
.wordmark__cyber { color: var(--cyan); }
.logo-lockup__wordmark .wordmark__cyber {
  display: block;
  font-size: 1em;
}
.logo-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}
.logo-lockup__mark {
  width: min(200px, 55%);
  margin: 0 auto;
}
.logo-lockup__wordmark {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.1;
}
.logo-lockup__wordmark .wordmark__cyber { font-size: 1em; }
.brand__tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav a {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
}
.nav a:hover { color: var(--cyan); }
.nav__cta {
  font-family: var(--mono);
  font-size: 0.75rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  border: 1px solid var(--cyan);
  color: var(--cyan) !important;
  background: rgba(0, 212, 255, 0.06);
}
.nav__cta:hover {
  background: rgba(0, 212, 255, 0.14);
  text-decoration: none;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  font-family: var(--mono);
  font-size: 0.75rem;
}

.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 55%;
  height: 140%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12), transparent 65%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.kicker {
  font-family: var(--mono);
  color: var(--amber);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.hero__lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--fill {
  background: linear-gradient(135deg, #00b8e6, #008cff);
  color: #001018;
}
.btn--line {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn:hover { filter: brightness(1.06); text-decoration: none; }

.hero__visual {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  padding: 1.5rem;
  position: relative;
}
.hero__visual::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--amber));
}
.hero__visual .logo-lockup { margin-bottom: 1.25rem; }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.metric {
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  padding: 0.7rem;
  text-align: center;
}
.metric strong {
  display: block;
  font-family: var(--display);
  color: var(--cyan);
  font-size: 1rem;
}
.metric span {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section { padding: 4rem 0; }
.section--fill { background: rgba(10, 16, 24, 0.72); border-block: 1px solid var(--line); }
.section__top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.section__top h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 0.35rem 0 0;
  letter-spacing: -0.02em;
}
.section__top p { margin: 0; color: var(--muted); max-width: 34rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.tile {
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.tile:hover {
  border-color: rgba(0, 212, 255, 0.45);
  transform: translateY(-3px);
}
.tile img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.tile__body { padding: 1.1rem 1.15rem 1.25rem; }
.tile__num {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--amber);
  letter-spacing: 0.12em;
}
.tile h3 {
  margin: 0.35rem 0 0.45rem;
  font-family: var(--display);
  font-size: 1.1rem;
}
.tile p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.quote-box {
  border-left: 3px solid var(--cyan);
  padding: 0.25rem 0 0.25rem 1rem;
  font-size: 1.05rem;
}
.panel {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.35rem;
}
.panel h3 { margin-top: 0; font-family: var(--display); }
.panel ul { color: var(--muted); padding-left: 1.1rem; }
.panel li { margin-bottom: 0.4rem; }

.grim-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.grim-gallery__item { margin: 0; }
.grim-gallery__item--main { grid-column: 1 / -1; }
.grim-gallery img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.partners {
  padding: 1.1rem 0;
  border-block: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
}
.partners__label {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
.partners__viewport { overflow: hidden; }
.partners__track {
  display: flex;
  gap: 3rem;
  align-items: center;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.partners__track img { height: 38px; width: auto; opacity: 0.92; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cta {
  border: 1px solid var(--line);
  padding: 3rem 2rem;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(0,0,0,0.82), rgba(0, 40, 70, 0.55)),
    url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1400&q=80') center/cover;
}
.cta h2 {
  font-family: var(--display);
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.cta p {
  max-width: 620px;
  margin: 0 auto 1.4rem;
  color: #d5e3f7;
}

.service-block {
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 0.85rem;
}
.service-block summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-family: var(--display);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.service-block summary::-webkit-details-marker { display: none; }
.service-block summary::after { content: "+"; color: var(--cyan); font-family: var(--mono); }
.service-block[open] summary::after { content: "−"; }
.service-block__tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--amber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.service-block ul {
  margin: 0;
  padding: 0 1.15rem 1.1rem 2rem;
  color: var(--muted);
}
.service-block li { margin-bottom: 0.45rem; }

.calendly-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}
.calendly-intro h2 {
  font-family: var(--display);
  margin: 0.35rem 0 0.75rem;
}
.calendly-intro p { color: var(--muted); margin: 0; }
.calendly-panel {
  max-width: 56rem;
  margin: 0 auto;
  border: 1px solid var(--line);
  padding: 1rem;
  background: var(--surface);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.08);
}
.calendly-frame {
  height: 700px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.calendly-frame iframe { width: 100%; height: 100%; border: 0; }
.contact-note {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--muted);
}

.footer {
  padding: 2.5rem 0 1.75rem;
  border-top: 1px solid var(--line);
  background: #020305;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}
.footer h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.75rem;
}
.footer p, .footer li { color: var(--muted); font-size: 0.9rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.35rem; }
.footer__bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.8rem;
  font-family: var(--mono);
}

@media (max-width: 900px) {
  .hero__grid, .grid-3, .split, .footer__grid { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(3,5,8,0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
  }
  .nav.is-open { display: flex; }
  .topbar { position: relative; }
  .topbar { position: sticky; }
}
