:root {
  --ink: #101114;
  --ink-soft: #252933;
  --muted: #667085;
  --line: #dfe3ea;
  --paper: #ffffff;
  --paper-soft: #f4f5f7;
  --violet: #7c3aed;
  --violet-deep: #4c1d95;
  --cyan: #06b6d4;
  --green: #19a974;
  --shadow: 0 18px 60px rgba(16, 17, 20, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(6, 182, 212, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 80px 80px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.skip-link {
  background: var(--ink);
  color: var(--paper);
  left: 1rem;
  padding: 0.65rem 0.85rem;
  position: fixed;
  top: -4rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(223, 227, 234, 0.85);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  left: 0;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  position: sticky;
  right: 0;
  top: 0;
  transition: box-shadow 180ms ease, background 180ms ease;
  z-index: 10;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(16, 17, 20, 0.08);
}

.brand {
  align-items: center;
  display: inline-flex;
  min-width: 14rem;
}

.brand-symbol {
  align-items: center;
  aspect-ratio: 1;
  background: var(--paper);
  display: inline-flex;
  justify-content: center;
  position: relative;
  width: 3.45rem;
}

.brand-symbol img {
  height: 2.95rem;
  object-fit: contain;
  width: 2.95rem;
}

.brand-text {
  display: grid;
  gap: 0.1rem;
}

.brand-text strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.72rem;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 0.2rem;
}

.site-nav a {
  border: 1px solid transparent;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 650;
  padding: 0.55rem 0.75rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: rgba(124, 58, 237, 0.22);
  color: var(--violet-deep);
}

.nav-toggle {
  align-items: center;
  background: var(--ink);
  border: 0;
  color: var(--paper);
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 0.26rem;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.nav-toggle span:not(.sr-only) {
  background: currentColor;
  display: block;
  height: 2px;
  width: 1.1rem;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.86fr);
  margin: 0 auto;
  max-width: var(--max);
  min-height: calc(100vh - 4.8rem);
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 4vw, 2.5rem) 4rem;
}

.hero h1,
.page-hero h1,
.contact-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  letter-spacing: 0;
  line-height: 0.93;
  margin: 0;
  max-width: 11ch;
}

.hero-lede,
.page-hero p,
.contact-hero p {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  margin: 1.4rem 0 0;
  max-width: 42rem;
}

.eyebrow {
  color: var(--violet-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

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

.button {
  align-items: center;
  border: 1px solid var(--ink);
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1rem;
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--violet-deep);
  border-color: var(--violet-deep);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
}

.button-secondary:hover {
  border-color: var(--violet);
  color: var(--violet-deep);
}

.hero-media {
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.06)),
    var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: clamp(0.6rem, 2vw, 1.2rem);
}

.hero-media img,
.framed-visual {
  background: var(--paper);
  border: 1px solid rgba(223, 227, 234, 0.8);
}

.section,
.split-section,
.location-band,
.page-hero,
.contact-hero,
.brand-statement {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem);
}

.section-tight {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.6fr);
  margin-bottom: 2rem;
}

.section-heading h2,
.split-copy h2,
.location-band h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.capability-grid,
.feature-list,
.company-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-card,
.feature-list article,
.company-grid article,
.contact-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.1rem, 3vw, 1.5rem);
}

.capability-card {
  min-height: 19rem;
}

.capability-card.accent {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.card-index {
  color: var(--violet);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 850;
  margin-bottom: 3rem;
  text-transform: uppercase;
}

.capability-card.accent .card-index {
  color: var(--cyan);
}

.capability-card h3,
.feature-list h2,
.company-grid h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.capability-card p,
.feature-list p,
.company-grid p,
.split-copy p,
.location-band p {
  color: var(--muted);
  margin: 0;
}

.capability-card.accent p {
  color: rgba(255, 255, 255, 0.74);
}

.capability-card a {
  border-bottom: 1px solid currentColor;
  color: var(--violet-deep);
  display: inline-block;
  font-weight: 750;
  margin-top: 1.4rem;
}

.capability-card.accent a {
  color: var(--cyan);
}

.split-section {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 0.8fr);
}

.page-split {
  padding-top: 1rem;
  padding-bottom: clamp(2.25rem, 5vw, 4rem);
}

.plc-network-section {
  padding-top: clamp(1rem, 3vw, 2rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.plc-visual {
  min-height: 20rem;
}

.page-split + .section {
  padding-top: clamp(1.25rem, 3vw, 2.5rem);
  padding-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.signal-panel {
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  color: var(--paper);
  padding: 1rem;
}

.signal-header {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  display: flex;
  font-size: 0.74rem;
  font-weight: 850;
  justify-content: space-between;
  letter-spacing: 0.12em;
  min-height: 2.7rem;
  text-transform: uppercase;
}

.signal-header i {
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(25, 169, 116, 0.55);
  display: block;
  height: 0.62rem;
  width: 0.62rem;
  animation: status-pulse 1.8s ease-out infinite;
}

.signal-row {
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 0.42rem 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 5.1rem;
  padding: 0.9rem 0;
}

.signal-row:last-child {
  border-bottom: 0;
}

.signal-row span {
  color: rgba(255, 255, 255, 0.62);
}

.signal-row small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.76rem;
  font-weight: 650;
  grid-column: 1 / -1;
}

.signal-row strong {
  color: var(--cyan);
  font-size: 1.35rem;
  line-height: 1;
  min-width: 5.2rem;
  text-align: right;
  transition: color 180ms ease, transform 180ms ease;
}

.signal-row strong.is-updating {
  color: var(--paper);
  transform: translateY(-2px);
}

.signal-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  grid-column: 1 / -1;
  height: 0.34rem;
  overflow: hidden;
}

.signal-track i {
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 520ms ease;
}

.audience-grid,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.audience-grid span,
.tag-cloud span {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 700;
  padding: 0.72rem 0.85rem;
}

.tag-cloud span:nth-child(3n) {
  border-color: rgba(6, 182, 212, 0.34);
}

.tag-cloud span:nth-child(4n) {
  border-color: rgba(124, 58, 237, 0.34);
}

.location-band {
  align-items: end;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.62fr);
  margin-bottom: 4rem;
}

.location-band .eyebrow {
  color: var(--cyan);
}

.location-band p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.brand-statement {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(15rem, 0.42fr) minmax(0, 1fr);
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.brand-statement h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.brand-statement p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 1rem 0 0;
  max-width: 42rem;
}

.brand-mark-panel {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 18rem;
  padding: 2rem;
}

.brand-mark-panel img {
  height: min(13rem, 46vw);
  object-fit: contain;
  width: min(13rem, 46vw);
}

.company-intro {
  padding-top: clamp(1.25rem, 3vw, 2.5rem);
}

.page-hero {
  padding-bottom: 2rem;
}

.page-hero h1,
.contact-hero h1 {
  max-width: 14ch;
}

.framed-visual {
  box-shadow: var(--shadow);
  width: 100%;
}

.feature-list.compact article {
  min-height: auto;
}

.feature-list article,
.company-grid article {
  animation: card-drift 7s ease-in-out infinite;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  will-change: translate, transform;
}

.feature-list article:nth-child(2),
.company-grid article:nth-child(2) {
  animation-delay: -2.2s;
}

.feature-list article:nth-child(3),
.company-grid article:nth-child(3) {
  animation-delay: -4.4s;
}

.feature-list article:hover,
.company-grid article:hover {
  border-color: rgba(124, 58, 237, 0.34);
  box-shadow: 0 18px 46px rgba(16, 17, 20, 0.1);
  transform: translateY(-8px);
}

.contact-hero {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.52fr);
  min-height: calc(100vh - 10rem);
}

.contact-card {
  background: var(--ink);
  color: var(--paper);
}

.contact-line {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 0;
}

.contact-line:first-child {
  padding-top: 0;
}

.contact-line:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-line span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-line a,
.contact-line strong {
  color: var(--cyan);
  font-size: 1.2rem;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
}

.site-footer p {
  color: var(--muted);
  margin: 0.2rem 0 0;
}

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

.footer-links a {
  color: var(--muted);
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--violet-deep);
}

.has-js .hero-copy,
.has-js .hero-media,
.has-js .capability-card,
.has-js .split-copy,
.has-js .signal-panel,
.has-js .framed-visual,
.has-js .contact-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.has-js .is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes card-drift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(25, 169, 116, 0.55);
  }
  100% {
    box-shadow: 0 0 0 0.72rem rgba(25, 169, 116, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 1rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero,
  .split-section,
  .section-heading,
  .location-band,
  .contact-hero,
  .brand-statement {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .capability-grid,
  .feature-list,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: auto;
  }

  .brand-text span {
    display: none;
  }

  .hero h1,
  .page-hero h1,
  .contact-hero h1 {
    font-size: clamp(2.15rem, 14vw, 3.4rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
