body {
  background: rgb(var(--vp-color-interim-blackops-rgb));
  color: var(--vp-color-slate-50);
  font-family: var(--vp-font-sans);
  -webkit-font-smoothing: antialiased;
}

section { scroll-margin-top: 88px; }

.ops-grid {
  background-image:
    linear-gradient(rgb(var(--vp-color-interim-redops-rgb) / 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--vp-color-interim-redops-rgb) / 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

.d100 { transition-delay: 100ms; }
.d200 { transition-delay: 200ms; }
.d300 { transition-delay: 300ms; }

.panel {
  background: rgb(var(--vp-color-interim-surface-1-rgb));
  border: 1px solid var(--vp-color-slate-700);
}

.cut {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.signal {
  position: relative;
}

.signal::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: rgb(var(--vp-color-interim-redops-rgb));
  display: inline-block;
  margin-right: 10px;
  box-shadow: 0 0 0 0 rgb(var(--vp-color-interim-redops-rgb) / 0.6);
  animation: vp-pulse-ring 2s infinite;
  vertical-align: middle;
}

.timeline-line {
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 2px dashed rgb(var(--vp-color-interim-redops-rgb));
}

.hero-surface {
  background:
    radial-gradient(circle at 10% 20%, rgb(var(--vp-color-interim-redops-rgb) / 0.14), transparent 44%),
    linear-gradient(120deg, rgb(var(--vp-color-interim-blackops-rgb)) 0%, rgb(var(--vp-color-slate-900-rgb)) 55%, rgb(var(--vp-color-interim-steel-rgb)) 100%);
}

.bg-surface-1 {
  background: rgb(var(--vp-color-slate-900-rgb));
}

.bg-surface-2 {
  background: rgb(var(--vp-color-interim-steel-rgb));
}

.bg-surface-3 {
  background: rgb(var(--vp-color-interim-blackops-rgb));
}

.bg-surface-4 {
  background: rgb(var(--vp-color-interim-surface-2-rgb));
}

.bg-surface-5 {
  background: rgb(var(--vp-color-interim-surface-3-rgb));
}

.logo-marquee {
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: vp-marquee 34s linear infinite;
}

.logo-track.reverse {
  animation-direction: reverse;
  animation-duration: 40s;
}

.logo-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 56px;
}

.logo-pill img {
  width: 52px;
  height: 52px;
  filter: brightness(0) saturate(100%) invert(88%) sepia(12%) saturate(396%) hue-rotate(112deg) brightness(93%) contrast(83%);
  opacity: 0.92;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.contact-widget-shell {
        --cw-bg: transparent;
        --cw-border: rgb(var(--vp-color-slate-400-rgb) / 0.35);
        --cw-text: inherit;
        --cw-placeholder: rgb(var(--vp-color-slate-400-rgb) / 0.85);
        --cw-focus: rgb(var(--vp-color-interim-redops-rgb) / 0.8);
        --cw-button-bg: currentColor;
        --cw-button-text: var(--vp-color-slate-900);
    }

    .contact-widget-shell--light {
        --cw-bg: rgb(var(--vp-color-white-rgb));
        --cw-border: rgb(var(--vp-color-slate-400-rgb) / 0.45);
        --cw-text: var(--vp-color-slate-900);
        --cw-placeholder: rgb(var(--vp-color-slate-500-rgb) / 0.9);
        --cw-focus: rgb(var(--vp-color-interim-redops-rgb) / 0.7);
        --cw-button-bg: var(--vp-color-slate-900);
        --cw-button-text: rgb(var(--vp-color-white-rgb));
    }

    .contact-widget-shell--dark {
        --cw-bg: rgb(var(--vp-color-slate-900-rgb) / 0.45);
        --cw-border: rgb(var(--vp-color-white-rgb) / 0.2);
        --cw-text: var(--vp-color-slate-50);
        --cw-placeholder: rgb(var(--vp-color-slate-300-rgb) / 0.8);
        --cw-focus: rgb(var(--vp-color-white-rgb) / 0.45);
        --cw-button-bg: rgb(var(--vp-color-white-rgb));
        --cw-button-text: var(--vp-color-slate-900);
    }

    .contact-widget-shell form {
        display: grid;
        gap: 1rem;
    }

    .contact-widget-shell label {
        display: block;
        margin-bottom: 0.45rem;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--cw-text);
    }
    .contact-widget-shell input:not([type="checkbox"]):not([type="radio"]),
    .contact-widget-shell textarea,
    .contact-widget-shell select {
        width: 100%;
        border: 1px solid var(--cw-border) !important;
        border-bottom: 1px solid var(--cw-border) !important;
        border-radius: 0.75rem !important;
        background: var(--cw-bg) !important;
        color: var(--cw-text) !important;
        padding: 0.8rem 1rem !important;
        line-height: 1.4;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .contact-widget-shell input::placeholder,
    .contact-widget-shell textarea::placeholder,
    .contact-widget-shell select::placeholder {
        color: var(--cw-placeholder);
    }

    .contact-widget-shell input:focus,
    .contact-widget-shell textarea:focus,
    .contact-widget-shell select:focus {
        outline: none;
        border-color: var(--cw-focus) !important;
        box-shadow: 0 0 0 2px rgb(var(--vp-color-slate-400-rgb) / 0.18);
    }

    .contact-widget-shell textarea {
        min-height: 7.5rem;
        resize: vertical;
    }

    .contact-widget-shell button,
    .contact-widget-shell input[type="submit"] {
        border-radius: 0.9rem;
    }

    .contact-layout {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info-slot,
    .contact-form-slot {
        flex: 1 1 0%;
        min-width: 0;
    }

    @media (min-width: 1024px) {
        .contact-layout {
            flex-direction: row;
            gap: 3rem;
            align-items: flex-start;
        }
    }

    .contact-form-slot[hidden],
    .contact-form-slot.is-hidden,
    .contact-form-slot.hidden {
        display: none !important;
    }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-form > div { width: 100%; }
.contact-form label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vp-color-slate-400);
}
.contact-form input[name="name"],
.contact-form input[name="email"],
.contact-form textarea[name="message"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgb(var(--vp-color-interim-input-border-rgb));
  background: rgb(var(--vp-color-black-rgb));
  color: rgb(var(--vp-color-interim-cream-soft-rgb));
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input[name="name"]::placeholder,
.contact-form input[name="email"]::placeholder,
.contact-form textarea[name="message"]::placeholder { color: var(--vp-color-slate-500); }
.contact-form input[name="name"]:focus,
.contact-form input[name="email"]:focus,
.contact-form textarea[name="message"]:focus {
  border-color: rgb(var(--vp-color-interim-alert-rgb));
  box-shadow: 0 0 0 2px rgb(var(--vp-color-interim-alert-rgb) / 0.2);
}
.contact-form textarea[name="message"] { min-height: 8rem; resize: vertical; }
.contact-form button[type="submit"] {
  width: 100%;
  padding: 1rem;
  border: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgb(var(--vp-color-interim-redops-rgb));
  color: rgb(var(--vp-color-white-rgb));
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.contact-form button[type="submit"]:hover { background: rgb(var(--vp-color-interim-cream-soft-rgb)); color: rgb(var(--vp-color-black-rgb)); }
