/* ============================================
   Knocket · v3 Design System
   Bold. Playful. Impossible-to-scroll-past.
   ============================================ */

:root {
  /* ==== Brand Colors — softened yellow, richer contrast ==== */
  --k-green:      #16A34A;
  --k-green-dark: #0D4A24;
  --k-ink:        #0A1A0F;
  --k-ink-2:      #1a2820;

  --k-lemon:      #DFF362;     /* SOFTER — pistachio matcha instead of neon */
  --k-lemon-soft: #EEF9A6;
  --k-lemon-deep: #C7DF3D;
  --k-coral:      #FF5638;
  --k-hot-pink:   #FF3D82;
  --k-lilac:      #C9B8FF;
  --k-sky:        #A8DBFF;
  --k-peach:      #FFC7A8;
  --k-cream:      #F5EFE0;
  --k-paper:      #FFFCF3;
  --k-line:       #E8E1CE;
  --k-muted:      #6B7D6E;
  --k-white:      #FFFFFF;

  /* ==== Type ==== */
  --font-sans:  'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --font-display: 'Space Grotesk','Inter',sans-serif; /* wider display */
  --font-serif: 'Instrument Serif',Georgia,serif;
  --font-mono:  'JetBrains Mono',ui-monospace,monospace;
  --font-hand:  'Caveat',cursive;

  /* ==== Radius ==== */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 48px;
  --r-pill: 999px;

  /* ==== Effects ==== */
  --sh-hard: 6px 6px 0 var(--k-ink);
  --sh-hard-lg: 10px 10px 0 var(--k-ink);
  --sh-lift: 0 40px 80px -20px rgba(10,26,15,.35);
  --sh-glow-lemon: 0 0 60px rgba(232,255,59,.5);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
html, body {
  background: var(--k-cream); color: var(--k-ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing:antialiased;
  overflow-x: clip;
  max-width: 100vw;
}
a { color:inherit; text-decoration:none; }
button { font-family:inherit; border:none; cursor:pointer; color:inherit; background:none; }
img,svg { display:block; }

/* ==== Custom cursor (desktop only) — a KNOCKING FIST ==== */
@media (hover:hover) and (pointer:fine) {
  body { cursor: none; }
  a, button, [role="button"], .clickable, input, textarea, details summary { cursor: none; }
  .k-cursor {
    position: fixed; top:0; left:0; z-index:9999; pointer-events:none;
    width: 68px; height: 68px;
    transform: translate(-50%,-50%);
    will-change: transform;
  }
  .k-cursor svg { width: 100%; height: 100%; overflow: visible;}
  .k-cursor .fist-body { transition: transform .12s cubic-bezier(.34,1.56,.64,1); transform-origin: 20% 100%;}
  .k-cursor.knocking .fist-body { transform: translate(4px, -3px) rotate(18deg);}
  .k-cursor.big { width: 84px; height: 84px; transition: width .18s, height .18s;}
  .k-cursor-label {
    position: fixed; top:0; left:0; z-index:10000; pointer-events:none;
    padding: 7px 14px; border-radius: var(--r-pill);
    background: var(--k-ink); color: var(--k-lemon);
    font-family: var(--font-mono); font-size: 11px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    transform: translate(30px, 26px); opacity: 0;
    transition: opacity .2s;
    white-space: nowrap;
    box-shadow: 3px 3px 0 rgba(10,26,15,.3);
  }
  .k-cursor-label.show { opacity: 1; }
  input:focus, textarea:focus { cursor: text;}

  /* Third-party contact widget keeps its own native cursor */
  #contact-widget-auto, #contact-widget-auto * { cursor: auto !important; }
}

/* ==== Ripple — softer, matcha color ==== */
.k-ripple {
  position: fixed; z-index: 9998; pointer-events: none;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--k-lemon);
  animation: ripple .7s ease-out forwards;
  transform: translate(-50%,-50%);
}
@keyframes ripple {
  from { opacity: 1; width: 20px; height: 20px; border-width: 3px;}
  to   { opacity: 0; width: 220px; height: 220px; border-width: 1px; }
}

/* ==== Knock burst effect (cursor) ==== */
.k-cursor .fist-burst { opacity: 0; transition: opacity .2s;}
.k-cursor.knocking .fist-burst {
  opacity: 1;
  animation: burst-pop .28s ease-out;
}
@keyframes burst-pop {
  0% { transform: scale(.6);}
  50% { transform: scale(1.15);}
  100% { transform: scale(1);}
}

/* ==== FAQ knock shake ==== */
.faq-item.just-opened {
  animation: faq-shake .32s ease-out;
}
@keyframes faq-shake {
  0%,100%{ transform: translate(0,0);}
  25%{ transform: translate(-3px, 1px);}
  50%{ transform: translate(3px, -1px);}
  75%{ transform: translate(-2px, 0);}
}

/* ==== Konami flash & banner ==== */
@keyframes k-flash {
  0%{ opacity: 0;}
  20%{ opacity: 1;}
  100%{ opacity: 0;}
}
@keyframes k-banner {
  0%{ transform: translate(-50%, -20px); opacity: 0;}
  10%,80%{ transform: translate(-50%, 0); opacity: 1;}
  100%{ transform: translate(-50%, -20px); opacity: 0;}
}

/* ==== Type presets — BOLDER ==== */
.h-display {
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 220px);
  font-weight: 700;
  line-height: .85;
  letter-spacing: -0.05em;
}
.h-massive {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 140px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -0.045em;
}
.h1 { font-size: clamp(44px, 6vw, 88px); font-weight: 800; line-height: .95; letter-spacing: -0.035em; font-family: var(--font-display);}
.h2 { font-size: clamp(36px, 4.5vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-family: var(--font-display);}
.h3 { font-size: clamp(22px, 2.5vw, 30px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;}
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.hand  { font-family: var(--font-hand); font-weight: 700; }
.mono  { font-family: var(--font-mono); }
.lead  { font-size: 19px; line-height: 1.5; color: var(--k-muted); }
.lead-lg { font-size: 22px; line-height: 1.45; color: var(--k-muted); }

/* Highlight strokes */
.hl-lemon { background: var(--k-lemon); padding: 0 .12em; box-decoration-break: clone;}
.hl-coral { background: var(--k-coral); color: var(--k-cream); padding: 0 .12em; box-decoration-break: clone;}
.hl-line  { position: relative; z-index: 1;}
.hl-line::after {
  content:''; position:absolute; left:-4px; right:-4px; bottom: 8%; height: 24%;
  background: var(--k-lemon); z-index: -1; transform: skewX(-4deg);
}

/* ==== Buttons — punchy ==== */
.btn {
  display: inline-flex; align-items:center; gap: 10px;
  padding: 16px 26px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px; letter-spacing: -.005em;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
  white-space: nowrap; cursor: pointer;
  border: 2px solid var(--k-ink);
  line-height:1;
}
.btn-lemon {
  background: var(--k-lemon); color: var(--k-ink);
  box-shadow: var(--sh-hard);
}
.btn-lemon:hover { transform: translate(-2px,-2px); box-shadow: var(--sh-hard-lg); }
.btn-lemon:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--k-ink);}

.btn-ink {
  background: var(--k-ink); color: var(--k-lemon);
  box-shadow: 6px 6px 0 var(--k-lemon);
}
.btn-ink:hover { transform: translate(-2px,-2px); box-shadow: 10px 10px 0 var(--k-lemon);}
.btn-ink:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--k-lemon);}

.btn-coral {
  background: var(--k-coral); color: var(--k-cream);
  box-shadow: var(--sh-hard);
}
.btn-coral:hover { transform: translate(-2px,-2px); box-shadow: var(--sh-hard-lg); }

.btn-ghost {
  background: transparent; color: var(--k-ink);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--k-ink); color: var(--k-cream);}

.btn-lg { padding: 20px 32px; font-size: 17px; }
.btn-xl { padding: 26px 40px; font-size: 20px; border-width: 2.5px;}
.btn-arrow::after { content:'↗'; font-weight:400; margin-left: 2px;}
.btn-play::before { content:'▸'; font-size: 14px; margin-right: -2px;}

/* Pill tag */
.pill {
  display: inline-flex; align-items:center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--k-white); border: 2px solid var(--k-ink);
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--k-ink); box-shadow: 3px 3px 0 var(--k-ink);
}
.pill-lemon { background: var(--k-lemon); }
.pill-dark  { background: var(--k-ink); color: var(--k-lemon); box-shadow: 3px 3px 0 var(--k-lemon);}
.pill-coral { background: var(--k-coral); color: var(--k-cream);}

/* Live dot */
.live-dot {
  display: inline-block;
  width: 10px; height: 10px; border-radius:50%;
  background: var(--k-green);
  box-shadow: 0 0 0 0 rgba(22,163,74,.7);
  animation: pulse-ring 1.6s infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(22,163,74,.7);}
  70%{ box-shadow: 0 0 0 12px rgba(22,163,74,0);}
  100%{ box-shadow: 0 0 0 0 rgba(22,163,74,0);}
}

/* Scribble arrows / marks */
.scribble-arrow {
  position: absolute;
  width: 100px; height: 60px; pointer-events: none;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.05));
}

/* ============ NAV ============ */
.k-nav {
  position: absolute; top:0; left:0; right:0; z-index: 90;
  padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.k-logo {
  display:flex; align-items:center; gap:12px;
  font-weight: 800; font-size: 24px; letter-spacing: -.03em;
  font-family: var(--font-display);
}
.k-logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--k-ink);
  display:grid; place-items:center;
  position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.k-logo-mark svg { width: 30px; height: 30px; display: block;}
.k-logo:hover .k-logo-mark {
  animation: knock-shake .4s;
}
@keyframes knock-shake {
  0%,100%{ transform: rotate(0);}
  25%{ transform: rotate(-8deg);}
  75%{ transform: rotate(8deg);}
}
.k-nav-links {
  display: flex; align-items: center; gap: 4px; font-size: 15px;
}
.k-nav-links a {
  padding: 10px 16px; border-radius: var(--r-pill);
  font-weight: 500; color: inherit;
  display:inline-flex; align-items:center; gap: 4px;
  transition: all .18s;
}
.k-nav-links a:hover { background: var(--k-ink); color: var(--k-lemon);}
.k-nav-cta { display:flex; align-items:center; gap: 12px; }
.k-nav.on-dark .k-logo { color: var(--k-cream);}
.k-nav.on-dark .k-nav-links a { color: var(--k-cream);}
.k-nav.on-dark .k-nav-links a:hover { background: rgba(232,255,59,.2); color: var(--k-lemon);}

/* ============ MARQUEE — big & bold ============ */
.marquee {
  background: var(--k-ink); color: var(--k-cream);
  padding: 20px 0; overflow: hidden;
  border-top: 3px solid var(--k-ink);
  border-bottom: 3px solid var(--k-ink);
  transform: rotate(-1.5deg);
  margin: -20px 0 -20px;
}
.marquee-track {
  display: flex; gap: 40px; width: max-content;
  animation: marquee 35s linear infinite;
  align-items: center;
}
.marquee-item {
  display:inline-flex; align-items:center; gap: 14px;
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700; letter-spacing: -.02em;
  color: var(--k-cream); white-space: nowrap;
}
.marquee-item::after {
  content:'✦'; color: var(--k-lemon); font-size: 22px;
  margin-left: 40px;
}
@keyframes marquee { to { transform: translateX(-50%);} }

/* ============ FOOTER ============ */
.k-foot {
  background: var(--k-ink); color: var(--k-cream);
  padding: 100px 32px 40px; position: relative; overflow: hidden;
}
.k-foot::before {
  content: 'KNOCK.'; position: absolute; bottom: -20px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display); font-size: clamp(120px, 22vw, 340px);
  font-weight: 900; color: rgba(232,255,59,.08);
  letter-spacing: -.05em; line-height: 1; pointer-events: none;
  white-space: nowrap;
}
.k-foot-inner { max-width: 1200px; margin: 0 auto; position: relative;}
.k-foot-top {
  display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.k-foot h5 {
  font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  color: var(--k-lemon); margin-bottom: 20px;
}
.k-foot ul { list-style: none; display:flex; flex-direction: column; gap: 12px;}
.k-foot a { color: rgba(245,239,224,.7); font-size: 15px; transition: color .15s;}
.k-foot a:hover { color: var(--k-lemon);}
.k-foot-brand p { color: rgba(245,239,224,.6); font-size: 15px; line-height: 1.6; margin-top: 16px; max-width: 340px;}
.k-foot-bot {
  padding-top: 30px; display:flex; justify-content: space-between; align-items:center;
  color: rgba(245,239,224,.4); font-size: 13px; flex-wrap: wrap; gap: 16px;
}

/* ==== Mobile ==== */
@media (max-width: 900px) {
  .k-nav { padding: 16px 18px; gap: 12px;}
  .k-nav-links { display: none; }
  .marquee-item { font-size: 18px;}
  .k-foot { padding: 60px 20px 30px;}
  .k-foot-top { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 40px;}
  .k-foot-brand { grid-column: 1 / -1;}
  .k-foot-bot { flex-direction: column; text-align:center;}
  body { cursor: auto !important; }
  a,button { cursor: pointer !important; }
  .k-cursor, .k-cursor-label { display: none !important;}
}
