/* ZR Labs — marketing/brand site. Donker monochroom, hoog-fidelity uit de
   Claude Design BUILD SPEC. Gedeeld door index/contact/privacy. */

:root {
  --bg: #141416;
  --fg: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.55);
  --hairline: rgba(255, 255, 255, 0.16);
  --divider: rgba(255, 255, 255, 0.28);
  --texture: rgba(255, 255, 255, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }

/* Nav + content vullen minstens één viewport → footer valt onder de vouw. */
.stage { min-height: 100vh; display: flex; flex-direction: column; }

/* ── Nav (sticky) ─────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  padding: 28px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: opacity .2s, color .2s;
}
.nav-links a.active { color: #fff; font-weight: 600; }
.nav-links a:hover { opacity: .65; }
.nav-divider {
  margin-top: 14px;
  width: 320px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--divider) 22%, var(--divider) 78%, transparent);
}

/* ── Content ──────────────────────────────────────────────────── */
main { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; }

/* Home */
main.home { justify-content: flex-start; }
.hero {
  position: relative;
  margin-top: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.texture {
  position: absolute;
  top: -74px; bottom: 0; left: -320px; right: -320px;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, var(--texture) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(135deg, var(--texture) 0 1px, transparent 1px 16px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 40%, transparent 60%, #000 100%);
          mask-image: linear-gradient(90deg, #000 0%, transparent 40%, transparent 60%, #000 100%);
}
.logo {
  position: relative;
  z-index: 1;
  width: 152px;
  aspect-ratio: 593 / 598;
  background: var(--fg);
  -webkit-mask: url(assets/zr-mark-white.png) center / contain no-repeat;
          mask: url(assets/zr-mark-white.png) center / contain no-repeat;
  margin-bottom: 34px;
}
.wordmark {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: 66px;
  font-weight: 400;
}
.wordmark span { font-weight: 600; } /* "ZR L" iets zwaarder; "abs" blijft 400 */

/* Contact */
main.contact { justify-content: center; text-align: center; padding: 40px 24px; }
.mark-sm {
  width: 76px;
  aspect-ratio: 593 / 598;
  background: var(--fg);
  opacity: .92;
  -webkit-mask: url(assets/zr-mark-white.png) center / contain no-repeat;
          mask: url(assets/zr-mark-white.png) center / contain no-repeat;
  margin-bottom: 26px;
}
.contact h1 { font-size: 42px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.contact p { font-size: 16px; color: var(--muted); line-height: 1.6; max-width: 340px; margin-top: 16px; }
.email {
  display: inline-block;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  border-bottom: 2px solid #fff;
  padding-bottom: 3px;
  margin-top: 28px;
  transition: opacity .2s;
}
.email:hover { opacity: .65; }

/* Privacy */
main.privacy { justify-content: flex-start; padding: 56px 24px; }
.privacy-col { max-width: 440px; width: 100%; }
.privacy-col h1 { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; text-align: center; }
.privacy-intro { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 18px; text-align: center; }
.privacy-col h2 { font-size: 14px; font-weight: 700; color: #fff; margin: 20px 0 5px; }
.privacy-col p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.privacy-col a {
  color: #fff;
  border-bottom: 1px solid #fff;
  transition: opacity .2s;
}
.privacy-col a:hover { opacity: .65; }

/* ── Footer (onder de vouw; verschijnt bij scrollen) ──────────── */
footer {
  flex-shrink: 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  background: var(--bg);
}

/* ── Compact (telefoon) ───────────────────────────────────────── */
@media (max-width: 640px) {
  nav { padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .nav-divider { width: 210px; }

  main.home { justify-content: center; }
  .hero { margin-top: 0; }
  .texture { top: -46px; left: -150px; right: -150px; }
  .logo { width: 116px; margin-bottom: 26px; }
  .wordmark { font-size: 48px; }

  .contact h1 { font-size: 34px; }
  .contact p { font-size: 15px; }
  .email { font-size: 18px; margin-top: 22px; }

  .privacy-col h1 { font-size: 30px; }
}
