/* ============================================================
   Cine Artistlabs — Design Tokens
   Warm charcoal × bone white. A24 × Linear × Aesop energy.
   ============================================================ */

@font-face {
  font-family: 'Kinetika';
  src: url('../fonts/Kinetika-Heavy.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Inter+Tight:wght@500&family=Instrument+Serif:ital@1&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --charcoal-deepest: #0F0E0C;
  --charcoal-main:    #14130F;
  --charcoal-surface: #1F1D19;
  --charcoal-border:  #2A2722;

  --bone-cream: #EBE4D2;
  --bone-white: #F0EADB;

  --text-primary:   #F0EADB;
  --text-secondary: #C4BDAF;
  --text-body:      #A69F91;
  --text-muted:     #8A8478;

  --text-primary-light:   #14130F;
  --text-secondary-light: #5E5A52;
  --text-muted-light:     #8A8478;

  --accent-orange: #E89A4A;
  --accent-rust:   #B85C28;
  --accent-teal:   #6FB5A8;
  --accent-blue:   #2F6480;

  --border-on-dark-subtle:  rgba(240, 234, 219, 0.08);
  --border-on-dark:         rgba(240, 234, 219, 0.12);
  --border-on-dark-strong:  rgba(240, 234, 219, 0.18);
  --border-on-light-subtle: rgba(20, 19, 15, 0.08);
  --border-on-light:        rgba(20, 19, 15, 0.12);

  --shadow-card-hover: 0 20px 60px rgba(232, 154, 74, 0.10);
  --shadow-elevated:   0 30px 80px rgba(0, 0, 0, 0.5);

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-card: 16px;
  --radius-pill: 100px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 120px;
  --space-11: 140px;

  --content-max: 1280px;
  --gutter-desktop: 56px;
  --gutter-mobile:  24px;
  --section-pad-y: 120px;

  --font-display: 'Inter Tight', system-ui, sans-serif;
  --font-logo:    'Kinetika', 'Inter Tight', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-italic:  'Instrument Serif', Georgia, serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --ease-confident: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 220ms;
  --dur-entrance: 700ms;

  --bg:        var(--charcoal-deepest);
  --bg-raised: var(--charcoal-main);
  --bg-card:   var(--charcoal-surface);
  --fg-1:      var(--text-primary);
  --fg-2:      var(--text-secondary);
  --fg-3:      var(--text-body);
  --fg-4:      var(--text-muted);
  --border-1:  var(--border-on-dark);
  --accent:    var(--accent-orange);
}

[data-theme="light"] {
  --bg:        var(--bone-cream);
  --bg-raised: var(--bone-white);
  --bg-card:   var(--bone-white);
  --fg-1:      var(--text-primary-light);
  --fg-2:      var(--text-secondary-light);
  --fg-3:      var(--text-secondary-light);
  --fg-4:      var(--text-muted-light);
  --border-1:  var(--border-on-light);
}

html, body {
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.h-display, h1.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(108px, 12vw, 140px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: var(--fg-1);
  text-wrap: pretty;
}
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--fg-1);
  text-wrap: pretty;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--fg-1);
  text-wrap: pretty;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--fg-1);
}
h4, .h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--fg-1);
}

.font-logo { font-family: var(--font-logo); font-weight: 800; letter-spacing: -0.02em; }

.italic-accent, em.accent {
  font-family: var(--font-italic);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--fg-2);
}
.italic-accent--orange { color: var(--accent-orange); }

p, .body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--fg-3);
  max-width: 58ch;
}
p strong, .body strong { font-weight: 500; color: var(--fg-1); font-style: normal; }
.body--small { font-size: 15px; line-height: 1.55; }

.ui { font-family: var(--font-body); font-weight: 400; font-size: 14px; letter-spacing: -0.005em; }
.ui--medium { font-weight: 500; }

.mono, .eyebrow, .label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-4);
}
.mono--md { font-size: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity var(--dur-micro) var(--ease-confident),
              border-color var(--dur-micro) var(--ease-confident),
              background var(--dur-micro) var(--ease-confident);
  text-decoration: none;
}
.btn--primary { background: var(--bone-white); color: var(--charcoal-main); }
.btn--primary:hover { opacity: 0.9; }

.btn--ghost { background: transparent; color: var(--fg-1); border-color: var(--border-on-dark-strong); }
.btn--ghost:hover { border-color: var(--bone-white); }

.btn .arrow { display: inline-block; transition: transform var(--dur-micro) var(--ease-confident); }
.btn:hover .arrow { transform: translateX(2px) scale(1.1); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-on-dark);
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--fg-2);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-orange); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: transform var(--dur-micro) var(--ease-confident),
              box-shadow var(--dur-micro) var(--ease-confident);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

.divider { height: 1px; background: var(--border-on-dark); border: none; }

.bar-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; height: 6px; }
.bar-strip > span:nth-child(1) { background: var(--accent-orange); }
.bar-strip > span:nth-child(2) { background: #D47A3A; }
.bar-strip > span:nth-child(3) { background: var(--accent-rust); }
.bar-strip > span:nth-child(4) { background: var(--accent-teal); }
.bar-strip > span:nth-child(5) { background: #4A8F87; }
.bar-strip > span:nth-child(6) { background: var(--accent-blue); }

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