/* =========================================================================
   The WICK Protocol · funnel brand (system B, Wicklord's own world)
   Near-black, crimson, white. Mark: a red W on a black tile.
   ========================================================================= */

@font-face { font-family: "Space Grotesk"; src: url("fonts/spacegrotesk-500.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/spacegrotesk-700.woff2") format("woff2"); font-weight: 700 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0b0809;
  --bg-2: #120c0d;
  --surface: #161112;
  --surface-2: #1d1617;
  --ink: #f5f1f0;
  --ink-2: #d9d1d0;
  --muted: #a59c9b;
  --hair: rgba(245, 241, 240, 0.10);
  --hair-2: rgba(245, 241, 240, 0.18);
  --accent: var(--funnel-gold);
  --accent-deep: var(--funnel-gold-deep);
  --accent-ink: #ffffff;
  --accent-soft: color-mix(in srgb, var(--funnel-gold) 12%, transparent);
  --display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 16px;
  color-scheme: dark;
}

/* -------------------------------- Lockup -------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 10px; height: 28px; }
.brand__word {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--ink); white-space: nowrap; line-height: 1; font-size: 0.86rem;
}
.brand__word b { color: var(--accent); font-weight: 700; }

/* ---------------------------- The mark (red W on black) ---------------------------- */
.wick { display: block; width: 28px; height: 28px; overflow: visible; }
.wick__w { fill: none; stroke: var(--accent); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.wick--animate .wick__w { stroke-dasharray: 150; stroke-dashoffset: 150; animation: wickDraw 0.7s var(--ease) 0.15s forwards; }
@keyframes wickDraw { to { stroke-dashoffset: 0; } }

/* -------- Footer: branding-only banner, 1.5x the lockup height, centred -------- */
.brandfoot {
  height: 42px; display: flex; align-items: center; justify-content: center;
  border-top: 1px solid var(--hair); background: var(--bg-2);
}
.brandfoot .wick__w { stroke: var(--accent); }
.brandfoot .brand__word { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .wick--animate .wick__w { animation: none; stroke-dashoffset: 0; }
}
