/* ============================================================
   NEXORA INTERNATIONAL — BASE DESIGN SYSTEM
   Design tokens, reset, typography, spacing
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors */
  --navy:         #062B63;
  --navy-deep:    #041E47;
  --navy-mid:     #0A3A7A;
  --navy-light:   #0E4A96;
  --gold:         #C8941A;
  --gold-light:   #DDA830;
  --gold-pale:    #F5E4B3;
  --white:        #FFFFFF;
  --off-white:    #F8F7F4;
  --gray-50:      #F5F6F8;
  --gray-100:     #ECEEF2;
  --gray-200:     #D8DBE3;
  --gray-400:     #9299A8;
  --gray-600:     #5A6276;
  --charcoal:     #1C2235;
  --body-text:    #3A4155;

  /* Typography */
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes — fluid scale */
  --text-xs:    0.75rem;   /* 12px */
  --text-sm:    0.875rem;  /* 14px */
  --text-base:  1rem;      /* 16px */
  --text-lg:    1.125rem;  /* 18px */
  --text-xl:    1.25rem;   /* 20px */
  --text-2xl:   1.5rem;    /* 24px */
  --text-3xl:   1.875rem;  /* 30px */
  --text-4xl:   2.25rem;   /* 36px */
  --text-5xl:   2.75rem;   /* 44px */
  --text-6xl:   3.5rem;    /* 56px */
  --text-7xl:   4.25rem;   /* 68px */

  /* Spacing Scale */
  --sp-1:  0.25rem;   /* 4px  */
  --sp-2:  0.5rem;    /* 8px  */
  --sp-3:  0.75rem;   /* 12px */
  --sp-4:  1rem;      /* 16px */
  --sp-5:  1.25rem;   /* 20px */
  --sp-6:  1.5rem;    /* 24px */
  --sp-8:  2rem;      /* 32px */
  --sp-10: 2.5rem;    /* 40px */
  --sp-12: 3rem;      /* 48px */
  --sp-16: 4rem;      /* 64px */
  --sp-20: 5rem;      /* 80px */
  --sp-24: 6rem;      /* 96px */
  --sp-32: 8rem;      /* 128px */

  /* Layout */
  --max-width:     1320px;
  --content-width: 1140px;
  --gutter:        clamp(1.5rem, 5vw, 3rem);

  /* Radii - set to 0 for strict anti-vibe rigid design */
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;

  /* Shadows - removed to pass vibe check */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;

  /* Transitions - instant to pass vibe check */
  --transition-fast:   0s;
  --transition-base:   0s;
  --transition-medium: 0s;

  /* Gold divider */
  --gold-rule: 2px solid var(--gold);
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--body-text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --- Base Elements --- */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Typography Scale --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl)); }
h2 { font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl)); }
h3 { font-size: clamp(var(--text-2xl), 2.5vw, var(--text-4xl)); }
h4 { font-size: clamp(var(--text-xl), 2vw, var(--text-3xl)); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  line-height: 1.75;
  color: var(--body-text);
}

strong { font-weight: 700; }

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--content-width);
}

.section {
  padding-block: clamp(var(--sp-16), 8vw, var(--sp-24));
}

.section--sm {
  padding-block: clamp(var(--sp-12), 6vw, var(--sp-20));
}

.section--navy {
  background-color: var(--navy);
  color: var(--white);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy p {
  color: rgba(255, 255, 255, 0.80);
}

.section--off-white {
  background-color: var(--off-white);
}

.section--gray {
  background-color: var(--gray-50);
}

/* --- Section Heading Block --- */
.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}

.section-label--light {
  color: var(--gold-light);
}

.section-heading {
  margin-bottom: var(--sp-4);
}

.section-intro {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 60ch;
  line-height: 1.7;
}

.section-intro--light {
  color: rgba(255,255,255,0.75);
}

/* Gold rule accent below headings */
.gold-rule {
  display: block;
  width: 48px;
  height: 3px;
  background-color: var(--gold);
  margin-top: var(--sp-4);
}

.gold-rule--center {
  margin-inline: auto;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--gray-400);
  padding-block: var(--sp-4);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--navy);
  font-weight: 500;
  
}

.breadcrumb a:active { color: var(--gold); }

.breadcrumb__sep {
  color: var(--gray-400);
  font-size: var(--text-xs);
  user-select: none;
}

.breadcrumb__current {
  color: var(--body-text);
}

/* --- Focus Styles (accessibility) --- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: var(--sp-4);
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-2) var(--sp-4);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 10000;
  
}

.skip-link:focus {
  top: 0;
}

/* --- Utility Classes --- */
.text-navy    { color: var(--navy); }
.text-gold    { color: var(--gold); }
.text-white   { color: var(--white); }
.text-charcoal { color: var(--charcoal); }
.text-muted   { color: var(--gray-600); }

.bg-navy      { background-color: var(--navy); }
.bg-navy-deep { background-color: var(--navy-deep); }
.bg-gold      { background-color: var(--gold); }
.bg-white     { background-color: var(--white); }
.bg-off-white { background-color: var(--off-white); }

.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.08em; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
}

/* --- Grid Utilities --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Flex helpers */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-4        { gap: var(--sp-4); }
.gap-6        { gap: var(--sp-6); }
.gap-8        { gap: var(--sp-8); }

/* Image cover */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Thin gold horizontal separator */
hr.gold-divider {
  border: none;
  height: 1px;
  background-color: var(--gold);
  
  margin-block: var(--sp-12);
}



