/*
Theme Name: Chroma Productions
Theme URI: https://chromaproductions.co.uk
Author: W Web Design & Hosting
Author URI: https://wwebdesign.co.uk
Description: Lightweight ACF-blocks theme for Chroma Productions. No page builder, no build step. Rebuilt from Elementor/Kadence for speed, preserving the exact custom fonts (Eskool + Thunder).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: chroma
*/

/* ==========================================================================
   Design tokens — the only place for cross-block values.
   Brand palette extracted from the live Elementor kit.
   ========================================================================== */
:root {
  /* Brand (exact, from the Elementor kit) */
  --chroma-red:       #bc201b;  /* accent / CTA / kit: accent + kadence1 */
  --chroma-red-dark:  #9a0f0a;  /* hover / kit: kadence2 */
  --chroma-cream:     #e5e3c6;  /* kit: primary — header/footer + "why work" panel */
  --chroma-ink:       #241612;  /* kit: eea9fef "Near Black" — all headings */
  --chroma-body-text: #2d3748;  /* kit: kadence4 — body copy on panels */
  --chroma-white:     #ffffff;  /* kit: kadence9 — hero/magazine panels */

  /* Surfaces */
  --chroma-bg:        var(--chroma-white);
  --chroma-text:      var(--chroma-ink);

  /* Type */
  --chroma-font-head: 'Thunder', 'Arial Narrow', sans-serif;          /* headings */
  --chroma-font-body: 'Eskool', 'Courier New', ui-monospace, monospace; /* body/nav/forms (typewriter) */

  /* Layout */
  --chroma-content-max: 1290px;
  --chroma-wide-max:    1520px;
  --chroma-header-h:    96px;
  --chroma-gutter:      1.5rem;
}

/* ==========================================================================
   Reset-ish base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--chroma-bg);
  color: var(--chroma-text);
  font-family: var(--chroma-font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--chroma-font-head);
  font-weight: 900;
  line-height: 1.02;
  margin: 0 0 .4em;
  letter-spacing: 1px;
  text-transform: none;
}
h1 { font-size: clamp(56px, 9vw, 100px); }
h2 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; }
h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; }
h4 { font-size: 32px; font-weight: 700; }
h5 { font-size: 24px; font-weight: 700; }
h6 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }

/* ==========================================================================
   Shared helpers
   ========================================================================== */
.chroma-container { max-width: var(--chroma-content-max); margin: 0 auto; padding: 0 var(--chroma-gutter); }

.chroma-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--chroma-font-body);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .3px;
  color: var(--chroma-white);
  background: var(--chroma-red);
  border: 0;
  padding: 13px 22px;
  cursor: pointer;
  transition: background .2s ease, gap .2s ease;
}
.chroma-btn svg, .chroma-btn .chroma-btn__arrow { width: 1em; height: 1em; }
.chroma-btn:hover { background: var(--chroma-red-dark); gap: 14px; color: var(--chroma-white); }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
