/* KRAZE website v2 additions on top of KRAZE System 4.1 (bundle.css stays untouched). */

/* ---------- Status colours (always shown with an icon) ---------- */
:root, [data-theme="dark"] { --danger: #ff7b72; --success: #6fe3a1; }

/* ---------- Motion tokens ---------- */
:root {
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-slow: 500ms;
}

/* ---------- Icon sizes ---------- */
.k-icon--s { width: 16px; height: 16px; }
.k-icon--m { width: 20px; height: 20px; }
.k-icon--l { width: 24px; height: 24px; }

/* ---------- k-field: label, control, hint, error ---------- */
.k-field { display: grid; gap: 8px; }
.k-field label { font: 700 15px/20px var(--font-text); }
.k-field input, .k-field select, .k-field textarea {
  width: 100%; box-sizing: border-box; border: 2px solid var(--line-strong); background: var(--gray-900); color: var(--ink);
  font: 450 17px/1.4 var(--font-text); border-radius: 24px; padding: 14px 20px;
  transition: border-color var(--dur-fast) ease;
}
.k-field input, .k-field select { height: 56px; border-radius: 999px; padding: 0 20px; }
.k-field textarea { min-height: 160px; resize: vertical; }
.k-field input:hover, .k-field select:hover, .k-field textarea:hover { border-color: var(--ink); }
.k-field input:focus, .k-field select:focus, .k-field textarea:focus { outline: none; border-color: var(--focus); }
.k-field input::placeholder, .k-field textarea::placeholder { color: var(--ink-muted); }
.k-field small { font-size: 14px; color: var(--ink-muted); }
.k-field__msg { display: flex; align-items: center; gap: 8px; font: 600 14px/20px var(--font-text); color: var(--danger); margin: 0; }
.k-field--error input, .k-field--error select, .k-field--error textarea { border-color: var(--danger); }

/* ---------- Success stamp ---------- */
.k-stamp {
  display: inline-block; padding: 10px 18px 8px; border: 3px solid var(--success); color: var(--success);
  font: 400 30px/1 var(--font-score); letter-spacing: .1em; text-transform: uppercase; transform: rotate(-4deg);
  box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 5px var(--success);
  animation: k-stamp-in var(--dur-base) var(--ease-spring) both;
}
@keyframes k-stamp-in { from { transform: rotate(-4deg) scale(1.5); opacity: 0; } to { transform: rotate(-4deg) scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .k-stamp { animation: none; } }

/* ---------- One main button per section: the second action is a text link ---------- */
.k-hero__ctas { align-items: center; column-gap: 28px; }
.k-note { margin: 0; font: 450 14px/20px var(--font-text); color: var(--ink); opacity: .85; }

/* ---------- Screen-reader-only text ---------- */
.k-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Header: full-width dark bar, fixed to the top ---------- */
.kp-bar { position: fixed; top: 0; left: 0; right: 0; height: 0; z-index: 40; }
.kp-pill {
  position: absolute; top: 0; left: 0; width: 100%; height: 72px; box-sizing: border-box;
  display: flex; align-items: center; gap: 24px; padding: 0 max(32px, calc((100% - var(--container)) / 2));
  background: rgba(11, 11, 12, .78); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--gray-100);
}
.kp-pill .k-header__logo { display: inline-flex; align-items: center; min-height: 44px; }
.kp-pill .k-header__logo img { height: 28px; width: auto; }
.kp-pill .k-nav { margin: 0 auto; gap: 28px; }
.kp-pill .k-menu { height: 44px; }
.kp-drawer { position: absolute; top: 72px; left: 0; width: 100%; max-height: calc(100vh - 72px); overflow: auto; }
.kp-drawer[hidden] { display: none; }
@media (max-width: 900px) {
  .kp-pill { height: 64px; padding: 0 8px 0 16px; }
  .kp-pill .k-header__right { margin-left: auto; }
  .kp-drawer { top: 64px; max-height: calc(100vh - 64px); }
}
/* Hides on scroll down, returns on scroll up or when the pointer nears the top */
.kp-pill, .kp-drawer { transition: transform var(--dur-base) var(--ease-out); }
.kp-bar--hide .kp-pill { transform: translateY(-100%); }
.kp-bar--hide .kp-drawer { display: none; }
@media (prefers-reduced-motion: reduce) { .kp-pill, .kp-drawer { transition: none; } }

/* ---------- Footer ---------- */
.k-footer__legal a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .k-footer ul { gap: 0; }
  .k-footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .k-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }
  .k-footer__legal { align-items: center; }
}
.k-footer { padding: 112px 32px 32px; }
.k-footer__in { gap: 88px; }
.k-footer__cols { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.k-footer__brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.k-footer__slogan {
  margin: 0; color: var(--panel-ink);
  font-family: var(--font-kinetic); font-weight: 800; font-variation-settings: "FLAR" 100, "VOLM" 100, "slnt" -12;
  text-transform: uppercase; font-size: clamp(40px, 4.4vw, 64px); line-height: .9; letter-spacing: -.03em;
}
.k-footer__sub { margin: 0; max-width: 30ch; font: 450 16px/24px var(--font-text); color: var(--panel-muted); }
.k-footer__social { margin-top: 10px; gap: 10px; }
.k-footer .k-footer__social a.k-footer__ico { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.k-footer .k-footer__social a.k-footer__ico:hover { background: var(--volt-200); border-color: var(--volt-200); color: var(--gray-950); }
.k-footer__ico .k-icon { width: 20px; height: 20px; }
.k-footer h5 { font-size: 16px; margin-bottom: 20px; }
.k-footer ul { gap: 14px; }
.k-footer ul a { font: 500 17px/1.25 var(--font-text); transition: color var(--dur-fast) ease; }
.k-footer ul a:hover { color: var(--volt-200); text-decoration: none; }
.k-footer__legal { align-items: center; gap: 12px 24px; padding-top: 28px; font-size: 14px; }
.k-footer__logo { height: 26px; width: auto; margin-right: auto; display: block; }
@media (max-width: 900px) {
  .k-footer { padding: 72px 16px 24px; }
  .k-footer__in { gap: 56px; }
  .k-footer__cols { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  .k-footer__cols > :first-child { grid-column: 1 / -1; }
  .k-footer__slogan { font-size: 44px; }
  .k-footer__legal { display: grid; grid-template-columns: 1fr auto; }
  .k-footer__logo { grid-column: 1 / -1; justify-self: start; margin-bottom: 8px; }
}

/* ---------- Sub headings: same kinetic style as the hero, one size step quieter ---------- */
.k-hd, .k-say {
  margin: 0; color: inherit; text-wrap: balance;
  font-family: var(--font-kinetic); font-weight: 800; font-variation-settings: "FLAR" 100, "VOLM" 100, "slnt" -12;
  text-transform: uppercase; font-size: clamp(38px, 4.8vw, 68px); line-height: .9; letter-spacing: -.035em;
}
.k-hd--s { font-size: clamp(26px, 2.6vw, 38px); line-height: .95; letter-spacing: -.02em; }
.k-tint { color: var(--volt-200); }
