/* ============================================================
   IGS — Invoria Global Solutions
   global.css  |  Variables · Reset · Typography · Layout · Cursor
   ============================================================ */

/* ── No external fonts required — uses system font stack ── */

/* ================================================================
   1. CSS CUSTOM PROPERTIES
   ================================================================ */
:root {
  /* LinkedIn-aligned brand palette (client spec) */
  --color-primary:    #0a66c2;
  --color-dark:       #004182;
  --color-accent:     #378fe9;
  --color-white:      #ffffff;
  --color-bg:         #f3f6f8;
  --color-text:       #193764;
  --color-muted:      #5f6b76;
  --color-border:     #d9e1e8;
  --color-cta-hover:  #004182;
  --color-card-hover-bg:      #ebf4fd;
  --color-card-hover-border:  #004182;
  --color-card-hover-text:    #004182;
  --card-hover-y:             -5px;
  --card-accent-w:            4px;
  --card-hover-transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease,
    border-top-color 0.35s ease,
    border-left-color 0.35s ease;
  --color-wa:         #25D366;
  /* Footer — #193764 base + blue-tinted lights (readable, on-brand) */
  --color-footer-bg:              #193764;
  --color-footer-bg-soft:         #1f4478;
  --color-footer-border:          rgba(55, 143, 233, 0.32);
  --color-footer-heading:         #ffffff;
  --color-footer-text:            #c8dcef;
  --color-footer-link:            #b8cfe8;
  --color-footer-link-hover:      #ffffff;
  --color-footer-meta:            #94b5d4;
  --color-footer-icon:            #42a0e8;
  --color-footer-social-bg:       rgba(10, 102, 194, 0.48);
  --color-footer-social-hover:    #0a66c2;

  /* Typography — Apple system font stack */
  --font-body:    -apple-system, BlinkMacSystemFont, 'SF Pro Text',
                  'Helvetica Neue', Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display',
                  'Helvetica Neue', Arial, sans-serif;

  /* Sizing */
  --radius-card:   12px;
  --radius-btn:    8px;
  --container:     1200px;
  --section-py:    96px;
  --nav-h:         72px;
  --nav-announce-h: 0px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-fast:   0.2s;
  --t-base:   0.3s;
  --t-slow:   0.5s;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.1);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.14);
  --shadow-blue:  0 8px 32px rgba(10,102,194,0.25);

  /* ── PREMIUM DESIGN TOKENS (Phase 1) ────────────────────── */

  /* Extended palette */
  --color-primary-50:   #eaf2fb;
  --color-primary-100:  #d0e4f7;
  --color-primary-500:  #0a66c2;
  --color-primary-600:  #004182;
  --color-primary-700:  #004182;
  --color-primary-900:  #002a52;
  --color-accent-400:   #42a0e8;
  --color-accent-500:   #378fe9;
  --color-accent-600:   #0a74bc;
  --color-ink-900:      #152d52;
  --color-ink-700:      #193764;
  --color-ink-500:      #5f6b76;
  --color-ink-300:      #8b95a1;
  --color-ink-100:      #e6e9ec;
  --color-surface:      #FAFBFC;
  --color-surface-2:    #F3F6F8;

  /* Glass system (light + dark variants) */
  --glass-bg:           rgba(255, 255, 255, 0.55);
  --glass-bg-strong:    rgba(255, 255, 255, 0.72);
  --glass-bg-dark:      rgba(10, 15, 20, 0.55);
  --glass-border:       rgba(255, 255, 255, 0.65);
  --glass-border-dark:  rgba(255, 255, 255, 0.08);
  --glass-blur:         saturate(180%) blur(20px);
  --glass-blur-strong:  saturate(180%) blur(32px);

  /* Glow system */
  --glow-primary:       0 0 0 1px rgba(10,102,194,0.18), 0 12px 40px -8px rgba(10,102,194,0.35);
  --glow-accent:        0 0 0 1px rgba(14,138,222,0.20), 0 16px 48px -8px rgba(14,138,222,0.40);
  --glow-soft:          0 8px 32px rgba(10,102,194,0.12);
  --glow-inner:         inset 0 1px 0 rgba(255,255,255,0.15);

  /* Depth system (layered elevation) */
  --depth-0:  0 0 0 0 transparent;
  --depth-1:  0 1px 2px rgba(10,15,20,0.04), 0 1px 1px rgba(10,15,20,0.02);
  --depth-2:  0 4px 8px -2px rgba(10,15,20,0.08), 0 2px 4px -2px rgba(10,15,20,0.04);
  --depth-3:  0 12px 24px -6px rgba(10,15,20,0.10), 0 4px 8px -2px rgba(10,15,20,0.04);
  --depth-4:  0 24px 48px -12px rgba(10,15,20,0.14), 0 8px 16px -4px rgba(10,15,20,0.06);
  --depth-5:  0 40px 80px -16px rgba(10,15,20,0.18), 0 16px 32px -8px rgba(10,15,20,0.08);

  /* Premium gradients */
  --grad-primary:    linear-gradient(135deg, #0a66c2 0%, #378fe9 100%);
  --grad-deep:       linear-gradient(135deg, #002a52 0%, #004182 50%, #0a66c2 100%);
  --grad-dawn:       linear-gradient(135deg, #193764 0%, #002a52 60%, #0a66c2 100%);
  --grad-mesh:       radial-gradient(ellipse 80% 60% at 20% 10%, rgba(14,138,222,0.25), transparent 60%),
                     radial-gradient(ellipse 70% 50% at 80% 90%, rgba(10,102,194,0.20), transparent 60%),
                     radial-gradient(ellipse 60% 40% at 50% 50%, rgba(66,160,232,0.10), transparent 70%);
  --grad-text:       linear-gradient(135deg, #0a66c2 0%, #378fe9 50%, #42a0e8 100%);

  /* Fluid type scale (clamp-based) */
  --fs-display:   clamp(2.75rem, 6vw + 0.5rem, 5.5rem);
  --fs-h1:        clamp(2.25rem, 4vw + 0.5rem, 4rem);
  --fs-h2:        clamp(1.75rem, 2.5vw + 0.75rem, 2.75rem);
  --fs-h3:        clamp(1.375rem, 1vw + 1rem, 1.75rem);
  --fs-h4:        clamp(1.125rem, 0.5vw + 1rem, 1.25rem);
  --fs-lead:      clamp(1.125rem, 0.5vw + 1rem, 1.375rem);
  --fs-body:      clamp(1rem, 0.2vw + 0.95rem, 1.0625rem);
  --fs-small:     clamp(0.8125rem, 0.1vw + 0.75rem, 0.875rem);
  --fs-eyebrow:   clamp(0.6875rem, 0.05vw + 0.65rem, 0.75rem);

  /* Spacing scale (8pt grid) */
  --sp-1:   4px;
  --sp-2:   8px;
  --sp-3:   12px;
  --sp-4:   16px;
  --sp-5:   24px;
  --sp-6:   32px;
  --sp-7:   48px;
  --sp-8:   64px;
  --sp-9:   96px;
  --sp-10:  128px;

  /* Border radii */
  --r-xs:    4px;
  --r-sm:    8px;
  --r-md:    12px;
  --r-lg:    20px;
  --r-xl:    28px;
  --r-2xl:   40px;
  --r-pill:  9999px;

  /* Motion */
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-emphasized: cubic-bezier(0.2, 0, 0, 1);
  --ease-standard:   cubic-bezier(0.4, 0, 0.2, 1);
  --d-instant:  100ms;
  --d-quick:    180ms;
  --d-base:     280ms;
  --d-slow:     480ms;
  --d-cinema:   720ms;

  /* Z-index scale (named) */
  --z-base:        1;
  --z-raised:      10;
  --z-sticky:      100;
  --z-dropdown:    7100;
  --z-nav:         7000;
  --z-drawer:      7500;
  --z-overlay:     8000;
  --z-announcement: 8500;
  --z-preloader:   9000;
  --z-cursor:      99999;
}

/* ================================================================
   2. RESET
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Reserve scroll space for fixed chat / cookie UI on small screens */
:root {
  --igs-fab-stack-h: 148px;
  --igs-cookie-banner-h: 48px;
  --igs-mobile-ui-clearance: calc(
    var(--igs-fab-stack-h) + env(safe-area-inset-bottom, 0px)
  );
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (max-width: 1100px) {
  /* FAB clearance lives on .site-footer (dark) — avoids white strip below footer */
  body {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  body.igs-cookie-banner-visible {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

/* Hide Tawk bubble while IGS Smart Assist panel is open (avoids double-chat overlap) */
body.igs-assistant-panel-open #tawk-bubble-container,
body.igs-assistant-panel-open .tawk-min-container {
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* LinkedIn ink — no pure black body copy */
body,
h1, h2, h3, h4, h5,
p, li, dt, dd, blockquote, figcaption,
label, legend, td, th, caption,
.nav-links a,
.mobile-drawer a,
.dropdown-menu a {
  color: var(--color-text);
}

input,
textarea,
select,
button {
  color: var(--color-text);
}

::placeholder {
  color: var(--color-muted);
  opacity: 1;
}

::selection {
  background: rgba(10, 102, 194, 0.18);
  color: var(--color-text);
}

img, 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; outline: none; background: none; }
input, textarea, select { font-family: inherit; }
strong { font-weight: 700; }
em { font-style: italic; }

/* ================================================================
   3. TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--color-text);
}

h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 22px; font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; }
h5 { font-size: 14px; font-weight: 700; }

p { font-size: 17px; line-height: 1.6; color: var(--color-text); }

.t-hero    { font-family: var(--font-display); font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1.0; letter-spacing: -0.03em; }
.t-section { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; line-height: 1.2; }
.t-sub     { font-family: var(--font-body); font-size: 20px; font-weight: 600; line-height: 1.4; }
.t-body    { font-size: 16px; font-weight: 400; line-height: 1.75; }
.t-small   { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; }
.t-muted   { color: var(--color-muted); }
.t-white   { color: var(--color-white); }
.t-primary { color: var(--color-primary); }
.t-syne    { font-family: var(--font-display); }

/* ================================================================
   4. LAYOUT UTILITIES
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  min-width: 0;
  box-sizing: border-box;
}

.section    { padding: var(--section-py) 0; }
.section-sm { padding: 64px 0; }
.section-xs { padding: 40px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap-sm  { display: flex; align-items: center; gap: 12px; }
.flex-gap     { display: flex; align-items: center; gap: 24px; }

.text-center { text-align: center; }
.text-right  { text-align: right; }

.bg-white   { background: var(--color-white); }
.bg-light   { background: var(--color-bg); }
.bg-primary { background: var(--color-primary); }
.bg-dark    { background: var(--color-dark); }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0  { margin-bottom: 0 !important; }

/* Section meta — uppercase eyebrow, text only (no pill) */
.section-label {
  display: block;
  font-size: clamp(12px, 1.05vw, 13px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
  padding: 0;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.section-label.visible {
  opacity: 1;
  transform: translateY(0);
}

/* IGS brand mark — typography only (no boxes; copy unchanged) */
.brand-igs {
  display: inline;
  font-weight: 700;
  font-size: 1.0625em;
  letter-spacing: 0.04em;
  color: inherit;
  text-shadow:
    0 0 1px rgba(10, 102, 194, 0.5),
    0 0 12px rgba(10, 102, 194, 0.22);
  -webkit-font-smoothing: antialiased;
}

.section-label .brand-igs {
  font-weight: 800;
  font-size: 1.07em;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  text-shadow: 0 0 14px rgba(10, 102, 194, 0.32);
}

.page-hero .brand-igs,
.cta-band .brand-igs,
.cta-strip .brand-igs,
.stats-bar .brand-igs {
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.85),
    0 0 14px rgba(255, 255, 255, 0.35);
}

/* IGS wordmark — baseline-aligned with heading text (bottom of logo on text line) */
.brand-igs-picture {
  display: inline-block;
  vertical-align: baseline;
  line-height: 0;
  margin: 0 0.06em 0 0.08em;
}

.brand-igs-logo {
  display: block;
  height: 0.88em;
  width: auto;
  max-height: 52px;
  min-height: 16px;
  object-fit: contain;
  object-position: left bottom;
  text-shadow: none;
  filter: none;
}

.section-label .brand-igs-picture {
  margin: 0 0.08em 0 0.1em;
}

.section-label .brand-igs-logo {
  height: 0.92em;
  max-height: 24px;
}

h1 .brand-igs-logo {
  height: 0.9em;
  max-height: 58px;
}

h2 .brand-igs-logo,
.t-section .brand-igs-logo {
  height: 0.88em;
  max-height: 48px;
}

.page-hero h1 .brand-igs-logo {
  height: 0.92em;
}

h3 .brand-igs-logo,
h4 .brand-igs-logo {
  height: 0.85em;
  max-height: 40px;
}

/* Body copy, tables, buttons, footer links */
p .brand-igs-logo,
li .brand-igs-logo,
td .brand-igs-logo,
th .brand-igs-logo,
a .brand-igs-logo,
strong .brand-igs-logo,
em .brand-igs-logo,
.section-header p .brand-igs-logo,
.cta-band p .brand-igs-logo,
.jobs-empty .brand-igs-logo,
.site-footer a .brand-igs-logo {
  height: 0.82em;
  max-height: 22px;
}

th .brand-igs-logo {
  height: 0.78em;
  max-height: 20px;
}

.btn .brand-igs-logo {
  height: 0.9em;
  max-height: 24px;
}

.job-card-dept .brand-igs-logo {
  height: 0.95em;
  max-height: 18px;
}

.page-hero .brand-igs-logo,
.cta-band .brand-igs-logo,
.cta-strip .brand-igs-logo,
.stats-bar .brand-igs-logo {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.95))
          drop-shadow(0 0 10px rgba(255, 255, 255, 0.35));
}

h1 .brand-igs:not(.brand-igs-logo),
h2 .brand-igs:not(.brand-igs-logo),
h3 .brand-igs:not(.brand-igs-logo),
h4 .brand-igs:not(.brand-igs-logo),
.t-section .brand-igs:not(.brand-igs-logo) {
  font-weight: 800;
  color: var(--color-primary);
  text-shadow: 0 0 16px rgba(10, 102, 194, 0.28);
}

.section-header {
  margin-bottom: 48px;
}

.section-header p {
  color: var(--color-muted);
  max-width: 600px;
  margin-top: 14px;
  font-size: 17px;
}

.section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* Divider */
.divider { height: 1px; background: var(--color-border); }

/* ================================================================
   5. CUSTOM CURSOR
   ================================================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  border-radius: 50%;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  margin-left: -4px;
  margin-top: -4px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(10, 102, 194, 0.3);
  margin-left: -18px;
  margin-top: -18px;
  transition: width 0.25s var(--ease-out),
              height 0.25s var(--ease-out),
              margin 0.25s var(--ease-out),
              background 0.25s ease,
              border-color 0.25s ease;
}

/* Hide default cursor when custom cursor is active */
.custom-cursor-active,
.custom-cursor-active * {
  cursor: none !important;
}

.cursor-dot.hidden {
  opacity: 0;
  transform: scale(0);
}

.cursor-ring.expanded {
  width: 56px;
  height: 56px;
  margin-left: -28px;
  margin-top: -28px;
  background: rgba(10, 102, 194, 0.08);
  border-color: rgba(10, 102, 194, 0.4);
}

.cursor-ring.cta-hover {
  width: 64px;
  height: 64px;
  margin-left: -32px;
  margin-top: -32px;
  background: rgba(14, 138, 222, 0.12);
  border-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(14, 138, 222, 0.2);
}

/* White cursor on blue / dark brand surfaces (toggled by cursor.js) */
.cursor-dot.cursor-light {
  background: #ffffff;
}

.cursor-ring.cursor-light {
  border-color: rgba(255, 255, 255, 0.55);
}

.cursor-ring.cursor-light.expanded {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
}

.cursor-ring.cursor-light.cta-hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.28);
}

/* ================================================================
   6. PAGE TRANSITION OVERLAY
   ================================================================ */
#page-transition {
  position: fixed;
  inset: 0;
  background: #FFFFFF;
  z-index: 8000;
  transform: translateX(-100%);
  pointer-events: none;
  will-change: transform;
}

#page-transition.entering {
  transform: translateX(0);
  transition: transform 0.4s var(--ease-in-out);
  pointer-events: all;
}

#page-transition.exiting {
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-in-out);
}

/* ================================================================
   7. PRELOADER
   ================================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

#preloader.hidden {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.preloader-logo {
  display: flex;
  gap: 0;
  overflow: hidden;
}

.preloader-letter {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px var(--color-primary);
  line-height: 1;
  clip-path: inset(100% 0 0 0);
  display: block;
}

.preloader-tagline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-muted);
  overflow: hidden;
  white-space: nowrap;
}

.preloader-tagline-inner {
  display: inline-flex;
  gap: 0;
}

.preloader-tagline .tl {
  opacity: 0;
  display: inline-block;
}

.preloader-progress {
  width: 200px;
  height: 1px;
  background: var(--color-border);
  margin-top: 8px;
  overflow: hidden;
}

.preloader-progress-bar {
  height: 100%;
  width: 0%;
  transition: width 1.2s var(--ease-out);
  background: linear-gradient(
    90deg,
    var(--color-primary) 0%,
    var(--color-accent) 50%,
    var(--color-primary) 100%
  );
  background-size: 200% 100%;
  animation: shimmerSlide 1.2s ease-in-out;
}

@keyframes shimmerSlide {
  from { background-position: 200% 0; }
  to   { background-position: 0% 0; }
}

/* ================================================================
   8. BREADCRUMB
   ================================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--color-primary); transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.75; }
.breadcrumb span { opacity: 0.4; }

/* ================================================================
   9. RESPONSIVE GRID OVERRIDES
   ================================================================ */
@media (max-width: 1100px) {
  :root { --section-py: 72px; }
  .container { padding: 0 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --section-py: 56px; }
  .container { padding: 0 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ================================================================
   MOBILE-FIRST — prevent horizontal page shift (all pages)
   ================================================================ */
/* .site-nav omitted — overflow clip was cutting off the Services dropdown panel */
.hero-section,
.section,
.cta-band,
.cta-strip,
.site-footer,
.page-hero,
.stats-bar,
.engagement-section,
.trust-statement {
  max-width: 100%;
  overflow-x: clip;
}

img,
video,
canvas,
svg,
picture {
  max-width: 100%;
}

table {
  max-width: 100%;
}

.btn,
.nav-logo,
.footer-logo {
  max-width: 100%;
}

/* ================================================================
   10. ACCESSIBILITY BASELINE
   ================================================================ */

/* Skip-to-content link — visible on focus only */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100000;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--depth-3);
  transition: top var(--d-quick) var(--ease-standard);
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Visible focus states for all interactive elements (keyboard only) */
*:focus { outline: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--r-xs);
  transition: outline-offset var(--d-quick) var(--ease-standard);
}

/* Visually hidden helper (screen-reader only) */
.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;
}

/* Reduced-motion support — disable all heavy animations site-wide */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .cursor-dot,
  .cursor-ring { display: none !important; }
}

/* Hide custom cursor on touch / coarse pointers */
@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring { display: none !important; }
  .custom-cursor-active,
  .custom-cursor-active * { cursor: auto !important; }
}

/* Forced-colors mode (Windows High Contrast) */
@media (forced-colors: active) {
  .btn,
  .nav-cta {
    border: 1px solid currentColor;
  }
}
