/* ==========================================================================
   LEXA MEDIA — Landing styles
   Scoped: every selector starts with .lexa-root (or body.lexa-canvas-body)
   so nothing leaks into, or gets overridden by, the active WordPress theme.
   ========================================================================== */

/* ---------- 0. Tokens + full-bleed root ---------- */
.lexa-root {
  --lexa-bg: #08080a;
  --lexa-bg-2: #0e0e11;
  --lexa-text: #f5f3f2;
  --lexa-muted: #a3a0a1;
  --lexa-dim: #6f6c6d;
  --lexa-line: rgba(255, 255, 255, .08);
  --lexa-line-2: rgba(255, 255, 255, .14);
  --lexa-red: #8b0000;            /* brand red (logo) */
  --lexa-red-2: #c4141c;          /* lifted for dark UI */
  --lexa-red-3: #ff4d52;          /* text-safe accent on dark */
  --lexa-glow: rgba(220, 28, 38, .5);
  --lexa-font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --lexa-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --lexa-pad: clamp(1.25rem, 4vw, 3rem);
  --lexa-max: 1240px;
  --lexa-ease: cubic-bezier(.22, 1, .36, 1);
  --lexa-vw: 100vw;               /* JS sets the scrollbar-free width */
  --lexa-nav-top: 14px;

  position: relative;
  isolation: isolate;
  /* Break out of any theme content wrapper to full width */
  width: var(--lexa-vw) !important;
  max-width: none !important;
  margin-left: calc(50% - var(--lexa-vw) / 2) !important;
  margin-right: calc(50% - var(--lexa-vw) / 2) !important;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  overflow-x: clip;
  background: var(--lexa-bg);
  color: var(--lexa-text);
  font-family: var(--lexa-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Full-canvas page template (plugin method) */
body.lexa-canvas-body { margin: 0; background: #08080a; }
body.lexa-canvas-body:has(.lexa-root--light) { background: #8b0000; } /* overscroll matches the red footer */

/* ---------- 1. Scoped reset (beats typical theme selectors) ---------- */
.lexa-root.lexa-root *,
.lexa-root.lexa-root *::before,
.lexa-root.lexa-root *::after { box-sizing: border-box; }

.lexa-root.lexa-root :where(h1, h2, h3, p, ol, ul, li, figure) {
  margin: 0; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; letter-spacing: inherit; text-transform: none;
}
.lexa-root.lexa-root :where(ol, ul) { list-style: none; }
.lexa-root.lexa-root :where(li)::marker { content: none; }
.lexa-root.lexa-root a,
.lexa-root.lexa-root a:hover,
.lexa-root.lexa-root a:visited {
  color: inherit; text-decoration: none; box-shadow: none; background-image: none;
}
.lexa-root.lexa-root svg { display: block; flex-shrink: 0; }
.lexa-root.lexa-root [hidden] { display: none !important; }
.lexa-root.lexa-root a:focus-visible {
  outline: 2px solid var(--lexa-red-3); outline-offset: 3px;
}
.lexa-root.lexa-root [tabindex="-1"]:focus { outline: none; }
.lexa-root ::selection { background: var(--lexa-red-2); color: #fff; }

.lexa-root .lexa-container {
  width: 100%;
  max-width: var(--lexa-max);
  margin: 0 auto;
  padding: 0 var(--lexa-pad);
}
.lexa-root .lexa-main { display: block; }
.lexa-root .lexa-main > section { scroll-margin-top: 0; }

/* ---------- 2. Floating nav ---------- */
.lexa-root .lexa-nav {
  position: fixed;
  z-index: 50;
  top: var(--lexa-nav-top);
  left: 12px;
  right: 12px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--lexa-line);
  border-radius: 999px;
  background: rgba(14, 14, 17, .42);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: background-color .4s var(--lexa-ease), border-color .4s var(--lexa-ease), box-shadow .4s var(--lexa-ease);
  animation: lexa-nav-in .9s var(--lexa-ease) both;
}
.lexa-root .lexa-nav.is-scrolled {
  background: rgba(10, 10, 12, .8);
  border-color: var(--lexa-line-2);
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .7);
}
/* Use when embedding below a theme header: <div class="lexa-root lexa-root--static-nav"> */
.lexa-root.lexa-root--static-nav .lexa-nav { position: absolute; }

/* WordPress admin bar offset (logged-in users only) */
body.admin-bar .lexa-root { --lexa-nav-top: calc(32px + 14px); }
@media (max-width: 782px) { body.admin-bar .lexa-root { --lexa-nav-top: calc(46px + 12px); } }

.lexa-root a.lexa-brand {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--lexa-font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: .92;
  letter-spacing: -.025em;
  color: var(--lexa-text);
}
.lexa-root .lexa-brand__word:last-child::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--lexa-red-3);
  box-shadow: 0 0 10px var(--lexa-glow);
}

.lexa-root .lexa-nav__links { display: flex; align-items: center; gap: .35rem; }
.lexa-root a.lexa-nav__link {
  display: none;
  padding: .55rem 1rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--lexa-muted);
  border-radius: 999px;
  transition: color .25s, background-color .25s;
}
.lexa-root a.lexa-nav__link:hover { color: var(--lexa-text); background: rgba(255, 255, 255, .05); }
@media (min-width: 560px) { .lexa-root a.lexa-nav__link { display: inline-block; } }

.lexa-root a.lexa-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  height: 42px;
  padding: 0 1.15rem;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, var(--lexa-red-2) 0%, var(--lexa-red) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 110, 110, .35), 0 8px 26px -8px var(--lexa-glow);
  transition: transform .3s var(--lexa-ease), box-shadow .3s var(--lexa-ease);
}
.lexa-root a.lexa-pill:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(255, 140, 140, .5), 0 10px 34px -6px rgba(230, 30, 40, .7);
}
.lexa-root .lexa-pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff;
  animation: lexa-blink 2.4s ease-in-out infinite;
}

/* ---------- 3. Hero ---------- */
.lexa-root .lexa-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 108px var(--lexa-pad) 104px;
  overflow: hidden;
  text-align: center;
  touch-action: pan-y;
}
.lexa-root .lexa-hero::after {             /* fade into next section */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 28%;
  background: linear-gradient(to bottom, transparent, var(--lexa-bg));
  pointer-events: none;
  z-index: 1;
}
.lexa-root .lexa-hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  z-index: 0;
}
.lexa-root .lexa-hero__glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.lexa-root .lexa-hero__glow span {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.lexa-root .lexa-hero__glow span:nth-child(1) {
  width: 70vmax; height: 70vmax;
  left: -25vmax; top: -30vmax;
  background: radial-gradient(circle, rgba(139, 0, 0, .55) 0%, rgba(139, 0, 0, 0) 62%);
  animation: lexa-drift-a 22s ease-in-out infinite alternate;
}
.lexa-root .lexa-hero__glow span:nth-child(2) {
  width: 60vmax; height: 60vmax;
  right: -22vmax; bottom: -28vmax;
  background: radial-gradient(circle, rgba(196, 20, 28, .32) 0%, rgba(196, 20, 28, 0) 62%);
  animation: lexa-drift-b 28s ease-in-out infinite alternate;
}
.lexa-root .lexa-hero__glow span:nth-child(3) {
  width: 46vmax; height: 46vmax;
  left: 50%; top: 50%;
  margin: -23vmax 0 0 -23vmax;
  background: radial-gradient(circle, rgba(255, 60, 66, .12) 0%, rgba(255, 60, 66, 0) 60%);
  animation: lexa-breathe 9s ease-in-out infinite;
}
.lexa-root .lexa-hero__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 15%, transparent 72%);
  animation: lexa-grid-pulse 8s ease-in-out infinite;
}

.lexa-root .lexa-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lexa-root .lexa-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .95rem;
  border: 1px solid var(--lexa-line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lexa-muted);
  white-space: nowrap;
}
.lexa-root .lexa-eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lexa-red-3);
  box-shadow: 0 0 0 0 rgba(255, 77, 82, .6);
  animation: lexa-ping 2.2s ease-out infinite;
}

/* Mega title — stacked on phones (mirrors the logo lockup), one line from 640px */
.lexa-root .lexa-title {
  margin: clamp(1.1rem, 3vw, 2rem) 0 clamp(1.1rem, 2.6vw, 1.75rem);
  font-family: var(--lexa-font-display);
  font-weight: 700;
  font-size: clamp(3.25rem, 25vw, 9rem);
  line-height: .86;
  letter-spacing: -.045em;
  text-transform: uppercase;
  color: var(--lexa-text);
  white-space: nowrap;
}
.lexa-root .lexa-title__word {
  display: block;
  padding: 0 .02em .06em;
  background: linear-gradient(180deg, #ffffff 0%, #ece8e6 52%, #8f8a8b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.lexa-root .lexa-title__word--accent {
  background-image: linear-gradient(180deg, #ff6a6e 0%, #e01c25 42%, #8b0000 100%);
  filter: drop-shadow(0 0 28px rgba(220, 25, 35, .38));
}
@media (min-width: 640px) {
  .lexa-root .lexa-title { font-size: clamp(4.5rem, 14vw, 15rem); }
  .lexa-root .lexa-title__word { display: inline-block; }
}

.lexa-root .lexa-hero__sub {
  max-width: 34rem;
  font-size: clamp(1rem, .92rem + .45vw, 1.25rem);
  line-height: 1.55;
  color: var(--lexa-muted);
  text-wrap: balance;
}
.lexa-root .lexa-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

/* Buttons */
.lexa-root a.lexa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: 0 1.6rem;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform .35s var(--lexa-ease), box-shadow .35s var(--lexa-ease), background-color .35s, border-color .35s, color .35s;
  -webkit-tap-highlight-color: transparent;
}
.lexa-root a.lexa-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #d8161f 0%, var(--lexa-red) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 120, 120, .35), 0 14px 40px -12px var(--lexa-glow);
}
.lexa-root a.lexa-btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(255, 150, 150, .5), 0 18px 50px -10px rgba(235, 35, 45, .75);
}
.lexa-root a.lexa-btn--ghost {
  color: var(--lexa-text);
  background: rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1px var(--lexa-line-2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lexa-root a.lexa-btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
  transform: translateY(-2px);
}
.lexa-root .lexa-btn__icon { width: 18px; height: 18px; transition: transform .35s var(--lexa-ease); }
.lexa-root a.lexa-btn:hover .lexa-btn__icon { transform: translate(2px, -2px); }

@media (max-width: 399px) {
  .lexa-root .lexa-eyebrow { font-size: 10.5px; letter-spacing: .1em; padding: .4rem .8rem; }
}
@media (max-width: 439px) {
  .lexa-root .lexa-hero__ctas { width: 100%; flex-direction: column; align-items: stretch; }
}

/* Scroll cue */
.lexa-root a.lexa-scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 28px;
  width: 24px; height: 38px;
  margin-left: -12px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22);
  animation: lexa-fade-in 1s 1.1s both;
}
.lexa-root .lexa-scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--lexa-red-3);
  animation: lexa-scroll 2s var(--lexa-ease) infinite;
}
@media (max-height: 600px) { .lexa-root a.lexa-scroll { display: none; } }

/* Hero intro — pure CSS so it runs even before JS loads */
.lexa-root .lexa-intro { animation: lexa-rise 1.1s var(--lexa-ease) var(--lexa-d, 0s) both; }

/* ---------- 4. Marquee ---------- */
.lexa-root .lexa-marquee {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 0;
  border-top: 1px solid var(--lexa-line);
  border-bottom: 1px solid var(--lexa-line);
  background: var(--lexa-bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.lexa-root .lexa-marquee__track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
  animation: lexa-marquee 42s linear infinite;
}
.lexa-root .lexa-marquee span {
  font-family: var(--lexa-font-display);
  font-weight: 500;
  font-size: clamp(1rem, .9rem + .6vw, 1.4rem);
  letter-spacing: -.01em;
  color: #c9c5c6;
  white-space: nowrap;
}
.lexa-root .lexa-marquee i { font-style: normal; font-size: .8rem; color: var(--lexa-red-3); }
.lexa-root .lexa-marquee:hover .lexa-marquee__track { animation-play-state: paused; }

/* ---------- 5. Services ---------- */
.lexa-root .lexa-services { position: relative; padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem); }

.lexa-root .lexa-section-head {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}
@media (min-width: 900px) {
  .lexa-root .lexa-section-head { grid-template-columns: 1.7fr 1fr; gap: 3rem; }
}
.lexa-root .lexa-kicker {
  margin-bottom: 1.1rem;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lexa-red-3);
}
.lexa-root .lexa-h2 {
  font-family: var(--lexa-font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 1.4rem + 4vw, 4.75rem);
  line-height: .98;
  letter-spacing: -.04em;
  color: var(--lexa-text);
}
.lexa-root .lexa-h2 span { color: var(--lexa-dim); }
.lexa-root .lexa-lead {
  max-width: 30rem;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.6;
  color: var(--lexa-muted);
}

.lexa-root .lexa-services__list {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid var(--lexa-line);
  counter-reset: none;
}
.lexa-root .lexa-service {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  column-gap: .75rem;
  row-gap: .75rem;
  padding: clamp(1.6rem, 3.4vw, 2.5rem) 0;
  border-bottom: 1px solid var(--lexa-line);
}
.lexa-root .lexa-service::before {          /* hover wash */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 140% at 0% 50%, rgba(196, 20, 28, .12), transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--lexa-ease);
  pointer-events: none;
}
.lexa-root .lexa-service::after {           /* glowing underline */
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--lexa-red-3), rgba(255, 77, 82, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--lexa-ease);
}
.lexa-root .lexa-service__num {
  grid-column: 1;
  grid-row: 1;
  padding-top: .55em;
  font-family: var(--lexa-font-display);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--lexa-dim);
  transition: color .4s;
}
.lexa-root .lexa-service__title {
  grid-column: 2;
  font-family: var(--lexa-font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--lexa-text);
  text-wrap: balance;
  padding-right: 3.5rem;            /* room for the arrow on mobile */
  transition: transform .6s var(--lexa-ease);
}
.lexa-root .lexa-service__desc {
  grid-column: 2;
  max-width: 34rem;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--lexa-muted);
}
.lexa-root .lexa-service__tags {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.lexa-root .lexa-service__tags li {
  padding: .32rem .75rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--lexa-line-2);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #cdc9ca;
}
/* The whole row is a tap target; the arrow is the visible affordance */
.lexa-root a.lexa-service__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: clamp(1.6rem, 3.4vw, 2.5rem);
}
.lexa-root a.lexa-service__link svg {
  width: 44px; height: 44px;
  padding: 12px;
  border-radius: 50%;
  color: var(--lexa-text);
  box-shadow: inset 0 0 0 1px var(--lexa-line-2);
  transition: transform .5s var(--lexa-ease), background-color .4s, box-shadow .4s, color .4s;
}
.lexa-root a.lexa-service__link:focus-visible { outline-offset: -2px; border-radius: 4px; }

@media (min-width: 900px) {
  .lexa-root .lexa-service {
    grid-template-columns: 4.5rem minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: 2rem;
    padding-right: 5.5rem;
    align-items: start;
  }
  .lexa-root .lexa-service__title { grid-column: 2; grid-row: 1 / span 2; padding-right: 0; }
  .lexa-root .lexa-service__desc { grid-column: 3; grid-row: 1; }
  .lexa-root .lexa-service__tags { grid-column: 3; grid-row: 2; }
  .lexa-root a.lexa-service__link { align-items: center; }
  .lexa-root a.lexa-service__link svg { width: 52px; height: 52px; padding: 15px; }
}

@media (hover: hover) {
  .lexa-root .lexa-service:hover::before { opacity: 1; }
  .lexa-root .lexa-service:hover::after { transform: scaleX(1); }
  .lexa-root .lexa-service:hover .lexa-service__num { color: var(--lexa-red-3); }
  .lexa-root .lexa-service:hover .lexa-service__title { transform: translateX(8px); }
  .lexa-root .lexa-service:hover a.lexa-service__link svg {
    color: #fff;
    background: var(--lexa-red-2);
    box-shadow: inset 0 0 0 1px rgba(255, 120, 120, .4), 0 0 30px -4px var(--lexa-glow);
    transform: rotate(45deg);
  }
}
.lexa-root .lexa-service:active::before { opacity: 1; }

/* ---------- 6. Contact ---------- */
.lexa-root .lexa-contact {
  position: relative;
  overflow: hidden;
  padding-top: clamp(5.5rem, 13vw, 10rem);
  border-top: 1px solid var(--lexa-line);
}
.lexa-root .lexa-contact__glow {
  position: absolute;
  left: 50%;
  bottom: -40vmax;
  width: 110vmax; height: 80vmax;
  margin-left: -55vmax;
  background: radial-gradient(ellipse at center, rgba(139, 0, 0, .5) 0%, rgba(139, 0, 0, .12) 38%, transparent 64%);
  pointer-events: none;
  z-index: -1;
  animation: lexa-breathe 10s ease-in-out infinite;
}
.lexa-root .lexa-cta-title {
  font-family: var(--lexa-font-display);
  font-weight: 700;
  font-size: clamp(3rem, 1.2rem + 9vw, 10rem);
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--lexa-text);
}
.lexa-root .lexa-cta-title em {
  font-style: normal;
  background: linear-gradient(180deg, #ff6a6e 0%, #e01c25 45%, #8b0000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding-right: .04em;
}
.lexa-root .lexa-contact__lead { margin-top: clamp(1.25rem, 3vw, 2rem); }
.lexa-root .lexa-enquiry {
  display: inline-block;
  margin-top: 1.25rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  background: rgba(196, 20, 28, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 77, 82, .35);
  font-size: 13px;
  color: #ffb3b5;
}
.lexa-root a.lexa-mail {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  max-width: 100%;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: .35em;
  border-bottom: 1px solid var(--lexa-line-2);
  font-family: var(--lexa-font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, .9rem + 2.4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--lexa-text);
  transition: color .3s, border-color .3s;
}
.lexa-root a.lexa-mail span { overflow-wrap: anywhere; min-width: 0; }
.lexa-root a.lexa-mail--phone { display: flex; width: fit-content; margin-top: 1rem; }
.lexa-root a.lexa-mail:not(.lexa-mail--phone) { display: flex; width: fit-content; }
.lexa-root a.lexa-mail svg { width: .9em; height: .9em; transition: transform .4s var(--lexa-ease); }
.lexa-root a.lexa-mail:hover { color: var(--lexa-red-3); border-color: var(--lexa-red-3); }
.lexa-root a.lexa-mail:hover svg { transform: translate(3px, -3px); }

.lexa-root .lexa-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}
@media (max-width: 439px) {
  .lexa-root .lexa-contact__actions > a { flex: 1 1 100%; }
}

/* ---------- 7. Footer ---------- */
.lexa-root .lexa-footer {
  position: relative;
  margin-top: clamp(5rem, 11vw, 8.5rem);
  border-top: 1px solid var(--lexa-line);
}
.lexa-root .lexa-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  font-size: 13.5px;
  color: var(--lexa-dim);
}
.lexa-root .lexa-social { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.lexa-root .lexa-social a,
.lexa-root a.lexa-footer__top { color: var(--lexa-muted); transition: color .25s; }
.lexa-root .lexa-social a:hover,
.lexa-root a.lexa-footer__top:hover { color: var(--lexa-text); }
.lexa-root .lexa-social a::after { content: " ↗"; color: var(--lexa-red-3); }

.lexa-root .lexa-footer__mega {
  font-family: var(--lexa-font-display);
  font-weight: 800;
  font-size: 16.5vw;
  line-height: .78;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: rgba(255, 255, 255, .035);
  margin-bottom: -.1em;
  user-select: none;
  pointer-events: none;
}

/* ---------- 8. Scroll reveal (only when JS is running) ---------- */
.lexa-root.lexa-js [data-lexa-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .9s var(--lexa-ease), transform .9s var(--lexa-ease);
  transition-delay: var(--lexa-d, 0s);
}
.lexa-root.lexa-js [data-lexa-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 9. Keyframes ---------- */
@keyframes lexa-rise { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes lexa-nav-in { from { opacity: 0; transform: translate3d(0, -16px, 0); } to { opacity: 1; transform: none; } }
@keyframes lexa-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lexa-drift-a { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(12vmax, 10vmax, 0) scale(1.15); } }
@keyframes lexa-drift-b { 0% { transform: translate3d(0, 0, 0) scale(1.1); } 100% { transform: translate3d(-14vmax, -8vmax, 0) scale(.95); } }
@keyframes lexa-breathe { 0%, 100% { opacity: .65; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes lexa-grid-pulse { 0%, 100% { opacity: .45; } 50% { opacity: .8; } }
@keyframes lexa-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes lexa-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 82, .6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(255, 77, 82, 0); } }
@keyframes lexa-scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes lexa-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ==========================================================================
   9b. LIGHT THEME — logo colours (#F9F9F9 background, #8B0000 text)
   On by default. Remove "lexa-root--light" from the root div for the dark theme.
   ========================================================================== */
.lexa-root.lexa-root--light {
  --lexa-bg: #f9f9f9;
  --lexa-bg-2: #f1efee;
  --lexa-text: #8b0000;           /* headings + wordmark = logo red */
  --lexa-ink: #2b2425;            /* body copy */
  --lexa-muted: #5f5658;
  --lexa-dim: #a59c9e;
  --lexa-line: rgba(90, 20, 20, .10);
  --lexa-line-2: rgba(90, 20, 20, .18);
  --lexa-red-3: #8b0000;
  --lexa-glow: rgba(139, 0, 0, .28);
  /* canvas mesh colours (read by lexa.js) */
  --lexa-mesh-accent: 139,0,0;
  --lexa-mesh-base: 120,96,98;
  --lexa-mesh-dot: 139,0,0;
  --lexa-mesh-hot: .2;
  --lexa-mesh-cold: .09;
  --lexa-mesh-dot-a: .4;
  color: var(--lexa-ink);
}
.lexa-root--light ::selection { background: #8b0000; color: #f9f9f9; }

/* Nav */
.lexa-root.lexa-root--light .lexa-nav {
  background: rgba(249, 249, 249, .72);
  border-color: var(--lexa-line);
}
.lexa-root.lexa-root--light .lexa-nav.is-scrolled {
  background: rgba(249, 249, 249, .92);
  box-shadow: 0 10px 34px -16px rgba(80, 10, 10, .25);
}
.lexa-root.lexa-root--light a.lexa-nav__link:hover { color: #8b0000; background: rgba(139, 0, 0, .06); }
.lexa-root.lexa-root--light .lexa-brand__word:last-child::after { box-shadow: none; }
.lexa-root.lexa-root--light a.lexa-pill,
.lexa-root.lexa-root--light a.lexa-btn--primary {
  color: #f9f9f9;
  background: #8b0000;
  box-shadow: 0 10px 28px -12px rgba(139, 0, 0, .55);
}
.lexa-root.lexa-root--light a.lexa-pill:hover,
.lexa-root.lexa-root--light a.lexa-btn--primary:hover {
  color: #fff;
  background: #a00a0a;
  box-shadow: 0 16px 36px -12px rgba(139, 0, 0, .6);
}
.lexa-root.lexa-root--light .lexa-pill__dot { background: #f9f9f9; }

/* Hero background */
.lexa-root.lexa-root--light .lexa-hero__glow span:nth-child(1) { background: radial-gradient(circle, rgba(139, 0, 0, .11) 0%, rgba(139, 0, 0, 0) 62%); }
.lexa-root.lexa-root--light .lexa-hero__glow span:nth-child(2) { background: radial-gradient(circle, rgba(139, 0, 0, .08) 0%, rgba(139, 0, 0, 0) 62%); }
.lexa-root.lexa-root--light .lexa-hero__glow span:nth-child(3) { background: radial-gradient(circle, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 60%); }
.lexa-root.lexa-root--light .lexa-hero__grid {
  background-image:
    linear-gradient(rgba(139, 0, 0, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 0, 0, .07) 1px, transparent 1px);
}
.lexa-root.lexa-root--light .lexa-eyebrow { background: rgba(255, 255, 255, .7); color: var(--lexa-muted); }

/* Hero title — solid logo red, mixed case like the logo */
.lexa-root.lexa-root--light .lexa-title {
  text-transform: none;
  letter-spacing: -.055em;
  line-height: .88;
}
.lexa-root.lexa-root--light .lexa-title__word,
.lexa-root.lexa-root--light .lexa-title__word--accent {
  background: none;
  -webkit-text-fill-color: #8b0000;
  color: #8b0000;
  filter: none;
  padding-bottom: .1em;
}
.lexa-root.lexa-root--light .lexa-hero__sub { color: var(--lexa-muted); }
.lexa-root.lexa-root--light a.lexa-btn--ghost {
  color: #8b0000;
  background: rgba(255, 255, 255, .75);
  box-shadow: inset 0 0 0 1px var(--lexa-line-2);
}
.lexa-root.lexa-root--light a.lexa-btn--ghost:hover {
  color: #8b0000;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(139, 0, 0, .45);
}
.lexa-root.lexa-root--light a.lexa-scroll { box-shadow: inset 0 0 0 1.5px rgba(139, 0, 0, .3); }

/* Marquee — solid red band */
.lexa-root.lexa-root--light .lexa-marquee {
  background: #8b0000;
  border-color: #8b0000;
  -webkit-mask-image: none;
  mask-image: none;
}
.lexa-root.lexa-root--light .lexa-marquee span { color: #f9f9f9; }
.lexa-root.lexa-root--light .lexa-marquee i { color: rgba(249, 249, 249, .55); }

/* Services */
.lexa-root.lexa-root--light .lexa-service::before { background: radial-gradient(120% 140% at 0% 50%, rgba(139, 0, 0, .06), transparent 60%); }
.lexa-root.lexa-root--light .lexa-service::after { background: linear-gradient(90deg, #8b0000, rgba(139, 0, 0, 0)); }
.lexa-root.lexa-root--light .lexa-service__tags li { color: var(--lexa-muted); background: #fff; }
.lexa-root.lexa-root--light a.lexa-service__link svg { color: #8b0000; background: #fff; }
@media (hover: hover) {
  .lexa-root.lexa-root--light .lexa-service:hover a.lexa-service__link svg {
    color: #f9f9f9;
    background: #8b0000;
    box-shadow: 0 10px 26px -10px rgba(139, 0, 0, .6);
  }
}

/* Contact — inverted: full logo-red block, off-white type */
.lexa-root.lexa-root--light .lexa-contact {
  background: #8b0000;
  color: #f9f9f9;
  border-top: 0;
}
.lexa-root.lexa-root--light .lexa-contact ::selection { background: #f9f9f9; color: #8b0000; }
.lexa-root.lexa-root--light .lexa-contact__glow {
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .03) 40%, transparent 65%);
}
.lexa-root.lexa-root--light .lexa-contact .lexa-kicker { color: rgba(249, 249, 249, .7); }
.lexa-root.lexa-root--light .lexa-cta-title { color: #f9f9f9; }
.lexa-root.lexa-root--light .lexa-cta-title em {
  background: none;
  /* Clean outline. A plain text-stroke would also trace the overlapping contours
     inside variable-font glyphs. Instead a double-width stroke sits BEHIND a copy
     filled with the section red: the red covers the inner half of the stroke
     (and every inner overlap line), leaving only a crisp outer outline. */
  --lexa-outline: clamp(1.5px, .22vw, 3px);
  position: relative;
  z-index: 0;
  display: inline-block;
  isolation: isolate;
  -webkit-text-fill-color: #8b0000;
  color: #8b0000;
}
.lexa-root.lexa-root--light .lexa-cta-title em::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  padding: inherit;
  white-space: nowrap;
  -webkit-text-fill-color: #f9f9f9;
  color: #f9f9f9;
  -webkit-text-stroke: calc(var(--lexa-outline) * 2) #f9f9f9;
  pointer-events: none;
}
.lexa-root.lexa-root--light .lexa-contact .lexa-lead { color: rgba(249, 249, 249, .82); }
.lexa-root.lexa-root--light .lexa-enquiry { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: #fff; }
.lexa-root.lexa-root--light a.lexa-mail { color: #f9f9f9; border-color: rgba(249, 249, 249, .35); }
.lexa-root.lexa-root--light a.lexa-mail:hover { color: #fff; border-color: #fff; }
.lexa-root.lexa-root--light .lexa-contact a.lexa-btn--primary {
  color: #8b0000;
  background: #f9f9f9;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45);
}
.lexa-root.lexa-root--light .lexa-contact a.lexa-btn--primary:hover { color: #8b0000; background: #fff; }
.lexa-root.lexa-root--light .lexa-contact a.lexa-btn--ghost {
  color: #f9f9f9;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(249, 249, 249, .45);
}
.lexa-root.lexa-root--light .lexa-contact a.lexa-btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px #fff; }
.lexa-root.lexa-root--light .lexa-contact a:focus-visible { outline-color: #f9f9f9; }
.lexa-root.lexa-root--light .lexa-footer { border-top-color: rgba(249, 249, 249, .2); }
.lexa-root.lexa-root--light .lexa-footer__row { color: rgba(249, 249, 249, .65); }
.lexa-root.lexa-root--light .lexa-social a,
.lexa-root.lexa-root--light a.lexa-footer__top { color: rgba(249, 249, 249, .88); }
.lexa-root.lexa-root--light .lexa-social a:hover,
.lexa-root.lexa-root--light a.lexa-footer__top:hover { color: #fff; }
.lexa-root.lexa-root--light .lexa-social a::after { color: rgba(249, 249, 249, .6); }
.lexa-root.lexa-root--light .lexa-footer__mega {
  text-transform: none;
  color: rgba(255, 255, 255, .07);
}

/* ---------- 10. Reduced motion: everything static ---------- */
@media (prefers-reduced-motion: reduce) {
  .lexa-root *,
  .lexa-root *::before,
  .lexa-root *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .lexa-root .lexa-marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 1rem; }
  .lexa-root .lexa-marquee__track > :nth-child(n+15) { display: none; }
  .lexa-root.lexa-js [data-lexa-reveal] { opacity: 1; transform: none; }
}
