/* Gatespark shared components - restored from the INITIAL homepage styles.
   Do not redesign these components here: all pages intentionally reuse the original
   .site-header/.nav-glass and .site-footer/.footer-* system. */
:root {
  /* Color - IMAGINE HERO 4 brand palette (single source of truth) */
  --orange: #E88C2B;   /* Orange Grove - primary accent / CTA color */
  --maroon: #4E0401;   /* Dark Maroon - page background / dark surfaces */
  --white:  #FEFBF3;   /* Calming White - headlines, body copy on dark */
  --gray:   #E4D6C7;   /* warm neutral - muted text */
  --glow:   #F3A659;   /* lighter Orange Grove tint - highlights, glows, gradients */
  /* Legacy token names kept so every existing rule below repaints
     automatically - all now derived from the palette above.
     No blue remains anywhere in this system. */
  --blueprint: var(--maroon);        /* primary dark background */
  --ink: #3a0301;                    /* deepest background, footer - darker maroon */
  --paper: var(--white);             /* light text on dark bg */
  --paper-dim: var(--gray);          /* secondary text on dark bg */
  --muted: rgba(228, 214, 199, 0.65);/* tertiary / captions */
  --accent: var(--orange);           /* single hot accent */
  --accent-dim: #c2701f;
  --steel: var(--glow);              /* secondary accent (was cool blue, now warm glow) */
  --grid-line: rgba(254, 251, 243, 0.07);
  --grid-line-strong: rgba(254, 251, 243, 0.14);
  --card-bg: rgba(254, 251, 243, 0.035);
  --card-border: rgba(254, 251, 243, 0.1);
  --success: var(--orange);
  --error: var(--gray);

  /* Type */
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --font-head: var(--font-display);  /* Imagine Hero 4 alias */
  --font-anim: var(--font-body);     /* Imagine Hero 4 alias */

  /* Layout */
  --max-w: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 300ms;
  --dur-med: 700ms;
  --dur-slow: 1400ms;
  --dur-slide: 7500ms;   /* Imagine Hero 4 slideshow interval */
  --dur-fade: 1600ms;    /* Imagine Hero 4 slide crossfade */
}

.site-header,.mobile-menu,.site-footer{font-family:var(--font-body);}
/* =====================================================
   PRELOADER
   ===================================================== */

    body.preloader-active {
      overflow: hidden;
    }


    /* =====================================================
       PRELOADER
    ===================================================== */

    #preloader {
      position: fixed;
      inset: 0;

      z-index: 99999;

      width: 100%;
      height: 100vh;
      height: 100dvh;

      overflow: hidden;

      background:
        radial-gradient(
          circle at 50% 64%,
          rgba(232, 140, 43, 0.09),
          transparent 34%
        ),
        linear-gradient(
          180deg,
          #220100,
          #3a0301 55%,
          #210100
        );

      opacity: 1;
      visibility: visible;

      transition:
        opacity .7s ease,
        visibility .7s ease;
    }

    #preloader.is-hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }


    /* =====================================================
       STAGE
    ===================================================== */

    .cradle-stage {
      position: relative;

      width: 100vw;
      height: 100vh;
      height: 100dvh;

      overflow: hidden;
    }


    /* =====================================================
       CRADLE VARIABLES
    ===================================================== */

    .cradle {
      position: absolute;
      inset: 0;

      --square-size: 40px;

      /*
       Very small gap between squares.
      */
      --square-step: 42px;

      /*
       Tight protected center zone.
      */
      --logo-zone: 108px;

      /*
       Strings begin at the top of screen
       and squares hang lower.
      */
      --string-height:
        clamp(
          360px,
          60vh,
          560px
        );
    }


    /* =====================================================
       FLOOR GLOW
    ===================================================== */

    .floor-glow {
      position: absolute;

      left: 50%;

      top:
        calc(
          var(--string-height) +
          45px
        );

      width:
        clamp(
          170px,
          34vw,
          330px
        );

      height:
        clamp(
          34px,
          6vw,
          60px
        );

      transform:
        translateX(-50%);

      border-radius: 50%;

      background:
        radial-gradient(
          ellipse,
          rgba(232,140,43,.18),
          rgba(232,140,43,.05) 45%,
          transparent 74%
        );

      filter: blur(9px);

      pointer-events: none;
    }


    /* =====================================================
       PENDULUMS
    ===================================================== */

    .pendulum {
      position: absolute;

      top: 0;

      width: 2px;
      height:
        var(--string-height);

      transform-origin:
        top center;

      will-change:
        transform;
    }

    .pendulum::before {
      content: "";

      position: absolute;

      top: 0;
      left: 0;

      width: 2px;
      height: 100%;

      background:
        linear-gradient(
          to bottom,
          rgba(255,245,230,.36),
          rgba(232,140,43,.5)
        );
    }


    /* =====================================================
       SQUARES
    ===================================================== */

    .square {
      position: absolute;

      left: 50%;

      bottom:
        calc(
          var(--square-size) / -2
        );

      width:
        var(--square-size);

      height:
        var(--square-size);

      transform:
        translateX(-50%);

      display: flex;
      align-items: center;
      justify-content: center;

      overflow: hidden;

      border-radius: 7px;

      color: #fff;

      background:
        linear-gradient(
          145deg,
          #f4aa5b,
          #e88c2b 52%,
          #c76b17
        );

      border:
        1px solid rgba(255,205,143,.72);

      box-shadow:
        inset 0 1px 1px rgba(255,255,255,.35),
        inset 0 -3px 4px rgba(87,35,0,.24),
        0 5px 10px rgba(0,0,0,.23);
    }


    /* =====================================================
       SIX BALANCED DISPLAY SQUARES

       T R U | LOGO | S T .
    ===================================================== */

    .display-1 {
      left:
        calc(
          50% -
          (var(--logo-zone) / 2) -
          (var(--square-step) * 3)
        );
    }

    .display-2 {
      left:
        calc(
          50% -
          (var(--logo-zone) / 2) -
          (var(--square-step) * 2)
        );
    }

    .display-3 {
      left:
        calc(
          50% -
          (var(--logo-zone) / 2) -
          var(--square-step)
        );
    }

    .display-4 {
      right:
        calc(
          50% -
          (var(--logo-zone) / 2) -
          var(--square-step)
        );
    }

    .display-5 {
      right:
        calc(
          50% -
          (var(--logo-zone) / 2) -
          (var(--square-step) * 2)
        );
    }

    .display-6 {
      right:
        calc(
          50% -
          (var(--logo-zone) / 2) -
          (var(--square-step) * 3)
        );
    }


    /* =====================================================
       OUTER MOVING SQUARES
    ===================================================== */

    .outer-left {
      left:
        calc(
          50% -
          (var(--logo-zone) / 2) -
          (var(--square-step) * 4)
        );

      animation:
        newton-left
        2.8s
        cubic-bezier(.38,.02,.22,1)
        infinite;
    }

    .outer-right {
      right:
        calc(
          50% -
          (var(--logo-zone) / 2) -
          (var(--square-step) * 4)
        );

      animation:
        newton-right
        2.8s
        cubic-bezier(.38,.02,.22,1)
        infinite;
    }


    /* =====================================================
       DESKTOP NEWTON MOTION
    ===================================================== */

    @keyframes newton-left {

      0% {
        transform:
          rotate(22deg);
      }

      6% {
        transform:
          rotate(21deg);
      }

      13% {
        transform:
          rotate(16deg);
      }

      19% {
        transform:
          rotate(8deg);
      }

      24% {
        transform:
          rotate(1.5deg);
      }

      25% {
        transform:
          rotate(0deg);
      }

      /*
       Wait after impact.
      */
      26%,
      40%,
      55%,
      68%,
      70% {
        transform:
          rotate(0deg);
      }

      /*
       Energy returns.
      */
      75% {
        transform:
          rotate(2deg);
      }

      81% {
        transform:
          rotate(8deg);
      }

      87% {
        transform:
          rotate(16deg);
      }

      94% {
        transform:
          rotate(21deg);
      }

      98%,
      100% {
        transform:
          rotate(22deg);
      }
    }


    @keyframes newton-right {

      0%,
      24% {
        transform:
          rotate(0deg);
      }

      28% {
        transform:
          rotate(-2deg);
      }

      34% {
        transform:
          rotate(-8deg);
      }

      40% {
        transform:
          rotate(-16deg);
      }

      47% {
        transform:
          rotate(-21deg);
      }

      50%,
      53% {
        transform:
          rotate(-22deg);
      }

      59% {
        transform:
          rotate(-17deg);
      }

      65% {
        transform:
          rotate(-10deg);
      }

      70% {
        transform:
          rotate(-3deg);
      }

      72% {
        transform:
          rotate(0deg);
      }

      73%,
      85%,
      100% {
        transform:
          rotate(0deg);
      }
    }


    /* =====================================================
       INNER ENERGY COMPRESSION
    ===================================================== */

    .display-1 .square,
    .display-2 .square,
    .display-3 .square,
    .display-4 .square,
    .display-5 .square,
    .display-6 .square {
      animation:
        inner-contact
        2.8s
        ease-out
        infinite;
    }

    @keyframes inner-contact {

      0%,
      23% {
        transform:
          translateX(-50%)
          scaleX(1);
      }

      25% {
        transform:
          translateX(-50%)
          scaleX(.97);
      }

      29% {
        transform:
          translateX(-50%)
          scaleX(1.008);
      }

      32%,
      70% {
        transform:
          translateX(-50%)
          scaleX(1);
      }

      72% {
        transform:
          translateX(-50%)
          scaleX(.97);
      }

      76% {
        transform:
          translateX(-50%)
          scaleX(1.008);
      }

      80%,
      100% {
        transform:
          translateX(-50%)
          scaleX(1);
      }
    }


    /* =====================================================
       LOGO - NO STRINGS
    ===================================================== */

    .logo-holder {
      position: absolute;

      left: 50%;

      top:
        calc(
          var(--string-height) -
          26px
        );

      width:
        calc(
          var(--logo-zone) - 6px
        );

      height: 90px;

      transform:
        translateX(-50%);

      display: flex;
      align-items: center;
      justify-content: center;

      z-index: 12;

      transform-origin:
        center center;

      animation:
        logo-reaction
        2.8s
        linear
        infinite;
    }

    .preloader-logo {
      width: 94px;

      max-width:
        calc(
          var(--logo-zone) - 10px
        );

      height: auto;

      display: block;

      filter:
        drop-shadow(
          0 7px 13px
          rgba(0,0,0,.3)
        );
    }


    /* =====================================================
       LOGO IMPACT RESPONSE
    ===================================================== */

    @keyframes logo-reaction {

      0%,
      24% {
        transform:
          translateX(-50%)
          translateX(0)
          rotate(0deg);
      }

      28% {
        transform:
          translateX(-50%)
          translateX(1px)
          rotate(.18deg);
      }

      31% {
        transform:
          translateX(-50%)
          translateX(2.5px)
          rotate(.45deg);
      }

      35% {
        transform:
          translateX(-50%)
          translateX(1.4px)
          rotate(.22deg);
      }

      39% {
        transform:
          translateX(-50%)
          translateX(-.6px)
          rotate(-.1deg);
      }

      44%,
      70% {
        transform:
          translateX(-50%)
          translateX(0)
          rotate(0deg);
      }

      74% {
        transform:
          translateX(-50%)
          translateX(-1px)
          rotate(-.18deg);
      }

      77% {
        transform:
          translateX(-50%)
          translateX(-2.5px)
          rotate(-.45deg);
      }

      81% {
        transform:
          translateX(-50%)
          translateX(-1.4px)
          rotate(-.22deg);
      }

      85% {
        transform:
          translateX(-50%)
          translateX(.6px)
          rotate(.1deg);
      }

      90%,
      100% {
        transform:
          translateX(-50%)
          translateX(0)
          rotate(0deg);
      }
    }


    /* =====================================================
       TRUST + SERVICE ICONS
    ===================================================== */

    .trust-letter,
    .service-icon {
      position: absolute;

      inset: 0;

      display: flex;
      align-items: center;
      justify-content: center;

      transition:
        opacity .18s ease,
        transform .18s ease;

      pointer-events: none;
    }

    .trust-letter {
      font-size:
        clamp(
          13px,
          2vw,
          18px
        );

      font-weight: 800;

      color: #fff;

      text-transform: uppercase;

      opacity: 1;

      transform:
        scale(1);
    }

    .trust-dot {
      align-items:
        flex-end;

      padding-bottom: 4px;

      font-size:
        clamp(
          18px,
          2.4vw,
          24px
        );

      line-height: 1;
    }

    .service-icon {
      opacity: 0;

      transform:
        scale(.72);
    }

    .service-icon svg {
      width: 58%;
      height: 58%;

      stroke: #fff;
      fill: none;

      stroke-width: 1.8;

      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .cradle.show-services .trust-letter {
      opacity: 0;

      transform:
        scale(.7);
    }

    .cradle.show-services .service-icon {
      opacity: 1;

      transform:
        scale(1);
    }


    /* =====================================================
       TABLET
    ===================================================== */

    @media (max-width: 800px) {

      .cradle {
        --square-size: 31px;
        --square-step: 33px;
        --logo-zone: 82px;

        --string-height:
          clamp(
            320px,
            57vh,
            500px
          );
      }

      .preloader-logo {
        width: 68px;
      }

      .logo-holder {
        height: 68px;
      }
    }


    /* =====================================================
       MOBILE
       Smaller swing so squares remain on-screen.
    ===================================================== */

    @media (max-width: 600px) {

      .cradle {
        --square-size: 23px;
        --square-step: 25px;

        --logo-zone: 62px;

        --string-height:
          clamp(
            300px,
            58vh,
            470px
          );
      }

      .preloader-logo {
        width: 48px;
      }

      .logo-holder {
        height: 52px;
      }

      .trust-letter {
        font-size: 9px;
      }

      .trust-dot {
        font-size: 14px;
        padding-bottom: 2px;
      }


      @keyframes newton-left {

        0%,
        5% {
          transform:
            rotate(12deg);
        }

        11% {
          transform:
            rotate(10deg);
        }

        17% {
          transform:
            rotate(6deg);
        }

        22% {
          transform:
            rotate(2deg);
        }

        25% {
          transform:
            rotate(0deg);
        }

        26%,
        40%,
        55%,
        69% {
          transform:
            rotate(0deg);
        }

        75% {
          transform:
            rotate(2deg);
        }

        81% {
          transform:
            rotate(6deg);
        }

        87% {
          transform:
            rotate(10deg);
        }

        94%,
        100% {
          transform:
            rotate(12deg);
        }
      }


      @keyframes newton-right {

        0%,
        24% {
          transform:
            rotate(0deg);
        }

        28% {
          transform:
            rotate(-2deg);
        }

        34% {
          transform:
            rotate(-6deg);
        }

        40% {
          transform:
            rotate(-10deg);
        }

        47%,
        53% {
          transform:
            rotate(-12deg);
        }

        59% {
          transform:
            rotate(-10deg);
        }

        65% {
          transform:
            rotate(-6deg);
        }

        70% {
          transform:
            rotate(-2deg);
        }

        72%,
        100% {
          transform:
            rotate(0deg);
        }
      }
    }


    /* =====================================================
       SMALL PHONES
       Even smaller 9-degree arc.
    ===================================================== */

    @media (max-width: 420px) {

      .cradle {
        --square-size: 18px;
        --square-step: 20px;

        --logo-zone: 49px;

        --string-height:
          clamp(
            280px,
            57vh,
            430px
          );
      }

      .preloader-logo {
        width: 37px;
      }

      .logo-holder {
        height: 42px;
      }

      .trust-letter {
        font-size: 7px;
      }

      .trust-dot {
        font-size: 11px;
      }


      @keyframes newton-left {

        0%,
        6% {
          transform:
            rotate(9deg);
        }

        14% {
          transform:
            rotate(6deg);
        }

        20% {
          transform:
            rotate(3deg);
        }

        25%,
        70% {
          transform:
            rotate(0deg);
        }

        80% {
          transform:
            rotate(3deg);
        }

        87% {
          transform:
            rotate(6deg);
        }

        94%,
        100% {
          transform:
            rotate(9deg);
        }
      }


      @keyframes newton-right {

        0%,
        24% {
          transform:
            rotate(0deg);
        }

        32% {
          transform:
            rotate(-3deg);
        }

        40% {
          transform:
            rotate(-6deg);
        }

        47%,
        53% {
          transform:
            rotate(-9deg);
        }

        62% {
          transform:
            rotate(-6deg);
        }

        68% {
          transform:
            rotate(-3deg);
        }

        72%,
        100% {
          transform:
            rotate(0deg);
        }
      }
    }


    /* =====================================================
       VERY SMALL PHONES
    ===================================================== */

    @media (max-width: 340px) {

      .cradle {
        --square-size: 15px;
        --square-step: 17px;
        --logo-zone: 42px;

        --string-height:
          clamp(
            260px,
            56vh,
            400px
          );
      }

      .preloader-logo {
        width: 31px;
      }

      .trust-letter {
        font-size: 6px;
      }
    }


    /* =====================================================
       LANDSCAPE PHONES
       Maximum swing = 8 degrees.
    ===================================================== */

    @media
      (max-height: 500px)
      and
      (orientation: landscape) {

      .cradle {
        --square-size: 20px;
        --square-step: 22px;
        --logo-zone: 56px;

        --string-height: 68vh;
      }

      .preloader-logo {
        width: 42px;
      }

      .logo-holder {
        height: 46px;
      }


      @keyframes newton-left {

        0%,
        6% {
          transform:
            rotate(8deg);
        }

        16% {
          transform:
            rotate(4deg);
        }

        25%,
        70% {
          transform:
            rotate(0deg);
        }

        84% {
          transform:
            rotate(4deg);
        }

        94%,
        100% {
          transform:
            rotate(8deg);
        }
      }


      @keyframes newton-right {

        0%,
        24% {
          transform:
            rotate(0deg);
        }

        38% {
          transform:
            rotate(-4deg);
        }

        47%,
        53% {
          transform:
            rotate(-8deg);
        }

        65% {
          transform:
            rotate(-4deg);
        }

        72%,
        100% {
          transform:
            rotate(0deg);
        }
      }
    }


    /* =====================================================
       REDUCED MOTION
    ===================================================== */

    @media (prefers-reduced-motion: reduce) {

      .outer-left,
      .outer-right,
      .logo-holder,
      .display-1 .square,
      .display-2 .square,
      .display-3 .square,
      .display-4 .square,
      .display-5 .square,
      .display-6 .square {
        animation: none !important;
      }
    }


    /* =====================================================
       DEMO WEBSITE
    ===================================================== */

    .website-demo {
      min-height: 100vh;

      display: flex;
      align-items: center;
      justify-content: center;

      background: #4e0401;
      color: #fff;
    }


/* ===================================
   IMAGINE HERO 4 - HEADER / NAV
   Glass pill nav + logo + mobile menu + breadcrumb.
   Replaces the old header entirely: Hero 4's fixed, translucent,
   scroll-aware header is inseparable from the hero it sits on top of.
=================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 18px 4vw;
  transition: padding .35s ease, background .35s ease;
}
.site-header.is-scrolled {
  padding: 12px 4vw;
  background: linear-gradient(to bottom, rgba(78,4,1,.55), rgba(78,4,1,0));
}

/* --- glass pill nav --- */
.nav-glass {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 6px;
  border-radius: 999px;
  background: rgba(78,4,1,.45);
  border: 1px solid rgba(254,251,243,.14);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 8px 30px rgba(0,0,0,.28), inset 0 1px 0 rgba(254,251,243,.06);
}

.nav-cursor {
  position: absolute;
  top: 6px; bottom: 6px; left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--glow));
  box-shadow: 0 0 18px rgba(232,140,43,.45);
  opacity: 0;
  z-index: 0;
  transition: left .35s cubic-bezier(.22,1,.36,1), width .35s cubic-bezier(.22,1,.36,1), opacity .25s ease;
  pointer-events: none;
}

.nav-item { position: relative; z-index: 1; list-style: none; }

.nav-tab {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 18px;
  font-family: var(--font-anim);
  font-weight: 600;
  font-size: .83rem;
  letter-spacing: .01em;
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  mix-blend-mode: difference;
}

.nav-tab .chev { width: 9px; height: 9px; stroke: currentColor; transition: transform .3s ease; }
.nav-item.has-dropdown:hover .chev,
.nav-item.has-dropdown:focus-within .chev { transform: rotate(180deg); }

.nav-tab--cta { color: var(--glow); }

/* --- dropdown panels (kept for any future nested nav items) --- */
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: rgba(78,4,1,.72);
  border: 1px solid rgba(254,251,243,.12);
  border-radius: 26px;
  padding: 10px;
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 24px 55px rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
  z-index: 60;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown,
.nav-item.has-dropdown.force-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 16px;
  color: var(--gray);
  font-family: var(--font-anim);
  font-size: .82rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.dropdown a:hover { background: rgba(232,140,43,.16); color: var(--white); }

/* --- logo --- */
.logo-wrap { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.logo-img { height: 48px; width: auto; display: block; }
.logo-fallback {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: .02em;
  color: var(--white);
}
.logo-mark { color: var(--orange); margin-right: 2px; }

/* --- mobile hamburger + menu --- */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(78,4,1,.5);
  border: 1px solid rgba(254,251,243,.16);
  backdrop-filter: blur(16px);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s ease, top .3s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 82px;
  left: 4vw; right: 4vw;
  z-index: 99;
  background: rgba(78,4,1,.82);
  border: 1px solid rgba(254,251,243,.12);
  border-radius: 28px;
  padding: 1.2rem;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-group { margin-bottom: .9rem; }
.mobile-group:last-child { margin-bottom: 0; }
.mobile-group-label {
  font-family: var(--font-anim);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .4rem;
  display: block;
}
.mobile-menu a {
  display: block;
  padding: .55rem .3rem;
  font-family: var(--font-anim);
  font-size: .95rem;
  color: var(--gray);
  text-decoration: none;
  border-radius: 12px;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu a.mobile-link--single { font-weight: 600; color: var(--white); }

/* --- breadcrumb demo strip --- */
.breadcrumb-demo {
  position: fixed;
  top: 86px;
  left: 4vw;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: rgba(78,4,1,.4);
  border: 1px solid rgba(254,251,243,.1);
  border-radius: 999px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  font-family: var(--font-anim);
  font-size: .72rem;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.breadcrumb-demo.is-hidden { opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none; }
.breadcrumb-demo a { color: var(--gray); text-decoration: none; transition: color .2s ease; }
.breadcrumb-demo a:hover { color: var(--white); }
.breadcrumb-demo .crumb-current { color: var(--white); font-weight: 600; }
.breadcrumb-demo .crumb-sep { color: rgba(228,214,199,.45); display: flex; }
.breadcrumb-demo .crumb-sep svg { width: 12px; height: 12px; }

@media (max-width: 860px) {
  .nav-glass { display: none; }
  .nav-toggle { display: flex; }
  .breadcrumb-demo { top: 78px; font-size: .68rem; padding: 6px 12px; }
}
@media (max-width: 480px) {
  .breadcrumb-demo .crumb-hide-xs { display: none; }
}

/* ===================================
   IMAGINE FOOTER
=================================== */
@keyframes footer-ping {
  0% { transform: scale(1); opacity: .75; }
  75%, 100% { transform: scale(2.4); opacity: 0; }
}

.site-footer {
  position: relative;
  margin-top: 0;
  background: var(--ink);
  border-top: 1px solid rgba(254,251,243,.1);
  border-radius: 28px 28px 0 0;
}

.footer-inner { max-width: 1280px; margin: 0 auto; padding: 64px 4vw 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1fr 2fr; } }

/* --- brand column --- */
.footer-brand-row { display: flex; align-items: center; justify-content: center; gap: 10px; }
.footer-logo-img {
  height: 34px; width: 34px;
  border-radius: 999px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--orange), var(--glow));
}
.footer-brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--white); }
.footer-desc {
  margin-top: 20px;
  max-width: 340px;
  margin-left: auto; margin-right: auto;
  color: var(--gray);
  opacity: .6;
  font-size: .9rem;
  line-height: 1.7;
  text-align: center;
}
.footer-social { list-style: none; display: flex; justify-content: center; gap: 22px; margin-top: 28px; padding: 0; }
.footer-social a { color: var(--gray); opacity: .75; display: flex; transition: color .2s ease, opacity .2s ease, transform .2s ease; }
.footer-social a:hover { color: var(--orange); opacity: 1; transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-social i { font-size: 20px; }

@media (min-width: 640px) {
  .footer-brand-row { justify-content: flex-start; }
  .footer-desc { text-align: left; margin-left: 0; }
  .footer-social { justify-content: flex-start; }
}

/* --- link columns --- */
.footer-links-grid { display: grid; grid-template-columns: 1fr; gap: 36px; text-align: center; }
@media (min-width: 640px) { .footer-links-grid { grid-template-columns: 1fr 1fr; text-align: left; } }
@media (min-width: 860px) { .footer-links-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-col-title { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--white); }
.footer-col-list { list-style: none; margin-top: 22px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-col-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--gray);
  opacity: .65;
  text-decoration: none;
  font-family: var(--font-anim);
  font-size: .86rem;
  transition: color .2s ease, opacity .2s ease;
}
@media (min-width: 640px) { .footer-col-list a { justify-content: flex-start; } }
.footer-col-list a:hover { color: var(--white); opacity: 1; }
.footer-col-list address { font-style: normal; }

.footer-ping { position: relative; display: inline-flex; width: 8px; height: 8px; flex-shrink: 0; }
.footer-ping .ping-halo { position: absolute; inset: 0; border-radius: 999px; background: var(--orange); animation: footer-ping 1.6s cubic-bezier(0,0,.2,1) infinite; }
.footer-ping .ping-dot { position: relative; width: 8px; height: 8px; border-radius: 999px; background: var(--orange); }

.footer-contact-icon { color: var(--orange); width: 16px; height: 16px; font-size: 16px; flex-shrink: 0; }

/* --- bottom bar --- */
.footer-bottom {
  margin-top: 56px;
  padding: 22px 4vw 24px;
  border-top: 1px solid rgba(254,251,243,.1);
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-family: var(--font-anim);
  font-size: .8rem;
  color: var(--gray);
  opacity: .6;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ===================================
   FOOTER NEWSLETTER
   Uses the approved Gatespark footer palette and does not alter the
   existing navigation/contact column structure.
=================================== */
.footer-newsletter {
  width: 100%;
  max-width: 360px;
  margin: 26px auto 0;
  text-align: center;
}
.footer-newsletter-title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.35;
}
.footer-newsletter-copy {
  margin: 7px 0 0;
  color: var(--gray);
  opacity: .65;
  font-family: var(--font-anim);
  font-size: .78rem;
  line-height: 1.55;
}
.footer-newsletter-form { margin-top: 13px; }
.footer-newsletter-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.footer-newsletter-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 8px;
  width: 100%;
}
.footer-newsletter-input {
  min-width: 0;
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(254,251,243,.18);
  border-radius: 8px;
  outline: none;
  background: rgba(254,251,243,.055);
  color: var(--white);
  font: 500 .82rem/1 var(--font-body);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.footer-newsletter-input::placeholder { color: rgba(228,214,199,.45); }
.footer-newsletter-input:hover { border-color: rgba(254,251,243,.3); }
.footer-newsletter-input:focus {
  border-color: var(--orange);
  background: rgba(254,251,243,.08);
  box-shadow: 0 0 0 3px rgba(232,140,43,.12);
}
.footer-newsletter-button {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--orange);
  border-radius: 8px;
  background: var(--orange);
  color: var(--ink);
  cursor: pointer;
  font: 700 .78rem/1 var(--font-body);
  white-space: nowrap;
  transition: transform .2s ease, filter .2s ease, opacity .2s ease;
}
.footer-newsletter-button:hover { transform: translateY(-1px); filter: brightness(1.06); }
.footer-newsletter-button:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.footer-newsletter-button:disabled { cursor: wait; opacity: .72; transform: none; }
.footer-newsletter-privacy {
  margin: 9px 0 0;
  color: var(--gray);
  opacity: .52;
  font: 400 .68rem/1.45 var(--font-body);
}
.footer-newsletter-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-newsletter-privacy a:hover { color: var(--white); }
.footer-newsletter-status {
  min-height: 1.25em;
  margin: 8px 0 0;
  color: var(--gray);
  font: 500 .72rem/1.45 var(--font-body);
}
.footer-newsletter-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
@media (min-width: 640px) {
  .footer-newsletter { margin-left: 0; margin-right: 0; text-align: left; }
}
@media (max-width: 380px) {
  .footer-newsletter-row { grid-template-columns: 1fr; }
  .footer-newsletter-button { width: 100%; }
}

