html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: #f3f3f3;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.04), transparent 18%),
    linear-gradient(180deg, #020202 0%, #050505 54%, #090909 100%);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 84%);
  opacity: 0.45;
}

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

button {
  font: inherit;
}

.site-frame {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 2, 2, 0.76);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-shell,
.site-main,
.footer-shell,
.footer-bar,
.mobile-nav {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

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

.footer-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-copy,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-copy {
  display: block;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.96rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.brand-copy small,
.eyebrow,
.panel-label {
  color: rgba(255, 255, 255, 0.56);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 4.4rem;
  padding: 0.55rem 0.5rem 0.45rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  border: 0;
  border-radius: 0;
  text-align: center;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: transparent;
}

.nav-link.active {
  color: #ffffff;
  background: transparent;
}

.nav-icon {
  font-size: 18px;
  min-width: 18px;
  position: relative;
  display: inline-block;
  z-index: 0;
  transition: text-shadow 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.nav-icon::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.6rem;
  height: 1rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.12) 38%,
    rgba(255, 255, 255, 0) 78%
  );
  filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: -1;
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.16);
}

.nav-link:hover .nav-icon::before,
.nav-link.active .nav-icon::before {
  opacity: 1;
}

.nav-label {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  white-space: normal;
  text-align: center;
  line-height: 1.1;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
  max-width: none;
}

.button-primary,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button-primary {
  padding: 0.88rem 1.18rem;
  background: #ffffff;
  color: #050505;
}

.button-secondary {
  padding: 0.88rem 1.18rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #f3f3f3;
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.mobile-nav {
  display: none;
  margin-bottom: 0.75rem;
  padding: 0 0 0.9rem;
}

.mobile-nav-scroll {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: none;
}

.mobile-nav-scroll::-webkit-scrollbar {
  display: none;
}

.mobile-link {
  flex: 0 0 auto;
  min-width: 4rem;
}

.mobile-label {
  max-width: 7ch;
  margin-left: auto;
  margin-right: auto;
}

.site-main {
  padding: 3rem 0 4rem;
  display: grid;
  gap: 4.5rem;
}

.hero-grid,
.plain-split,
.product-spotlight {
  display: grid;
  gap: 2rem;
}

.home-block {
  width: calc(50% - 1rem);
  max-width: none;
}

.home-block-left {
  margin-right: auto;
}

.home-block-center {
  margin-left: auto;
  margin-right: auto;
}

.home-block-right {
  margin-left: auto;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: start;
  min-height: calc(100vh - 9rem);
}

.hero-main {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.home-block.hero-grid,
.home-block.plain-split {
  grid-template-columns: 1fr;
  min-height: auto;
}

.hero-copy,
.section-block,
.page-hero {
  min-width: 0;
}

.eyebrow {
  margin-bottom: 1.1rem;
  display: inline-block;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  letter-spacing: -0.05em;
  font-weight: 600;
}

h1 {
  font-size: clamp(3.2rem, 6vw, 6.2rem);
  line-height: 0.9;
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.05rem;
}

.lede,
.hero-aside p,
.service-row p,
.line-item,
.process-row p,
.footer-shell p,
.footer-shell li,
.page-hero p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.lede {
  margin-top: 1.35rem;
  max-width: 58ch;
  font-size: 1.06rem;
}

.hero-actions,
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions {
  margin-top: 2rem;
}

.hero-aside {
  display: grid;
  gap: 1.4rem;
  padding-top: 1rem;
}

.aside-rule {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
}

.aside-block {
  display: grid;
  gap: 0.8rem;
}

.fact-list,
.service-list,
.line-list,
.process-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fact-row,
.service-row,
.line-item,
.process-row {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.fact-row {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.section-block,
.page-hero {
  display: grid;
  gap: 1.5rem;
}

.page-hero {
  padding-top: 4rem;
}

.section-heading {
  display: grid;
  gap: 0.8rem;
  max-width: 54rem;
}

.home-block .section-heading,
.home-block .section-heading.compact {
  max-width: none;
}

.section-heading.compact {
  max-width: 38rem;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: start;
}

.home-block .service-row {
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.service-row.static-row {
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
}

.home-block .service-row.static-row {
  grid-template-columns: 1fr;
}

.service-row span {
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

.plain-split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.reference-block {
  display: grid;
  gap: 1.25rem;
}

.process-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.home-block .process-row {
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.process-row span {
  font-family: 'IBM Plex Mono', monospace;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-weight: 500;
}

.site-footer {
  padding: 3rem 0 2.5rem;
}

.footer-shell {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand h2,
.footer-shell h3 {
  margin-bottom: 0.4rem;
}

.footer-columns {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
}

.footer-shell ul {
  margin: 0;
  padding-left: 1rem;
}

.footer-bar {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  .mobile-nav {
    width: min(1220px, calc(100% - 2rem));
  }

  .hero-grid,
  .plain-split,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .home-block,
  .home-block-left,
  .home-block-center,
  .home-block-right {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 720px) {
  .nav-shell,
  .site-main,
  .footer-shell,
  .footer-bar,
  .mobile-nav {
    width: min(100%, calc(100% - 1rem));
  }

  .brand-copy strong {
    font-size: 0.84rem;
    letter-spacing: 0.06em;
  }

  .nav-shell {
    gap: 0.75rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-row,
  .process-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .footer-bar {
    flex-direction: column;
  }
}
