:root {
  --rti-bg: #070d18;
  --rti-navy: #0c1a33;
  --rti-blue: #1e5bb8;
  --rti-sky: #5aa7ef;
  --rti-gold: #c9a227;
  --rti-gold-soft: rgba(201, 162, 39, 0.18);
  --text: #e2e8f0;
  --muted: #94a3b8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Outfit, system-ui, sans-serif;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(30, 91, 184, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(201, 162, 39, 0.12), transparent 50%),
    linear-gradient(180deg, #070d18 0%, #0a1426 40%, #070d18 100%);
  background-attachment: fixed;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.brand {
  font-family: Syne, Outfit, sans-serif;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(7, 13, 24, 0.82);
  backdrop-filter: blur(12px);
}

.header-inner,
.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.logo-link img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.logo-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-sub {
  font-size: 0.6875rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.nav a:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.2s, filter 0.2s, border-color 0.2s;
}

.btn-gold {
  background: var(--rti-gold);
  color: #0a1426;
  box-shadow: 0 10px 24px rgba(120, 80, 0, 0.2);
}

.btn-gold:hover {
  filter: brightness(1.08);
}

.btn-blue {
  background: var(--rti-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 60, 140, 0.3);
}

.btn-blue:hover {
  background: #2568c9;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  overflow: hidden;
  padding: 6rem 0 3.5rem;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
}

.hero-scene canvas {
  width: 100% !important;
  height: 100% !important;
}

.hero-fade,
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-fade {
  background: linear-gradient(
    to top,
    var(--rti-bg),
    rgba(7, 13, 24, 0.72),
    rgba(7, 13, 24, 0.35)
  );
}

.hero-glow {
  background: radial-gradient(ellipse at 70% 40%, rgba(30, 91, 184, 0.2), transparent 55%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rti-sky);
}

.hero h1 {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
}

.lead {
  margin: 1.25rem 0 0;
  max-width: 32rem;
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  line-height: 1.65;
  color: #cbd5e1;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.video-wrap {
  position: relative;
  width: min(100%, 20rem);
  animation: rtiFloat 5.5s ease-in-out infinite;
}

.video-ring {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 999px;
  background: #0c1a33;
  box-shadow:
    0 0 0 1px rgba(90, 167, 239, 0.35),
    0 0 40px rgba(30, 91, 184, 0.35),
    0 20px 50px rgba(0, 0, 0, 0.45);
}

.video-ring video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-logo {
  position: absolute;
  bottom: -0.75rem;
  left: -0.75rem;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--rti-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.section {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  color: #fff;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0.75rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.pillars {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.pillar {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.25rem;
  transition: border-color 0.2s, background 0.2s;
}

.pillar:hover {
  border-color: rgba(90, 167, 239, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.pillar-bar {
  width: 2.5rem;
  height: 0.25rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, var(--rti-gold), var(--rti-sky));
}

.pillar h3 {
  margin: 0;
  font-size: 0.875rem;
  color: #fff;
}

.pillar p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.solutions {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.solution {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent);
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.solution:hover,
.solution:focus-visible {
  border-color: rgba(90, 167, 239, 0.45);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent);
  outline: none;
}

.solution-tag {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rti-gold);
}

.solution h3 {
  margin: 0.5rem 0 0;
  font-size: 1.25rem;
  color: #fff;
}

.solution p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #cbd5e1;
  flex: 1;
}

.solution-cta {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rti-sky);
}

.note {
  margin: 2rem 0 0;
  font-size: 0.875rem;
  color: #64748b;
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-grid p {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.about-grid p.muted {
  color: var(--muted);
}

.ceo-card {
  border-radius: 1rem;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: var(--rti-gold-soft);
  padding: 1.75rem;
}

.ceo-label {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rti-gold);
}

.ceo-card h3 {
  margin: 0.75rem 0 0;
  font-size: 1.5rem;
  color: #fff;
}

.ceo-role {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.ceo-card p:last-child {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem 0 2rem;
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #fff;
}

.copy {
  margin: 1.5rem 0 0;
  font-size: 0.6875rem;
  color: #475569;
}

.fade-in {
  animation: rtiFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fade-in-2 {
  animation-delay: 0.12s;
}

.fade-in-3 {
  animation-delay: 0.24s;
}

.fade-in-4 {
  animation-delay: 0.36s;
}

@keyframes rtiFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rtiFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (min-width: 640px) {
  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    align-items: center;
    padding-bottom: 5rem;
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero-media {
    justify-content: flex-end;
  }

  .pillars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .solutions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .footer-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in,
  .fade-in-2,
  .fade-in-3,
  .fade-in-4,
  .video-wrap {
    animation: none !important;
  }
}
