/* Adime — inspired by stich.html, content from core-website.txt */
:root {
  --surface: #f7f9fb;
  --surface-border: #e2e8f0;
  --bg: #ffffff;
  --bg-muted: #f7f9fb;
  --bg-soft: #eef4fa;
  --text: #191c1e;
  --text-secondary: #414751;
  --text-muted: #727782;
  --border: #e0e3e5;
  --primary: #004581;
  --primary-container: #005daa;
  --primary-deep: #002b4e;
  --primary-hover: #004a88;
  --primary-fixed: #d4e3ff;
  --accent: #c8a150;
  --accent-gold: #ebc16c;
  --data-ingest: #0088cc;
  --data-intel: #7b61ff;
  --data-activate: #22c55e;
  --hub-data: #005daa;
  --hub-ai: #3d7ab8;
  --hub-eng: #2e6b8a;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 8px 40px rgba(0, 43, 78, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 43, 78, 0.12);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --content: 1280px;
  --header-h: 5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary-container);
}

a:hover,
a:focus-visible {
  color: var(--primary-hover);
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

p {
  margin: 0;
}

.container {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--primary-container);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  color: var(--primary);
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-light {
  color: var(--accent-gold);
}

/* Glass */
.glass-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.glass-card--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Header — fixed glass nav (stich) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--surface-border);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px rgba(0, 43, 78, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.brand-link {
  text-decoration: none;
}

.brand-link:hover,
.brand-link:focus-visible {
  text-decoration: none;
  opacity: 0.9;
}

.brand-lockup {
  height: 2.5rem;
  width: auto;
  max-width: min(220px, 50vw);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  font-size: 0.9375rem;
}

.main-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
}

.nav-cta {
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  background: var(--primary-container);
  color: #fff !important;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  opacity: 0.92;
  color: #fff !important;
  transform: scale(0.98);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--primary-container);
  color: #fff;
  border-color: var(--primary-container);
  box-shadow: 0 4px 18px rgba(0, 93, 170, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 93, 170, 0.32);
}

.btn-accent {
  background: var(--accent-gold);
  color: var(--primary-deep);
  border-color: var(--accent-gold);
  font-weight: 700;
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background: var(--accent);
  text-decoration: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  text-decoration: none;
}

/* Hero — stich orbital mesh */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  overflow: hidden;
  background: var(--bg);
}

.hero-orbit-bg {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(820px, 95vw);
  height: min(820px, 95vw);
  pointer-events: none;
  opacity: 0.85;
}

.orbit-mesh {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-mesh__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(0, 69, 129, 0.15);
  pointer-events: none;
}

.orbit-mesh__ring--lg {
  width: 88%;
  height: 88%;
}

.orbit-mesh__ring--md {
  width: 65%;
  height: 65%;
  border-color: rgba(0, 69, 129, 0.22);
}

.orbit-mesh__ring--sm {
  width: 42%;
  height: 42%;
  border-color: rgba(0, 69, 129, 0.3);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 40rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-fixed);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-highlight {
  color: var(--primary);
  display: block;
}

.hero-lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: 36rem;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero orbit hubs */
.orbit-system {
  --orbit-logo-size: 64%;
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.orbit-system--hero .orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: var(--orbit-logo-size);
  z-index: 2;
  animation: hero-float 6s ease-in-out infinite;
}

.orbit-system--hero .orbit-center img {
  width: 100%;
  filter: drop-shadow(0 12px 32px rgba(0, 61, 115, 0.15));
}

@keyframes hero-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-12px); }
}

.orbit-node {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
}

.orbit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-card);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.orbit-pill .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.orbit-pill--data .icon { color: var(--hub-data); }
.orbit-pill--eng .icon { color: var(--hub-eng); }
.orbit-pill--ai .icon { color: var(--hub-ai); }

.orbit-pos-hero-data { left: 50%; top: 6%; }
.orbit-pos-hero-eng { left: 10%; top: 78%; }
.orbit-pos-hero-ai { left: 90%; top: 78%; }

/* Sections */
.section {
  padding: var(--section-y) 0;
}

.section-intro {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-intro--center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-eyebrow--light {
  color: var(--accent-gold);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  letter-spacing: -0.03em;
}

.section-title--left {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.section-title--light {
  color: #fff;
}

.section-title--center {
  text-align: center;
}

/* About */
.section-about {
  background: var(--surface);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-copy p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.intersection-panel {
  padding: 1.75rem;
}

.intersection-label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.intersection-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.intersection-chips li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Capabilities — 3 pillars (stich) */
.section-capabilities {
  background: var(--bg);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar-card {
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--data-ingest);
  box-shadow: 0 1px 3px rgba(0, 43, 78, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pillar-column--intelligence .pillar-card {
  border-top-color: var(--data-intel);
}

.pillar-column--activate .pillar-card {
  border-top-color: var(--data-activate);
}

.pillar-card:hover {
  box-shadow: var(--shadow-card);
}

.pillar-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-card__icon .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.pillar-card__icon--ingest {
  background: rgba(0, 136, 204, 0.12);
}

.pillar-card__icon--ingest .icon { color: var(--data-ingest); }

.pillar-card__icon--intel {
  background: rgba(123, 97, 255, 0.12);
}

.pillar-card__icon--intel .icon { color: var(--data-intel); }

.pillar-card__icon--activate {
  background: rgba(34, 197, 94, 0.12);
}

.pillar-card__icon--activate .icon { color: var(--data-activate); }

.pillar-card__name {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.pillar-card__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.capability-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  scroll-margin-top: calc(var(--header-h) + 1rem);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.capability-card:hover,
.capability-card:target {
  border-color: var(--primary-container);
  box-shadow: var(--shadow-card);
}

.capability-card h3 {
  font-size: 1.0625rem;
  color: var(--primary-deep);
  margin-bottom: 0.6rem;
}

.capability-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.chip-list {
  list-style: none;
  padding: 0;
  margin: 0.65rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip-list li {
  font-size: 0.8125rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--text-secondary);
}

/* Technology */
.section-brand {
  background: var(--primary-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 93, 170, 0.35) 0%, transparent 55%);
  pointer-events: none;
}

.technology-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.technology-lead,
.technology-list-label,
.technology-close {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

.technology-lead {
  font-size: 1.0625rem;
  margin: 1.25rem 0 1.5rem;
}

.technology-list-label {
  font-weight: 600;
  margin-bottom: 1rem;
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.85rem;
}

.tech-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.9375rem;
}

.technology-close {
  font-size: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.78);
}

.technology-panel {
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.technology-panel__orbit img {
  width: min(220px, 100%);
  margin: 0 auto;
  opacity: 0.95;
}

/* Industries */
.section-industries {
  background: var(--surface);
}

.industries-intro {
  color: var(--text-secondary);
  margin-top: 0.75rem;
  font-size: 1.0625rem;
}

.industry-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.industry-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  box-shadow: 0 1px 3px rgba(0, 43, 78, 0.05);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--primary-deep);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.industry-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-fixed);
}

.industry-card__icon--primary .icon { color: var(--primary); }
.industry-card__icon--gold {
  background: rgba(235, 193, 108, 0.25);
}

.industry-card__icon--gold .icon { color: var(--accent); }
.industry-card__icon--intel {
  background: rgba(123, 97, 255, 0.12);
}

.industry-card__icon--intel .icon { color: var(--data-intel); }
.industry-card__icon--activate {
  background: rgba(34, 197, 94, 0.12);
}

.industry-card__icon--activate .icon { color: var(--data-activate); }

/* CTA */
.section-cta-wrap {
  background: var(--bg);
  padding-bottom: var(--section-y);
}

.cta-panel {
  position: relative;
  background: var(--primary-container);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.cta-panel__glow {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.cta-panel__glow--left {
  top: -6rem;
  left: -6rem;
  background: rgba(255, 255, 255, 0.12);
}

.cta-panel__glow--right {
  bottom: -6rem;
  right: -6rem;
  background: rgba(235, 193, 108, 0.15);
}

.cta-panel__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
}

.cta-logo {
  width: min(260px, 85%);
  margin: 0 auto 1.75rem;
  padding: 0.75rem 1.25rem;
  background: #fff;
  border-radius: var(--radius-lg);
}

.cta-panel h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.cta-tagline {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.5rem 0 1.75rem;
  color: var(--accent-gold);
}

.cta-panel .hero-actions {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--primary-deep);
  color: #fff;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  height: 3rem;
  width: auto;
  padding: 0.35rem 0.75rem;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-heading {
  font-size: 0.9375rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8125rem;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--accent-gold);
}

/* Privacy subpage */
.hero-subpage {
  background: var(--primary-deep);
  color: #fff;
  padding: calc(var(--header-h) + 3rem) 0 3rem;
}

.hero-subpage h1 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.hero-subpage .hero-lead {
  color: rgba(255, 255, 255, 0.88);
}

.privacy-body {
  padding: var(--section-y) 0;
}

.privacy-body h2 {
  font-size: 1.125rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.privacy-body p,
.privacy-body li {
  color: var(--text-secondary);
  line-height: 1.65;
}

.privacy-body ul {
  padding-left: 1.2rem;
}

.privacy-highlight {
  background: var(--bg-soft);
  border-left: 3px solid var(--primary-container);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.privacy-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-orbit-bg {
    opacity: 0.45;
    right: -25%;
  }

  .hero-content {
    max-width: 100%;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .technology-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-orbit-bg {
    display: none;
  }

  .hero-highlight {
    display: inline;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .main-nav a:not(.nav-cta) {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-system--hero .orbit-center {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
