:root {
  --bg: #0c0f14;
  --card: rgba(12, 15, 20, 0.84);
  --card-strong: rgba(16, 22, 30, 0.86);
  --border: rgba(148, 163, 184, 0.2);
  --text: #eef3f8;
  --muted: #9aa8ba;
  --soft: #cbd5e1;
  --accent: #d7b75d;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

a:hover {
  color: #ffffff;
}

.presence-page {
  min-height: 100vh;
  width: 100%;
  display: grid;
  align-items: center;
  padding: clamp(24px, 6vw, 88px);
  position: relative;
  overflow: hidden;
}

.presence-page::before,
.presence-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.presence-page::before {
  z-index: -2;
  background-image: url("./assets/hero-security-ops.webp");
  background-position: center;
  background-size: cover;
  opacity: 0.68;
}

.presence-page::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 15, 20, 0.94) 0%, rgba(12, 15, 20, 0.78) 44%, rgba(12, 15, 20, 0.36) 100%),
    linear-gradient(180deg, rgba(12, 15, 20, 0.28) 0%, rgba(12, 15, 20, 0.18) 55%, rgba(12, 15, 20, 0.9) 100%);
}

.business-card {
  width: 100%;
  max-width: 640px;
  margin-left: clamp(0px, 8vw, 96px);
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(20, 26, 34, 0.9), rgba(10, 14, 20, 0.84)),
    var(--card);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.logo {
  display: block;
  width: min(350px, 82%);
  height: auto;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.intro {
  display: grid;
  gap: 12px;
}

.label {
  margin: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statement {
  max-width: 42ch;
  margin: 0;
  color: var(--soft);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  font-weight: 650;
}

.contact-list {
  display: grid;
  gap: 1px;
  margin: 34px 0 0;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.12);
}

.contact-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 15px 18px;
  background: rgba(8, 12, 18, 0.56);
}

.contact-list dt,
.contact-list dd {
  margin: 0;
}

.contact-list dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list dd {
  min-width: 0;
  color: #f8fafc;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.capabilities {
  margin: 22px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.quiet-link {
  color: var(--soft);
  text-decoration: underline;
  text-decoration-color: rgba(215, 183, 93, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.quiet-link:hover {
  color: #ffffff;
  text-decoration-color: var(--accent);
}

.services-page {
  align-items: center;
  padding-block: clamp(28px, 6vw, 76px);
}

.services-shell {
  width: min(100%, 860px);
  margin-left: clamp(0px, 7vw, 88px);
}

.services-home-link {
  display: inline-flex;
  margin: 0 0 14px 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.services-home-link:hover {
  color: #ffffff;
}

.services-panel {
  width: 100%;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(20, 26, 34, 0.9), rgba(10, 14, 20, 0.86)),
    var(--card);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.services-logo {
  display: block;
  width: min(280px, 72%);
  height: auto;
  margin-bottom: clamp(30px, 4vw, 42px);
}

.services-intro {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.services-intro h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.services-summary {
  margin: 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 620;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.12);
}

.service-block {
  min-width: 0;
  padding: 22px;
  background: rgba(8, 12, 18, 0.56);
}

.service-block h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-block p {
  margin: 0;
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 560;
}

.services-contact {
  margin-top: 26px;
}

@media (max-width: 760px) {
  .presence-page {
    min-height: 100svh;
    align-items: center;
    padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  }

  .presence-page::before {
    background-position: 62% center;
    opacity: 0.58;
  }

  .presence-page::after {
    background:
      linear-gradient(180deg, rgba(12, 15, 20, 0.22) 0%, rgba(12, 15, 20, 0.74) 32%, rgba(12, 15, 20, 0.96) 100%),
      linear-gradient(90deg, rgba(12, 15, 20, 0.78), rgba(12, 15, 20, 0.22));
  }

  .business-card {
    width: calc(100vw - 36px);
    max-width: none;
    margin: 0;
    padding: 20px;
  }

  .logo {
    width: min(238px, 78%);
    margin-bottom: 28px;
  }

  .statement {
    font-size: 1.03rem;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .services-page {
    align-items: start;
    padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  }

  .services-shell {
    width: calc(100vw - 36px);
    margin: 0;
  }

  .services-home-link {
    margin-bottom: 12px;
    font-size: 0.76rem;
  }

  .services-panel {
    width: 100%;
    padding: 20px;
  }

  .services-logo {
    width: min(238px, 78%);
    margin-bottom: 28px;
  }

  .services-summary {
    font-size: 1rem;
  }

  .service-list {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .service-block {
    padding: 18px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .presence-page {
    min-height: 100svh;
    align-items: center;
    padding: max(14px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right))
      max(14px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  }

  .business-card {
    max-width: min(620px, calc(100vw - 36px));
    margin: 0 auto;
    padding: 20px 22px;
  }

  .logo {
    width: min(230px, 46vw);
    margin-bottom: 18px;
  }

  .statement {
    max-width: 54ch;
    font-size: 1rem;
  }

  .contact-list {
    margin-top: 18px;
  }

  .contact-list div {
    padding: 10px 14px;
  }

  .capabilities {
    margin-top: 16px;
    font-size: 0.78rem;
  }
}
