/* ══════════════════════════════════════════════════════════
   WRENKIT — GLOBAL STYLES
   Shared CSS used across all pages.
   ══════════════════════════════════════════════════════════ */


/* ── BRAND TOKENS ────────────────────────────────────────── */

:root {
  --sand:    #f5f0e8;
  --cream:   #faf7f2;
  --warm:    #ede6d8;
  --stone:   #c8bfad;
  --drift:   #8e8477;
  --tide:    #4a6b6e;
  --tide-l:  rgba(74,107,110,0.12);
  --ink:     #2c2925;
  --border:  rgba(139,127,112,0.22);
  --shadow:  rgba(44,41,37,0.07);
  --r:       3px;
}


/* ── RESET ───────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }


/* ── BODY BASE ───────────────────────────────────────────── */

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  font-weight: 300;
}


/* ── GRAIN OVERLAY ───────────────────────────────────────── */

body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
}


/* ── HEADER / NAV ────────────────────────────────────────── */

header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 0 56px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  line-height: 1;
}

.logo-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.1;
}

/* 'kit' in italic teal — the tool part of the name */
.logo-word em {
  font-style: italic;
  color: var(--tide);
}

.logo-sub {
  font-size: 0.44rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--stone);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
}

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

.nav-link {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--drift);
  text-decoration: none;
  transition: color 0.15s;
}

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


/* ── MOBILE RESPONSIVE HEADER ────────────────────────────── */

@media (max-width: 768px) {
  header { padding: 0 24px; }
}
