/* ============================================================
   MITCHEM & MITCHEM HUMAN RESOURCES CONSULTING - Spark theme.css
   Spark fork of the Webflow site, rebuilt on UIkit 3 (loaded in
   includes/header.php). Brand tokens wire to --brand-* (injected
   by bootstrap.php from site-config.php -> theme), with hex
   fallbacks so the design holds if config tokens are cleared.
   LAST UPDATED: 2026-05-21
   ============================================================ */

/* --- BRAND TOKENS (wired to site-config theme) ------------- */
:root {
  --mitchem-primary:       var(--brand-primary, #165F83);   /* teal-blue */
  --mitchem-primary-hover: #124E6C;
  --mitchem-accent:        var(--brand-accent, #BF1E2E);    /* red CTA + topic pills */
  --mitchem-accent-hover:  #9E1826;
  --mitchem-ink:           var(--brand-neutral, #333333);
  --mitchem-muted-bg:      #F4F5F6;
  --mitchem-footer-bg:     #2D3338;
  --mitchem-on-dark:       #FFFFFF;
}

/* --- ACCESSIBILITY: skip link ------------------------------ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--mitchem-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* --- TYPE: Roboto everywhere (loaded via Google Fonts <link>) --- */
body {
  font-family: 'Roboto', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--mitchem-ink);
}
h1, h2, h3, h4, h5, h6,
.uk-heading-small, .uk-heading-medium, .uk-heading-large, .uk-heading-xlarge {
  font-family: 'Roboto', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}
h1 { font-weight: 300; }
h2 { font-weight: 900; color: var(--mitchem-primary); }
h3 { font-weight: 700; color: var(--mitchem-primary); }
.uk-light h1, .uk-light h2, .uk-light h3 { color: #fff; }

/* --- BUTTONS: red pill ------------------------------------- */
.uk-button {
  border-radius: 20px;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}
.uk-button-primary,
.uk-light .uk-button-primary {
  background-color: var(--mitchem-accent);
  color: #fff;
}
.uk-button-primary:hover,
.uk-button-primary:focus,
.uk-light .uk-button-primary:hover,
.uk-light .uk-button-primary:focus {
  background-color: var(--mitchem-accent-hover);
  color: #fff;
}
.uk-button-default {
  border: 1px solid var(--mitchem-primary);
  color: var(--mitchem-primary);
  background: transparent;
}
.uk-light .uk-button-default { border-color: #fff; color: #fff; }

/* --- LINKS ------------------------------------------------- */
a { color: var(--mitchem-primary); }
a:hover { color: var(--mitchem-primary-hover); }

/* --- HEADER (white bar: logo left, nav right) -------------- */
.mitchem-header { background: #fff; border-bottom: 1px solid #eee; }
.mitchem-header .mitchem-logo img { display: block; height: 48px; width: auto; }
.mitchem-header .uk-navbar-nav > li > a {
  color: var(--mitchem-ink);
  font-weight: 400;
  text-transform: none;
  min-height: 64px;
}
.mitchem-header .uk-navbar-nav > li > a:hover { color: var(--mitchem-primary); }

/* --- HERO (bg photo + teal left-to-right gradient scrim) --- */
.mitchem-hero {
  position: relative;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.mitchem-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(22, 95, 131, 1) 6%,
    rgba(22, 95, 131, 0) 100%
  );
}
.mitchem-hero .uk-container { position: relative; z-index: 1; }
.mitchem-hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.75rem); line-height: 1.05; font-weight: 300; }

/* --- STAT ROW ---------------------------------------------- */
.mitchem-stat .mitchem-stat__label { font-weight: 700; }
.mitchem-stat strong { color: var(--mitchem-primary); }

/* --- HONORS LISTS ------------------------------------------ */
.mitchem-honors h3 { margin-bottom: 0.6rem; }
.mitchem-honors .uk-list { list-style: disc; padding-left: 1.25em; }
.mitchem-honors .uk-list > li { padding: 3px 0; }

/* --- TOPIC GRID (red pills opening modals) ----------------- */
.mitchem-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.mitchem-topics .mitchem-topic {
  display: inline-block;
  background: transparent;
  color: var(--mitchem-primary);
  border: 1px solid var(--mitchem-primary);
  border-radius: 20px;
  padding: 9px 25px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mitchem-topics .mitchem-topic:hover { background: var(--mitchem-primary); color: #fff; }
.mitchem-modal { border-radius: 12px; }
.mitchem-modal .uk-modal-title { color: var(--mitchem-primary); font-weight: 900; }

/* --- CONTACT FORM ------------------------------------------ */
.mitchem-form label { display: block; font-weight: 500; margin-bottom: 1rem; }
.mitchem-form .uk-checkbox:checked { background-color: var(--mitchem-accent); border-color: var(--mitchem-accent); }
.mitchem-checks { columns: 2; }
@media (max-width: 640px) { .mitchem-checks { columns: 1; } }
.mitchem-checks label { font-weight: 400; break-inside: avoid; }
.mitchem-form .form-status { margin: 1rem 0; font-weight: 500; }

/* --- FOOTER ------------------------------------------------ */
.mitchem-footer { background: var(--mitchem-footer-bg); color: #cfd4d8; }
.mitchem-footer a { color: #cfd4d8; }
.mitchem-footer a:hover { color: #fff; }
.mitchem-footer .mitchem-social a {
  display: inline-flex;
  width: 24px;
  height: 24px;
  margin: 0 7px;
  color: #cfd4d8;
}
.mitchem-footer .mitchem-social a:hover { color: #fff; }
.mitchem-footer .mitchem-social svg { width: 100%; height: 100%; fill: currentColor; }
.mitchem-footer .mitchem-credit a { text-decoration: underline; }

/* --- SECTION HELPERS --------------------------------------- */
.uk-section-muted { background: var(--mitchem-muted-bg); }
