/* Rubenxfd — style.css
   Tokens en regels: zie BRANDGUIDE.md. Geen JS, geen externe requests. */

@font-face {
  font-family: "RXFD Display";
  src: url("/assets/fonts/RXFDDisplay-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/Sora-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2192, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #05020E;
  --surface: #0C0418;
  --deep-violet: #1A012B;
  --purple: #700A8F;
  --neon-violet: #A71BE2;
  --magenta: #E40EF4;
  --text: #F4F0F8;
  --text-muted: #CFC7D8;
  --gradient-signature: linear-gradient(90deg, #B04CF5 0%, #E40EF4 100%);

  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "RXFD Display", "Orbitron", "Sora", system-ui, sans-serif;
  --container: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 8px;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --hover: 200ms;
}

/* ---------- Basis ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }

:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 4px;
  border-radius: 2px;
}

::selection {
  background: var(--magenta);
  color: var(--bg);
}

/* ---------- Achtergrond ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(60vmax 45vmax at 100% 0%, rgba(112, 10, 143, .28), transparent 65%),
    radial-gradient(55vmax 40vmax at 0% 100%, rgba(26, 1, 43, .9), transparent 65%),
    var(--bg);
}

.bg::before,
.bg::after {
  content: "";
  position: absolute;
  width: clamp(480px, 64vmax, 1060px);
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-size: contain;
}

.bg::before {
  top: -16%;
  right: -12%;
  background-image: url("/assets/bg/streak-tr.svg");
}

.bg::after {
  bottom: -20%;
  left: -18%;
  background-image: url("/assets/bg/streak-bl.svg");
}

/* ---------- Layout ---------- */

.site-header,
.hero,
.site-footer {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.site-header {
  padding-block: clamp(24px, 4vh, 40px);
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero {
  padding-block: clamp(48px, 10vh, 120px);
}

.site-footer {
  padding-block: clamp(20px, 3vh, 32px);
  font-size: 13px;
  color: rgba(207, 199, 216, .72);
}

/* ---------- Header / brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand__mark {
  width: auto;
  height: 64px; /* beeldmerk incl. ring en glow; het R-symbool zelf is ~42 px hoog */
  margin-left: -10px; /* ring steekt links uit; R-symbool lijnt uit met de tekst */
}

/* ---------- Hero ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: clamp(16px, 2.5vh, 24px);
}

.eyebrow::after {
  content: "";
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--neon-violet), transparent);
}

/* Titel in exact de stijl van het woordmerk: RXFD Display, uppercase,
   RUBEN wit → lavendel, XFD violet → magenta, lichte rand, neon-glow, lijn eronder. */
.hero__title {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 6.4vw, 72px);
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: clamp(20px, 3.5vh, 32px);
  padding-bottom: .22em;
  position: relative;
  filter: drop-shadow(0 0 14px rgba(242, 60, 255, .45)) drop-shadow(0 0 40px rgba(138, 18, 224, .35));
}

.hero__title-a,
.hero__title-b {
  -webkit-text-stroke: 1px rgba(255, 226, 255, .35);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__title-a {
  color: #F3E9FF; /* fallback zonder background-clip: text */
  background-image: linear-gradient(180deg, #FFFFFF 0%, #F3E9FF 55%, #C9B2FF 100%);
}

.hero__title-b {
  color: var(--magenta);
  background-image: linear-gradient(135deg, #A431FF 0%, #D42AFB 50%, #FD19FD 100%);
}

.hero__title::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #FFB0FF 50%, transparent);
  box-shadow: 0 0 10px 1px rgba(252, 96, 254, .8);
}

.hero__lead {
  max-width: 62ch;
  margin-bottom: clamp(32px, 6vh, 56px);
}

/* ---------- Links ---------- */

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px clamp(28px, 5vw, 64px);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--neon-violet);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--hover) var(--ease), color var(--hover) var(--ease);
}

.link__arrow {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--neon-violet);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--hover) var(--ease), stroke var(--hover) var(--ease);
}

.link:hover,
.link:focus-visible {
  border-color: var(--magenta);
}

.link:hover .link__arrow,
.link:focus-visible .link__arrow {
  stroke: var(--magenta);
  transform: translateX(3px);
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero > * {
    animation: fade-up 480ms var(--ease) both;
  }
  .hero > :nth-child(2) { animation-delay: 60ms; }
  .hero > :nth-child(3) { animation-delay: 120ms; }
  .hero > :nth-child(4) { animation-delay: 180ms; }

  @keyframes fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .hero__lead br { display: none; }
  .links { gap: 16px 28px; }
  .bg::before { top: -6%; right: -38%; }
  .bg::after { bottom: -8%; left: -42%; }
}
