/* K5 Studio: Design Tokens & Typography
   Editorial Minimalist Aesthetic (Museum-grade, anti-slop) */

@font-face {
  font-family: 'Satoshi';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Satoshi-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Satoshi';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Satoshi-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Satoshi';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Satoshi-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Satoshi';
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Satoshi-900.woff2') format('woff2');
}

:root {
  /* Virsrakstu fonts: Satoshi (bold sans), nevis serifs */
  --font-serif: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;

  /* Deep obsidian black palette (ar smalku vēsu toni) */
  --bg: #0a0b10;
  --bg-canvas: #0a0b10;
  --bg-surface: #101115;
  --bg-card: #131418;
  --bg-card-hover: #191a22;
  --bg-modal: #0d0e12;

  /* Hairline borders */
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --border-glow: rgba(255, 255, 255, 0.4);

  /* High-contrast typographic scale */
  --text-main: #f4f4f6;
  --text-secondary: #c5c7d0;
  --text-muted: #888b94;
  --text-dim: #545760;
  --accent-white: #ffffff;

  /* Smooth cubic bezier easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.55s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1320px;
  --header-height: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background-color: var(--bg);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-main);
  background-color: var(--bg);
  /* Smalks krāsu tonis fonā (bilde dzīvo hero sekcijā, nevis šeit) */
  background-image:
    radial-gradient(1100px 760px at 86% -6%, rgba(74, 100, 176, 0.14), transparent 60%),
    radial-gradient(900px 720px at -6% 112%, rgba(150, 94, 62, 0.06), transparent 55%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
