@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/roboto-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Material Symbols Rounded'; font-style: normal; font-weight: 300; font-display: block; src: url(/assets/fonts/icons-384dab5408.woff2) format('woff2'); }
/* ─── Signature motion ─── */
  @keyframes fadeInUpBlur {
    0%   { opacity: 0; transform: translateY(20px); filter: blur(8px); }
    100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
  }
  @keyframes gradient-x {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .animate-in            { animation: fadeInUpBlur 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .animate-gradient-text { background-size: 200% auto; animation: gradient-x 4s linear infinite; }
  .animate-marquee       { animation: marquee 45s linear infinite; }
  .delay-0   { animation-delay: 0ms; }
  .delay-100 { animation-delay: 100ms; }
  .delay-200 { animation-delay: 200ms; }
  .delay-300 { animation-delay: 300ms; }
  .delay-400 { animation-delay: 400ms; }
  .delay-500 { animation-delay: 500ms; }

  .hover-card-effect {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
  }
  .hover-card-effect:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.10);
    border-color: rgba(237,28,36,0.30);
  }
  .hover-card-dark {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
  }
  .hover-card-dark:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.45);
    box-shadow: 0 28px 50px -16px rgba(0,0,0,0.32),
                0 0 0 1px rgba(255,255,255,0.18) inset;
  }

  @media (prefers-reduced-motion: reduce) {
    .animate-in, .animate-gradient-text, .animate-marquee { animation: none !important; }
    .hover-card-effect, .hover-card-dark { transition: none; }
    [class*="animate-beam"] { animation: none !important; }
  }

  body { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; background: #FFFFFF; color: #18181B; }

  .ms { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; font-feature-settings: 'liga'; -webkit-font-feature-settings: 'liga'; line-height: 1; user-select: none; }
  .mono-num { font-family: 'Roboto Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }

  html { scroll-behavior: smooth; }

  /* ─── Scroll-driven viewport background ───────────────────────────
     Fixed layer behind sections 3-5. JS (#scroll-bg block at end of
     body) reads scrollY each frame and interpolates between colour
     stops anchored to section positions. Sections in this zone are
     transparent so the fixed bg shows through. */
  #scroll-bg {
    position: fixed;
    inset: 0;
    z-index: -10;
    background-color: #070A18;
    pointer-events: none;
    will-change: background-color;
  }

  /* ─── Hero — dark stage holds the WebGL canvas + soft overlays ─── */
  .hero-stage {
    /* Neutral dark navy backdrop — the WebGL shader paints the colour over this.
       Kept as the canvas's CSS fallback when WebGL is unavailable. */
    background:
      radial-gradient(60% 50% at 15% 45%, rgba(0, 194, 255, 0.18), transparent 60%),
      radial-gradient(60% 50% at 85% 45%, rgba(255, 58, 42, 0.20), transparent 60%),
      radial-gradient(40% 40% at 50% 50%, rgba(139, 92, 246, 0.18), transparent 65%),
      linear-gradient(180deg, #070A18 0%, #050811 60%, #070A18 100%);
  }
  /* Hero video wrapper — sits behind hero content, masked top+bottom so the
     clip bleeds gracefully into the white page surface above and below.
     The CSS .hero-stage gradient acts as the static fallback while the video
     downloads (also visible via the poster). */
  .hero-video-wrap {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 82%, transparent 100%);
  }
  .hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
  }
  .hero-floor {
    background:
      radial-gradient(60% 100% at 50% 100%, rgba(237,28,36,0.18), transparent 70%),
      radial-gradient(40% 100% at 50% 100%, rgba(255,255,255,0.08), transparent 70%);
    mask-image: linear-gradient(to top, black, transparent);
    -webkit-mask-image: linear-gradient(to top, black, transparent);
  }
  /* Vignette */
  .hero-vignette {
    background:
      radial-gradient(120% 80% at 50% 50%, transparent 30%, rgba(8,9,12,0.7) 90%);
  }
  /* Subtle noise */
  .hero-noise {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
    mix-blend-mode: overlay;
    opacity: 0.10;
  }
  /* Silver title shimmer */
  .silver-shimmer {
    background-image: linear-gradient(180deg, #FFFFFF 0%, #E7E7EA 45%, #8E8E94 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .silver-shimmer-wide {
    background-image: linear-gradient(90deg, #FFFFFF 0%, #E7E7EA 40%, #C9C9D1 60%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-x 7s linear infinite;
  }

  /* ─── Dark CTAs (hero) ─── */
  .btn-dark-primary {
    background: linear-gradient(180deg, #18181B 0%, #0B0C0F 100%);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
  }
  .btn-dark-primary::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 40%);
    pointer-events: none;
  }
  .btn-dark-primary:hover { border-color: rgba(237,28,36,0.6); box-shadow: 0 0 24px rgba(237,28,36,0.20); }

  .btn-dark-outline {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
  }
  .btn-dark-outline::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(180deg, transparent, rgba(255,117,31,0.18));
    opacity: 0; transition: opacity 0.25s ease;
    pointer-events: none;
  }
  .btn-dark-outline:hover::before { opacity: 1; }
  .btn-dark-outline:hover { border-color: rgba(255,117,31,0.5); }

  /* ─── Red beam primary CTA — conic beam on red base
       (mirrors .btn-shiny-nav structure, swaps dark-glass fill for red) ─── */
  .sis-button-red-beam {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.10), 0 0 14px rgba(237,28,36,0.25);
  }
  .sis-button-red-beam::before {
    content: "";
    position: absolute;
    inset: -140%;
    background: conic-gradient(from 0deg,
      transparent 0% 72%,
      rgba(255,255,255,0.85) 84%,
      rgba(255,196,140,0.95) 92%,
      transparent 100%);
    opacity: 0;
    animation: shiny-spin 3s linear infinite;
    transition: opacity 0.35s ease;
    z-index: 0;
  }
  .sis-button-red-beam::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: #ED1C24;
    z-index: 0;
  }
  .sis-button-red-beam > * { position: relative; z-index: 1; }
  .sis-button-red-beam:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -6px rgba(237,28,36,0.55), 0 0 22px rgba(237,28,36,0.35);
  }
  .sis-button-red-beam:hover::before { opacity: 1; }

  /* ─── Vendor marquee ─── */
  .vendor-logo { filter: grayscale(1) opacity(0.55); transition: filter 0.3s ease; }
  .vendor-logo:hover { filter: grayscale(0) opacity(1); }
  .vendor-logo-dark { filter: grayscale(1) brightness(0) invert(1) opacity(0.55); transition: filter 0.3s ease; }
  .vendor-logo-dark:hover { filter: grayscale(0) brightness(1) invert(0) opacity(1); }
  /* Equal optical area: per-logo height = sqrt(constant_area / aspect_ratio),
     so every vendor logo reads the same visual size despite differing aspects.
     Keyed on src so both marquee passes are covered with no markup change. */
  .vendor-logo-dark { width: auto !important; }
  .vendor-logo-dark[src$="Sophos.svg"]                   { height: 18px !important; }
  .vendor-logo-dark[src$="WatchGuard.png"]               { height: 29px !important; }
  .vendor-logo-dark[src$="Gigamon.png"]                  { height: 23px !important; }
  .vendor-logo-dark[src$="Zoom.png"]                     { height: 26px !important; }
  .vendor-logo-dark[src$="Stellar Cyber.png"]            { height: 33px !important; }
  .vendor-logo-dark[src$="LogicMonitor.webp"]            { height: 23px !important; }
  .vendor-logo-dark[src$="Hillstone Networks.png"]       { height: 28px !important; }
  .vendor-logo-dark[src$="Group-IB.png"]                 { height: 24px !important; }
  .vendor-logo-dark[src$="XM_Cyber_Horizontal_Dark.png"] { height: 23px !important; }
  .vendor-logo-dark[src$="Audiocodes - Horizontal.png"]  { height: 20px !important; }
  .vendor-logo-dark[src$="Utimaco.png"]                  { height: 26px !important; }
  .vendor-logo-dark[src$="NSFOCUS.png"]                  { height: 18px !important; }
  .vendor-logo-dark[src$="Arcfra.png"]                   { height: 29px !important; }
  .vendor-logo-dark[src$="CyberServal Logo - 1.png"]     { height: 24px !important; }
  .vendor-logo-dark[src$="Infoexpress.png"]              { height: 22px !important; }
  .vendor-logo-dark[src$="Blackpanda.png"]               { height: 22px !important; }
  .vendor-logo-dark[src$="Netgain Systems.png"]          { height: 38px !important; }
  .vendor-logo-dark[src$="Vinchin.png"]                  { height: 25px !important; }
  .vendor-logo-dark[src$="ZDNS.png"]                     { height: 29px !important; }
  .vendor-logo-dark[src$="ZStack Horizontal.png"]        { height: 28px !important; }
  .vendor-logo-dark[src$="ZTE.png"]                      { height: 38px !important; }

  /* No forced text color here — a fixed dark color made selected text
     unreadable on dark sections (hero, about hero). Letting selection keep
     the element's own color works on both light and dark backgrounds. */
  ::selection { background: rgba(237,28,36,0.35); }

  /* Silver section pattern */
  .silver-section {
    background-color: #F5F5F7;
    background-image:
      radial-gradient(120% 60% at 50% 0%, rgba(237,28,36,0.04), transparent 60%),
      radial-gradient(60% 60% at 100% 100%, rgba(255,117,31,0.04), transparent 60%);
  }
  .silver-grid-bg {
    /* Sparse dot grid — cleaner + more "techie" than square grid lines.
       Two layers: primary dots every 28px, accent dots every 84px (3×) for rhythm. */
    background-image:
      radial-gradient(circle, rgba(0,0,0,0.10) 1.2px, transparent 1.5px),
      radial-gradient(circle, rgba(237,28,36,0.18) 1.4px, transparent 1.7px);
    background-size: 28px 28px, 84px 84px;
    background-position: 0 0, 14px 14px;
    mask-image: radial-gradient(65% 55% at 50% 50%, black, transparent 92%);
    -webkit-mask-image: radial-gradient(65% 55% at 50% 50%, black, transparent 92%);
  }

  /* Dark section grid (for products band) */
  .dark-section {
    background:
      radial-gradient(80% 50% at 50% 0%, rgba(237,28,36,0.12), transparent 60%),
      radial-gradient(60% 50% at 50% 100%, rgba(255,117,31,0.06), transparent 60%),
      linear-gradient(180deg, #08090C 0%, #0B0C10 50%, #08090C 100%);
  }
  .dark-grid-bg {
    background-image:
      linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(80% 60% at 50% 50%, black, transparent 95%);
    -webkit-mask-image: radial-gradient(80% 60% at 50% 50%, black, transparent 95%);
  }

  /* Product bento — solid dark card that lifts off the silver-grey section */
  .bento-card {
    background: linear-gradient(180deg, #0F1216 0%, #0A0C10 100%);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 1px 2px rgba(8,9,12,0.45),
                0 18px 40px -18px rgba(8,9,12,0.30);
  }
  /* Light variant for the Infrastructure feature card */
  .bento-card-light {
    background: #FFFFFF;
    border: 1px solid #DFDFE4;
    box-shadow: 0 1px 2px rgba(8,9,12,0.04),
                0 18px 40px -18px rgba(8,9,12,0.14);
  }

  /* Newsletter input focus */
  .ns-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(237,28,36,0.18); border-color: rgba(237,28,36,0.55); }
  .ns-input-dark:focus { outline: none; box-shadow: 0 0 0 3px rgba(237,28,36,0.22); border-color: rgba(237,28,36,0.7); }

  /* Card art patterns for product cards */
  .art-circuit {
    background-color: #0c0d11;
    background-image:
      radial-gradient(circle at 30% 20%, rgba(255,165,31,0.22), transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(237,28,36,0.16), transparent 50%),
      linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,0.06) 49.5%, rgba(255,255,255,0.06) 50.5%, transparent 50.5%),
      linear-gradient(0deg, transparent 49.5%, rgba(255,255,255,0.05) 49.5%, rgba(255,255,255,0.05) 50.5%, transparent 50.5%);
    background-size: auto, auto, 40px 40px, 40px 40px;
  }
  .art-shield {
    background:
      radial-gradient(circle at 50% 40%, rgba(122,174,255,0.30), transparent 55%),
      radial-gradient(circle at 30% 80%, rgba(0,53,122,0.55), transparent 60%),
      linear-gradient(180deg, #0a1530 0%, #0a1d3f 100%);
  }
  .art-radial {
    background:
      radial-gradient(circle at 50% 50%, transparent 0, transparent 18%, rgba(255,255,255,0.10) 18.5%, transparent 19%),
      radial-gradient(circle at 50% 50%, transparent 0, transparent 30%, rgba(255,255,255,0.08) 30.5%, transparent 31%),
      radial-gradient(circle at 50% 50%, transparent 0, transparent 44%, rgba(255,255,255,0.06) 44.5%, transparent 45%),
      radial-gradient(circle at 50% 50%, transparent 0, transparent 60%, rgba(255,255,255,0.05) 60.5%, transparent 61%),
      radial-gradient(circle at 50% 50%, rgba(86,18,105,0.55), transparent 60%),
      #0b0a13;
  }

  /* Card image hover zoom — applied via the ancestor .group:hover */
  .bento-image {
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                filter   0.6s ease;
    will-change: transform;
  }
  .group:hover .bento-image,
  .bento-image-wrap:hover .bento-image {
    transform: scale(1.06);
    filter: brightness(1.06) saturate(1.08);
  }

  /* Slide-in on viewport entry — triggered by IntersectionObserver toggling .is-visible */
  .slide-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out,
                transform 1s ease-out;
    will-change: opacity, transform;
  }
  .slide-in.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  @media (prefers-reduced-motion: reduce) {
    .slide-in { opacity: 1 !important; transform: none !important; transition: none !important; }
    .bento-image { transition: none; }
    .group:hover .bento-image,
    .bento-image-wrap:hover .bento-image { transform: none; filter: none; }
  }


  /* V-A Services cards: header photo zoom on hover (mirrors .bento-image) */
  .va-photo {
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
  }
  .group:hover .va-photo { transform: scale(1.06); }
  @media (prefers-reduced-motion: reduce) {
    .va-photo { transition: none; }
    .group:hover .va-photo { transform: none; }
  }

  /* Legacy panel photo — zoomed in by default, with hover zoom */
  .legacy-photo {
    transform-origin: center bottom;  /* anchor zoom at base so the sky is cropped from the top */
    transform: scale(1.32);
    transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
  }
  .legacy-photo-wrap:hover .legacy-photo { transform: scale(1.44); }
  @media (prefers-reduced-motion: reduce) {
    .legacy-photo { transition: none; }
    .legacy-photo-wrap:hover .legacy-photo { transform: scale(1.32); }
  }

  /* V-A Services cards: icon swatch zoom + arrow rotation on hover */
  .va-icon {
    /* Resting state pre-reveal: shrunk + invisible, ready to pop on viewport entry */
    opacity: 0;
    transform: scale(0.7);
    overflow: hidden;                 /* keeps swatch square shape even if SVG bits temporarily push outward */
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s,
                opacity 0.55s ease 0.15s,
                box-shadow 0.4s ease;
    will-change: transform, opacity;
  }
  .slide-in.is-visible .va-icon {
    opacity: 1;
    transform: scale(1);
  }
  /* Hover overrides — same property, browser smooth-transitions between values */
  .group:hover .va-icon {
    transform: scale(1.10) rotate(-2deg);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.3s ease;
    box-shadow: 0 10px 22px -10px rgba(0,0,0,0.14);
  }

  /* ─── Animated SVG icons: draw-in + per-card hover motion ─── */
  /* Every animated stroke uses pathLength="100", so a single dash math works */
  .va-svg .va-stroke {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
  }
  /* Duo-tone: black base shape + brand-red animated accent (normal state) */
  .va-svg .va-stroke { stroke: #18181B; }
  .va-svg .sas-check,
  .va-svg .it-ray,
  .va-svg .train-tassel line,
  .va-svg .train-tassel circle,
  .va-svg .ps-wave { stroke: #ED1C24; }
  .va-svg .train-tassel circle { fill: #ED1C24; }
  .slide-in.is-visible .va-svg .va-stroke {
    animation: vaDrawIn 1.1s ease-out forwards;
  }
  /* Staggered draw "steps" so the icon assembles itself piece-by-piece */
  .slide-in.is-visible .va-svg .va-step-1 { animation-delay: 0.6s; }
  .slide-in.is-visible .va-svg .va-step-2 { animation-delay: 1.1s; }
  .slide-in.is-visible .va-svg .va-step-3 { animation-delay: 1.5s; }
  @keyframes vaDrawIn { to { stroke-dashoffset: 0; } }

  /* Per-card hover micro-motion */
  /* SAS — checkmark briefly thickens as if confirming */
  /* SAS — re-uses the intro draw-in feel as a hover loop: draw in, hold, draw out */
  .group:hover .sas-check { animation: vaCheckRedraw 1.8s ease-in-out infinite !important; }
  @keyframes vaCheckRedraw {
    0%   { stroke-dashoffset: 100;  }   /* invisible — dash sits before the path start */
    40%  { stroke-dashoffset: 0;    }   /* fully drawn */
    60%  { stroke-dashoffset: 0;    }   /* hold the drawn check */
    100% { stroke-dashoffset: -100; }   /* visible portion slides off the end */
  }
  /* IT Consultancy — light rays cycle their opacity (idea blinking) */
  /* IT — rays simply fade in / fade out (no scale, no transform) */
  .group:hover .it-ray {
    animation: vaRayPulse 1.4s ease-in-out infinite !important;
    animation-delay: var(--ray-d, 0s) !important;
  }
  @keyframes vaRayPulse {
    0%, 100% { stroke-dashoffset: 0; opacity: 0.15; }
    50%      { stroke-dashoffset: 0; opacity: 1;    }
  }
  /* Training — tassel swings from the top of its string */
  .train-tassel { transform-origin: 56px 24px; transform-box: view-box; }
  .group:hover .train-tassel { animation: vaTasselSwing 1.4s ease-in-out infinite !important; }
  @keyframes vaTasselSwing {
    0%, 100% { transform: rotate(-10deg); }
    50%      { transform: rotate(10deg); }
  }
  /* Post-Sales Support — sound waves pulse outward in stagger */
  /* Post-Sales — sound waves ripple outward from the right earpiece.
     Wave paths repositioned at x=53-59 (was 58-66) so the 1.55× max scale
     keeps them inside the 0-64 viewBox — no more clipping. */
  .ps-wave {
    transform-origin: 48px 11px;          /* anchored just inside the band's top-right corner */
    transform-box: view-box;
    transform: scale(1);
    opacity: 1;
  }
  .group:hover .ps-wave { animation: vaWaveRipple 1.5s ease-out infinite !important; }
  .ps-wave-1 { animation-delay: 0s;    }
  .ps-wave-2 { animation-delay: 0.75s; }
  @keyframes vaWaveRipple {
    0%   { stroke-dashoffset: 0; opacity: 0; transform: scale(0.5);  }
    20%  { stroke-dashoffset: 0; opacity: 1; transform: scale(1.0);  }
    100% { stroke-dashoffset: 0; opacity: 0; transform: scale(1.55); }
  }
  @media (prefers-reduced-motion: reduce) {
    .va-icon { opacity: 1; transform: none; transition: none; }
    .va-svg .va-stroke { stroke-dashoffset: 0; animation: none !important; }
    .group:hover .sas-check,
    .group:hover .it-ray,
    .group:hover .train-tassel,
    .group:hover .ps-wave { animation: none !important; }
  }
  .va-arrow {
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
                color 0.3s ease;
    will-change: transform;
    display: inline-block;
  }
  .group:hover .va-arrow {
    transform: rotate(-45deg) translateX(2px);
  }
  @media (prefers-reduced-motion: reduce) {
    .va-icon, .va-arrow { transition: none; }
    .group:hover .va-icon,
    .group:hover .va-arrow { transform: none; box-shadow: none; }
  }


  /* ─── Reveal-on-scroll (animation-play-state pattern) ─────────────
     Adopted from creative-digital-68 reference: a single CSS animation
     stays paused until IntersectionObserver adds .is-revealed.
     Avoids FOUC (element is invisible from frame 0 of the keyframes) and
     gives a smoother feel than a transition since the timing function
     governs the entire motion, not just a property change. */
  @keyframes revealUp {
    0%   { opacity: 0; transform: translateY(30px); filter: blur(6px); }
    100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
  }
  .reveal {
    opacity: 0;
    animation: revealUp 1s ease-out both;
    animation-play-state: paused;
    will-change: opacity, transform, filter;
  }
  .reveal.is-revealed {
    animation-play-state: running;
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; animation: none !important; }
  }

  /* V-A Services whole-card hover: lift + gentle scale (in addition
     to the existing .va-icon zoom and .va-arrow rotation) */
  .hover-card-effect.va-card { transition-duration: 0.5s; }
  .hover-card-effect.va-card:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 28px 50px -16px rgba(0,0,0,0.12),
                0 6px 12px -6px rgba(237,28,36,0.08);
    border-color: rgba(237,28,36,0.28);
  }
  @media (prefers-reduced-motion: reduce) {
    .hover-card-effect.va-card:hover { transform: none; }
  }


  /* ─── News cards (Partnership announcements) ───
     Editorial stamp + living tiles treatment.
     - .news-card: card-level hover lift + shadow
     - .news-tile: contains the vendor logo; gets the diagonal shimmer on hover
     - .news-num : large mono edition-marker in tile corner
     - .news-ribbon: corner ribbon stamp on the lead card */
  .news-card {
    transition: transform 0.45s cubic-bezier(0.2,0.8,0.2,1),
                box-shadow 0.45s cubic-bezier(0.2,0.8,0.2,1),
                border-color 0.45s cubic-bezier(0.2,0.8,0.2,1);
  }
  .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px -16px rgba(0,0,0,0.12),
                0 4px 10px -4px rgba(0,0,0,0.05);
    border-color: rgba(237,28,36,0.22);
  }

  /* Hero image full-bleed bg; blurs on card hover */
  .news-tile { position: relative; isolation: isolate; background: #18181B; }
  .news-tile-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: filter 0.6s cubic-bezier(0.2,0.8,0.2,1),
                transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
    z-index: 0;
  }
  .news-card:hover .news-tile-img {
    filter: blur(12px) brightness(0.85) saturate(1.1);
    transform: scale(1.06);
  }
  /* Light scrim — just enough to keep the white logo legible */
  .news-tile-scrim {
    position: absolute; inset: 0;
    background:
      radial-gradient(65% 55% at 50% 50%, rgba(0,0,0,0.12), rgba(0,0,0,0.28) 85%),
      linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.18) 100%);
    z-index: 1;
    pointer-events: none;
  }

  /* White-logo treatment — works for any colored logo */
  .news-logo-white {
    filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.45));
  }

  /* Partnership logos — normalised to equal OPTICAL AREA so no partner's
     logo reads larger than another, despite very different aspect ratios.
     Per-logo max-height is computed for a constant area (~4500px²);
     wider marks get a smaller height, narrower marks a larger one. */
  .partner-logo {
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
  .partner-logo.pl-stellar       { max-height: 72px; }    /* aspect 2.79, +20% then +50% */
  .partner-logo.pl-zoom          { max-height: 48px; }    /* aspect 4.44, +50% */
  .partner-logo.pl-logicmonitor  { max-height: 46.2px; }  /* aspect 5.54, +10% then +50% */
  .partner-logo.pl-sophos        { max-height: 33px; }    /* aspect 9.23, +50% */

  /* Edition marker — light text on dark image */
  .news-num {
    position: absolute;
    bottom: 0.85rem; right: 0.95rem;
    font-family: 'Roboto Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.55);
    z-index: 3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  }
  .news-num strong { color: rgba(255,255,255,0.92); font-weight: 600; }

  /* Masthead rule under section heading */
  .news-rule {
    height: 1px;
    background: linear-gradient(90deg,
      rgba(237,28,36,0.5) 0%,
      rgba(237,28,36,0.2) 30%,
      rgba(0,0,0,0.06) 60%,
      transparent 100%);
  }

  /* Pull-quote styling for the lead card dek */
  .news-dek {
    border-left: 2px solid rgba(237,28,36,0.35);
    padding-left: 14px;
    font-style: italic;
    color: rgb(82,82,91);
  }

  @media (prefers-reduced-motion: reduce) {
    .news-card { transition: none; }
    .news-card:hover { transform: none; }
    .news-tile::after { display: none; }
  }


  /* ─── Legacy section — timeline rail ─── */
  .timeline-rail { position: relative; }
  .timeline-rail .t-track {
    position: absolute; left: 7px; right: 7px; top: 6px;
    height: 2px; background: rgba(212,212,216,0.7); border-radius: 1px;
  }
  .timeline-rail .t-fill {
    position: absolute; left: 7px; top: 6px; height: 2px; border-radius: 1px;
    width: calc(100% - 14px);
    background: linear-gradient(90deg, #ED1C24, #FF751F);
    transform: scaleX(0); transform-origin: left;
    transition: transform 1.6s cubic-bezier(0.2,0.8,0.2,1) 0.2s;
    z-index: 0;
  }
  .timeline-rail.is-revealed .t-fill,
  .reveal.is-revealed .timeline-rail .t-fill { transform: scaleX(1); }
  .t-dot {
    display: block;
    height: 14px; width: 14px;
    border-radius: 9999px;
    background: white;
    border: 2px solid #D4D4D8;
    position: relative; z-index: 1;
    transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
    transition-delay: var(--dot-delay, 0ms);
  }
  .timeline-rail.is-revealed .t-dot,
  .reveal.is-revealed .timeline-rail .t-dot {
    background: #ED1C24;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(237,28,36,0.18);
  }
  @media (prefers-reduced-motion: reduce) {
    .timeline-rail .t-fill { transition: none; transform: scaleX(1); }
    .t-dot { transition: none; background: #ED1C24; border-color: white; }
  }


  /* ─── About Us · vertical timeline node icons (stroke-draw on reveal) ─── */
  .ms-icon { width: 22px; height: 22px; color: #ED1C24; display: block; }
  .ms-stroke {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: var(--ms-delay, 200ms);
  }
  .reveal.is-revealed .ms-stroke { stroke-dashoffset: 0; }
  @media (prefers-reduced-motion: reduce) {
    .ms-stroke { stroke-dashoffset: 0; transition: none; }
  }


  /* ─── Nav auto-hide on scroll down, reveal on scroll up ─── */
  #nav { transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
  .nav-hidden #nav { transform: translateY(-100%); }
  @media (prefers-reduced-motion: reduce) {
    #nav { transition: none; }
  }

  /* ─── Nav dropdown — Our Services menu ─── */
  .has-dropdown { position: relative; }
  .has-dropdown > .dropdown-menu {
    position: absolute;
    top: 100%; left: 0;
    min-width: 280px;
    margin-top: 6px;
    background: rgba(8, 9, 12, 0.95);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    pointer-events: none;
    z-index: 60;
    box-shadow: 0 24px 50px -12px rgba(0,0,0,0.5);
  }
  /* Invisible bridge over the 6px gap so the cursor can travel from
     trigger → menu without dropping out of the hover region */
  .has-dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
  }
  .has-dropdown:hover > .dropdown-menu,
  .has-dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 9px;
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
  }
  .dropdown-item:hover {
    background: rgba(255,255,255,0.06);
    color: white;
  }
  .dropdown-item .ms { font-size: 16px; }
  .dropdown-item--soon {
    color: rgba(255,255,255,0.35);
    cursor: not-allowed;
  }
  .dropdown-item--soon:hover { background: transparent; color: rgba(255,255,255,0.35); }
  .dropdown-soon {
    margin-left: auto;
    font-family: 'Roboto Mono', ui-monospace, monospace;
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    padding: 2px 6px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
  }
  .dropdown-chev {
    transition: transform 0.22s ease;
  }
  .has-dropdown:hover .dropdown-chev { transform: rotate(180deg); }


  /* ─── Parallax bg for the "Trusted by" section ───
     background-attachment: fixed pins the bg in viewport coords while content scrolls
     — gives a classic parallax sensation. iOS Safari ignores fixed-attachment so the
     bg scrolls with the section there; acceptable fallback (no broken visuals). */
  .trusted-bg {
    background-image: image-set(
      url('/assets/bg/trusted-bg.webp') type('image/webp'),
      url('/assets/bg/trusted-bg.jpg')  type('image/jpeg')
    );
    background-image: url('/assets/bg/trusted-bg.jpg');  /* fallback for browsers w/o image-set */
    background-image: -webkit-image-set(
      url('/assets/bg/trusted-bg.webp') type('image/webp'),
      url('/assets/bg/trusted-bg.jpg')  type('image/jpeg')
    );
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
  }


  /* ─── Shiny button suite — premium motion using SIS palette ──
     Three classes, each adapting a different motion pattern:
       .btn-shiny-nav      — nav: subtle red→orange conic beam fades in + spins on hover
       .btn-shiny-primary  — hero primary: red radial stroke at bottom blooms into wider glow on hover
       .btn-shiny-outline  — hero secondary: blurred conic halo fades in + spins on hover + arrow nudges */

  @keyframes shiny-spin { to { transform: rotate(360deg); } }
  @keyframes shiny-halo-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
  }

  /* ─── Nav ─── */
  .btn-shiny-nav {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
  }
  .btn-shiny-nav::before {
    content: "";
    position: absolute;
    inset: -140%;
    background: conic-gradient(from 0deg, transparent 0% 72%, #ED1C24 84%, #FF751F 92%, transparent 100%);
    opacity: 0;
    animation: shiny-spin 3s linear infinite;
    transition: opacity 0.35s ease;
    z-index: 0;
  }
  .btn-shiny-nav::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: rgba(7, 10, 24, 0.92);
    backdrop-filter: blur(8px);
    z-index: 0;
  }
  .btn-shiny-nav > * { position: relative; z-index: 1; }
  .btn-shiny-nav:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -6px rgba(237, 28, 36, 0.30); }
  .btn-shiny-nav:hover::before { opacity: 1; }

  /* ─── Hero primary ─── */
  .btn-shiny-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.15s ease;
    cursor: pointer;
  }
  /* Rest-state: narrow red stroke at bottom edge */
  .btn-shiny-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(11% 50% at 50% 100%, rgba(237, 28, 36, 0.95), transparent 100%);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
  }
  /* Hover-state: wider, softer blurred glow */
  .btn-shiny-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(60% 50% at 50% 100%, rgba(237, 28, 36, 0.85), rgba(255, 117, 31, 0.30) 50%, transparent 100%);
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
  }
  .btn-shiny-primary > .btn-fill {
    position: absolute;
    inset: 1px;
    border-radius: calc(0.75rem - 1px);
    background: linear-gradient(180deg, #0E1014 0%, #050811 100%);
    z-index: 1;
    pointer-events: none;
  }
  .btn-shiny-primary > .btn-content { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 0.5rem; }
  .btn-shiny-primary svg { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
  .btn-shiny-primary:hover::before { opacity: 0.35; }
  .btn-shiny-primary:hover::after  { opacity: 1; }
  .btn-shiny-primary:hover svg     { transform: translateX(4px); }
  .btn-shiny-primary:active        { transform: scale(0.97); }

  /* ─── Hero secondary ─── */
  .btn-shiny-outline {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0A0C12;
    color: rgba(255, 255, 255, 0.78);
    isolation: isolate;
    overflow: hidden;
    transition: color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
    cursor: pointer;
  }
  /* Conic halo (blurred) — hidden, fades in + spins on hover */
  .btn-shiny-outline::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 240%;
    height: 460%;
    background: conic-gradient(from 0deg, #ED1C24, #FF751F, #ED1C24);
    opacity: 0;
    filter: blur(12px);
    transform: translate(-50%, -50%);
    transition: opacity 0.7s ease;
    z-index: 0;
  }
  /* Inner mask — sits over the halo so only the rim shows through */
  .btn-shiny-outline > .btn-fill {
    position: absolute;
    inset: 1.5px;
    border-radius: calc(0.75rem - 1.5px);
    background: #0A0C12;
    z-index: 1;
    pointer-events: none;
  }
  .btn-shiny-outline > .btn-content { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 0.5rem; }
  .btn-shiny-outline:hover::before {
    opacity: 0.55;
    animation: shiny-halo-spin 3s linear infinite;
  }
  .btn-shiny-outline:hover {
    color: #fff;
    box-shadow: 0 0 22px rgba(237, 28, 36, 0.35);
  }
  .btn-shiny-outline:active { transform: scale(0.97); }

  @media (prefers-reduced-motion: reduce) {
    .btn-shiny-nav::before,
    .btn-shiny-outline::before,
    .sis-button-red-beam::before { animation: none !important; }
  }
