:root {
  color-scheme: light;
  --ink: #15171a;
  --muted: #5e646b;
  --line: #dad5ca;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --charcoal: #151719;
  --charcoal-soft: #232625;
  --teal: #008c95;
  --teal-soft: #d8f0ed;
  --green: #1a9f64;
  --amber: #f2b53f;
  --coral: #cf5f51;
  --shadow: 0 24px 60px rgba(22, 24, 26, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

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

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px max(24px, calc((100vw - 1160px) / 2)) 0;
  color: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 1.08rem;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.08);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  background: #ffffff;
}

.brand-mark::before {
  width: 7px;
  height: 7px;
  top: 6px;
  left: 6px;
  box-shadow: 11px 11px 0 rgba(255, 255, 255, 0.82);
}

.brand-mark::after {
  width: 12px;
  height: 2px;
  top: 14px;
  left: 9px;
  transform: rotate(45deg);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(12, 14, 15, 0.28);
  backdrop-filter: blur(18px);
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 560px;
  height: 84svh;
  max-height: 790px;
  overflow: hidden;
  background: var(--charcoal);
  color: #ffffff;
}

.hero-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  z-index: 0;
}

.hero-shade {
  z-index: 1;
  background:
    radial-gradient(circle at 76% 48%, rgba(0, 140, 149, 0.12), transparent 32%),
    linear-gradient(90deg, rgba(12, 13, 14, 0.92) 0%, rgba(12, 13, 14, 0.7) 47%, rgba(12, 13, 14, 0.26) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 74px;
}

.eyebrow,
.section-kicker,
.panel-label {
  margin: 0;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #74efe4;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 22px;
  font-size: 5.45rem;
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.55rem;
  line-height: 1.05;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  color: #ffffff;
  background: var(--charcoal);
  box-shadow: 0 14px 30px rgba(22, 24, 26, 0.18);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 780px;
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-metrics div {
  padding-right: 24px;
}

.hero-metrics dt {
  margin-bottom: 4px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.4;
}

.section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p:last-child,
.approach-copy > p,
.contact-section p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 45px rgba(31, 33, 35, 0.07);
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--teal-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card:nth-child(2) .service-index {
  background: #f9e7bd;
}

.service-card:nth-child(3) .service-index {
  background: #dff0db;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.66;
}

.approach-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 56px;
  align-items: center;
  padding-top: 16px;
}

.process-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  line-height: 1.66;
}

.process-list li::before {
  position: absolute;
  content: "";
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(207, 95, 81, 0.12);
}

.process-list strong {
  color: var(--ink);
}

.ops-panel {
  padding: 24px;
  border: 1px solid rgba(21, 23, 26, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 249, 245, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
}

.ops-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.ops-panel-header strong {
  display: block;
  margin-top: 5px;
  font-size: 1.3rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 6px;
  color: #0d5d3f;
  background: #dbf1e7;
  font-size: 0.82rem;
  font-weight: 900;
}

.health-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.health-row span,
.maintenance-window span {
  color: var(--muted);
}

.camera-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0;
}

.camera-feed {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 36%),
    linear-gradient(180deg, rgba(17, 22, 23, 0.18), rgba(17, 22, 23, 0.72)),
    var(--teal);
}

.camera-feed::before,
.camera-feed::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.camera-feed::before {
  inset: auto 11px 11px auto;
  width: 9px;
  height: 9px;
  background: #ffffff;
  opacity: 0.86;
}

.camera-feed::after {
  inset: 14px auto auto 12px;
  width: 46%;
  height: 3px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 10px 0 rgba(255, 255, 255, 0.28);
}

.feed-b {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(17, 22, 23, 0.2), rgba(17, 22, 23, 0.72)),
    var(--amber);
}

.feed-c {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(17, 22, 23, 0.22), rgba(17, 22, 23, 0.7)),
    var(--coral);
}

.maintenance-window {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(0, 140, 149, 0.22);
  border-radius: 8px;
  background: #edf8f7;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto 36px;
  padding: 44px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 140, 149, 0.15), transparent 48%),
    #ffffff;
  box-shadow: 0 16px 50px rgba(22, 24, 26, 0.09);
}

.contact-section h2 {
  margin-bottom: 10px;
}

.contact-section p {
  max-width: 670px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 34px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .site-header {
    padding-inline: 22px;
  }

  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .section-heading,
  .approach-section,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .approach-section {
    gap: 34px;
  }

  .ops-panel {
    width: min(100%, 520px);
  }

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

@media (max-width: 620px) {
  .site-header {
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 16px;
  }

  .brand {
    font-size: 1rem;
  }

  .primary-nav {
    order: 2;
    width: 100%;
    justify-content: flex-start;
    gap: 0;
    padding: 4px;
  }

  .primary-nav a {
    min-height: 32px;
    padding-inline: 9px;
    font-size: 0.84rem;
  }

  .hero {
    align-items: start;
    min-height: 540px;
    height: 82svh;
  }

  .hero-inner {
    width: calc(100% - 34px);
    max-width: 356px;
    margin-left: 17px;
    margin-right: auto;
    padding-top: 132px;
  }

  .hero-canvas {
    opacity: 0.72;
  }

  .hero-shade {
    background:
      radial-gradient(circle at 78% 45%, rgba(0, 140, 149, 0.1), transparent 34%),
      linear-gradient(90deg, rgba(12, 13, 14, 0.97) 0%, rgba(12, 13, 14, 0.88) 64%, rgba(12, 13, 14, 0.58) 100%);
  }

  h1 {
    margin-bottom: 18px;
    font-size: 3.7rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-copy {
    margin-bottom: 22px;
    font-size: 1rem;
    line-height: 1.55;
  }

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

  .hero-metrics {
    display: none;
  }

  .section,
  .contact-section,
  .site-footer {
    width: calc(100% - 34px);
    max-width: 1160px;
  }

  .section {
    padding: 62px 0;
  }

  .services-section {
    padding-top: 56px;
  }

  .service-card,
  .ops-panel,
  .contact-section {
    padding: 22px;
  }

  .contact-section {
    margin-bottom: 28px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
