/* lx-company-sections.css
   /company/ only (selectors scoped to .lxa):
   1) Mission block restyled 1:1 like homepage #home-quote
      (no card/border, centered quote, orbs + rings + mark).
      Wording of the quote and accent line is unchanged; no photo/name.
   2) Team block: drop the card fill and border; keep layout/spacing.
      Heading is split by lx-company-sections.js.
   3) Legal links under the CTA: left edge aligns with the CTA heading,
      using the same --lxa-cta-pad-x as the card padding.

   Homepage and other pages are untouched.
*/

/* ===== Mission: homepage .home-quote tokens and decoration ===== */
.lxa section.lxa-mission {
  --quote-stroke: #ffb4002e;
  --quote-ring: #1a1a1a14;
  --quote-ring-2: #ffb4001f;
  --quote-glow: #ffb4001f;
  isolation: isolate;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
html.dark .lxa section.lxa-mission {
  --quote-stroke: #ffb4001f;
  --quote-ring: #ffffff0a;
  --quote-ring-2: #ffb40012;
  --quote-glow: #ffb4001a;
}
html.dark .lxa-mission-fx {
  --quote-stroke: #ffb4001f;
  --quote-ring: #ffffff0a;
  --quote-ring-2: #ffb40012;
  --quote-glow: #ffb4001a;
}

.lxa-mission .container {
  z-index: 1;
  position: relative;
}

.lxa .lxa-mission__card {
  text-align: center;
  flex-direction: column;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  display: flex;
  position: relative;
}
.lxa .lxa-mission__card:before {
  content: none !important;
}
.lxa-mission .lxa-kicker {
  display: none !important;
}
.lxa .lxa-mission__quote {
  color: var(--color-text, var(--lxa-text));
  letter-spacing: 0;
  quotes: none;
  text-wrap: balance;
  border: 0 !important;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  position: relative;
}
.lxa .lxa-mission__quote:before,
.lxa .lxa-mission__quote:after {
  content: none !important;
}
/* Accent line sits where the CEO name sits on the homepage quote. */
.lxa .lxa-mission__sign {
  color: var(--color-text, var(--lxa-text));
  flex-direction: column;
  gap: 6px;
  margin-top: 32px;
  font-size: 18px;
  font-weight: 500;
  display: flex;
}

.lxa-mission-fx {
  --quote-stroke: #ffb4002e;
  --quote-ring: #1a1a1a14;
  --quote-ring-2: #ffb4001f;
  --quote-glow: #ffb4001f;
  z-index: 0;
  pointer-events: none;
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#0000, #000 18% 82%, #0000), linear-gradient(90deg, #0000, #000 8% 92%, #0000);
  mask-image: linear-gradient(#0000, #000 18% 82%, #0000), linear-gradient(90deg, #0000, #000 8% 92%, #0000);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.lxa-mission-fx:before {
  content: "";
  background: radial-gradient(closest-side, var(--quote-glow), #ffb4000a 55%, transparent 75%);
  width: 1100px;
  height: 640px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.lxa-mission-fx .lxa-mission__orb {
  --quote-a: 0deg;
  opacity: .7;
  will-change: transform;
  transform: rotate(var(--quote-a)) translateY(-120px) rotate(calc(-1 * var(--quote-a)));
  border-radius: 50%;
  position: absolute;
}
.lxa-mission-fx .lxa-mission__orb:before {
  content: "";
  background: radial-gradient(circle closest-side, var(--orb-color) 0, var(--orb-color) calc(100% - 80px), transparent calc(100% - 79px));
  filter: blur(70px);
  border-radius: 50%;
  position: absolute;
  inset: -80px;
}
.lxa-mission-fx .lxa-mission__orb--a {
  --orb-color: #ffb40038;
  width: 380px;
  height: 380px;
  animation: 18s linear infinite lxa-mission-orbit, 14s ease-in-out infinite lxa-mission-hue-a;
  top: 18%;
  left: 8%;
}
.lxa-mission-fx .lxa-mission__orb--b {
  --orb-color: #ff8c0029;
  width: 300px;
  height: 300px;
  animation: 22s linear infinite reverse lxa-mission-orbit, 16s ease-in-out infinite lxa-mission-hue-b;
  top: 40%;
  right: 10%;
}
.lxa-mission-fx .lxa-mission__orb--c {
  --orb-color: #788caa24;
  width: 240px;
  height: 240px;
  animation: 26s linear infinite lxa-mission-orbit;
  bottom: 4%;
  left: 46%;
}
.lxa-mission-fx .lxa-mission__mark {
  color: #0000;
  -webkit-text-stroke: 1px var(--quote-stroke);
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 640px;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -38%);
}
.lxa-mission-fx .lxa-mission__ring {
  width: 760px;
  height: 760px;
  box-shadow: inset 0 0 0 1px var(--quote-ring);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.lxa-mission-fx .lxa-mission__ring:after {
  content: "";
  box-shadow: inset 0 0 0 1px var(--quote-ring-2);
  border-radius: 50%;
  position: absolute;
  inset: 120px;
}

@keyframes lxa-mission-orbit {
  0% { --quote-a: 0deg; }
  to { --quote-a: 360deg; }
}
@keyframes lxa-mission-hue-a {
  0%, to { --orb-color: #ffb4003d; }
  33%    { --orb-color: #286eff3d; }
  66%    { --orb-color: #8ce62838; }
}
@keyframes lxa-mission-hue-b {
  0%, to { --orb-color: #8ce62833; }
  33%    { --orb-color: #ffb40038; }
  66%    { --orb-color: #286eff3d; }
}

@media (width <= 991px) {
  .lxa .lxa-mission__quote { font-size: 32px; }
}
@media (width <= 767px) {
  .lxa section.lxa-mission { padding: 64px 0; }
  .lxa .lxa-mission__quote { font-size: 24px; }
  .lxa-mission-fx .lxa-mission__mark { font-size: 360px; }
  .lxa-mission-fx .lxa-mission__ring { width: 460px; height: 460px; }
  .lxa-mission-fx .lxa-mission__ring:after { inset: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .lxa-mission-fx .lxa-mission__orb {
    animation: none;
    transform: none;
  }
}

/* ===== Team: no card chrome, keep padding/grid ===== */
.lxa .lxa-team {
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* ===== CTA legal links: same inner padding as the card ===== */
.lxa .lxa-section:has(> .container > .lxa-cta) {
  --lxa-cta-pad-x: 56px;
}
.lxa .lxa-cta {
  padding-left: var(--lxa-cta-pad-x, 56px);
  padding-right: var(--lxa-cta-pad-x, 56px);
}
.lxa .lxa-legal {
  padding-left: var(--lxa-cta-pad-x, 56px);
  box-sizing: border-box;
}
@media (width <= 767px) {
  .lxa .lxa-section:has(> .container > .lxa-cta) {
    --lxa-cta-pad-x: 22px;
  }
}
