/* Montserrat local fonts removed in favor of Oswald, Inter, and Plus Jakarta Sans loaded from Google Fonts */

html,
body {
  overflow-x: clip;
  overflow-anchor: auto;
}

@media (hover: none), (pointer: coarse) {
  html,
  body {
    overflow-x: hidden;
  }

  a,
  button,
  summary,
  label,
  [role="button"],
  [tabindex]:not([tabindex="-1"]) {
    touch-action: pan-y;
  }
}

/* Custom Scrollbar Global */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--color-brand-blue-bright) 30%, transparent);
  border-radius: var(--radius-md);
}
::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--color-brand-blue-bright) 60%, transparent);
}

/* Firefox Support */
* {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--color-brand-blue-bright) 30%, transparent) transparent;
}

body {
  background-color: var(--color-brand-navy-deep);
  color: var(--color-text-dark);
}

:root {
  /* ── COLORS ─────────────────────────────────────────────── */
  /* Brand palette (override these per project) */
  --color-brand-primary: #91C83E;
  --color-brand-primary-hover: #9FD94A;
  --color-brand-primary-text: #070B10;
  --color-brand-secondary: #43555B;
  --color-brand-accent: #91C83E;
  --color-brand-surface: #F8FAFF;
  --color-brand-surface-alt: #111A23;
  --color-brand-surface-inverse: #070B10;
  --color-brand-text-primary: #111A23;
  --color-brand-text-inverse: #F1FCFF;

  /* Semantic tokens (use these in components) */
  --color-primary: var(--color-brand-primary);
  --color-primary-hover: var(--color-brand-primary-hover);
  --color-primary-text: var(--color-brand-primary-text);
  --color-secondary: var(--color-brand-secondary);
  --color-accent: var(--color-brand-accent);

  --color-surface: var(--color-brand-surface-alt);
  --color-surface-alt: var(--color-brand-surface);
  --color-surface-inverse: var(--color-brand-surface-inverse);
  --color-bg-card: var(--color-brand-surface-alt);

  --color-text-primary: var(--color-brand-text-inverse);
  --color-text-secondary: #A7B0BA;
  --color-text-inverse: var(--color-brand-text-primary);

  --color-border: var(--color-brand-surface-alt);
  --color-border-light: rgba(255, 255, 255, 0.08);

  --color-link-default: var(--color-brand-secondary);
  --color-link-hover: var(--color-brand-primary);

  --color-success: #46b450;
  --color-error: #b32d2e;
  --color-warning: #f0ad4e;

  /* Premium Gradients & Overlays */
  --gradient-hero-blend: linear-gradient(0deg, #070B10 0%, rgba(7, 11, 16, 0) 100%);
  --gradient-dark-to-navy: linear-gradient(180deg, #070B10 0%, #111A23 100%);
  --overlay-default: rgba(255, 255, 255, 0.08);

  /* ── LEGACY ALIASES (backward compat) ──────────────────── */
  --color-brand-navy-deep: var(--color-brand-surface-inverse);
  --color-brand-navy: #111A23;
  --color-brand-navy-soft: var(--color-brand-secondary);
  --color-brand-blue-bright: var(--color-brand-accent);
  --color-brand-gold: var(--color-brand-primary);
  --color-brand-ivory: var(--color-brand-surface);
  --color-brand-stone: var(--color-brand-surface-alt);
  --color-brand-charcoal: var(--color-brand-text-primary);
  --color-text-dark: var(--color-text-primary);
  --color-text-light: var(--color-text-inverse);
  --color-bg-light: var(--color-brand-surface);
  --color-bg-medium: var(--color-brand-surface-alt);
  --color-bg-dark: var(--color-brand-surface-inverse);
  --color-cta-default: var(--color-primary);
  --color-cta-hover: var(--color-primary-hover);
  --color-cta-text: var(--color-primary-text);
  --color-gold-accent: #91C83E;
  --color-gold-hover: var(--color-primary-hover);
  --color-navy-dark: #111A23;
  --color-divider-dark: rgba(255, 255, 255, 0.08);

  /* ── FONTS ──────────────────────────────────────────────── */
  --font-display: "Oswald", sans-serif;
  --font-secondary: "Inter", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-sans: var(--font-body);

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  --lh-display: 0.9;
  --lh-body: 1.6;

  /* ── BREAKPOINTS (reference / JS-use) ───────────────────── */
  --bp-mobile: 360px;
  --bp-tablet: 768px;
  --bp-desktop: 1140px;
  --vw-min: 360;
  --vw-max: 1440;

  /* ── FLUID TYPE SCALE ───────────────────────────────────── */
  --fs-display-large: clamp(46.81px, calc(46.81px + 72.4 * ((100vw - 360px) / 1080)), 119.21px);
  --fs-display-medium: clamp(41.05px, calc(41.05px + 54.32 * ((100vw - 360px) / 1080)), 95.37px);
  --fs-hero-description: clamp(18px, calc(18px + 6 * ((100vw - 360px) / 1080)), 24px);
  --fs-eyebrow: 14px;
  --fs-h1: clamp(36.49px, calc(36.49px + 39.8 * ((100vw - 360px) / 1080)), 76.29px);
  --fs-h2: clamp(32.44px, calc(32.44px + 28.6 * ((100vw - 360px) / 1080)), 61.04px);
  --fs-h3: clamp(28.83px, calc(28.83px + 20 * ((100vw - 360px) / 1080)), 48.83px);
  --fs-h4: clamp(25.63px, calc(25.63px + 13.43 * ((100vw - 360px) / 1080)), 39.06px);
  --fs-h5: clamp(22.78px, calc(22.78px + 8.47 * ((100vw - 360px) / 1080)), 31.25px);
  --fs-h6: clamp(20.25px, calc(20.25px + 4.75 * ((100vw - 360px) / 1080)), 25px);
  --fs-body-large: clamp(18px, calc(18px + 2 * ((100vw - 360px) / 1080)), 20px);
  --fs-body: 16px;
  --fs-body-small: clamp(12.8px, calc(12.8px + 1.42 * ((100vw - 360px) / 1080)), 14.22px);
  --fs-cta: 18px;
  --fs-nav: 14px;
  --fs-form-caption: 11px;

  /* ── SPACING SCALE (8-point) ────────────────────────────── */
  --space-3xs: 2px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;

  /* Legacy spacing (backward compat) */
  --space-1: 10px;
  --space-2: 20px;
  --space-3: 30px;

  --section-padding-y: 80px;
  --section-padding-x: clamp(16px, 5vw, 40px);

  /* ── BORDER RADIUS ──────────────────────────────────────── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-card: 16px;
  --radius-button: 16px;
  --radius-full: 9999px;

  /* ── ELEVATION / SHADOW ──────────────────────────────────── */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.15);

  /* ── Z-INDEX SCALE ──────────────────────────────────────── */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-header-dropdown: 9990;
  --z-header: 10000;
  --z-nav-overlay: 10010;
  --z-nav-drawer: 10020;
  --z-modal-backdrop: 10100;
  --z-modal: 10110;
  --z-overlay: 10110;
  --z-skip-link: 10200;

  /* ── MOTION ──────────────────────────────────────────────── */
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 800ms;

  /* ── OPACITY ──────────────────────────────────────────────── */
  --opacity-0: 0;
  --opacity-hover: 0.8;
  --opacity-muted: 0.6;
  --opacity-disabled: 0.4;
  --opacity-100: 1;

  /* ── LETTER SPACING ───────────────────────────────────────── */
  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;
}

@media (max-width: 768px) {
  :root {
    --section-padding-y: 60px;
  }
}

@media (max-width: 360px) {
  :root {
    --section-padding-y: 48px;
  }
}

/* UTILITY CLASSES */
.display-large {
  font-family: var(--font-display);
  font-size: var(--fs-display-large);
  line-height: var(--lh-display);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  text-wrap: balance;
}

.display-medium {
  font-family: var(--font-display);
  font-size: var(--fs-display-medium);
  line-height: var(--lh-display);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-description {
  font-family: var(--font-secondary);
  font-size: var(--fs-hero-description);
  line-height: 1.5;
  font-weight: var(--fw-regular);
}

.eyebrow {
  font-family: var(--font-secondary);
  font-size: var(--fs-eyebrow);
  line-height: 1.1;
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.59px;
}

.sub-heading {
  font-family: var(--font-secondary);
  font-size: var(--fs-sub-heading);
  line-height: 1.1;
  font-weight: var(--fw-regular);
  text-wrap: balance;
}

.h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: 1.1;
  font-weight: var(--fw-regular);
  text-wrap: balance;
}

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.1;
  font-weight: var(--fw-regular);
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1.3;
  font-weight: var(--fw-regular);
  text-wrap: balance;
}

.h4 {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  line-height: 1.1;
  font-weight: var(--fw-regular);
  text-wrap: balance;
}

.h5 {
  font-family: var(--font-display);
  font-size: var(--fs-h5);
  line-height: 1.1;
  font-weight: var(--fw-regular);
  text-wrap: balance;
}

.h6 {
  font-family: var(--font-display);
  font-size: var(--fs-h6);
  line-height: 1.3;
  font-weight: var(--fw-semibold);
  text-wrap: balance;
}

/* GLOBAL HEADER TAGS */
h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: 1.1;
  font-weight: var(--fw-regular);
  margin-bottom: var(--space-2);
  text-wrap: balance;
}
h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.1;
  font-weight: var(--fw-regular);
  margin-bottom: var(--space-2);
  text-wrap: balance;
}
h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1.3;
  font-weight: var(--fw-regular);
  margin-bottom: var(--space-2);
  text-wrap: balance;
}
h4 {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  line-height: 1.1;
  font-weight: var(--fw-regular);
  margin-bottom: var(--space-1);
  text-wrap: balance;
}
h5 {
  font-family: var(--font-display);
  font-size: var(--fs-h5);
  line-height: 1.1;
  font-weight: var(--fw-regular);
  margin-bottom: var(--space-1);
  text-wrap: balance;
}
h6 {
  font-family: var(--font-display);
  font-size: var(--fs-h6);
  line-height: 1.3;
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-1);
  text-wrap: balance;
}

.body-large {
  font-family: var(--font-body);
  font-size: var(--fs-body-large);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  text-wrap: pretty;
}

.body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  text-wrap: pretty;
}

.body-small {
  font-family: var(--font-body);
  font-size: var(--fs-body-small);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  text-wrap: pretty;
}

.body-bold {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-bold);
  text-wrap: pretty;
}

.body-link {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-bold);
  color: var(--color-link-default);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-wrap: pretty;
}

p,
li,
blockquote {
  text-wrap: pretty;
}

.body-link:hover {
  color: var(--color-link-hover);
}

.nav-link {
  font-family: var(--font-secondary);
  font-size: var(--fs-nav);
  line-height: 1.14;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 2.40px;
}

.footer-link {
  font-family: var(--font-secondary);
  font-size: 15px;
  line-height: 1.9;
  font-weight: var(--fw-medium);
}

.breadcrumbs {
  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 1.2;
  font-weight: var(--fw-semibold);
}

.sidebar-nav {
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.7;
  font-weight: var(--fw-semibold);
}

.form-caption {
  font-family: var(--font-secondary);
  font-size: var(--fs-form-caption);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
}

input, select, textarea, .form-input {
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
}

.card {
  --start: 0;
  --gradient: conic-gradient(from 90deg at 50% 50%, var(--color-primary), var(--color-primary));

  position: relative;
  display: flex;
  margin: var(--space-xs);
  padding: var(--space-xs) var(--space-xl);
  background-color: rgba(4, 4, 4, 0.45);
  backdrop-filter: blur(3px);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-normal) var(--ease-in-out);
}

.card::before {
  position: absolute;
  pointer-events: none;
  content: "";
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: var(--radius-lg);
  border: 3px solid transparent;
  background: var(--gradient);
  background-attachment: fixed;
  mask: linear-gradient(#0000, #0000),
    conic-gradient(
      from calc((var(--start) - (20 * 1.4)) * 1deg),
      rgba(255, 255, 255, 0.12) 0deg,
      var(--color-primary),
      transparent 100deg
    );
  mask-composite: intersect;
  mask-clip: padding-box, border-box;
  opacity: var(--opacity-0);
  transition: var(--duration-slow) var(--ease-out);
}

.glow {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  z-index: calc(var(--z-base) * -1);
  transform: translate(-50%, -50%);
  filter: blur(14px);
}

.glow::before {
  position: absolute;
  pointer-events: none;
  content: "";
  width: 98%;
  height: 98%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: var(--radius-lg);
  border: 15px solid transparent;
  background: var(--gradient);
  background-attachment: fixed;
  mask: linear-gradient(#0000, #0000),
    conic-gradient(
      from calc((var(--start) - (20 * 1.1)) * 1deg),
      var(--color-primary) 0deg,
      var(--color-primary),
      transparent 100deg
    );
  mask-composite: intersect;
  mask-clip: padding-box, border-box;
  opacity: var(--opacity-0);
  transition: var(--duration-slower) var(--ease-out);
  z-index: calc(var(--z-base) * -1);
}

.card:hover > .glow::before {
  opacity: var(--opacity-100);
}
.card:hover::before {
  opacity: var(--opacity-hover);
}





/* SHOW MORE BUTTON */
.show-more-btn {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin-bottom: 20px;
  transition: color var(--duration-normal) var(--ease-out);
}

.show-more-btn:hover {
  color: var(--color-primary-hover);
}

.show-more-btn::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform var(--duration-normal) var(--ease-out);
}

.paragraph:not(.hidden) + .show-more-btn::after {
  transform: rotate(225deg);
  margin-top: 2px;
}

/* CIRCULAR SLIDER NAVIGATION ARROWS */
.slider-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  outline: 1px rgba(255, 255, 255, 0.08) solid;
  outline-offset: -1px;
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  padding: 0;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.20);
}

.slider-arrow svg {
  width: 16px;
  height: 11px;
  display: block;
  fill: none;
  transition: transform var(--duration-normal) var(--ease-out);
}

.slider-arrow--prev svg {
  transform: rotate(180deg);
}

@media (hover: none), (pointer: coarse) {
  .body-link:hover {
    color: var(--color-link-default);
  }

  .card:hover > .glow::before,
  .card:hover::before {
    opacity: var(--opacity-0);
  }

  .show-more-btn:hover {
    color: var(--color-primary);
  }

  .slider-arrow:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}


/* ── ACCESSIBILITY UTILITIES ───────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── LAYOUT UTILITIES ──────────────────────────────────────── */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2xs { gap: var(--space-2xs); }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

.text-center { text-align: center; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* ── RESPONSIVE HIDE/SHOW ───────────────────────────────────── */
.hide-mobile { display: none; }
@media (min-width: 768px) {
  .hide-mobile { display: revert; }
  .hide-desktop { display: none; }
}

/* Links inside paragraphs */
p a {
  color: var(--color-primary);
  transition: color var(--duration-normal) var(--ease-out);
}

p a:hover {
  color: var(--color-primary-hover);
}

@media (hover: none), (pointer: coarse) {
  p a:hover {
    color: var(--color-primary);
  }
}
