@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg: #080b0f;
  --panel: #0d1218;
  --text: #edf2f7;
  --muted: #8c98a6;
  --line: rgba(237, 242, 247, 0.12);
  --accent: #7ee787;
  --accent-dim: rgba(126, 231, 135, 0.14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.site-header {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
}
.logo {
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 1.05rem;
}
.logo span { color: var(--accent); }
nav { display: flex; gap: 30px; font-size: .82rem; }
nav a { color: var(--muted); transition: color .2s; }
nav a:hover { color: var(--text); }

.hero {
  width: min(calc(100% - 48px), var(--max));
  min-height: 650px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  position: relative;
}
.hero-content { padding: 90px 0; position: relative; z-index: 1; }
.eyebrow {
  color: var(--accent);
  font-family: "Space Mono", monospace;
  font-size: .72rem;
  letter-spacing: .14em;
  margin: 0 0 20px;
}
h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 0 0 28px;
  max-width: 850px;
}
h1 span { color: #9ba7b4; }
.intro {
  color: var(--muted);
  max-width: 590px;
  font-size: 1.08rem;
  margin-bottom: 35px;
}
.button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding: 13px 18px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: "Space Mono", monospace;
  font-size: .8rem;
  transition: background .2s, color .2s;
}
.button:hover { background: var(--accent); color: var(--bg); }

.technical-mark {
  height: 440px;
  width: 440px;
  justify-self: end;
  position: relative;
  border: 1px solid var(--line);
  background: radial-gradient(circle, rgba(126,231,135,.08), transparent 55%);
}
.circle {
  position: absolute;
  border: 1px solid rgba(126,231,135,.35);
  border-radius: 50%;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.c1 { width: 310px; height: 310px; }
.c2 { width: 185px; height: 185px; border-style: dashed; }
.crosshair:before, .crosshair:after {
  content: "";
  position: absolute;
  background: var(--accent);
  opacity: .6;
}
.crosshair:before { width: 100%; height: 1px; top: 50%; }
.crosshair:after { height: 100%; width: 1px; left: 50%; }
.dimension {
  position: absolute;
  color: var(--muted);
  font: 10px "Space Mono", monospace;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dimension i { display: block; background: var(--muted); opacity: .5; }
.horizontal { width: 100%; bottom: 24px; justify-content: center; }
.horizontal i { width: 80px; height: 1px; }
.vertical {
  right: 18px; top: 50%;
  transform: rotate(90deg) translateX(-50%);
  transform-origin: right center;
}
.vertical i { width: 55px; height: 1px; }

.section {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
  padding: 110px 0;
  border-top: 1px solid var(--line);
}
.section-heading { margin-bottom: 50px; }
.section-heading h2, .contact h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.card {
  min-height: 250px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  background: rgba(13,18,24,.55);
}
.card:hover { background: var(--accent-dim); }
.number {
  color: var(--accent);
  font: 11px "Space Mono", monospace;
}
.card h3 { margin: 35px 0 12px; font-size: 1.25rem; }
.card p, .about-copy p { color: var(--muted); max-width: 560px; }

.about {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
}
.about .section-heading { margin: 0; }
.about-copy { font-size: 1.15rem; }
.placeholder-note { font-size: .9rem; opacity: .65; margin-top: 30px; }

.contact {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.contact > p:not(.eyebrow) { color: var(--muted); margin: 20px 0 35px; }
.email {
  font: clamp(1.3rem, 3vw, 2.1rem) "Space Mono", monospace;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

footer {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font: 10px "Space Mono", monospace;
}

@media (max-width: 800px) {
  .site-header { width: min(calc(100% - 32px), var(--max)); }
  nav { gap: 14px; }
  .hero, .section, .contact, footer { width: min(calc(100% - 32px), var(--max)); }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 100px 0 50px; }
  .technical-mark { width: min(100%, 420px); height: 360px; justify-self: start; margin-bottom: 80px; }
  .cards, .about { grid-template-columns: 1fr; }
  .about { gap: 35px; }
  .section { padding: 80px 0; }
  .contact { padding: 90px 0; }
}

@media (max-width: 500px) {
  nav a:nth-child(1) { display: none; }
  h1 { font-size: 3rem; }
  .technical-mark { height: 300px; }
  .c1 { width: 220px; height: 220px; }
  .c2 { width: 130px; height: 130px; }
}
