:root {
  color-scheme: light;
  --ink: #16212f;
  --muted: #536070;
  --line: #d9e0e8;
  --paper: #fbfcfd;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-strong: #0b5d56;
  --signal: #d97706;
  --soft: #eef5f4;
  --shadow: 0 18px 48px rgba(25, 38, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(251, 252, 253, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

#signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    var(--soft);
  background-size: 56px 56px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 252, 253, 0.96) 0%, rgba(251, 252, 253, 0.88) 45%, rgba(251, 252, 253, 0.46) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(760px, 100%);
  padding: clamp(72px, 13vw, 148px) clamp(20px, 5vw, 64px) 40px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 14vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 640px;
  color: #2c3744;
  font-size: clamp(1.12rem, 2.4vw, 1.55rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 750;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

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

.company-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

.company-strip div {
  padding: 22px clamp(20px, 5vw, 64px);
  border-right: 1px solid var(--line);
}

.company-strip div:last-child {
  border-right: 0;
}

dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-weight: 760;
}

.section,
.contact-section {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 760px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article {
  min-height: 230px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--panel);
}

.service-grid p,
.company-section p,
.contact-section p {
  color: var(--muted);
  font-size: 1rem;
}

.company-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 72px);
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts {
  display: grid;
  align-content: start;
  border-top: 1px solid var(--line);
}

.facts div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.facts span,
address span {
  display: block;
  color: var(--muted);
}

.facts strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(32px, 6vw, 72px);
}

address {
  display: grid;
  gap: 8px;
  padding: 28px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-style: normal;
}

address a {
  margin-bottom: 12px;
  color: white;
  font-size: 1.35rem;
  font-weight: 780;
  overflow-wrap: anywhere;
}

address span {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .site-header,
  nav,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 72px;
  }

  .company-strip,
  .service-grid,
  .company-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .company-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .company-strip div:last-child {
    border-bottom: 0;
  }

  .service-grid article {
    min-height: 0;
  }
}
