/* ============================================================
   SoccerTraining.io — LAYER 2: THEME
   Trainer:   Soccer Edge  (socceredgespeed.com)
   Archetype: KINETIC  ·  v3
   ------------------------------------------------------------
   THIS IS THE ONLY FILE THAT CHANGES BETWEEN TRAINER SITES.

   v3 resolves v1 (all dark, no discipline) against v2 (all light,
   no energy). Three decisions carry it:

   1. SURFACE ALTERNATES. Dark carries impact: hero, photo bands,
      footer. Light carries information: programs, prices, the
      coach. v1 was 100% dark and relentless; v2 was 100% light
      and inert. The contrast between them is the energy.

   2. THE ORANGE WAS THE WRONG HUE, NOT THE WRONG IDEA.
      v1 used #FF8A00, hue 32.5deg, an amber leaning yellow, which
      is what fought the cool navy. Sampled from the trainer's own
      brand photography, the cones measure #F86030, hue 14.4deg.
      Red-orange against navy is a settled pairing. Contrast on
      the field is 5.79:1, and navy-on-ember is also 5.79:1, so
      button text is navy. White on ember is only 3.13:1 and is
      therefore never used.

   3. THE FIELD HAS CHROMA. v1's #00101F was near-black, which is
      a generic dark-mode ground. #061530 keeps the blue.

   One shout, not twelve. The hero headline is the only italic
   uppercase element on the site; every other heading is upright
   sentence case on a real scale. v1 shouted at every level, which
   is why nothing stood out.
   ============================================================ */

:root {
  /* =========================================================
     A. BRAND PRIMITIVES
        Navy and cyan measured from the crest; ember measured
        from the cones in the trainer's own photography.
     ========================================================= */
  --p-navy-950: #061530;   /* field. has chroma, is not near-black */
  --p-navy-900: #0a1d3d;   /* raised on dark */
  --p-navy-850: #0d2449;
  --p-navy-800: #0c2448;   /* crest navy, measured 39.6% of mark */
  --p-navy-600: #19407a;
  --p-navy-400: #5b7cad;

  --p-ember-600: #e04e22;
  --p-ember-500: #f86030;  /* cone orange, measured from photography */
  --p-ember-400: #ff7a50;

  --p-cyan-500:  #28a8e0;  /* crest cyan, measured 9.9% */
  --p-cyan-300:  #a8d8f0;  /* crest ice */

  --p-paper:     #f1f5f9;
  --p-white:     #ffffff;
  --p-ice-200:   #d9e3ec;
  --p-slate-600: #41526a;
  --p-slate-500: #5a6b7f;
  --p-mist-300:  #c3d2e4;

  /* =========================================================
     B. SEMANTIC MAPPING — light default, dark sections opt in
        via .u-dark so a single page can alternate.
     ========================================================= */
  --surface-page:    var(--p-paper);
  --surface-raised:  var(--p-white);
  --surface-sunken:  #e7eef5;
  --surface-brand:   var(--p-navy-800);
  --surface-inverse: var(--p-navy-950);
  --surface-accent:  var(--p-ember-500);

  --text-primary:    var(--p-navy-800);
  --text-secondary:  var(--p-slate-600);
  --text-muted:      var(--p-slate-500);
  --text-on-accent:  var(--p-navy-950);
  --text-on-inverse: var(--p-mist-300);
  --text-link:       var(--p-ember-600);

  --accent:          var(--p-ember-500);
  --accent-hover:    var(--p-ember-600);
  --accent-subtle:   rgba(248, 96, 48, 0.12);
  --accent-2:        var(--p-cyan-500);
  --accent-2-subtle: rgba(40, 168, 224, 0.14);

  --border-hairline: var(--p-ice-200);
  --border-strong:   #b6c6d6;
  --border-focus:    var(--p-ember-600);

  --scrim-rgb: 6 21 48;

  /* =========================================================
     C. ARCHETYPE: KINETIC v3
     ========================================================= */
  --font-display: "Chivo", system-ui, sans-serif;
  --font-body:    "Chivo", system-ui, sans-serif;
  --font-mono:    "Chivo Mono", ui-monospace, monospace;

  /* Default heading voice: upright, sentence case, disciplined.
     The shout is a separate opt-in treatment, used once. */
  --display-weight: 800;
  --display-style:  normal;
  --display-case:   none;
  --display-track:  -0.028em;
  --display-leading: 1.0;    /* v1 shipped 0.88: the line box was
                                shorter than the glyphs and multi-line
                                headings collided at every width */

  --heading-weight: 700;
  --heading-track: -0.018em;
  --heading-leading: 1.12;

  --body-leading: 1.65;
  --label-track: 0.02em;
  --scale-ratio: 1.26;

  --fs-display-xl: clamp(2.6rem, 5.4vw, 5.25rem);
  --fs-display-l:  clamp(1.95rem, 3.1vw, 2.9rem);
  --fs-h1:         clamp(1.7rem, 2.5vw, 2.3rem);
  --fs-h2:         clamp(1.4rem, 1.95vw, 1.75rem);
  --fs-h3:         clamp(1.1rem, 1.3vw, 1.25rem);
  --fs-body-l:     clamp(1.0625rem, 1.1vw, 1.2rem);

  --radius-card: 6px;
  --radius-card-cut: 6px;
  --radius-button: 5px;
  --radius-media: 6px;
  --radius-pill: 999px;

  --border-width: 1px;
  --shadow-card: none;
  --shadow-raised: 0 1px 2px rgba(6,21,48,.06), 0 14px 36px -20px rgba(6,21,48,.32);
  --shadow-accent: none;

  --density: 1.0;
  --motion-scale: 1;

  --hero-top: 0;
  --nav-h: 84px;
  --brand-mark-h: 52px;
  --brand-mark-foot-h: 72px;

  --mark-image: repeating-linear-gradient(104deg, currentColor 0 3px, transparent 3px 9px);
  --mark-w: 30px;
  --mark-h: 11px;
  --mark-skew: 0deg;

  --nav-invert-fg:     var(--p-white);
  --nav-invert-fg-dim: rgba(255, 255, 255, 0.82);
  --nav-invert-rule:   rgba(255, 255, 255, 0.18);

  --img-filter: saturate(1.02) contrast(1.03);
  --img-scrim: linear-gradient(180deg, rgb(var(--scrim-rgb) / 0) 38%, rgb(var(--scrim-rgb) / .9) 100%);
}

/* ---- Dark sections. Remaps the semantics so every shared
        component works on a dark ground with no component edits. ---- */
.u-dark {
  --surface-page:    var(--p-navy-950);
  --surface-raised:  var(--p-navy-900);
  --surface-sunken:  var(--p-navy-850);
  --text-primary:    var(--p-white);
  --text-secondary:  var(--p-mist-300);
  --text-muted:      #8ea4c0;
  --text-link:       var(--p-ember-400);
  --border-hairline: rgba(168, 216, 240, 0.15);
  --border-strong:   rgba(168, 216, 240, 0.32);
  --border-focus:    var(--p-ember-400);
  background: var(--p-navy-950);
  color: var(--p-white);
}

/* ---- The one shout. Hero headline only. ---- */
.t-display.t-shout, .t-display-l.t-shout, .t-h1.t-shout {
  font-style: italic;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

::selection { background: var(--p-ember-500); color: var(--p-navy-950); }
