:root {
  --color-bg: #020617;
  --color-surface: #020617;
  --color-surface-elevated: #020617;
  --color-panel: #020617;
  --color-primary: #275b93;
  --color-primary-soft: rgba(39, 91, 147, 0.14);
  --color-accent: #fbbf24;
  --color-text: #f9fafb;
  --color-muted: #9ca3af;
  --color-border-subtle: rgba(148, 163, 184, 0.35);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.65);
  --max-width: 1120px;
  --transition-fast: 160ms ease-out;
}

/* Base font sizing (slightly larger on mobile) */
html {
  font-size: 16px;
}

@media (max-width: 600px) {
  html {
    font-size: 17px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, #1f2937 0, #020617 55%),
    radial-gradient(circle at bottom right, #0f172a 0, #020617 60%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.85));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand-name {
  font-family: "Roboto Condensed", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}

.brand-tagline {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
}

.site-nav a {
  color: var(--color-muted);
  position: relative;
  padding-bottom: 0.2rem;
  transition: color var(--transition-fast);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 999px;
  background: linear-gradient(to right, #22c55e, #38bdf8);
  transition: transform var(--transition-fast);
}

.site-nav a:hover {
  color: #e5e7eb;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.95));
  color: #e5f4ff;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.65);
}

.nav-cta:hover {
  border-color: rgba(248, 250, 252, 0.8);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  background: rgba(15, 23, 42, 0.9);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  position: absolute;
  transition: transform var(--transition-fast), opacity var(--transition-fast), top var(--transition-fast), bottom var(--transition-fast);
}

.nav-toggle span:nth-child(1) {
  top: 11px;
}

.nav-toggle span:nth-child(2) {
  bottom: 11px;
}

.nav-toggle.is-open span:nth-child(1) {
  top: 16px;
  transform: rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  bottom: 16px;
  transform: rotate(-45deg);
}

/* Hero */

.hero {
  padding: 3.5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a5b4fc;
  background: linear-gradient(to right, rgba(79, 70, 229, 0.18), rgba(37, 99, 235, 0.12));
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.5);
  margin-bottom: 1rem;
}

.hero-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.hero h1 {
  font-family: "Roboto Condensed", system-ui, sans-serif;
  font-size: clamp(2.4rem, 3.2vw + 1.6rem, 3.3rem);
  line-height: 1.05;
  margin: 0 0 1.1rem;
}

.hero h1 span {
  background: linear-gradient(to right, #38bdf8, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 1.75rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #22c55e);
  border-color: rgba(191, 219, 254, 0.8);
  color: #eff6ff;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.9);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
}

.btn-outline:hover {
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.16), rgba(15, 23, 42, 0.92));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.hero-stats dt {
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-stats dd {
  margin: 0.1rem 0 0;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.hero-visual {
  position: relative;
}

.image-card {
  position: relative;
  border-radius: 26px;
  padding: 1.1rem;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.28), rgba(15, 23, 42, 1));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.55);
  overflow: hidden;
}

.image-overlay-card {
  position: absolute;
  left: 1.3rem;
  bottom: 1.3rem;
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  backdrop-filter: blur(20px);
  font-size: 0.7rem;
  max-width: 210px;
  display: grid;
  gap: 0.1rem;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.image-overlay-card:hover {
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: 0 14px 34px rgba(2, 132, 199, 0.14);
  transform: translateY(-1px);
}

.image-overlay-card:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.9);
  outline-offset: 3px;
}

.image-overlay-card-title {
  font-weight: 600;
  font-size: 0.78rem;
  margin-bottom: 0.2rem;
}

.image-overlay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.15rem;
}

.image-overlay-badge {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.15rem 0.45rem;
  font-size: 0.7rem;
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-image {
  border-radius: 20px;
  width: 100%;
  height: auto;
  display: block;
}

/* Section layout */

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

.section {
  padding: 3.5rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.85);
}

/* Pseudo pages (show one section at a time) */
.page-section {
  display: none;
}

.page-section.is-active {
  display: block;
}

.section-header {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: 32rem;
}

.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9ca3af;
}

.section-title {
  font-family: "Roboto Condensed", system-ui, sans-serif;
  font-size: 1.6rem;
}

.section-body {
  font-size: 0.94rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: flex-start;
}

.section-panel {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  padding: 1.75rem 1.6rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.75);
}

.section-panel-header {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
}

.section-panel-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Services / Areas of excellence */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.96));
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  color: #e5e7eb;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.35rem;
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.92));
  padding: 1.3rem 1.25rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.7);
}

.card-title {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.card-tagline {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0.85rem;
}

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.card-list li {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.card-list-bullet {
  margin-top: 0.16rem;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #38bdf8;
  flex-shrink: 0;
}

/* Team */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.team-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
  padding: 1.1rem 1.1rem 1.2rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.8);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.9rem;
}

.team-avatar {
  display: none;
}

.team-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.team-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.team-role {
  font-size: 0.78rem;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.team-bio {
  grid-column: 1 / -1;
  margin-top: 0.45rem;
  font-size: 0.79rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Testimonials */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.testimonial-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
  padding: 1.4rem 1.3rem 1.3rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.8);
  position: relative;
  overflow: hidden;
}

.testimonial-quote-mark {
  position: absolute;
  font-size: 4rem;
  line-height: 1;
  color: rgba(55, 65, 81, 0.5);
  right: -6px;
  top: -18px;
}

.testimonial-text {
  font-size: 0.83rem;
  color: var(--color-muted);
  margin-bottom: 0.9rem;
  line-height: 1.7;
}

.testimonial-name {
  font-size: 0.83rem;
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* Careers / work with us */

.careers-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.8rem;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.99), rgba(2, 6, 23, 0.99));
  padding: 1.75rem 1.6rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.contact-list li {
  margin-bottom: 0.5rem;
  color: var(--color-muted);
}

.contact-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

input,
textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  padding: 0.6rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

input:focus,
textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.7);
  background: rgba(15, 23, 42, 0.98);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  padding: 1.8rem 0 2.1rem;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.7rem;
  }

  .section-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  .site-nav {
    position: absolute;
    inset-inline: 1.5rem;
    top: 64px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.9rem 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.99), rgba(15, 23, 42, 0.98));
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.9);
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: max-height var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast);
  }

  .site-nav.is-open {
    max-height: 300px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3rem 0;
  }

  .card,
  .section-panel,
  .contact-card {
    padding: 1.35rem 1.2rem;
  }

  .header-inner {
    padding-inline: 0;
  }
}
