/* ═══════════════════════════════════════════════════════════════════════════
   LUMINA — Light Mode Design System
   style.css
═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────────────────── */
:root {
  /* Colours */
  --bg-primary:        #FFFFFF;
  --bg-secondary:      #F9F9FB;
  --bg-tertiary:       #F3F4F6;
  --color-text:        #111111;
  --color-text-muted:  #6B7280;
  --color-text-xmuted: #9CA3AF;
  --color-border:      rgba(0, 0, 0, 0.07);
  --color-border-card: rgba(0, 0, 0, 0.05);

  /* Silver / holographic accent gradient */
  --grad-silver: linear-gradient(
    135deg,
    #e2e8f0 0%,
    #cbd5e1 25%,
    #f1f5f9 50%,
    #94a3b8 75%,
    #e2e8f0 100%
  );
  --grad-silver-btn: linear-gradient(
    135deg,
    #c8cdd5 0%,
    #a8b0bc 30%,
    #dde2e8 60%,
    #9aa2ae 100%
  );
  --grad-card-surface: linear-gradient(
    140deg,
    #e8eaed 0%,
    #f5f5f7 35%,
    #d4d8de 65%,
    #eaecef 100%
  );

  /* Card visual */
  --card-bg: linear-gradient(
    145deg,
    #dde2e8 0%,
    #f8f9fa 40%,
    #c9cfd8 70%,
    #e4e7eb 100%
  );

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               'Helvetica Neue', Arial, sans-serif;
  --font-size-base: 16px;
  --line-height: 1.6;

  /* Spacing scale (8-pt grid) */
  --space-1:  8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;

  /* Radii */
  --radius-sm:  8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px  3px rgba(0,0,0,0.05),  0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.07),  0 2px 4px rgba(0,0,0,0.04);
  --shadow-card: 0 2px 20px rgba(0,0,0,0.04),  0 1px  4px rgba(0,0,0,0.03);
  --shadow-pill: 0 8px 24px rgba(0,0,0,0.09),  0 2px  6px rgba(0,0,0,0.05);
  --shadow-card3d: 0 32px 80px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.10);

  /* Animation */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 180ms;
  --duration-base: 280ms;
  --duration-slow: 400ms;

  /* Layout */
  --container-max: 1180px;
  --nav-height: 68px;
}


/* ── 2. RESET & BASE ────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden; /* on html root, does NOT create a scroll container, preserves sticky */
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: var(--line-height);
  color: var(--color-text);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01' 1, 'cv01' 1, 'kern' 1;
}

/* ── Noise texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0.08;
  background-image: url('../assets/judema.svg');
  background-repeat: repeat;
  background-size: 40px 40px;
}

img, video, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── 3. LAYOUT ──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── 4. TYPOGRAPHY SCALE ────────────────────────────────────────────────── */
.hero__headline {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.hero__headline-highlight {
  display: inline-block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.4rem, 7.2vw, 4.6rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.05;
  padding-bottom: 0.15em;
  background: linear-gradient(135deg, #c8970a 0%, #f5d06a 35%, #ffe372 55%, #e6a817 80%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-sub {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .section-title { font-size: 28px; }
  .section-sub   { font-size: 16px; }
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-header .section-sub {
  margin-inline: auto;
}


/* ── 5. BUTTONS ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 11px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-full);
  transition:
    transform     var(--duration-fast) var(--ease-out),
    box-shadow    var(--duration-fast) var(--ease-out),
    opacity       var(--duration-fast) var(--ease-out),
    background    var(--duration-base) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}

/* Primary — gold gradient */
.btn--primary {
  background: linear-gradient(
    135deg,
    #c8970a 0%,
    #f5d06a 28%,
    #fde68a 50%,
    #e6a817 72%,
    #b8860b 100%
  );
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #3d2600;
  box-shadow: 0 4px 18px rgba(184,134,11,0.28), inset 0 1px 0 rgba(255,255,255,0.45);
  border: 1px solid rgba(200,151,10,0.35);
  font-weight: 700;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,134,11,0.38), inset 0 1px 0 rgba(255,255,255,0.45);
}

.btn--primary:active {
  transform: translateY(0);
}

/* Ghost button */
.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--bg-secondary);
  color: var(--color-text);
  transform: translateY(-1px);
}

/* Size modifier */
.btn--large {
  padding: 14px 30px;
  font-size: 1rem;
}

/* Focus styles */
.btn:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 3px;
}


/* ── 6. NAVIGATION ──────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.80);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
          backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
  /* Subtle top micro-border for depth */
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-4);
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 22px;       /* fixed height — width auto-scales at 952:225 ratio */
  width: auto;
  display: block;
  /* keep logo visually black regardless of SVG fill */
  filter: brightness(0);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}

.nav__link:hover {
  color: var(--color-text);
}

/* ── Burger button ── */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}

.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__burger { display: flex; }
}

/* ── Mobile menu overlay ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-height);
  z-index: 99;
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  padding: var(--space-6) var(--space-4);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
}

.mobile-menu__link {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.mobile-menu__link:hover { color: var(--color-text-muted); }

.mobile-menu__cta {
  margin-top: var(--space-3);
  width: 100%;
  max-width: 280px;
  padding: 14px 28px;
  font-size: 1rem;
}

