/* ============================================================
   CRONIMET TERMINALS — Design Tokens
   Colors, type, spacing, motion, elevation
   Lava New Media | 2026
   ============================================================ */

/* ------------------------------------------------------------
   FONT — Source Sans 3, self-hosted
   Full weight range 200–900 + italics, served from /fonts.
   No external CDN dependency. Paths are relative to this file's
   location at the project root, so they resolve correctly
   regardless of where it is imported from.
------------------------------------------------------------ */

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('../fonts/SourceSans3-ExtraLight.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: url('../fonts/SourceSans3-ExtraLightItalic.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/SourceSans3-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/SourceSans3-LightItalic.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/SourceSans3-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/SourceSans3-Italic.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/SourceSans3-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/SourceSans3-MediumItalic.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/SourceSans3-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/SourceSans3-SemiBoldItalic.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/SourceSans3-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/SourceSans3-BoldItalic.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/SourceSans3-ExtraBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/SourceSans3-ExtraBoldItalic.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/SourceSans3-Black.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/SourceSans3-BlackItalic.ttf') format('truetype');
}

:root {

  /* ----------------------------------------------------------
     BASE COLOR PALETTE — exact brand values (do not substitute)
  ---------------------------------------------------------- */
  --cronimet-blue:       #041a3d;   /* Primary. Dark navy. Dominant background/text. */
  --sustainable-green:   #52ae32;   /* Accent. Used sparingly for arrows/rules/borders. */
  --metal-grey:          #91a2ac;   /* Supporting. Body text on dark, borders, dividers. */
  --dark-metal-grey:     #2b3f47;   /* Supporting. Subtle section variation only. */
  --warning-red:         #ff2800;   /* Alert. One high-impact moment per page. */
  --white:               #ffffff;
  --off-white:           #f4f5f6;   /* Light backgrounds when content demands. */

  /* Metal grey gradation — subtle depth */
  --grey-10:  #e0e8ee;
  --grey-30:  #bbc7cf;
  --grey-50:  #91a2ac;   /* === metal-grey */
  --grey-70:  #677a84;
  --grey-90:  #40545e;

  /* Energetic accent gradient — single element per page, never full backgrounds */
  --gradient-energetic: linear-gradient(135deg, #52ae32 0%, #41b8d5 100%);

  /* ----------------------------------------------------------
     SEMANTIC COLOR TOKENS
     Use these in components for portability.
  ---------------------------------------------------------- */
  --bg-primary:        var(--cronimet-blue);   /* Main dark background */
  --bg-elevated:       var(--cronimet-blue);   /* Cards/boxes on dark sections */
  --bg-surface-dark:   var(--dark-metal-grey); /* Subtle break only */
  --bg-surface-light:  var(--off-white);       /* Light content-dense sections */
  --bg-page:           var(--off-white);       /* Inter-section neutral */

  --fg-on-dark:           var(--white);           /* Headlines on navy */
  --fg-on-dark-secondary: var(--metal-grey);      /* Body on navy */
  --fg-on-dark-tertiary:  var(--grey-70);         /* Legal/meta on navy */
  --fg-on-light:          var(--cronimet-blue);   /* Headlines on light */
  --fg-on-light-secondary: var(--grey-70);

  --accent:           var(--sustainable-green); /* Rules, arrows, button borders, hover */
  --accent-on-light:  var(--sustainable-green);
  --alert:            var(--warning-red);

  --border-dark:      rgba(255, 255, 255, 0.08); /* Dividers on navy */
  --border-dark-md:   rgba(255, 255, 255, 0.18);
  --border-light:     rgba(4, 26, 61, 0.08);     /* Dividers on light */
  --border-tag:       rgba(145, 162, 172, 0.30); /* Tag/chip outline on dark */
  --rule-accent:      var(--sustainable-green);  /* 1px brand rules */

  /* ----------------------------------------------------------
     TYPOGRAPHY — base
  ---------------------------------------------------------- */
  --font-sans: 'Source Sans 3', system-ui, -apple-system, sans-serif;

  /* Weights */
  --fw-light:  300;
  --fw-regular: 400;
  --fw-semi:   600;
  --fw-bold:   700;
  --fw-black:  900;

  /* Letter-spacing */
  --ls-headline:  -0.025em;  /* Tight on large display */
  --ls-display:   -0.04em;   /* Tighter for stat figures */
  --ls-label:     0.12em;    /* Tracked caps for labels/eyebrows */
  --ls-label-tight: 0.10em;
  --ls-label-wide:  0.22em;  /* Footer tagline-style spacing */

  /* Line-height */
  --lh-headline: 0.92;
  --lh-display:  1.0;
  --lh-body:     1.65;
  --lh-tight:    1.1;

  /* ----------------------------------------------------------
     TYPE SCALE — fluid clamp() values
     Match the parent-brand authoritative scale.
  ---------------------------------------------------------- */
  --fs-display:    clamp(5rem, 15vw, 14rem);    /* Stat hero numerals */
  --fs-h1:         clamp(3rem, 7vw, 6rem);      /* Hero headline lines */
  --fs-h2:         clamp(2.2rem, 3.8vw, 4.5rem);/* Section headlines */
  --fs-h3:         clamp(1.4rem, 2vw, 1.8rem);  /* Sub-section */
  --fs-stat:       clamp(3.5rem, 8vw, 7rem);    /* Stats band figures */
  --fs-body:       clamp(0.95rem, 1.1vw, 1.05rem);
  --fs-body-sm:    clamp(0.85rem, 0.95vw, 0.95rem);
  --fs-label:      0.78rem;    /* Tracked caps labels */
  --fs-label-sm:   0.66rem;    /* Footer tag, micro labels */
  --fs-tag:        0.70rem;    /* Chip/tag */

  /* ----------------------------------------------------------
     SPACING — multiples of 4px
  ---------------------------------------------------------- */
  --space-0:   0;
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;
  --space-6:   24px;
  --space-8:   32px;
  --space-10:  40px;
  --space-12:  48px;
  --space-14:  56px;
  --space-16:  64px;
  --space-20:  80px;
  --space-24:  96px;
  --space-30:  120px;
  --space-40:  160px;
  --space-50:  200px;

  /* Layout */
  --container-max: 1400px;
  --page-pad:      60px;   /* Horizontal padding inside boxes/footer */
  --page-pad-md:   40px;
  --page-pad-sm:   28px;
  --nav-h:         72px;
  --box-overlap:   80px;   /* Asymmetric overlap dimension */
  --split-img:     57vw;   /* Image column width in split layouts */

  /* ----------------------------------------------------------
     RADII — sharp by default, pills for interactive elements
  ---------------------------------------------------------- */
  --radius-0:    0;        /* Default. Use sharp corners. */
  --radius-sm:   2px;      /* Rare — minor focus rings */
  --radius-pill: 100px;    /* Buttons & nav CTA only */

  /* ----------------------------------------------------------
     ELEVATION
     Industrial: shadows are quiet and dimensional, not glowy.
  ---------------------------------------------------------- */
  --shadow-box:    0 24px 80px rgba(4, 26, 61, 0.22),
                   0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-nav:    0 2px 40px rgba(0, 0, 0, 0.35);
  --shadow-none:   none;

  /* ----------------------------------------------------------
     MOTION
     Industrial timing — purposeful, never bouncy.
  ---------------------------------------------------------- */
  --dur-fast:   0.2s;
  --dur-base:   0.25s;
  --dur-slow:   0.65s;
  --dur-reveal: 0.75s;
  --ease-out:   cubic-bezier(0.22, 0.61, 0.36, 1);  /* power2.out equivalent */
  --ease-in-out: cubic-bezier(0.55, 0, 0.45, 1);
  /* Never use bounce, elastic, back easings. */

  /* ----------------------------------------------------------
     OVERLAYS — applied over hero photography/video
  ---------------------------------------------------------- */
  --overlay-hero:    rgba(4, 26, 61, 0.60);  /* 55–60% navy over imagery */
  --overlay-hero-lt: rgba(4, 26, 61, 0.40);  /* Lighter passes */
  --overlay-card:    rgba(4, 26, 61, 0.85);
}

/* ============================================================
   SEMANTIC CLASS HELPERS
   Build pages on these. They reference tokens above so colors,
   spacing, and motion can be tuned in one place.
   ============================================================ */

html { font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }

/* ---------- DISPLAY / HEADLINES ---------- */

.t-display-number {
  font-family: var(--font-sans);
  font-weight: var(--fw-black);
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--fg-on-dark);
}

.t-h1, .t-headline {
  font-family: var(--font-sans);
  font-weight: var(--fw-black);
  font-size: var(--fs-h1);
  line-height: var(--lh-headline);
  letter-spacing: var(--ls-headline);
  text-transform: uppercase;
  color: var(--fg-on-dark);
}

.t-h2 {
  font-family: var(--font-sans);
  font-weight: var(--fw-black);
  font-size: var(--fs-h2);
  line-height: var(--lh-headline);
  letter-spacing: var(--ls-headline);
  text-transform: uppercase;
  color: var(--fg-on-dark);
}

.t-h3 {
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-on-dark);
}

/* ---------- LABELS / EYEBROWS ---------- */

.t-eyebrow,
.t-label {
  font-family: var(--font-sans);
  font-weight: var(--fw-semi);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--fg-on-dark-secondary);
}

.t-label-sm {
  font-family: var(--font-sans);
  font-weight: var(--fw-semi);
  font-size: var(--fs-label-sm);
  text-transform: uppercase;
  letter-spacing: var(--ls-label-wide);
  color: var(--fg-on-dark-secondary);
}

/* ---------- BODY ---------- */

.t-body {
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-on-dark-secondary);  /* metal grey on dark per brand rule */
}

.t-body-sm {
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
  color: var(--fg-on-dark-secondary);
}

/* ---------- BRAND DECORATIONS ---------- */

.t-arrow {
  color: var(--accent);
  font-weight: var(--fw-bold);
}

.rule-accent {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--rule-accent);
}

.rule-accent--full {
  width: 100%;
}

/* ============================================================
   LOGO LOCK-UP — verbatim from the live production site.

   Two SVGs side-by-side: GF monogram + CRONIMET wordmark.
   Sublabel (e.g. TERMINALS) is the second row of a flex column
   under the wordmark.

   Heights are set per-context (.site-nav and .site-footer);
   the lock-up classes carry no default size.

   Usage:
     <a href="/" class="site-logo" aria-label="Cronimet Terminals home">
       <div class="site-logo-row">
         <img src="…/gf-monogram-white.svg" alt="" class="site-logo-monogram">
         <div class="site-logo-text">
           <img src="…/cronimet-wordmark-only-white.svg" alt="CRONIMET" class="site-logo-wordmark">
           <span class="site-logo-sublabel">TERMINALS</span>
         </div>
       </div>
     </a>
   ============================================================ */

.site-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.site-logo-monogram {
  display: block;
  width: auto;
  flex-shrink: 0;
}

.site-logo-wordmark {
  display: block;
  width: auto;
}

.site-logo-sublabel {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: #91a2ac;
  margin-top: 2px;
  margin-left: 4px; /* optical adjustment — aligns T under C stroke, not SVG edge */
}

/* Nav header */
.site-nav .site-logo-monogram { height: 36px; }
.site-nav .site-logo-wordmark { height: 28px; }
.site-nav .site-logo-sublabel { font-size: 11px; }

/* Footer */
.site-footer .site-logo-monogram { height: 48px; }
.site-footer .site-logo-wordmark { height: 38px; }
.site-footer .site-logo-sublabel { font-size: 13px; }

