/* ============================================================
   ITOsupport — Main Stylesheet
   Pixel-perfect port of modern-site.html
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #09090E; }
::-webkit-scrollbar-thumb { background: #2A2A3A; border-radius: 3px; }

/* ── Variables ── */
:root {
  --orange:        #FF5C2B;
  --orange-glow:   rgba(255,92,43,0.35);
  --card-bg:       #111118;
  --card-bg2:      #0F0F16;
  --border:        #1E1E2A;
  --border2:       #252535;
  --muted:         #888899;
  --muted2:        #555566;

  /* Legacy aliases used by inner page templates */
  --color-primary:       #FF5C2B;
  --color-primary-light: #ff7a52;
  --color-primary-dark:  #e04515;
  --color-accent:        #FF5C2B;
  --color-accent-dark:   #e04515;
  --color-accent-light:  #ffb59a;
  --color-bg:            #09090E;
  --color-bg-card:       #111118;
  --color-bg-elevated:   #16161F;
  --color-border:        #1E1E2A;
  --color-border-light:  #252535;
  --color-white:         #FFFFFF;
  --color-text:          #FFFFFF;
  --color-text-muted:    #888899;
  --color-text-dim:      #555566;
  --color-gray-50:       #111118;
  --color-gray-100:      #16161F;
  --color-gray-200:      #1E1E2A;
  --color-gray-400:      #555566;
  --color-gray-600:      #888899;
  --color-gray-800:      #CCCCDD;
  --color-gray-900:      #FFFFFF;
  --color-primary-deep:  #09090E;

  --font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-size-xs:   0.75rem;
  --font-size-sm:   0.875rem;
  --font-size-base: 1rem;
  --font-size-lg:   1.125rem;
  --font-size-xl:   1.25rem;
  --font-size-2xl:  1.5rem;
  --font-size-3xl:  1.875rem;
  --font-size-4xl:  2.25rem;
  --font-size-5xl:  3rem;
  --font-size-6xl:  3.75rem;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,.5);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.6);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.7);

  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --container-max:  1280px;
  --container-wide: 1280px;
  --header-height:  72px;
}

/* ── Base ── */
body {
  background: #09090E;
  color: #fff;
  font-family: var(--font-family);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
p { margin-bottom: 1em; color: var(--muted); line-height: 1.75; }
p:last-child { margin-bottom: 0; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.15; color: #fff; }
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.25rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }

/* ── Layout ── */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.container--wide { max-width: var(--container-wide); }
section { padding: 6rem 1.5rem; }
.section { padding: 6rem 0; }
.section--sm { padding: 3rem 0; }
.section--lg { padding: 7rem 0; }
.section--gray { background: var(--card-bg); }
.section--navy { background: var(--card-bg); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy p { color: var(--muted); }
.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: repeat(2,1fr); }
.grid--3 { grid-template-columns: repeat(3,1fr); }
.grid--4 { grid-template-columns: repeat(4,1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); }
.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--gap { gap: 1.5rem; }
.flex--wrap { flex-wrap: wrap; }
.text-center { text-align: center; }

/* ── Section eyebrow / label ── */
.section-label,
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: block;
}
.section-title { margin-bottom: 1rem; }
.section-lead {
  font-size: var(--font-size-lg);
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 3rem;
}
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn-orange {
  background: var(--orange);
  color: #fff;
  font-family: var(--font-family);
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-orange::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
}
.btn-orange:hover {
  background: #E64A1A;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--orange-glow);
}
.btn-orange:active { transform: scale(0.98) translateY(0); }

.btn-ghost,
.btn--outline {
  background: transparent;
  color: var(--muted);
  font-family: var(--font-family);
  font-weight: 500;
  border: 1px solid var(--border2);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-ghost:hover, .btn--outline:hover {
  border-color: #444455;
  color: #ccc;
  background: rgba(255,255,255,0.04);
}
.btn-dark {
  background: #09090E;
  color: #fff;
  font-family: var(--font-family);
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-dark:hover { background: #1a1a28; transform: translateY(-1px); }

/* Legacy btn classes — used on inner pages */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,92,43,.35);
}
.btn--primary:hover { background: #E64A1A; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,92,43,.5); }
.btn--outline-dark {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
}
.btn--outline-dark:hover { background: var(--orange); color: #fff; }
.btn--ghost-link { color: var(--orange); padding: 0; border-radius: 0; font-weight: 600; }
.btn--ghost-link::after { content: '→'; display: inline-block; margin-left: 0.4rem; transition: transform var(--transition); }
.btn--ghost-link:hover::after { transform: translateX(5px); }
.btn--lg { padding: 0.875rem 1.75rem; font-size: 0.9375rem; }

/* ══════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════ */
.site-header, #navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
  height: var(--header-height);
}
.site-header.scrolled, #navbar.scrolled {
  background: rgba(9,9,14,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}
.site-header.transparent { background: transparent; border-bottom-color: transparent; }

.header-inner, .nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.5rem;
  height: 100%;
}

/* Logo */
.logo-inline, .nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}
.logo-inline span, .nav-logo span {
  font-weight: 800;
  font-size: 1.125rem;
  color: #fff;
}
.logo-inline .accent,
.nav-logo .accent,
.logo-name .accent { color: var(--orange); }
.logo-icon { width: 30px; height: 30px; flex-shrink: 0; }
/* Hide legacy logo text elements */
.logo-text-wrap, .logo-bar, .logo-sub { display: none; }

/* Nav links */
.main-nav, .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link, .nav-links a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  padding: 0;
  background: none;
  border-radius: 0;
}
.nav-link:hover, .nav-links a:hover { color: #fff; background: none; }
.nav-link.active { color: var(--orange); }
.nav-link svg { display: none; } /* hide dropdown arrows on desktop */

/* Dropdown */
.nav-item { position: relative; }
.nav-item::after { display: none; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: #16161F;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
  border: 1px solid var(--border);
  padding: 0.75rem;
  padding-top: calc(0.75rem + 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(-8px);
  z-index: 999;
}
/* Invisible hover bridge — closes the gap between nav link and dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
/* Narrow dropdowns: show on hover; wide (mega) dropdown: JS-controlled via .open only */
.nav-item:not(:has(.nav-dropdown--wide)):hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown--wide { width: 600px; }
.nav-dropdown--wide .dropdown-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.25rem; }
/* Centre mega-dropdown on the viewport rather than the nav-item */
.nav-item:has(.nav-dropdown--wide) { position: static; }

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  transition: background 0.2s;
}
.dropdown-item:hover { background: rgba(255,255,255,.04); }
/* Stack title + desc vertically inside each dropdown item */
.dropdown-item > span:not(.dropdown-item-icon) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dropdown-item-icon {
  width: 32px; height: 32px;
  background: rgba(255,92,43,.1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}
.dropdown-item-title { font-size: 0.8125rem; font-weight: 600; color: #fff; line-height: 1.3; }
.dropdown-item-desc { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; line-height: 1.4; }

/* Nav CTA button */
.nav-cta,
.btn-orange.nav-btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  margin-left: 0.5rem;
}

/* Mobile toggle */
.mobile-menu-toggle, #ham {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,.75);
  border-radius: 2px;
  transition: all 0.25s;
}
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s;
  opacity: 0;
}
#mobile-menu.open { max-height: 400px; opacity: 1; }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero, #hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 7rem 1.5rem 5rem;
  background: #09090E;
}
.hero-grid-bg, .hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}
.hero-radial, .hero-pattern, .hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-radial, .hero-pattern {
  background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(255,92,43,0.07) 0%, transparent 70%);
}
.hero-bg { background: #09090E; }

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
/* Remove old absolute canvas positioning */
.hero-canvas-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: radial-gradient(circle at 50% 50%, rgba(255,92,43,0.08) 0%, rgba(9,9,14,0.6) 60%);
  border: 1px solid rgba(255,92,43,0.12);
  box-shadow: 0 0 80px rgba(255,92,43,0.06), inset 0 1px 0 rgba(255,255,255,0.05);
}
#hero-canvas { display: block; width: 100%; height: 100%; }
.canvas-corner {
  position: absolute; width: 20px; height: 20px;
  border-color: var(--orange); border-style: solid; opacity: 0.5;
}
.canvas-corner.tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; border-radius: 2px 0 0 0; }
.canvas-corner.tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; border-radius: 0 2px 0 0; }
.canvas-corner.bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; border-radius: 0 0 0 2px; }
.canvas-corner.br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; border-radius: 0 0 2px 0; }
.canvas-status {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px;
  background: rgba(9,9,14,0.7); border: 1px solid var(--border);
  border-radius: 100px; padding: 4px 12px;
  font-size: 0.75rem; color: #3bde6b; font-weight: 500;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #3bde6b;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.hero-tag, .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,92,43,0.1);
  border: 1px solid rgba(255,92,43,0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--orange);
  margin-bottom: 1.5rem;
  letter-spacing: 0;
}
.hero-tag-dot, .hero-eyebrow::before {
  width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
  display: block;
  content: '';
}
h1.hero-title, .hero h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
}
h1.hero-title .accent,
.hero h1 span,
h1 .accent { color: var(--orange); }
.hero-sub, .hero-lead {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-badges { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--muted2); }
.hero-badge svg { color: var(--orange); flex-shrink: 0; }

/* Hero graphic — hide old SVG illustration */
.hero-graphic { display: none; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--muted2); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
  z-index: 3;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(6px);} }

/* ══════════════════════════════════════════════════
   FEATURES SECTION
══════════════════════════════════════════════════ */
#features, .features-section {
  background: #09090E;
  border-top: 1px solid var(--border);
  padding: 6rem 1.5rem;
}
.features-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.features-grid, .features-strip-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5px;
}
.feature-card, .feature-strip-item {
  background: var(--card-bg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  position: relative;
  transition: border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.features-grid .feature-card:first-child { border-radius: 16px 0 0 16px; }
.features-grid .feature-card:last-child  { border-radius: 0 16px 16px 0; }
.feature-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,92,43,0.08) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.feature-card:hover::after { opacity: 1; }
.feature-card:hover { border-color: rgba(255,92,43,0.3); background: #131320; }
.feature-icon, .feature-strip-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,92,43,0.1); border: 1px solid rgba(255,92,43,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}
.feature-card:hover .feature-icon {
  background: rgba(255,92,43,0.18);
  box-shadow: 0 0 20px rgba(255,92,43,0.2);
}
.feature-icon svg, .feature-strip-icon svg { color: var(--orange); }
.feature-title { font-size: 1.0625rem; font-weight: 700; color: #fff; margin-bottom: 0.625rem; }
.feature-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ══════════════════════════════════════════════════
   SERVICES GRID
══════════════════════════════════════════════════ */
#services, .services-section {
  background: #0B0B11;
  border-top: 1px solid var(--border);
  padding: 6rem 1.5rem;
}
.services-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.svc-card {
  background: var(--card-bg2);
  padding: 2rem 1.75rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: background 0.25s, transform 0.15s;
  will-change: transform;
}
.svc-card:hover { background: #131320; }
.svc-shine {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  transition: background 0.1s;
}
.svc-card-inner { position: relative; z-index: 2; }
.svc-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,92,43,0.08); border: 1px solid rgba(255,92,43,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; transition: all 0.25s;
}
.svc-card:hover .svc-icon {
  background: rgba(255,92,43,0.16);
  box-shadow: 0 0 16px rgba(255,92,43,0.2);
}
.svc-icon svg { color: var(--orange); }
.svc-title, .svc-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.svc-desc, .svc-card p { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.25rem; }
.svc-link {
  font-size: 0.8125rem; font-weight: 600; color: var(--orange);
  display: flex; align-items: center; gap: 4px;
  text-decoration: none; transition: gap 0.2s; cursor: pointer;
}
.svc-card:hover .svc-link { gap: 8px; }
.svc-number {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 0.75rem; font-weight: 700; color: var(--border2);
  font-family: monospace; z-index: 2;
}

/* ══════════════════════════════════════════════════
   ABOUT / STATS SPLIT
══════════════════════════════════════════════════ */
#about, .stats-split {
  background: #09090E;
  border-top: 1px solid var(--border);
  padding: 6rem 1.5rem;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split-desc { font-size: 1.0625rem; color: var(--muted); line-height: 1.75; margin: 1.5rem 0 2.5rem; max-width: 460px; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.stat-cell {
  background: var(--card-bg);
  padding: 2rem;
  transition: background 0.25s;
}
.stat-cell:hover { background: #131320; }
.stat-num {
  font-size: 2.75rem; font-weight: 900; color: #fff;
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.stat-num span { color: var(--orange); }
.stat-label { font-size: 0.875rem; color: var(--muted); font-weight: 500; }

/* Older stat-bar style — keep for inner pages */
.stats-bar { padding: 4rem 0; background: var(--card-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat-item { color: var(--muted); }
.stat-number { font-size: 2.25rem; font-weight: 900; color: #fff; display: block; line-height: 1; }

/* ══════════════════════════════════════════════════
   ORANGE CTA BANNER
══════════════════════════════════════════════════ */
#cta, .cta-section-outer {
  padding: 6rem 1.5rem;
  background: #09090E;
}
.cta-inner, .cta-section {
  max-width: var(--container-max);
  margin: 0 auto;
  background: linear-gradient(135deg, #FF5C2B 0%, #FF8C1A 60%, #FF5C2B 100%);
  background-size: 200% 200%;
  animation: gradShift 8s ease infinite;
  border-radius: 20px;
  padding: 5rem 4rem;
  position: relative;
  overflow: hidden;
  text-align: left;
}
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.cta-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.15;
  background-image:
    linear-gradient(rgba(0,0,0,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.5) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-content, .cta-section .container { position: relative; z-index: 2; max-width: 700px; }
.cta-deco {
  position: absolute; right: -60px; bottom: -80px;
  width: 400px; height: 400px; pointer-events: none; opacity: 0.12;
}
h2.cta-title, .cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.cta-sub, .cta-section p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 540px;
}
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════ */
#contact, .contact-section {
  background: #0B0B11;
  border-top: 1px solid var(--border);
  padding: 6rem 1.5rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-sub { color: var(--muted); line-height: 1.7; margin-top: 1rem; margin-bottom: 2rem; font-size: 1rem; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.contact-item { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--muted); }
.contact-item svg { color: var(--orange); flex-shrink: 0; }

/* ── Form ── */
.form-group, .contact-form .form-group { margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label, .form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 6px;
}
.form-input,
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted2); }
.form-input:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,92,43,0.1);
}
.form-group textarea, .form-input[rows] { min-height: 120px; resize: vertical; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.site-footer, footer {
  background: #09090E;
  border-top: 1px solid var(--border);
  padding: 4rem 1.5rem 2rem;
  color: var(--muted);
}
.footer-inner, .footer-inner-wrap { max-width: var(--container-max); margin: 0 auto; }
.footer-top, .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { color: var(--muted); font-size: 0.875rem; line-height: 1.65; margin-top: 0.875rem; max-width: 260px; }
.footer-col h5, .footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col a, .footer-links a {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
  margin-bottom: 0.625rem;
  transition: color 0.2s;
}
.footer-col a:hover, .footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8125rem; color: var(--muted2); margin: 0; }
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 0.8125rem; color: var(--muted2); transition: color 0.2s; }
.footer-bottom-links a:hover { color: #fff; }
.footer-socials, .social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-btn, .social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--card-bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
}
.social-btn:hover, .social-link:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255,92,43,0.08);
}
.social-btn svg, .social-link svg { width: 15px; height: 15px; }
.footer-logo { margin-bottom: 0.5rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; margin-bottom: 0.75rem; }
.footer-contact-item svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; width: 14px; height: 14px; }

/* ══════════════════════════════════════════════════
   INNER PAGE STYLES (solutions, about, careers, etc.)
══════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  background: #09090E;
  padding: calc(var(--header-height) + 3.5rem) 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero .container { position: relative; z-index: 2; }
/* Decorative layer — absolutely positioned so it doesn't push content down */
.page-hero .deco-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.page-hero .deco-layer svg { position: absolute; }
.page-hero .deco-dot { position: absolute; border-radius: 50%; background: rgba(0,180,216,0.5); }
.page-hero h1 { color: #fff; font-size: clamp(2rem,4vw,3rem); font-weight: 800; margin-bottom: 1rem; }
.page-hero p { color: var(--muted); font-size: 1.125rem; max-width: 660px; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted2); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--orange); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { opacity: 0.5; }

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.service-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,.6); border-color: rgba(255,92,43,.25); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon {
  width: 48px; height: 48px; background: rgba(255,92,43,.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: var(--orange);
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: #fff; }
.service-card p { font-size: 0.875rem; color: var(--muted); }
.service-card-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.25rem; font-size: 0.875rem; font-weight: 600; color: var(--orange); transition: gap 0.2s; }
.service-card-link:hover { gap: 0.7rem; }

.subsection { margin-bottom: 4rem; padding-bottom: 4rem; border-bottom: 1px solid var(--border); }
.subsection:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.subsection h3 { color: #fff; margin-bottom: 0.5rem; }
.selling-sentence {
  font-size: 1.125rem; font-weight: 600; color: #fff;
  border-left: 4px solid var(--orange); padding-left: 1.25rem; margin: 1.5rem 0; line-height: 1.5;
}
.tab-buttons { display: flex; gap: 0.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.tab-btn {
  padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.25s;
  background: none; border-left: none; border-right: none; border-top: none;
}
.tab-btn.active, .tab-btn:hover { color: #fff; border-bottom-color: var(--orange); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

.strength-item {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem;
  border-radius: 10px; background: var(--card-bg); border: 1px solid var(--border); transition: border-color 0.25s;
}
.strength-item:hover { border-color: rgba(255,92,43,.3); }
.strength-icon { width: 44px; height: 44px; background: rgba(255,92,43,.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--orange); flex-shrink: 0; }
.strength-item h4 { color: #fff; margin-bottom: 0.3rem; font-size: 1rem; }
.strength-item p { color: var(--muted); font-size: 0.875rem; margin: 0; }

.value-card { padding: 2rem; background: var(--card-bg); border-radius: 16px; border: 1px solid var(--border); transition: border-color 0.25s; }
.value-card:hover { border-color: rgba(255,92,43,.25); }
.value-card-number { font-size: 3rem; font-weight: 900; color: var(--border-light); line-height: 1; margin-bottom: 0.75rem; color: #252535; }
.value-card h4 { color: #fff; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; }

.benefit-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.benefit-item:last-child { border-bottom: none; }
.benefit-check { width: 28px; height: 28px; background: rgba(255,92,43,.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--orange); margin-top: 0.1rem; }
.benefit-item h5 { color: #fff; font-size: 1rem; margin-bottom: 0.2rem; }
.benefit-item p { font-size: 0.875rem; margin: 0; }

.divider { height: 1px; background: var(--border); margin: 3rem 0; }
.badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.85rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.badge--blue { background: rgba(255,92,43,.1); color: var(--orange); border: 1px solid rgba(255,92,43,.2); }
.badge--navy { background: var(--card-bg); color: var(--muted); border: 1px solid var(--border); }

.tag-list { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tag { padding: 0.35rem 0.9rem; border: 1px solid var(--border); border-radius: 100px; font-size: 0.75rem; font-weight: 500; color: var(--muted); cursor: pointer; transition: all 0.25s; }
.tag:hover, .tag.active { border-color: var(--orange); color: var(--orange); }

.accordion { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; cursor: pointer; font-weight: 600; color: #fff; transition: background 0.25s; background: none; width: 100%; text-align: left; font-family: inherit; font-size: 1rem; }
.accordion-header:hover { background: rgba(255,255,255,.03); }
.accordion-header svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; transition: transform 0.25s; }
.accordion-item.open .accordion-header { background: rgba(255,92,43,.05); }
.accordion-item.open .accordion-header svg { transform: rotate(180deg); }
.accordion-body { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.accordion-item.open .accordion-body { padding: 0 1.5rem 1.5rem; max-height: 600px; }
.accordion-body p { color: var(--muted); font-size: 0.875rem; }

.job-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; transition: border-color 0.25s; }
.job-card:hover { border-color: rgba(255,92,43,.3); }
.job-title { font-weight: 700; color: #fff; font-size: 1.125rem; margin-bottom: 0.4rem; }
.job-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.job-tag { padding: 0.25rem 0.75rem; background: var(--card-bg2); border-radius: 100px; font-size: 0.75rem; font-weight: 500; color: var(--muted); border: 1px solid var(--border); }
.job-tag--accent { background: rgba(255,92,43,.1); color: var(--orange); border-color: rgba(255,92,43,.2); }
.job-details { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease; margin-top: 0; }
.job-details.open { max-height: 1200px; opacity: 1; margin-top: 1.25rem; }
.job-details-inner { border-top: 1px solid var(--border); padding-top: 1.25rem; font-size: 0.875rem; color: var(--muted); }
.job-details-heading { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--orange); margin: 1rem 0 0.5rem; }
.job-details-heading:first-child { margin-top: 0; }
.job-details-list { padding-left: 1.25rem; margin-bottom: 0.5rem; }
.job-details-list li { margin-bottom: 0.35rem; line-height: 1.6; }
.job-details-toggle { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; background: none; border: none; padding: 0; cursor: pointer; font-size: 0.875rem; font-weight: 600; color: var(--orange); transition: color 0.25s; }
.job-details-toggle:hover { color: #fff; }
.toggle-label-less { display: none; }
.job-details-toggle[aria-expanded="true"] .toggle-label-more { display: none; }
.job-details-toggle[aria-expanded="true"] .toggle-label-less { display: inline; }
.toggle-chevron { transition: transform 0.3s ease; flex-shrink: 0; }
.job-details-toggle[aria-expanded="true"] .toggle-chevron { transform: rotate(180deg); }

.content-nav { position: sticky; top: calc(var(--header-height) + 1.5rem); background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem; }
.content-nav h5 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted2); margin-bottom: 0.75rem; }
.content-nav-links a { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; border-radius: 6px; font-size: 0.875rem; color: var(--muted); transition: all 0.25s; }
.content-nav-links a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--muted2); flex-shrink: 0; transition: background 0.25s; }
.content-nav-links a:hover, .content-nav-links a.active { background: rgba(255,92,43,.08); color: #fff; }
.content-nav-links a:hover::before, .content-nav-links a.active::before { background: var(--orange); }

.detail-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }

/* ══════════════════════════════════════════════════
   STITCH-2: HERO BLUE VARIANT
══════════════════════════════════════════════════ */
.hero-radial--blue, .hero-radial--blue.hero-radial {
  background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(32,112,255,0.1) 0%, rgba(255,92,43,0.04) 40%, transparent 70%);
}
.hero-canvas-wrap--blue {
  background: radial-gradient(circle at 50% 50%, rgba(32,112,255,0.1) 0%, rgba(9,9,14,0.6) 60%);
  border-color: rgba(32,112,255,0.15);
  box-shadow: 0 0 80px rgba(32,112,255,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
}
.hero-canvas-wrap--blue .canvas-corner { border-color: rgba(32,112,255,0.5); }

/* AI Badge overlay */
.ai-badge {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  display: flex; align-items: center; gap: 6px;
  background: rgba(9,9,14,0.75); border: 1px solid rgba(32,112,255,0.3);
  border-radius: 10px; padding: 6px 12px;
  backdrop-filter: blur(8px);
  font-size: 0.8125rem; font-weight: 700; color: #fff;
}
.ai-badge svg { color: rgba(32,112,255,0.8); }

/* ══════════════════════════════════════════════════
   STITCH-2: IMAGE COLLAGE (ABOUT SECTION)
══════════════════════════════════════════════════ */
.image-collage {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  max-width: 520px;
}
.collage-item {
  border-radius: 16px;
  overflow: hidden;
}
.collage-item--1 { grid-row: 1 / 3; }
.collage-placeholder {
  width: 100%; height: 100%; min-height: 200px;
  background: #1a1a28;
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--muted2); font-weight: 500;
}
.collage-item--1 .collage-placeholder { min-height: 420px; }

/* Mission bullets */
.mission-bullets { display: flex; flex-direction: column; gap: 0.875rem; margin-top: 0; }
.mission-bullet {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9375rem; color: var(--muted); font-weight: 500;
}
.mission-bullet svg { flex-shrink: 0; }

/* ══════════════════════════════════════════════════
   STITCH-2: CAREERS CTA SECTION
══════════════════════════════════════════════════ */
.careers-section {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #09090E;
}
.careers-section .careers-inner {
  background: var(--orange);
  background: linear-gradient(135deg, #FF5C2B 0%, #FF8C1A 60%, #FF5C2B 100%);
  background-size: 200% 200%;
  animation: gradShift 8s ease infinite;
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.careers-stripe-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.12;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(0,0,0,0.3) 20px,
    rgba(0,0,0,0.3) 22px
  );
}
.careers-wave-top,
.careers-wave-bottom {
  position: relative; z-index: 2;
  line-height: 0;
  background: #09090E;
}
.careers-wave-top svg,
.careers-wave-bottom svg {
  display: block; width: 100%; height: 40px;
}
.careers-wave-bottom { margin-top: -1px; }

/* Job cards inside careers */
.careers-jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.careers-section .job-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: left;
  display: flex; flex-direction: column; gap: 0.5rem;
  backdrop-filter: blur(4px);
  transition: background 0.25s, border-color 0.25s;
}
.careers-section .job-card:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
}
.careers-section .job-card h4 {
  font-size: 1.0625rem; font-weight: 700; color: #fff; margin: 0;
}
.careers-section .job-card p {
  font-size: 0.8125rem; color: rgba(255,255,255,0.7); margin: 0;
}
.job-apply {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8125rem; font-weight: 600; color: #fff;
  margin-top: auto; padding-top: 0.75rem;
  transition: gap 0.2s;
}
.job-apply:hover { gap: 10px; }

/* View All Openings button */
.btn-view-openings {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.875rem 2.5rem;
  background: #fff; color: var(--orange);
  font-family: var(--font-family); font-weight: 700; font-size: 0.9375rem;
  border-radius: 100px; border: none;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 0.5rem;
}
.btn-view-openings:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ══════════════════════════════════════════════════
   STITCH-2: FORM SELECT
══════════════════════════════════════════════════ */
.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888899' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-select option { background: var(--card-bg); color: #fff; }

/* ══════════════════════════════════════════════════
   REVEAL ON SCROLL
══════════════════════════════════════════════════ */
/* Reveal only activates once JS adds .js-reveal-ready to body */
body.js-reveal-ready .reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.65s ease, transform 0.65s ease; }
body.js-reveal-ready .reveal.up { transform: translateY(36px); }
body.js-reveal-ready .reveal.left { transform: translateX(-36px); }
body.js-reveal-ready .reveal.right { transform: translateX(36px); }
body.js-reveal-ready .reveal.visible { opacity: 1; transform: translate(0); }
/* Without JS or before observer initialises, content is fully visible */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { body.js-reveal-ready .reveal { opacity: 1; transform: none; transition: none; } }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-canvas-wrap { max-width: 480px; margin: 0 auto; }
  .split-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top, .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card:first-child { border-radius: 16px 16px 0 0; }
  .feature-card:last-child  { border-radius: 0 0 16px 16px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .content-nav { position: static; }
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .image-collage { max-width: 100%; }
  .careers-jobs { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0;
    background: rgba(9,9,14,0.97); border-top: 1px solid var(--border);
    padding: 2rem 1.5rem; overflow-y: auto; z-index: 999;
    gap: 0.25rem;
  }
  .mobile-menu-toggle, #ham { display: flex; }
  .nav-cta { display: none; }
}

@media (max-width: 767px) {
  :root { --header-height: 64px; }
  section { padding: 4rem 1.25rem; }
  .cta-inner { padding: 3rem 2rem; }
  .features-grid, .services-grid { grid-template-columns: 1fr; }
  .image-collage { grid-template-columns: 1fr 1fr; }
  .collage-item--1 { grid-row: auto; }
  .collage-item--1 .collage-placeholder { min-height: 200px; }
  .careers-inner { padding: 3rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { min-height: auto; padding: calc(var(--header-height) + 2rem) 1.25rem 3rem; }
  .hero-inner { gap: 2.5rem; }
  .nav-dropdown--wide { min-width: 94vw; left: 2%; transform: none; }
  .nav-dropdown--wide .dropdown-grid { grid-template-columns: 1fr; }
  .nav-dropdown { position: static; transform: none; box-shadow: none; border: none; border-top: 1px solid var(--border); padding: 0; padding-top: 0.5rem; opacity: 1; pointer-events: all; display: none; border-radius: 0; }
  .nav-item.open .nav-dropdown { display: block; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 639px) {
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.25rem; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════ */
@keyframes fadeUp  { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
.animate-fade-up { animation: fadeUp 0.6s ease both; }
.animate-fade-in { animation: fadeIn 0.5s ease both; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ── Accessibility ── */
.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; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
