/* ==========================================================================
   DESIGN TOKENS  —  the only file you need to edit to re-brand the page.
   Values were measured from the reference (see docs/REFERENCE_ANALYSIS.md).
   In WordPress/Elementor these map 1:1 to Site Settings → Global Colors /
   Global Fonts / Layout (see docs/WORDPRESS_ELEMENTOR_MIGRATION.md).
   ========================================================================== */

:root {
  /* ---- Brand colours ---------------------------------------------------- */
  --color-primary:   #B8860A;   /* gold: headings, gold buttons, icon squares, borders.
                                   Accessibility: this exact gold is 2.4–3.3 : 1 on light backgrounds / white text.
                                   For WCAG AA use #8F6608 (5.16 on white, 4.51 on cream, 4.65 on light grey) — see docs/DESIGN_SYSTEM.md §2. */
  --color-secondary: #A82B1E;   /* red: red buttons, icons, connector, investors panel, CTA band */
  --color-dark:      #131313;   /* footer main */
  --color-light:     #F2F3F6;   /* light-grey section background */
  --color-accent:    #B8860A;   /* hover / current-state accent (Elementor "accent" = primary) */
  --color-text:      #313131;   /* body copy */
  --color-muted:     #4D4D4D;   /* card descriptions */
  --color-border:    #C4C4C4;   /* menu separators */

  /* ---- Supporting palette (kept as tokens so nothing is hard-coded) ------ */
  --color-white:       #FFFFFF;
  --color-black:       #000000;   /* responsible panel, footer bar */
  --color-cream:       #FDEFC8;   /* "What we do" background */
  --color-pill:        #EDD9D8;   /* trust pill */
  --color-pill-hover:  #E5D3B2;
  --color-navy:        #0B1A2B;   /* live price card */
  --color-price:       #FFD700;   /* live price figure */
  --color-step-title:  #414247;   /* timeline titles */
  --color-social-fb:   #3B5998;
  --color-social-tw:   #1DA1F2;
  --color-social-yt:   #CD201F;

  /* ---- Typography ------------------------------------------------------- */
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-widget:  var(--font-body);   /* price widget (the reference uses the bare system font) */

  --font-size-h1:      34px;   /* hero headline */
  --font-size-h2:      53px;   /* section titles (partner / services / why-invest) */
  --font-size-h2-md:   42px;   /* split-section titles (investors / responsible / process) */
  --font-size-h2-cta:  50px;   /* final CTA title */
  --font-size-h3:      28px;   /* why-invest box title */
  --font-size-h4:      22px;   /* partner-row title */
  --font-size-card-title: 22px; /* service-card title */
  --font-size-lead:    18px;   /* hero / intro paragraphs */
  --font-size-body:    16px;
  --font-size-small:   15px;   /* footer links, legal nav */
  --font-small:        var(--font-size-small);   /* alias — the name used in the brief */
  --font-size-btn:     17px;
  --font-size-nav:     16px;

  --line-height-heading: 1.2;
  --line-height-body:    1.5;
  --line-height-lead:    1.8;  /* hero + split-section paragraphs */

  /* ---- Layout & spacing (10-px base scale) ------------------------------ */
  --container-width: 1400px;   /* inner max width */
  --gutter:          15px;     /* band side padding */
  --col-pad:         10px;     /* every column/child container */
  --section-padding: 80px;     /* band top/bottom */
  --content-gap:     20px;     /* between stacked blocks */
  --card-gap:        20px;     /* = 2 × --col-pad between cards */
  --element-gap:     20px;     /* between widgets inside a column */
  --header-height:   86px;

  /* ---- Component tokens ------------------------------------------------- */
  --radius-btn:   3px;
  --radius-card:  12px;
  --radius-pill:  90px;
  --btn-pad-y:    25px;
  --btn-pad-x:    40px;
  --btn-icon:     17px;
  --btn-gap:      15px;
  --hero-min-height: 90vh;
  --trust-overlap:   -100px;
  /* Darkening layer over the hero photo so the white copy stays readable (the supplied sunset photo is bright).
     Desktop: dark on the copy side (right) fading to clear on the left; ≤1024 the copy spans the width, so it is a flat top→bottom veil. */
  --hero-scrim:         linear-gradient(270deg, rgba(10, 6, 3, .74) 0%, rgba(10, 6, 3, .55) 42%, rgba(10, 6, 3, .12) 78%, rgba(10, 6, 3, 0) 100%);
  --hero-scrim-stacked: linear-gradient(180deg, rgba(10, 6, 3, .42), rgba(10, 6, 3, .64));
  /* Optional photo behind the "Responsible & sustainable mining" panel (the reference is solid black).
     Example:  --responsible-image: url("../images/responsible.jpg");  --responsible-overlay: .65;
     (a url() inside a custom property resolves relative to assets/css/, hence "../images/"; use an absolute URL in WordPress) */
  --responsible-image:   none;
  --responsible-overlay: 0;
  --shadow-card-hover: 0 0 5px 0 rgba(0, 0, 0, .5);
  --shadow-menu:       0 4px 10px -2px rgba(0, 0, 0, .1);
  --transition-fast: .3s;      /* buttons, dropdown */
  --transition-card: .4s;      /* pills, cards */

  /* ---- Motion (subtle; reference uses Elementor fadeInRight / fadeInDown) - */
  --anim-duration:  1s;
  --anim-shift-x:   60px;      /* Elementor default is 100 % of the element */
  --anim-shift-y:   -40px;
}

/* ---- Mobile (≤ 767) overrides of the global tokens ---------------------
   (Tablet-only differences — e.g. "What we do" title 42px, "Why invest" title
   32px — live next to their components in responsive.css.) */
@media (max-width: 767px) {
  :root {
    --font-size-h1:         26px;
    --font-size-h2:         28px;
    --font-size-h2-md:      28px;
    --font-size-h2-cta:     36px;
    --font-size-h3:         22px;
    --font-size-card-title: 18px;
    --font-size-btn:        15px;
    --section-padding:      50px;
    --btn-pad-y:            18px;
    --btn-pad-x:            25px;
    --btn-icon:             15px;
  }
}
