/* ============================================================
   RADAREYE — minimal edition
   ============================================================ */

:root {
  --bg: #0a0b0e;
  --fg: #f2f2f0;
  --fg-2: #b9b9b3;
  --fg-3: #6b6b66;
  --rule: rgba(242, 242, 240, 0.08);
  --rule-strong: rgba(242, 242, 240, 0.16);
  --accent: #ee6c2a;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 56px);

  --font-display: "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Inter", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-feature-settings: "ss01", "cv11";
  font-feature-settings: "ss01", "cv11";
}

@media (min-width: 768px) {
  body {
    font-size: 18px;
  }
}

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

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

strong {
  font-weight: 700;
  color: var(--fg);
}

::selection {
  background: var(--accent);
  color: #0a0b0e;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--fg);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  background: rgba(10, 11, 14, 0.7);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
}

.brand-mark {
  display: block;
  height: 26px;
  width: auto;
}

.brand-word {
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--fg-2);
  transition: color 200ms ease;
}

.site-nav a:hover {
  color: var(--fg);
}

.nav-cta {
  color: var(--fg) !important;
  border: 1px solid var(--rule-strong);
  padding: 8px 14px;
  border-radius: 999px;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.nav-cta:hover {
  border-color: var(--accent);
  background: rgba(238, 108, 42, 0.08);
}

@media (max-width: 720px) {
  .site-nav {
    gap: 18px;
    font-size: 11px;
  }
  .site-nav a:not(.nav-cta) {
    display: none;
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  padding: 96px var(--gutter) 64px;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 80px;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

/* radar canvas occupies the right portion of the hero */
#radar-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  /* fade the canvas toward the left so it doesn't clash with the text */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 38%, rgba(0,0,0,0.4) 52%, #000 70%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 38%, rgba(0,0,0,0.4) 52%, #000 70%, #000 100%);
}

@media (max-width: 900px) {
  /* on smaller screens, send canvas behind text and fade more */
  #radar-canvas {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.18) 60%, rgba(0,0,0,0.32) 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.18) 60%, rgba(0,0,0,0.32) 100%);
    opacity: 0.6;
  }
}



.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.hero-title {
  font-size: clamp(48px, 8vw, 116px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 640px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #0a0b0e;
}

.btn-primary:hover {
  background: #ff8246;
}

.btn-ghost {
  border: 1px solid var(--rule-strong);
  color: var(--fg);
}

.btn-ghost:hover {
  border-color: var(--fg);
}

.hero-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.dot {
  color: var(--fg-3);
  opacity: 0.6;
}

/* ============================================================
   Sections (shared)
   ============================================================ */
.section {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 720px) {
  .section {
    padding: 80px 0;
  }
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 18ch;
  margin-bottom: 24px;
}

.section-lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 60ch;
  margin-bottom: 56px;
}

@media (max-width: 720px) {
  .section-lede {
    margin-bottom: 40px;
  }
}

/* ============================================================
   Problem — bare list
   ============================================================ */
.bare {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
  max-width: 800px;
}

.bare li {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--fg-2);
  line-height: 1.5;
}

.bare li strong {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-right: 12px;
}

/* ============================================================
   Approach — pillars (4 columns)
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}

.pillar {
  padding: 44px 32px;
  border-right: 1px solid var(--rule);
}

.pillar:first-child {
  padding-left: 0;
}

.pillar:last-child {
  border-right: none;
  padding-right: 0;
}

.pillar h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.pillar p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fg-2);
}

@media (max-width: 980px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar {
    padding: 36px 28px;
  }
  .pillar:nth-child(odd) {
    padding-left: 0;
  }
  .pillar:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }
  .pillar:nth-child(1),
  .pillar:nth-child(2) {
    border-bottom: 1px solid var(--rule);
  }
}

@media (max-width: 600px) {
  .pillars {
    grid-template-columns: 1fr;
  }
  .pillar {
    padding: 32px 0;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .pillar:last-child {
    border-bottom: none;
  }
}

/* ============================================================
   Traction
   ============================================================ */
.traction {
  border-top: 1px solid var(--rule);
  max-width: 900px;
}

.traction li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.t-lead {
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.t-mark {
  height: 66px;
  width: auto;
  max-width: 128px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.78;
  display: block;
  grid-column: 1;
}

.t-name {
  grid-column: 2;
}

.t-name {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.t-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  text-align: right;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .traction li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .t-lead {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }
  .t-mark {
    height: 18px;
    max-width: 52px;
  }
  .t-mark--ensilica { height: 15px; }
  .t-meta {
    text-align: left;
  }
}

.footnote {
  margin-top: 56px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-3);
  max-width: 60ch;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ============================================================
   Engage — minimal numbered list of doors
   ============================================================ */
.engage {
  border-top: 1px solid var(--rule);
  max-width: 900px;
}

.engage li {
  border-bottom: 1px solid var(--rule);
}

.engage a {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  transition: padding-left 240ms ease, color 240ms ease;
}

.engage a:hover {
  padding-left: 16px;
  color: var(--accent);
}

.e-num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.e-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.e-mail {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
}

.engage a::after {
  content: "→";
  display: none;
}

@media (max-width: 600px) {
  .engage a {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: 6px 16px;
    padding: 22px 0;
  }
  .e-num {
    grid-row: 1 / 3;
  }
  .e-mail {
    grid-column: 2;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  padding: 40px 0 56px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.footer-brand .brand-mark {
  height: 20px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}

@media (max-width: 600px) {
  .site-footer {
    padding: 32px 0 40px;
  }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
