/* ═══════════════════════════════════════════════════════════════════════════
   BASE — CSS reset, design tokens (:root variables), font declarations.
   Cross-device compatibility (100dvh, tap highlights, text-size-adjust).
   Edit here to change global colour tokens, spacing scale, or font stack.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── RESET & TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --blue:      #326BCD;
  --blue-dark: #326BCD;
  --blue-mid:  #1a2a2b;
  --blue-lt:   #e8f0f8;
  --blue-xl:   #f4f6fb;
  --ink:       #0d1a1b;
  --ink-60:    rgba(50,107,205,0.6);
  --ink-35:    rgba(50,107,205,0.35);
  --ink-12:    rgba(50,107,205,0.08);
  --white:     #ffffff;
  --off:       #f2f5f5;
  --border:    #d0d8e8;
  --accent:    #326BCD;
  --nav-h:     80px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}


/* ── Hamburger button ──────────────────────── */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  z-index: 500;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s;
}
/* Hide hamburger on wide screens */
@media (min-width: 901px) { .nav-hamburger { display: none !important; } }


/* ── CROSS-DEVICE COMPATIBILITY ─────────────────────────── */

/* Hide custom cursor only when NO fine pointer (mouse/trackpad) is available.
   (any-pointer: fine) is true if a mouse is connected even on hybrid touch devices
   like Surface Pro or iPad with Bluetooth mouse. */
@media not (any-pointer: fine) {
  .cursor, .cursor-ring { display: none !important; }
}

/* 100dvh progressive enhancement — fixes iOS Safari address-bar clipping. */
@supports (height: 100dvh) {
  .card,
  #whatwedo,
  .wds-section,
  .proj-inner { height: 100dvh; }
  .proj-banner { min-height: 100dvh; height: auto; }
}

/* Momentum scrolling on iOS for scroll containers */
#whatwedo,
.proj-inner,
.wds-content-panel {
  -webkit-overflow-scrolling: touch;
}

/* Prevent text size inflation on orientation change (iOS/Android) */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Tap highlight removal on interactive elements (Android/iOS) */
a, button, [onclick], .card-cta, .dot, .nav-hamburger, .home-wwd-cta {
  -webkit-tap-highlight-color: transparent;
}
/* ── END CROSS-DEVICE COMPATIBILITY ──────────────────────── */


