/* ==========================================================================
   Koal Pot Staff - design tokens
   Carried over from the v7 prototype's visual language, with the brand red
   corrected to #C8102D, sampled directly from the supplied emblem artwork
   (v7 used #cc1435, a close approximation).
   ========================================================================== */
:root {
  /* Brand */
  --kp-red:            #C8102D;
  --kp-red-dark:       #AD0E2A;
  --kp-red-deep:       #A90F2B;   /* sidebar active state */
  --kp-red-soft:       #FFF0F3;
  --kp-red-tint:       #FFE7ED;
  --kp-black:          #000000;

  /* Neutrals - v7 */
  --kp-ink:        #17191C;
  --kp-muted:      #747982;
  --kp-paper:      #F6F7F7;
  --kp-white:      #FFFFFF;
  --kp-line:       #E9E9E9;
  --kp-line-soft:  #F0F0F1;
  --kp-dark:       #161819;
  --kp-sidebar:    #151819;
  --kp-sidebar-2:  #202426;
  --kp-sidebar-tx: #B4BABC;
  --kp-sidebar-mu: #747D81;
  --kp-hero:       #1A1D1F;
  --kp-hero-eyebrow: #EB9AA9;

  /* Status */
  --kp-green:        #167B59;
  --kp-green-soft:   #E8F7F0;
  --kp-green-tint:   #E2F6EE;
  --kp-green-text:   #177552;
  --kp-green-line:   #94D7AD;
  --kp-green-bg:     #F4FCF6;
  --kp-amber:        #976412;
  --kp-amber-soft:   #FFF1DC;
  --kp-amber-ribbon: #FFF8E7;
  --kp-amber-line:   #FFECC1;
  --kp-amber-text:   #8B5C19;
  --kp-grey-badge:   #F0F0F1;
  --kp-grey-text:    #656A70;
  --kp-dark-badge:   #32383A;
  --kp-danger:       #BD1637;

  /* Venue links read as links: v7 blue */
  --kp-link:       #0A68D4;
  --kp-link-dark:  #034B9D;

  /* Type - matches the reference demo exactly. No font file is bundled: on a
     device with Inter installed it is used, otherwise the system interface
     font takes over. The client's Koal Pot Display and Manrope files are
     logo-pack artwork and are deliberately not loaded here; see
     assets/fonts/README.md. */
  --kp-font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Arial, sans-serif;
  --kp-font-display: var(--kp-font-body);

  --kp-fs-xs:   10px;
  --kp-fs-sm:   11px;
  --kp-fs-md:   12px;
  --kp-fs-base: 13px;
  --kp-fs-lg:   15px;
  --kp-fs-xl:   19px;
  --kp-fs-2xl:  27px;
  --kp-fs-3xl:  35px;

  /* Space */
  --kp-s1: 4px;  --kp-s2: 8px;  --kp-s3: 12px; --kp-s4: 16px;
  --kp-s5: 20px; --kp-s6: 24px; --kp-s8: 32px; --kp-s10: 40px;

  /* Shape - v7 */
  --kp-r-sm: 9px;  --kp-r-md: 12px; --kp-r-lg: 16px;
  --kp-r-xl: 20px; --kp-r-pill: 99px;
  --kp-shadow:    0 13px 36px rgba(21, 24, 28, .06);
  --kp-shadow-sm: 0 8px 23px rgba(0, 0, 0, .028);
  --kp-shadow-lg: 0 15px 70px rgba(0, 0, 0, .27);

  /* Layout */
  --kp-sidebar-w: 248px;
  --kp-maxw: 1520px;
  --kp-tapmin: 40px;
  --kp-safe-top:    env(safe-area-inset-top, 0px);
  --kp-safe-bottom: env(safe-area-inset-bottom, 0px);
  --kp-safe-left:   env(safe-area-inset-left, 0px);
  --kp-safe-right:  env(safe-area-inset-right, 0px);

  --kp-ease: cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
