/* ==========================================================================
   LEAP LIMITLESS - DESIGN SYSTEM & CORE STYLES
   Executive Leadership & Immigrant Career Advisory
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
  /* Surface & Canvas Neutrals */
  --bg-canvas: #FAF9F5;
  --bg-canvas-alt: #F4F2EB;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FAF8F3;
  --bg-dark: #0A1612;
  --bg-dark-surface: #0A1612;
  --bg-dark-card: #12211C;
  --bg-dark-border: #1E332C;

  /* Typographic Inks */
  --text-primary: #121816;
  --text-secondary: #424D47;
  --text-tertiary: #6E7973;
  --text-inverse: #FAF9F5;
  --text-inverse-muted: #A3B1AB;

  /* Executive Brand Accents */
  --brand-primary: #0D1C17;
  --brand-primary-hover: #162B24;
  --brand-accent-gold: #C59B63;
  --brand-accent-gold-dark: #A67D44;
  --brand-accent-gold-light: #F7EEDB;
  --brand-accent-gold-border: #DFBF8B;
  
  --brand-emerald: #10B981;
  --brand-emerald-subtle: #E6F8F0;
  --brand-emerald-dark: #059669;

  /* Borders & Dividers */
  --border-light: #E7E3D9;
  --border-subtle: #EFECE5;
  --border-gold: rgba(197, 155, 99, 0.4);
  --border-dark: #22372F;

  /* Shadows & Elevation */
  --shadow-sm: 0 1px 3px rgba(13, 28, 23, 0.04), 0 1px 2px rgba(13, 28, 23, 0.02);
  --shadow-md: 0 4px 12px -2px rgba(13, 28, 23, 0.06), 0 2px 6px -1px rgba(13, 28, 23, 0.03);
  --shadow-lg: 0 16px 32px -4px rgba(13, 28, 23, 0.08), 0 4px 12px -2px rgba(13, 28, 23, 0.04);
  --shadow-xl: 0 24px 48px -12px rgba(13, 28, 23, 0.12), 0 8px 16px -4px rgba(13, 28, 23, 0.04);
  --shadow-gold: 0 8px 24px -4px rgba(197, 155, 99, 0.25);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spatial Scale */
  --container-max: 1320px;
  --container-narrow: 920px;
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Typography Hierarchy
   ========================================================================== */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.display-title {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.25rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.headline-lg {
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.headline-md {
  font-size: clamp(1.5rem, 2.5vw + 0.25rem, 2.25rem);
  line-height: 1.25;
}

.headline-sm {
  font-size: 1.35rem;
  line-height: 1.35;
}

.editorial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
  line-height: 1.45;
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.body-md {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-tertiary);
}

.label-caps {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-accent-gold-dark);
}

/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-top: clamp(4rem, 8vw, 7.5rem);
  padding-bottom: clamp(4rem, 8vw, 7.5rem);
  position: relative;
}

.section-sm {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-inverse);
}

.section-dark .body-lg,
.section-dark .body-md {
  color: var(--text-inverse-muted);
}

.section-alt {
  background-color: var(--bg-canvas-alt);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-gold {
  color: var(--brand-accent-gold) !important;
}

.text-emerald {
  color: var(--brand-emerald) !important;
}

.bg-gold-light {
  background-color: var(--brand-accent-gold-light);
}

/* Material Symbols Icon Utility */
.icon {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-block;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  vertical-align: middle;
}
