/* ============================================================
   The Deliberate Design System — Kenny Collaborative
   kc.css · v1
   Home: https://kennycollaborative.com/brand
   Docs: DESIGN_SYSTEM.md

   Drop into any page:
     <link rel="stylesheet" href="https://kennycollaborative.com/brand/v1/kc.css">

   Then use the tokens (var(--gold)), the utilities (.btn-gold,
   .eyebrow, .atmosphere), and the hosted marks in /brand/assets.
   Core palette: Midnight blue #020617 · Decisive Yellow #FDCC4E · Soft white #F8FAFC
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Core palette */
  --black: #020617;      /* Midnight blue */
  --gold: #fdcc4e;       /* Decisive Yellow */
  --soft-white: #f8fafc; /* Soft white */

  /* Extended neutrals (slate ramp) */
  --ink: #0f172a;
  --white: #ffffff;
  --surface: #f1f5f9;
  --surface-2: #e2e8f0;
  --line: #e2e8f0;
  --line-dark: #1e293b;
  --muted: #64748b;
  --muted-d: #94a3b8;

  /* Accent + functional tints */
  --gold-deep: #ecb73c;  /* accent hover */
  --twilight: #0b1635;   /* logo tint — mark on Decisive Yellow */

  /* System */
  --paper: var(--soft-white);
  --maxw: 1200px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .display {
  font-family: 'Inter Tight', system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-weight: 600;
  margin: 0;
}

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- Eyebrow (kicker label) ---------- */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; line-height: 1;
  text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--gold); display: block; flex: 0 0 auto; }
.eyebrow.neutral { color: var(--muted); }
.eyebrow.neutral::before { background: var(--muted); opacity: .45; }
.eyebrow.on-dark { color: var(--gold); }   /* use on midnight surfaces */

/* ---------- Buttons (sharp, engineered) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 2px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.btn .arw { transition: transform .22s var(--ease); }
.btn:hover .arw { transform: translateX(5px); }

.btn-gold { background: var(--gold); color: var(--ink); }        /* primary */
.btn-gold:hover { background: var(--gold-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--black); }
.btn-line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-line-light { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }  /* on dark */
.btn-line-light:hover { border-color: #fff; }

/* On a Decisive Yellow surface, use a white fill with ink text */
.on-gold .btn-dark { background: #fff; color: var(--ink); }
.on-gold .btn-dark:hover { background: var(--surface); }

/* ---------- Brand lockup ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 1.04rem; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; display: block; flex: 0 0 auto; }

/* ---------- Atmosphere — "First Light" ----------
   Warm Decisive Yellow bloom for any MIDNIGHT surface.
   Wrap a section in .atmosphere; content floats above the glow. */
.atmosphere { position: relative; overflow: hidden; }
.atmosphere::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(55% 75% at 82% 0%, rgba(253,204,78,.20), transparent 70%);
}
.atmosphere > * { position: relative; z-index: 1; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn .arw { transition: none; }
}
