/* =========================================================================
   CJ Recruitment — Design System tokens & base styles
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Inter+Tight:wght@500;600;700;800;900&display=swap');

:root {
  /* Brand */
  --cj-red: #E0212E;
  --cj-red-600: #C81B27;
  --cj-grey: #6E7A8A;
  --ink-950: #141414;
  --ink-900: #1c1c1c;

  /* Surfaces */
  --surface-page: #F8F8F6;
  --surface-raised: #FFFFFF;
  --surface-sunken: #F1F0EC;
  --surface-inverse: #141414;

  /* Borders */
  --border-default: rgba(20, 20, 20, 0.16);
  --border-subtle: rgba(20, 20, 20, 0.08);

  /* Text */
  --text-default: rgba(20, 20, 20, 0.82);
  --text-strong: #141414;
  --text-muted: rgba(20, 20, 20, 0.6);

  /* Accent */
  --accent-soft: rgba(224, 33, 46, 0.10);

  /* Neutrals */
  --neutral-50: #F8F8F6;
  --neutral-100: #EFEEEA;
  --neutral-200: #DEDCD6;
  --neutral-300: #C9C7C0;
  --neutral-400: #9C9A93;
  --sand-50: #F4F2EC;

  /* Layout */
  --container-max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-label: 'Inter', system-ui, sans-serif;

  --text-eyebrow: 0.72rem;
  --text-body-sm: 0.95rem;
  --text-body-lg: 1.125rem;
  --text-display-lg: clamp(2rem, 4.6vw, 3.6rem);

  --tracking-tighter: -0.025em;
  --tracking-eyebrow: 0.12em;

  /* Radius */
  --radius-pill: 999px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(20, 20, 20, 0.05);
  --shadow-sm: 0 2px 6px rgba(20, 20, 20, 0.06);
  --shadow-md: 0 6px 16px rgba(20, 20, 20, 0.08);
  --shadow-lg: 0 18px 44px rgba(20, 20, 20, 0.14);

  /* Easing */
  --ease-emphasis: cubic-bezier(0.2, 0, 0, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: var(--font-sans);
  color: var(--text-default);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-default);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
  line-height: 1.5;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--text-strong);
}

p { margin: 0; }

::selection { background: var(--cj-red); color: #fff; }
::-moz-selection { background: var(--cj-red); color: #fff; }

a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
img, video { max-width: 100%; display: block; }

/* ---- shared utility classes ---- */
.cj-eyebrow {
  font-family: var(--font-label);
  font-size: var(--text-eyebrow);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  font-weight: 700;
  display: inline-block;
}

.cj-navlink { transition: color .2s, background .2s; }

.cj-tile { transition: transform .28s var(--ease-emphasis), box-shadow .28s var(--ease-emphasis), border-color .2s; }

.cj-foot-link { transition: color .18s; }

/* ---- responsive ---- */
@media (max-width: 760px) {
  .cj-split { grid-template-columns: 1fr !important; }
  .cj-footer-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 520px) {
  .cj-points { grid-template-columns: 1fr !important; }
  .cj-footer-grid { grid-template-columns: 1fr !important; }
}

/* ---- reduce-motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
