/* ============================================================
   whiteorblack — shared design system
   ============================================================ */

/* TOKENS
   Change values here to update the whole site. */

:root {
  /* Colours */
  --bg:               #000;
  --surface:          #0a0a0a;
  --surface-hover:    #141414;
  --border:           #111;
  --text:             #fff;
  --text-secondary:   #aaa;
  --text-muted:       #777;
  --text-dim:         #444;

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --text-xs:   0.6rem;
  --text-sm:   0.7rem;
  --text-base: 0.85rem;
  --text-lg:   1rem;
  --text-xl:   1.3rem;

  --tracking-normal:  0.04em;
  --tracking-wide:    0.14em;
  --tracking-wider:   0.18em;
  --tracking-widest:  0.25em;

  /* Layout */
  --nav-height:    56px;
  --page-padding:  32px;
}

/* RESET */

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

/* BASE */

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
}

/* NAV */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-padding);
  height: var(--nav-height);
}

.nav-brand img {
  height: 24px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
  align-self: center;
}

.nav-link:hover  { color: var(--text); }
.nav-link.active { color: var(--text); }

/* FOOTER */

footer {
  border-top: 1px solid var(--border);
  padding: 24px var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-linq {
  height: 14px;
  width: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.45;
}

/* RESPONSIVE */

@media (max-width: 640px) {
  :root {
    --page-padding: 20px;
  }
}
