/* ================= BASE ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  color: #fff;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 50% 12%,
      rgba(255, 255, 255, 0.04),
      transparent 55%
    ),
    radial-gradient(
      circle at 20% 90%,
      rgba(255, 255, 255, 0.025),
      transparent 60%
    ),
    #000;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 2px,
    transparent 6px
  );
  opacity: 0.04;
  mix-blend-mode: overlay;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #000;
  z-index: 9999;
  border: 2px solid #000;
}

/* ================= NAVBAR ================= */

.site-nav {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-decoration: none;
  color: #fff;
}

.logo:hover {
  opacity: 0.8;
}

.brand {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
}

.brand:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.nav-links a.active {
  opacity: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 4px;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:focus,
.brand:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
}

.nav-links a:focus,
.cta:focus {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.nav-links a:focus,
.brand:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.8rem;
  }
}

/* ================= HERO (shared) ================= */

main {
  flex: 1;
}

/* ================= LOCAL FONTS ================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Orbitron";
  src: url("../fonts/orbitron-v35-latin-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Orbitron";
  src: url("../fonts/orbitron-v35-latin-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: optional;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

/* ================= FOOTER ================= */

footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.85;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-tagline {
  opacity: 0.75;
  font-size: 0.95rem;
}

footer .legal-links {
  display: inline-block; /* geen flex */
  width: auto;
  padding: 0;
}

footer .legal-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 2px;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
}

footer .legal-links a:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.55);
}

footer .legal-links .sep {
  margin: 0 0.55rem;
  opacity: 0.5;
}

@media (max-width: 480px) {
  footer .legal-links {
    display: block;
    line-height: 1.8;
  }

  footer .legal-links .sep {
    display: none; /* bullets weg op mobiel */
  }
}

.founder {
  font-size: 0.8rem;
  opacity: 0.6;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.founder-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.founder-link:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.6);
}

.footer-inner p {
  margin: 0.3rem 0;
}

.legal-links {
  font-size: 0.8rem;
  opacity: 0.6;
  letter-spacing: 0.3px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 2px;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.legal-links a:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.55);
}

.legal-links .sep {
  margin: 0 0.55rem;
  opacity: 0.5;
}

.footer-cornerstone {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  opacity: 0.9;

  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 2px;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.footer-cornerstone:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.55);
}

.footer-cornerstone:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
}

@media (max-width: 480px) {
  .footer-cornerstone {
    display: block;
    line-height: 1.8;
  }
}

/* ================= MOBILE NAV (hamburger) ================= */

.nav-toggle {
  display: none;
  font-size: 1.35rem;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
}

.nav-toggle:focus {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.25rem;

    flex-direction: row; /* override jouw column */
    align-items: center;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    display: none; /* dicht standaard */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    background: rgba(0, 0, 0, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    flex-direction: column;
    gap: 0.2rem;
    padding: 0.85rem 1.25rem 1rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.7rem 0;
    font-size: 1rem;
    opacity: 0.92;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links a.active {
    border-bottom-color: rgba(255, 255, 255, 0.22);
  }
}

footer .footer-cornerstone {
  display: block;
  margin-top: 0.85rem;
}

footer .legal-links {
  display: block; /* i.p.v. inline-block */
  margin-top: 0.6rem;
}

footer .footer-cornerstone {
  display: block;
  margin-top: 0.85rem;
}

.hp {
  display: none !important;
}

.optin {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.optin input {
  width: min(420px, 100%);
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #000;
  color: #fff;
}

.optin button {
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;

  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 0;
  cursor: pointer;

  background: #ffffff;
  color: #000000;
  font-weight: 600;
}

.optin button:hover {
  background: #f2f2f2;
}

.notice {
  max-width: 700px;
  margin: 1rem auto 2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.newsletter-meta {
  font-size: 0.85rem;
  opacity: 0.65;
  margin-bottom: 1rem;
}
