/* clumzei.com - follows the layout of Jamie's old Wix portfolio.
   Black page, white bold Helvetica type, wide-tracked capitals for the nav,
   titles and short intro lines, everything centred, current page in blue.
   Helvetica via system fonts (real Helvetica on Apple devices, Arial elsewhere). */

:root {
  --bg: #000;
  --ink: #fff;
  --muted: #b4b8c2;
  --accent: #4d8dff;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

a { color: inherit; text-decoration: none; }

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

main { flex: 1; }

/* Top bar: wordmark on the left, the page links centred. */
.bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 28px 0;
}

.wordmark {
  justify-self: start;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav a:hover { color: var(--accent); }

.nav a[aria-current="page"] { color: var(--accent); }

/* Page title and intro line. */
.hero { padding: 9vh 0 10vh; }

h1 {
  margin: 0 0 32px;
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lede {
  max-width: 34ch;
  margin: 0 auto;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
  text-wrap: balance;
}

.footer {
  padding: 56px 0 40px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
}

@media (max-width: 640px) {
  .page { padding: 0 20px; }
  .bar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0 8px;
  }
  .wordmark { justify-self: center; }
  .hero { padding: 6vh 0 8vh; }
  h1 { letter-spacing: 0.06em; }
}
