/* ══════════════════════════════════════════════════
   KOŽICH Kovo s.r.o. — Base Tokens & Reset
   Design system, custom properties, utilities
   ══════════════════════════════════════════════════ */

.kozich-premium-web {
  /* ── Color palette ── */
  --c-bg: #1b2438;
  --c-bg2: #162035;
  --c-bg-deep: #131c30;
  --c-bg-light: #212d45;
  --c-surface: rgba(27, 36, 56, 0.85);
  --c-glass: rgba(22, 32, 53, 0.6);
  --c-text: #b8c4d4;
  --c-muted: #6b7a8f;
  --c-white: #f1f5f9;
  --c-accent: #d4882b;
  --c-accent2: #c17722;
  --c-accent-light: #e8a44d;

  /* ── RGB bases for alpha variants ── */
  --c-accent-rgb: 212, 136, 43;
  --c-white-rgb: 255, 255, 255;
  --c-bg-deep-rgb: 19, 28, 48;

  /* ── Alpha variants ── */
  --c-border: rgba(212, 136, 43, 0.12);
  --c-border-h: rgba(212, 136, 43, 0.35);
  --c-glow: rgba(212, 136, 43, 0.25);
  --c-glow2: rgba(212, 136, 43, 0.12);
  --c-steel: rgba(180, 195, 215, 0.08);
  --c-accent-40: rgba(212, 136, 43, 0.4);

  /* ── Typography ── */
  --f-h: 'Montserrat', sans-serif;
  --f-b: 'Montserrat', sans-serif;

  /* ── Spacing scale ── */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* ── Easing ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Border radius ── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 50%;

  /* ── Layout ── */
  --header-full-h: 194px;       /* Full header height minus former admin bar space */
  --header-scrolled-h: 64px;    /* Compact header height — fixed */
  --scroll-offset: var(--header-scrolled-h);

  /* ── Base styles ── */
  color: var(--c-text);
  font-family: var(--f-b);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
}

/* ── Reset ── */
.kozich-premium-web * { box-sizing: border-box; }
.kozich-premium-web a { text-decoration: none; color: inherit; }
.kozich-premium-web h1,
.kozich-premium-web h2,
.kozich-premium-web h3,
.kozich-premium-web h4 {
  font-family: var(--f-h);
  color: var(--c-white);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.kozich-premium-web ul { list-style: none; padding: 0; margin: 0; }
.kozich-premium-web img,
.kozich-premium-web video,
.kozich-premium-web svg { max-inline-size: 100%; }
.kozich-premium-web button,
.kozich-premium-web a { overflow-wrap: anywhere; }

/* ── Container ── */
.kw-c {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(var(--sp-4), 3vw, var(--sp-6));
  position: relative;
  z-index: 2;
}

/* ── Mask Canvas — two-layer dynamic background ── */
.kw-mask-canvas--fixed {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .kw-mask-canvas--fixed { display: none; }
}

/* ── Shared animations ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

/* ── Scroll reveal ── */
.kw-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.kw-reveal.visible {
  opacity: 1;
  transform: none;
}
