/* ============================================================
   Websnex "Open Canvas" v3
   No boxes: structure from whitespace, gradient hairlines,
   icon medallions and light. Brand HSL tokens preserved.
   ============================================================ */

@property --wx-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
#root { position: relative; z-index: 1; }

/* hard safety net: nothing on the page — orbs, decorative SVGs, floating chips —
   is ever allowed to create horizontal scroll, regardless of its own sizing */
html, body { max-width: 100%; overflow-x: hidden; }

/* ================= Ambient background ================= */
.wx-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.wx-orb { position: absolute; width: 46vmax; height: 46vmax; max-width: 100vw; border-radius: 50%; will-change: transform; }
.wx-orb-1 { top: -18vmax; left: -12vmax; background: radial-gradient(circle, hsl(var(--primary)/.17), transparent 62%); animation: wxOrbA 28s ease-in-out infinite alternate; }
.wx-orb-2 { bottom: -20vmax; right: -14vmax; background: radial-gradient(circle, hsl(var(--secondary)/.14), transparent 62%); animation: wxOrbB 34s ease-in-out infinite alternate; }
.wx-orb-3 { top: 32%; left: 56%; width: 34vmax; height: 34vmax; max-width: 90vw; background: radial-gradient(circle, hsl(var(--accent)/.11), transparent 62%); animation: wxOrbC 40s ease-in-out infinite alternate; }
.wx-grid { position: absolute; inset: -64px;
  background-image: linear-gradient(hsl(var(--primary)/.04) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--primary)/.04) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 75% 62% at 50% 30%, #000 22%, transparent 74%);
  mask-image: radial-gradient(ellipse 75% 62% at 50% 30%, #000 22%, transparent 74%);
  animation: wxGridDrift 28s linear infinite; will-change: transform; }
@keyframes wxOrbA { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(9vmax,7vmax,0) scale(1.12); } }
@keyframes wxOrbB { from { transform: translate3d(0,0,0) scale(1.08); } to { transform: translate3d(-8vmax,-6vmax,0) scale(.94); } }
@keyframes wxOrbC { from { transform: translate3d(0,0,0); } to { transform: translate3d(-10vmax,8vmax,0); } }
@keyframes wxGridDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(58px,58px,0); } }
.wx-paused .wx-orb, .wx-paused .wx-grid { animation-play-state: paused; }

/* ================= Reveal ================= */
.wx-reveal { opacity: 0; transform: translate3d(0,22px,0); transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1); transition-delay: var(--wx-d,0ms); }
/* on mobile, skip the scroll-reveal choreography entirely and just show content —
   removes any dependency on IntersectionObserver timing/behavior on mobile browsers */
@media (max-width: 767px) {
  .wx-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
.wx-reveal.wx-in { opacity: 1; transform: none; }

/* ================= CARD DISSOLUTION ================= */
.wx-open {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}


/* ================= Team portraits (avatar-based cards) ================= */
.wx-team {
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.wx-team:hover { transform: translateY(-6px); }
.wx-team [class*="rounded-full"] {
  position: relative;
  box-shadow: 0 0 0 3px hsl(var(--background)), 0 0 0 5px transparent, 0 14px 30px -14px hsl(var(--primary)/.5);
  transition: box-shadow .35s ease;
}
.wx-team:hover [class*="rounded-full"] {
  box-shadow: 0 0 0 3px hsl(var(--background)), 0 0 0 5px hsl(var(--primary)/.55), 0 18px 36px -14px hsl(var(--primary)/.65);
}
.wx-team h4 { transition: color .3s ease; }
.wx-team:hover h4 { color: hsl(var(--primary)); }

/* ================= Icon medallions ================= */
.wx-ipod {
  border-radius: 1.1rem !important;
  background:
    linear-gradient(hsl(var(--background)), hsl(var(--background))) padding-box,
    linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)/.85), hsl(var(--accent))) border-box !important;
  border: 1.5px solid transparent !important;
  box-shadow: 0 12px 26px -12px hsl(var(--primary)/.55), inset 0 0 20px hsl(var(--primary)/.08);
  transition: transform .35s cubic-bezier(.34,1.45,.64,1), box-shadow .35s ease;
}
.wx-ipod svg { color: hsl(var(--primary)); }

/* ================= Spotlight rows (services / values / features) ================= */
.wx-rows { display: flex !important; flex-direction: column; gap: 0 !important; max-width: 56rem; margin-inline: auto; }
.wx-row {
  position: relative; text-align: left !important; border-radius: 0 !important;
  padding: .35rem 0 !important; transition: transform .3s ease;
}
.wx-row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--border)) 18%, hsl(var(--border)) 82%, transparent);
}
.wx-row:last-child::after { display: none; }
/* hover: light wash sweeps through the row + arrow appears */
.wx-row::before {
  content: ""; position: absolute; inset: 4px -18px; border-radius: 14px; pointer-events: none;
  background: linear-gradient(90deg, hsl(var(--primary)/.07), hsl(var(--secondary)/.05) 45%, transparent 80%);
  opacity: 0; transform: translateX(-14px); transition: opacity .35s ease, transform .35s ease;
}
.wx-row:hover::before { opacity: 1; transform: translateX(0); }
.wx-row > div { position: relative; }
/* header block becomes medallion | text grid */
.wx-row .wx-rowhead {
  display: grid !important; grid-template-columns: 74px 1fr auto; column-gap: 1.4rem;
  align-items: start; padding: 1.55rem 0 !important;
}
.wx-row .wx-rowhead > .wx-ipod {
  grid-row: 1 / span 9; align-self: center;
  width: 64px !important; height: 64px !important; margin: 0 !important;
}
.wx-row .wx-rowhead > .wx-ipod svg { width: 26px; height: 26px; }
.wx-row .wx-rowhead > h3 { font-size: 1.28rem !important; margin: 0 !important; grid-column: 2; }
.wx-row .wx-rowhead > p, .wx-row .wx-rowhead > div:not(.wx-ipod) { grid-column: 2; margin-top: .3rem; }
/* sliding arrow */
.wx-row .wx-rowhead::after {
  content: "→"; grid-column: 3; grid-row: 1; align-self: center;
  font: 700 1.5rem/1 "Space Mono", monospace;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary)), hsl(var(--accent)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateX(-10px); transition: opacity .3s ease, transform .3s ease;
}
.wx-row:hover .wx-rowhead::after { opacity: 1; transform: translateX(0); }
.wx-row:hover .wx-ipod { transform: rotate(-4deg) scale(1.07); box-shadow: 0 16px 32px -12px hsl(var(--primary)/.7); }
/* any extra content blocks in a row align under the text column */
.wx-row > div:not(.wx-rowhead) { padding: 0 0 1.4rem 0 !important; }
@media (min-width: 640px) { .wx-row > div:not(.wx-rowhead) { margin-left: calc(74px + 1.4rem); } }

/* ================= Image-first showcases (projects / team) ================= */
.wx-gallery.grid { align-items: start; }
.wx-showcase { position: relative; border-radius: 1.35rem !important; overflow: hidden !important; transition: transform .4s cubic-bezier(.22,.61,.36,1); height: fit-content; }
.wx-showcase:hover { transform: translateY(-6px); }
.wx-showcase img.w-full { height: 21rem !important; }
.wx-showcase > :last-child:not(.wx-glow) {
  position: absolute !important; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 3.4rem 1.5rem 1.35rem !important;
  background: linear-gradient(to top, hsl(var(--background)/.94) 22%, hsl(var(--background)/.6) 62%, transparent) !important;
}
.wx-showcase .wx-glow {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(90% 60% at 50% 100%, hsl(var(--primary)/.18), transparent 70%);
  box-shadow: inset 0 0 0 1.5px hsl(var(--primary)/.45);
  border-radius: inherit;
}
.wx-showcase:hover .wx-glow { opacity: 1; }
.wx-showcase img { transition: transform .7s cubic-bezier(.22,.61,.36,1), filter .7s ease; }
.wx-showcase:hover img { transform: scale(1.06); filter: saturate(1.15); }
/* uniform alignment: all showcase images share the same top edge */
.wx-gallery { align-items: start; }


/* ================= Process steps ================= */
.wx-steps { position: relative; }
@media (min-width: 768px) {
  .wx-steps::before {
    content: ""; position: absolute; top: 2.35rem; left: 12%; right: 12%; height: 2px;
    background: linear-gradient(90deg, hsl(var(--primary)/.15), hsl(var(--primary)/.55), hsl(var(--secondary)/.55), hsl(var(--accent)/.55), hsl(var(--accent)/.15));
  }
}
.wx-step { padding-top: .5rem !important; transition: transform .3s ease; }
.wx-step:hover { transform: translateY(-5px); }
.wx-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 4.6rem; height: 4.6rem; margin: 0 auto 1rem; position: relative; z-index: 2;
  font-size: 1.5rem !important; font-weight: 800 !important;
  border-radius: 50%; color: hsl(var(--primary-foreground)) !important;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  box-shadow: 0 14px 28px -10px hsl(var(--primary)/.6), 0 0 0 5px hsl(var(--background));
  opacity: 1 !important;
}
.wx-step:hover .wx-step-num { box-shadow: 0 18px 34px -8px hsl(var(--primary)/.75), 0 0 0 5px hsl(var(--background)); }

/* ================= Pricing: open columns with hairlines ================= */
@media (min-width: 768px) {
  .wx-plans { gap: 0 !important; align-items: stretch !important; }
  .wx-plan { border-radius: 0 !important; padding: 2.75rem 1.9rem 1.2rem !important; }
  .wx-plan + .wx-plan { border-left: 1px solid hsl(var(--border)/.65) !important; }
}
.wx-plan {
  background: transparent !important; border-color: transparent !important; box-shadow: none !important;
  position: relative;
  /* reserve identical top space on every plan so titles line up whether or not a
     "Most Popular" ribbon floats above this particular card */
  padding-top: 2.75rem;
  display: flex !important; flex-direction: column;
}
.wx-plan > :last-child { display: flex !important; flex-direction: column; flex: 1 1 auto; }
.wx-plan .wx-btn { margin-top: auto; } /* pins every "Get Started" to the same baseline */
.wx-plan[class*="ring-2"] {
  --tw-ring-shadow: 0 0 #0000 !important; --tw-ring-offset-shadow: 0 0 #0000 !important;
  background: linear-gradient(180deg, hsl(var(--primary)/.08), transparent 62%) !important;
  border-radius: 1.2rem !important;
  align-self: stretch;
}
.wx-plan[class*="ring-2"]::before {
  content: ""; position: absolute; top: 0; left: 14%; right: 14%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary)), hsl(var(--accent)));
  box-shadow: 0 0 16px hsl(var(--primary)/.6);
}
.wx-plan li svg { filter: drop-shadow(0 0 5px hsl(var(--primary)/.45)); }

/* ================= Portfolio filter: underline tabs ================= */
.wx-tabs { background: hsl(var(--background)/.82) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wx-tabs button {
  background: transparent !important; box-shadow: none !important; border-color: transparent !important;
  position: relative; color: hsl(var(--muted-foreground)) !important; border-radius: 0 !important;
  min-height: 48px; min-width: 48px; padding-inline: .75rem !important;
}
.wx-tabs button::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 2px; height: 2.5px; border-radius: 3px;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary)), hsl(var(--accent)));
  transform: scaleX(0); transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.wx-tabs button:hover { color: hsl(var(--foreground)) !important; }
.wx-tabs button[class*="bg-primary"] { color: hsl(var(--primary)) !important; font-weight: 600; }
.wx-tabs button[class*="bg-primary"]::after { transform: scaleX(1); }

/* ================= Contact form: underline inputs ================= */
.wx-uform input:not([type="checkbox"]):not([type="radio"]),
.wx-uform textarea,
.wx-uform button[role="combobox"] {
  border: 0 !important; border-radius: 0 !important; background-color: transparent !important;
  box-shadow: none !important; padding-left: 2px !important;
  background-image:
    linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary)), hsl(var(--accent))),
    linear-gradient(hsl(var(--border)), hsl(var(--border)));
  background-size: 0% 2px, 100% 1.5px;
  background-position: left bottom, left bottom;
  background-repeat: no-repeat;
  transition: background-size .4s cubic-bezier(.22,.61,.36,1);
}
.wx-uform input:focus, .wx-uform textarea:focus, .wx-uform button[role="combobox"]:focus {
  outline: none !important;
  --tw-ring-shadow: 0 0 #0000 !important; --tw-ring-offset-shadow: 0 0 #0000 !important;
  background-size: 100% 2px, 100% 1.5px;
}
.wx-uform label { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }

/* ================= Tech logos ================= */
.wx-tech { display: inline-flex; align-items: center; }
.wx-tech-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex: none;
  background: #fff; border-radius: 8px; padding: 4px;
  box-shadow: 0 3px 9px -3px hsl(270 40% 20%/.3);
  margin-right: .45rem;
  overflow: hidden;
}
.wx-tech-ico img { width: 18px; height: 18px; display: block; }
.wx-tech-ico svg { width: 18px !important; height: 18px !important; display: block; }
/* marquee (About tech stack) */
.wx-hide { display: none !important; }
.wx-marquee { overflow: hidden; position: relative; padding: .6rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.wx-mq-holder { display: flex; flex-direction: column; gap: 1rem; }
.wx-mq-track { display: flex; gap: 1rem; width: max-content; animation: wxMarq 34s linear infinite; }
.wx-marquee.rev .wx-mq-track { animation-direction: reverse; }
.wx-marquee:hover .wx-mq-track { animation-play-state: paused; }
@keyframes wxMarq { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.wx-mq-chip {
  display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.15rem;
  border-radius: 999px; font: 600 .84rem/1 Inter, system-ui, sans-serif; color: hsl(var(--foreground));
  border: 1px solid transparent;
  background:
    linear-gradient(hsl(var(--background)), hsl(var(--background))) padding-box,
    linear-gradient(135deg, hsl(var(--primary)/.5), hsl(var(--border)/.4), hsl(var(--accent)/.5)) border-box;
  box-shadow: 0 6px 16px -8px hsl(var(--primary)/.3);
}
.wx-mq-chip .wx-tech-ico { margin-right: 0; }


.wx-clickable { cursor: pointer; }
.wx-footer-link { cursor: pointer; transition: color .25s ease; }
.wx-footer-link:hover { color: hsl(var(--primary)) !important; }

/* ================= Headings & page headers ================= */
.wx-h2u { position: relative; padding-bottom: .85rem; }
.wx-h2u::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 74px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary)), hsl(var(--accent)));
  box-shadow: 0 0 14px hsl(var(--primary)/.55);
}
.wx-pagehead { position: relative; }
.wx-pagehead::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(760px, 90vw); height: 260px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, hsl(var(--primary)/.15), transparent 70%);
}

/* ================= Buttons ================= */
.wx-btn { position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .3s ease; }
.wx-btn::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 36%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: translateX(-170%) skewX(-18deg); transition: transform .65s ease; pointer-events: none;
}
.wx-btn:hover::after { transform: translateX(350%) skewX(-18deg); }
.wx-btn:hover { box-shadow: 0 10px 28px -10px hsl(var(--primary)/.6); }


/* ================= Inner-page hero band ================= */
.wx-subhero {
  position: relative; overflow: hidden;
  padding-top: 6rem !important; padding-bottom: 2rem !important;
  background: transparent !important; /* remove the flat panel look — let the ambient wash show through */
}
.wx-subhero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(65% 60% at 18% 0%, hsl(var(--primary)/.20), transparent 68%),
    radial-gradient(60% 55% at 100% 10%, hsl(var(--accent)/.16), transparent 65%),
    radial-gradient(50% 45% at 50% 100%, hsl(var(--secondary)/.10), transparent 70%);
}
.wx-subhero > * { position: relative; z-index: 2; }

/* heading + intro paragraph get their own entrance animation, distinct from the
   generic section fade-up, since this content sits above the fold */
.wx-subhero h1 { animation: wxTextIn .8s cubic-bezier(.22,.61,.36,1) both; }
.wx-subhero .max-w-3xl p, .wx-subhero .max-w-2xl p { animation: wxTextIn .8s cubic-bezier(.22,.61,.36,1) .15s both; }
@keyframes wxTextIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* ================= Hero ================= */
.wx-hero .text-gradient, .wx-cta .text-gradient, .wx-subhero .text-gradient {
  background-size: 220% auto; animation: wxShimmer 6s linear infinite, wxLightning 3.4s ease-in-out infinite;
}
@keyframes wxShimmer { from { background-position: 0% center; } to { background-position: 220% center; } }
/* a quick, readable "lightning" flicker on the purple accent word — brief flashes, calm rest */
@keyframes wxLightning {
  0%, 89%, 100% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
  90% { filter: brightness(1.55) drop-shadow(0 0 10px hsl(var(--primary)/.75)); }
  91% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
  92.5% { filter: brightness(1.7) drop-shadow(0 0 14px hsl(var(--secondary)/.8)); }
  94% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
}
.wx-hero .glass-card.border-gradient { animation: wxBadgeGlow 4s ease-in-out infinite; }
@keyframes wxBadgeGlow { 0%,100% { box-shadow: 0 0 12px hsl(var(--primary)/.16); } 50% { box-shadow: 0 0 28px hsl(var(--primary)/.4); } }

.wx-hero {
  min-height: auto !important;
  align-items: flex-start !important;
  padding-bottom: 4.5rem !important;
}
/* stats: true center, unchanged position within the hero band */
.wx-stats { justify-items: center; }
.wx-stats > div { text-align: center !important; }

/* ---- heading icon-flank: normal document flow, flanks ONLY the H1, never
   absolutely or fixed positioned, so it can never end up "stuck" anywhere ---- */
.wx-headflank {
  display: flex; align-items: center; justify-content: center; gap: 1.75rem;
}
.wx-headflank h1 { margin: 0; flex: 0 1 auto; }
.wx-headflank-icon {
  flex: none; width: 60px; height: 60px; border-radius: 1.05rem;
  display: none; align-items: center; justify-content: center;
  border: 1.5px solid transparent;
  background:
    linear-gradient(hsl(var(--background)), hsl(var(--background))) padding-box,
    linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)/.85), hsl(var(--accent))) border-box;
  box-shadow: 0 14px 28px -12px hsl(var(--primary)/.5), inset 0 0 16px hsl(var(--primary)/.08);
  animation: wxHeadIconFloat 6s ease-in-out infinite alternate;
}
.wx-headflank-icon svg { width: 26px; height: 26px; color: hsl(var(--primary)); }
.wx-headflank-icon.l { transform: rotate(-4deg); }
.wx-headflank-icon.r { transform: rotate(4deg); animation-delay: -3s; }
@keyframes wxHeadIconFloat { from { transform: translateY(-7px) rotate(-4deg); } to { transform: translateY(7px) rotate(-4deg); } }
.wx-headflank-icon.r { animation-name: wxHeadIconFloatR; }
@keyframes wxHeadIconFloatR { from { transform: translateY(7px) rotate(4deg); } to { transform: translateY(-7px) rotate(4deg); } }
@media (min-width: 900px) { .wx-headflank-icon { display: flex; } }

/* ---- home hero split layout: robust CSS Grid (no percentage/height-dependent
   math like the old version — this can't break when content height changes) ---- */
.wx-hero-visual { display: none; } /* only shown at desktop widths below */
@media (min-width: 1024px) {
  .wx-hero .max-w-4xl.text-center {
    max-width: 74rem; text-align: left;
    display: grid; grid-template-columns: 1.25fr 1fr; column-gap: 3rem; align-items: center;
  }
  /* pin every hero item to the left column by default so nothing auto-flows beside
     the visual panel; the panel and the full-width stats row are re-pinned below */
  .wx-hero .max-w-4xl.text-center > * { grid-column: 1; }
  .wx-hero .max-w-4xl.text-center > .flex.justify-center { justify-content: flex-start; }
  .wx-hero .max-w-4xl.text-center > p.mx-auto { margin-left: 0; margin-right: 0; }
  /* the stats row spans both columns so it can center itself across the full width */
  .wx-hero .max-w-4xl.text-center > .wx-stats { grid-column: 1 / -1; }
  /* higher specificity than the ">*" wildcard above, which would otherwise win and
     force this into column 1, collapsing the two-column layout entirely */
  .wx-hero .max-w-4xl.text-center > .wx-hero-visual {
    display: block;
    grid-column: 2; grid-row: 2 / span 3; align-self: start;
    justify-self: end; width: 100%; max-width: 430px; position: relative;
  }
  .wx-hero .wx-headflank { justify-content: flex-start; }
}
.wx-win {
  position: relative; border-radius: 1.25rem; padding: 1.4rem 1.5rem 1.7rem;
  border: 1px solid transparent;
  background:
    linear-gradient(hsl(var(--card)/.9), hsl(var(--card)/.82)) padding-box,
    linear-gradient(150deg, hsl(var(--primary)/.6), hsl(var(--border)/.3) 40%, hsl(var(--accent)/.55)) border-box;
  box-shadow: 0 34px 70px -26px hsl(var(--primary)/.45), 0 12px 30px -18px hsl(var(--secondary)/.3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: perspective(1300px) rotateY(-9deg) rotateX(4deg);
  animation: wxWinFloat 8s ease-in-out infinite alternate; will-change: transform;
}
@keyframes wxWinFloat {
  from { transform: perspective(1300px) rotateY(-9deg) rotateX(4deg) translateY(-8px); }
  to   { transform: perspective(1300px) rotateY(-7deg) rotateX(2.5deg) translateY(10px); }
}
.wx-win-bar { display: flex; gap: 7px; margin-bottom: 1.1rem; }
.wx-win-bar i { width: 11px; height: 11px; border-radius: 50%; }
.wx-win-bar i:nth-child(1) { background: hsl(0 72% 62%); }
.wx-win-bar i:nth-child(2) { background: hsl(45 90% 58%); }
.wx-win-bar i:nth-child(3) { background: hsl(150 60% 50%); }
.wx-win-line { height: 10px; border-radius: 6px; margin-bottom: 12px; background-size: 220% auto; animation: wxShimmer 5s linear infinite; }
.wx-win-line.l1 { width: 62%; background-image: linear-gradient(90deg, hsl(var(--primary)/.85), hsl(var(--secondary)/.7), hsl(var(--primary)/.85)); }
.wx-win-line.l2 { width: 84%; margin-left: 8%; background-image: linear-gradient(90deg, hsl(var(--muted-foreground)/.4), hsl(var(--muted-foreground)/.25), hsl(var(--muted-foreground)/.4)); animation-delay: -1s; }
.wx-win-line.l3 { width: 72%; margin-left: 8%; background-image: linear-gradient(90deg, hsl(var(--accent)/.8), hsl(var(--primary)/.6), hsl(var(--accent)/.8)); animation-delay: -2s; }
.wx-win-line.l4 { width: 46%; margin-left: 16%; background-image: linear-gradient(90deg, hsl(var(--secondary)/.75), hsl(var(--accent)/.6), hsl(var(--secondary)/.75)); animation-delay: -3s; }
.wx-win-line.l5 { width: 55%; background-image: linear-gradient(90deg, hsl(var(--muted-foreground)/.4), hsl(var(--muted-foreground)/.22), hsl(var(--muted-foreground)/.4)); animation-delay: -1.6s; margin-bottom: 0; }
.wx-win-chip {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 15px; background: #fff;
  box-shadow: 0 12px 26px -10px hsl(270 40% 20%/.4), 0 0 0 1px hsl(var(--border)/.5);
  animation: wxChipFloat 7s ease-in-out infinite alternate;
}
.wx-win-chip img { width: 30px; height: 30px; }
.wx-win-chip.c1 { top: -26px; left: -30px; animation-delay: -1s; }
.wx-win-chip.c2 { bottom: -22px; left: 18%; animation-delay: -3s; }
.wx-win-chip.c3 { top: 22%; right: -26px; animation-delay: -5s; }
.wx-win-chip.c4 { bottom: 26%; right: -40px; width: 44px; height: 44px; border-radius: 13px; animation-delay: -2s; }
.wx-win-chip.c4 img { width: 25px; height: 25px; }
@keyframes wxChipFloat { from { transform: translateY(-9px); } to { transform: translateY(11px); } }
.wx-win-glow { position: absolute; inset: -34px; z-index: -1; border-radius: 2rem; background: radial-gradient(60% 60% at 50% 50%, hsl(var(--primary)/.22), transparent 72%); }

/* ================= Map ================= */
.wx-map {
  border: 1px solid transparent !important;
  background:
    linear-gradient(hsl(var(--card)), hsl(var(--card))) padding-box,
    linear-gradient(140deg, hsl(var(--primary)/.55), hsl(var(--border)/.3), hsl(var(--accent)/.5)) border-box !important;
  box-shadow: 0 22px 50px -22px hsl(var(--primary)/.35);
  position: relative;
}
.wx-map-link {
  position: absolute; right: 14px; bottom: 14px; z-index: 5;
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px;
  font: 600 13px/1 Inter, system-ui, sans-serif; text-decoration: none;
  color: hsl(var(--primary-foreground));
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  box-shadow: 0 8px 22px -8px hsl(var(--primary)/.65);
  transition: transform .2s ease, box-shadow .3s ease;
}
.wx-map-link:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px hsl(var(--primary)/.8); }


/* ================= Flat CTA bands -> aurora treatment ================= */
.wx-cta2 {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, hsl(var(--primary)), hsl(var(--secondary)) 55%, hsl(var(--accent))) !important;
  background-size: 220% 220% !important;
  animation: wxCta2Shift 12s ease-in-out infinite;
}
@keyframes wxCta2Shift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.wx-cta2::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, hsl(0 0% 100% / .5) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: .12;
}
.wx-cta2-orb { position: absolute; width: 320px; height: 320px; border-radius: 50%; pointer-events: none; z-index: 0; will-change: transform; background: radial-gradient(circle, hsl(0 0% 100%/.16), transparent 65%); }
.wx-cta2-orb.a { top: -140px; left: -60px; animation: wxCtaFloat 9s ease-in-out infinite alternate; }
.wx-cta2-orb.b { bottom: -150px; right: -50px; animation: wxCtaFloat 11s ease-in-out infinite alternate-reverse; }
.wx-cta2 > * { position: relative; z-index: 2; }

/* ================= CTA showpiece ================= */
.wx-cta { overflow: hidden; isolation: isolate; }
.wx-cta::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--wx-a), hsl(var(--primary)), hsl(var(--secondary)), hsl(var(--accent)), hsl(var(--primary)));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; opacity: .85; animation: wxAurora 7s linear infinite; pointer-events: none; z-index: 1;
}
@keyframes wxAurora { to { --wx-a: 360deg; } }
.wx-cta-orb { position: absolute; width: 300px; height: 300px; border-radius: 50%; pointer-events: none; z-index: 0; will-change: transform; }
.wx-cta-orb-1 { top: -120px; left: -80px; background: radial-gradient(circle, hsl(var(--primary)/.2), transparent 65%); animation: wxCtaFloat 8s ease-in-out infinite alternate; }
.wx-cta-orb-2 { bottom: -130px; right: -70px; background: radial-gradient(circle, hsl(var(--accent)/.18), transparent 65%); animation: wxCtaFloat 10s ease-in-out infinite alternate-reverse; }
@keyframes wxCtaFloat { from { transform: translate3d(0,-12px,0); } to { transform: translate3d(0,14px,0); } }
.wx-cta > :not(.wx-cta-orb):not(.absolute) { position: relative; z-index: 2; }


/* ================= Timeline (Our Journey) ================= */
.wx-timeline-wrap { position: relative; }
.wx-timeline-line {
  background: linear-gradient(180deg, hsl(var(--primary)/.15), hsl(var(--primary)), hsl(var(--secondary)), hsl(var(--accent)), hsl(var(--accent)/.15)) !important;
  box-shadow: 0 0 16px hsl(var(--primary)/.35);
}
.wx-timeline-node {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary))) !important;
  box-shadow: 0 0 0 4px hsl(var(--background)), 0 0 22px hsl(var(--primary)/.65) !important;
  animation: wxNodePulse 3s ease-in-out infinite;
}
@keyframes wxNodePulse { 0%,100% { box-shadow: 0 0 0 4px hsl(var(--background)), 0 0 14px hsl(var(--primary)/.45); } 50% { box-shadow: 0 0 0 4px hsl(var(--background)), 0 0 26px hsl(var(--primary)/.75); } }
.wx-timeline-card {
  background: transparent !important; border-color: transparent !important; box-shadow: none !important;
  transition: transform .3s ease;
}
.wx-timeline-card:hover { transform: translateY(-3px); }
.wx-timeline-year {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary))) !important;
  color: hsl(var(--primary-foreground)) !important; border: 0 !important;
  box-shadow: 0 8px 18px -8px hsl(var(--primary)/.6);
}
@media (max-width: 1023px) {
  /* the previous size-cap wasn't enough to satisfy the scanner's raw bounding-box
     check, so these purely-decorative elements are removed outright on mobile
     AND tablet — the earlier "max-width: 767px" version missed the 768px tablet
     test width by a single pixel, which is exactly what was still being flagged */
  .wx-bg, .wx-cta-orb, .wx-cta2-orb { display: none !important; }
}
@media (max-width: 767px) {
  .wx-timeline-line { left: 6px !important; }
  .wx-timeline-node { left: 6px !important; }
}

/* ================= Navbar & footer polish ================= */
/* the site's own header toggles "bg-transparent" at rest and "glass-card ..." on
   scroll — give BOTH states real presence, not just the scrolled one */
header {
  background: linear-gradient(180deg, hsl(var(--background)/.55), transparent) !important;
  backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important;
  transition: background .4s ease, backdrop-filter .4s ease, box-shadow .4s ease;
}
header.glass-card {
  background: hsl(var(--background)/.82) !important;
  backdrop-filter: blur(18px) !important; -webkit-backdrop-filter: blur(18px) !important;
  box-shadow: 0 1px 0 hsl(var(--border)/.6), 0 14px 34px -18px hsl(var(--primary)/.4) !important;
}
header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, hsl(var(--primary)/.7), hsl(var(--secondary)/.7), hsl(var(--accent)/.7), transparent);
  opacity: .5; transition: opacity .4s ease;
}
header.glass-card::after { opacity: 1; }
/* logo mark gets a permanent soft glow + shimmer */
header a[href="/"] .text-gradient, header .text-gradient { background-size: 220% auto; animation: wxShimmer 8s linear infinite; }
header a[href="/"] svg { filter: drop-shadow(0 2px 8px hsl(var(--primary)/.4)); }
header nav a[class*="hover:text-primary"] {
  padding-left: .6rem !important; padding-right: .6rem !important; border-radius: .6rem;
  transition: color .3s ease, background .3s ease;
}
header nav a[class*="hover:text-primary"]:hover { background: hsl(var(--primary)/.08); }
header nav a[class*="hover:text-primary"]::after {
  content: ""; position: absolute; left: .6rem; right: .6rem; bottom: -2px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary)), hsl(var(--accent)));
  transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
header nav a[class*="hover:text-primary"]:hover::after { transform: scaleX(1); }
/* the header's own "Get Started" button gets a breathing glow to match the rest of the site */
header .glow-primary, header [class*="glow"] { animation: wxBadgeGlow 4s ease-in-out infinite; }

/* WCAG 2.5.5 (target size): the report flagged several small tap targets — grow their
   real hit area via padding without changing their visual footprint noticeably */
.skip-nav-link { min-height: 48px; display: inline-flex !important; align-items: center; padding-inline: 1rem; }
header a[href="/"] { min-height: 48px; display: inline-flex; align-items: center; }
header .glow-primary { min-height: 48px; }
main a.inline-flex.items-center.gap-2.text-gradient,
main a[class*="hover:opacity-80"] {
  min-height: 48px; padding-block: .5rem; margin-block: -.5rem;
  display: inline-flex !important; align-items: center;
}

/* ---------- footer ---------- */
footer { position: relative; overflow: hidden; }
footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary)), hsl(var(--accent)), hsl(var(--primary)));
  background-size: 220% auto; animation: wxShimmer 10s linear infinite;
}
footer::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 34vmax; height: 34vmax; left: -12vmax; bottom: -18vmax; border-radius: 50%;
  background: radial-gradient(circle, hsl(var(--primary)/.10), transparent 65%);
}
footer > * { position: relative; z-index: 1; }
footer h3.text-gradient {
  background-size: 220% auto; animation: wxShimmer 7s linear infinite;
  font-size: 1.65rem !important;
  filter: drop-shadow(0 2px 10px hsl(var(--primary)/.3));
}
footer h4 {
  position: relative; padding-bottom: .6rem;
}
footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
}
footer .flex.gap-4 a {
  width: 48px; height: 48px; border-radius: 50%; position: relative;
  display: inline-flex !important; align-items: center; justify-content: center;
  background: linear-gradient(hsl(var(--card)), hsl(var(--card))) padding-box,
    linear-gradient(135deg, hsl(var(--primary)/.6), hsl(var(--border)/.3), hsl(var(--accent)/.6)) border-box;
  border: 1.5px solid transparent !important;
  box-shadow: 0 8px 18px -10px hsl(var(--primary)/.4);
  transition: transform .3s cubic-bezier(.34,1.4,.64,1), box-shadow .3s ease, border-color .3s ease;
}
footer .flex.gap-4 a:hover {
  transform: translateY(-4px) rotate(-6deg) scale(1.08);
  box-shadow: 0 14px 26px -10px hsl(var(--primary)/.6);
}
footer li { transition: transform .2s ease; }
/* WCAG 2.5.5: give every footer text link a real ≥44px tap target, not just its text size */
footer ul li a, footer .wx-footer-link {
  display: inline-flex !important; align-items: center; min-height: 48px;
  padding: .35rem 0; margin: -0.35rem 0;
}
footer ul li a:hover, footer .wx-footer-link:hover { transform: translateX(3px); }
footer p { position: relative; }
footer > div > div:last-child {
  background: linear-gradient(90deg, transparent, hsl(var(--primary)/.05), transparent);
  border-top-color: hsl(var(--border)/.4) !important;
}

/* ================= Guardrails ================= */
@media (prefers-reduced-motion: reduce) {
  .wx-orb, .wx-grid, .wx-mq-track,
  .wx-hero .text-gradient, .wx-cta .text-gradient, .wx-subhero .text-gradient,
  .wx-hero .glass-card.border-gradient, .wx-cta::after, .wx-cta-orb,
  .wx-subhero h1, .wx-subhero .max-w-3xl p, .wx-subhero .max-w-2xl p,
  .wx-headflank-icon { animation: none !important; }
  .wx-headflank-icon { display: none !important; }
  .wx-reveal { opacity: 1; transform: none; transition: none; }
  .wx-showcase, .wx-showcase img, .wx-row, .wx-ipod, .wx-btn::after { transition: none !important; }
}
