/* =============================================================================
   Landing "plus": the theme widgets, the modern header/footer base and the
   motion layer. Loaded on every public page after landing.css.

   Built on landing.css's tokens (--lp-*), so on the Classic design every
   widget here simply wears the site's own palette; a theme sheet
   (assets/css/themes/<name>.css) re-points the tokens and refines the look.

   Conventions:
     lpx-*  widgets and shared motion utilities
     thx-*  theme header / footer / drawer chrome
   Logical properties throughout -- Arabic and Kurdish are right-to-left.
   Every animation stops under prefers-reduced-motion and under the Design
   tab's "No animation" (body.lp-motion--none).
   ========================================================================== */

/* ---------- Tokens added by this layer ------------------------------------ */

.lp-body {
  --lpx-radius-xl: 24px;
  --lpx-accent-2: var(--lp-accent-hover);
  --lpx-grad: linear-gradient(120deg, var(--lp-accent), var(--lpx-accent-2));
  --lpx-title: var(--lp-ink);
  --lpx-text: var(--lp-muted);
  --lpx-eyebrow: var(--lp-accent-ink);
}

/* Own page colours (builder Design tab, ThemeStyle adds the class). The theme
   sheets point --lp-canvas / --lp-ink at the two picked colours; the shades
   in between were tuned by hand for the theme's own pair, so they are
   re-derived from the new pair instead of keeping the old palette's tints.
   Two classes, so this outranks the theme's single-class palette block. */
.lp-themed.thm-own-colors {
  --lp-sand:       color-mix(in srgb, var(--lp-canvas) 95%, var(--lp-ink));
  --lp-sand-deep:  color-mix(in srgb, var(--lp-canvas) 91%, var(--lp-ink));
  --lp-line:       color-mix(in srgb, var(--lp-canvas) 87%, var(--lp-ink));
  --lp-line-soft:  color-mix(in srgb, var(--lp-canvas) 93%, var(--lp-ink));
  --lp-ink-soft:   color-mix(in srgb, var(--lp-ink) 80%, var(--lp-canvas));
  --lp-muted:      color-mix(in srgb, var(--lp-ink) 60%, var(--lp-canvas));
  --lp-faint:      color-mix(in srgb, var(--lp-ink) 42%, var(--lp-canvas));
}

/* Section text on dark backdrops: the same three classes landing.css uses. */
.lp-band--dark,
.lp-band--deepest,
.lp-band--on-light {
  --lpx-title: var(--lp-on-dark);
  --lpx-text: var(--lp-on-dark-muted);
  --lpx-eyebrow: var(--lp-accent);
  --lpx-tab-on: var(--lp-deepest);
  --lpx-card-bg: color-mix(in srgb, var(--lp-on-dark) 6%, transparent);
}

/* ---------- Utilities ------------------------------------------------------ */

.lpx-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[dir="rtl"] .thx-flip { transform: scaleX(-1); }

.lpx-em { font-style: normal; color: var(--lp-accent-ink); }
.lp-band--dark .lpx-em,
.lp-band--deepest .lpx-em,
.lp-band--on-light .lpx-em { color: var(--lp-accent); }

.lpx-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--lpx-eyebrow);
}
[dir="rtl"] .lpx-eyebrow { letter-spacing: 0; font-size: 13.5px; }
.lpx-eyebrow__dot {
  flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lp-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lp-accent) 22%, transparent);
  animation: lpx-pulse 2.6s ease-in-out infinite;
}
.lpx-eyebrow--light { --lpx-eyebrow: color-mix(in srgb, var(--lp-accent) 65%, #fff); }

@keyframes lpx-pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--lp-accent) 22%, transparent); }
  50%      { box-shadow: 0 0 0 7px color-mix(in srgb, var(--lp-accent) 8%, transparent); }
}

/* Section head used by the theme widgets: eyebrow, title, subtitle, link. */
.lpx-head {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap;
  gap: 20px 32px; margin-block-end: clamp(28px, 3.6vw, 48px);
}
.lpx-head .lp-section__title { margin-block-start: 12px; color: var(--lpx-title); }
.lpx-head .lp-section__subtitle { color: var(--lpx-text); }
.lpx-head--center { justify-content: center; text-align: center; }
.lpx-head--center .lp-section__subtitle { margin-inline: auto; }
.lpx-head__link { flex: none; }

.lpx-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px;
  font-size: 13px; font-weight: 500; line-height: 1.1;
  background: color-mix(in srgb, currentColor 7%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.lpx-chip strong { font-weight: 800; font-variant-numeric: tabular-nums; }
.lpx-chip svg { color: var(--lp-accent); }

/* ---------- Word-by-word reveal (data-lpx-split) --------------------------
   The text is complete without JavaScript; landing-plus.js wraps each word
   and adds .is-split, and only then are the words hidden until .is-in. */
.lpx-split.is-split .lpx-w {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding-block: .1em .14em; margin-block: -.1em -.14em;
  /* Room for ink that leaves its letter's slot sideways -- e.g. the tail of
     a word-final ر / ز in Madani Arabic -- with no change to the spacing. */
  padding-inline: .1em; margin-inline: -.1em;
}
.lpx-split.is-split .lpx-w__i {
  display: inline-block;
  transform: translate3d(0, 112%, 0) rotate(3deg);
  transform-origin: 0 100%;
  transition: transform 1.05s var(--lp-ease-out);
  transition-delay: calc(var(--wi, 0) * 55ms + var(--lpx-split-delay, 80ms));
}
.lpx-split.is-split.is-in .lpx-w__i { transform: none; }

/* ---------- Buttons -------------------------------------------------------- */

.thx-btn {
  --thx-btn-bg: var(--lp-ink);
  --thx-btn-fg: #fff;
  --thx-btn-fill: rgba(255, 255, 255, .16);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border: 1px solid transparent;
  border-radius: var(--thx-btn-radius, 999px);
  background: var(--thx-btn-bg); color: var(--thx-btn-fg);
  font: inherit; font-size: 14px; font-weight: 600; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .35s var(--lp-ease),
              background-color .25s var(--lp-ease), color .25s var(--lp-ease), border-color .25s var(--lp-ease);
}
.thx-btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--thx-btn-fill);
  transform: translate3d(0, 101%, 0);
  transition: transform .5s var(--lp-ease-out);
}
.thx-btn:hover::before, .thx-btn:focus-visible::before { transform: none; }
.thx-btn:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; }
.thx-btn > * { position: relative; }
.thx-btn svg { transition: transform .4s var(--lp-ease-out); }
.thx-btn:hover svg:last-child { transform: translateX(3px); }
[dir="rtl"] .thx-btn:hover svg.thx-flip:last-child { transform: scaleX(-1) translateX(3px); }

.thx-btn--lg { padding: 18px 30px; font-size: 15px; }
.thx-btn--block { display: flex; width: 100%; }
.thx-btn--accent {
  --thx-btn-bg: var(--lp-accent);
  --thx-btn-fg: var(--lp-on-accent);
  --thx-btn-fill: color-mix(in srgb, #fff 22%, transparent);
  box-shadow: 0 12px 30px -14px color-mix(in srgb, var(--lp-accent) 80%, transparent);
}
.thx-btn--accent:hover { box-shadow: 0 20px 44px -16px color-mix(in srgb, var(--lp-accent) 90%, transparent); }
.thx-btn--solid {
  --thx-btn-bg: var(--lp-header-fg, var(--lp-ink));
  --thx-btn-fg: var(--lp-header-bg, #fff);
  --thx-btn-fill: color-mix(in srgb, var(--lp-accent) 70%, transparent);
}
.thx-btn--ghost {
  --thx-btn-bg: transparent;
  --thx-btn-fg: currentColor;
  --thx-btn-fill: color-mix(in srgb, currentColor 10%, transparent);
  border-color: color-mix(in srgb, currentColor 30%, transparent);
}
.thx-btn--glass {
  --thx-btn-bg: rgba(255, 255, 255, .08);
  --thx-btn-fg: #fff;
  --thx-btn-fill: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px);
}

/* ---------- Scroll progress ------------------------------------------------ */

.thx-progress {
  position: fixed; z-index: 300; inset-block-start: 0; inset-inline: 0;
  height: 3px; pointer-events: none;
}
.thx-progress span {
  display: block; height: 100%;
  background: var(--lpx-grad);
  transform: scaleX(var(--p, 0)); transform-origin: left center;
}
[dir="rtl"] .thx-progress span { transform-origin: right center; }

/* ---------- Modern header: shared base ------------------------------------
   Layout and look per design live in themes/obsidian.css and
   themes/aurora.css; this is what both share. */

.thx-hdr {
  --thx-bar-h: 76px;
  position: relative; z-index: 80;
  color: var(--lp-header-fg, var(--lp-ink));
  transition: transform .55s var(--lp-ease-out), background-color .4s var(--lp-ease),
              box-shadow .4s var(--lp-ease), border-color .4s var(--lp-ease);
}
.thx-hdr.is-sticky { position: sticky; inset-block-start: 0; }
.thx-hdr.is-overlay { position: fixed; inset-block-start: 0; inset-inline: 0; }
.thx-hdr.is-hidden { transform: translate3d(0, -110%, 0); }

.thx-nav { display: flex; align-items: center; gap: 2px; }
.thx-nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border: 0; background: none;
  font: inherit; font-size: 14px; font-weight: 500; line-height: 1;
  color: inherit; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.thx-nav__chev { transition: transform .35s var(--lp-ease-out); }
.thx-nav__mega[aria-expanded="true"] .thx-nav__chev { transform: rotate(180deg); }

.thx-kicker {
  display: block; margin: 0;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  opacity: .58;
}
[dir="rtl"] .thx-kicker { letter-spacing: 0; font-size: 12.5px; }

.thx-hdr__logo { display: block; height: var(--lp-logo-h, 30px); width: auto; transition: height .4s var(--lp-ease-out); }
.thx-hdr__brand { display: flex; align-items: center; }

/* The mega panel is [hidden] while closed; landing-plus.js unhides it and
   adds .is-open on the next frame so it can animate in. */
.thx-mega[hidden] { display: none; }

/* Rotating announcement line. */
.thx-announce {
  overflow: hidden; max-height: 40px;
  transition: max-height .45s var(--lp-ease-out), opacity .3s;
}
.thx-hdr.is-scrolled .thx-announce { max-height: 0; opacity: 0; }
.thx-announce__list {
  display: grid; margin: 0 auto; padding-block: 0; list-style: none;
  height: 36px; align-items: center;
}
.thx-announce__item {
  grid-area: 1 / 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12.5px; text-align: center;
  opacity: 0; transform: translateY(100%);
  transition: opacity .5s var(--lp-ease), transform .7s var(--lp-ease-out);
}
.thx-announce__item.is-active { opacity: 1; transform: none; }
.thx-announce__item.is-leaving { opacity: 0; transform: translateY(-100%); }
.thx-announce__item a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.thx-announce__item a:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* Burger: two lines that cross when open. */
.thx-burger {
  display: none; position: relative; flex: none;
  width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
  background: color-mix(in srgb, currentColor 8%, transparent); color: inherit; cursor: pointer;
}
.thx-burger span {
  position: absolute; inset-inline-start: 12px; width: 18px; height: 1.6px; border-radius: 2px;
  background: currentColor; transition: transform .35s var(--lp-ease-out), top .35s var(--lp-ease-out);
}
.thx-burger span:first-child { top: 16px; }
.thx-burger span:last-child { top: 24px; width: 12px; }
.thx-burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.thx-burger[aria-expanded="true"] span:last-child { top: 20px; width: 18px; transform: rotate(-45deg); }

/* ---------- Mobile drawer (both designs) ---------------------------------- */

.thx-drawer { position: fixed; inset: 0; z-index: 260; }
.thx-drawer[hidden] { display: none; }
.thx-drawer__backdrop {
  position: absolute; inset: 0; background: rgba(8, 8, 12, .5);
  backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s var(--lp-ease);
}
.thx-drawer.is-open .thx-drawer__backdrop { opacity: 1; }
.thx-drawer__panel {
  position: absolute; inset-block: 0; inset-inline-start: 0;
  display: flex; flex-direction: column; width: min(420px, 88vw);
  background: var(--thx-drawer-bg, #fff); color: var(--thx-drawer-fg, var(--lp-ink));
  transform: translate3d(-100%, 0, 0);
  transition: transform .55s var(--lp-ease-out);
  box-shadow: 0 0 60px rgba(0, 0, 0, .25);
}
[dir="rtl"] .thx-drawer__panel { transform: translate3d(100%, 0, 0); }
.thx-drawer.is-open .thx-drawer__panel { transform: none; }

.thx-drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-block-end: 1px solid var(--thx-drawer-line, var(--lp-line));
}
.thx-drawer__brand img { display: block; height: 28px; width: auto; }
.thx-drawer__close {
  display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: color-mix(in srgb, currentColor 7%, transparent); color: inherit; cursor: pointer;
}
.thx-drawer__nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 20px 20px; }
.thx-drawer.is-open .thx-drawer__nav > * { animation: thx-in .55s var(--lp-ease-out) both; }
.thx-drawer.is-open .thx-drawer__nav > :nth-child(2) { animation-delay: 60ms; }
.thx-drawer.is-open .thx-drawer__nav > :nth-child(3) { animation-delay: 110ms; }
.thx-drawer.is-open .thx-drawer__nav > :nth-child(4) { animation-delay: 160ms; }
.thx-drawer.is-open .thx-drawer__nav > :nth-child(n + 5) { animation-delay: 210ms; }

.thx-acc { border-block-end: 1px solid var(--thx-drawer-line, var(--lp-line)); }
.thx-acc__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 0; list-style: none; cursor: pointer;
  font-size: 17px; font-weight: 600;
}
.thx-acc__head::-webkit-details-marker { display: none; }
.thx-acc__chev { transition: transform .35s var(--lp-ease-out); opacity: .6; }
.thx-acc[open] .thx-acc__chev { transform: rotate(180deg); }
.thx-acc__body { display: grid; gap: 2px; margin: 0; padding: 0 0 14px; list-style: none; }
.thx-acc__body a {
  display: flex; align-items: center; gap: 12px; padding: 8px 0;
  color: inherit; text-decoration: none; font-size: 15px;
}
.thx-drawer__ico {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; overflow: hidden;
  border-radius: 10px; background: var(--lp-sand); color: var(--lp-ink);
  font-weight: 700; font-size: 14px;
}
.thx-drawer__ico img { width: 72%; height: 72%; object-fit: contain; }
.thx-drawer__subs { margin: 0 0 6px; padding-inline-start: 48px; list-style: none; }
.thx-drawer__subs a { padding: 5px 0; font-size: 14px; opacity: .7; }
.thx-drawer__all { font-weight: 600; color: var(--lp-accent-ink) !important; }
.thx-drawer__links { margin: 10px 0 0; padding: 0; list-style: none; }
.thx-drawer__links--lead { margin-block-start: 0; }
.thx-drawer__links a {
  display: block; padding: 14px 0; border-block-end: 1px solid var(--thx-drawer-line, var(--lp-line));
  color: inherit; text-decoration: none; font-size: 17px; font-weight: 600;
}
.thx-drawer__foot {
  display: grid; gap: 10px; padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
  border-block-start: 1px solid var(--thx-drawer-line, var(--lp-line));
}
.thx-drawer__langs { display: flex; gap: 6px; }
.thx-drawer__langs a {
  flex: 1; padding: 10px 6px; border-radius: 10px; text-align: center;
  border: 1px solid var(--thx-drawer-line, var(--lp-line));
  color: inherit; text-decoration: none; font-size: 13px; font-weight: 600;
}
.thx-drawer__langs a.is-active { background: var(--thx-drawer-fg, var(--lp-ink)); color: var(--thx-drawer-bg, #fff); border-color: transparent; }

body.thx-locked { overflow: hidden; }

@keyframes thx-in {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Footer: shared pieces ------------------------------------------ */

.thx-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.thx-social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent); color: inherit;
  transition: background-color .25s, color .25s, border-color .25s, transform .35s var(--lp-ease-out);
}
.thx-social a:hover {
  background: var(--lp-accent); border-color: var(--lp-accent); color: var(--lp-on-accent);
  transform: translateY(-3px) rotate(-6deg);
}

.thx-top {
  position: relative; display: grid; place-items: center; flex: none;
  width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: inherit; cursor: pointer;
  transition: transform .4s var(--lp-ease-out);
}
.thx-top:hover { transform: translateY(-3px); }
.thx-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.thx-top__ring circle { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .22; }
.thx-top__ring .thx-top__bar {
  opacity: 1; stroke: var(--lp-accent); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
}

/* ---------- Hero (hero_motion) --------------------------------------------- */

.lpx-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  color: var(--lp-ink);
}
.lpx-hero--h-screen { min-height: 100vh; min-height: 100svh; }
.lpx-hero--h-large  { min-height: min(88vh, 880px); }
.lpx-hero--h-medium { min-height: min(68vh, 640px); }

.lpx-hero__inner {
  position: relative; z-index: 2; width: 100%;
  padding-block: clamp(72px, 10vh, 120px);
}
/* Under a header that floats over the first section: clear it. */
.thx-has-overlay .lp-blocks > .lp-widget:first-child .lpx-hero__inner {
  padding-block-start: clamp(150px, 19vh, 210px);
}
/* A banner first under a floating header keeps its copy below the bar. */
.thx-has-overlay .lp-blocks > .lp-widget--banner:first-child .lp-banner__content { padding-block-start: 140px; }
.lpx-hero__title {
  margin: 20px 0 0;
  font-family: var(--lp-display); font-weight: 600;
  font-size: clamp(42px, 7vw, 104px); line-height: .98; letter-spacing: -.035em;
  color: inherit; text-wrap: balance;
}
[dir="rtl"] .lpx-hero__title { line-height: 1.28; letter-spacing: 0; }
.lpx-hero__body {
  margin: 24px 0 0; max-width: 54ch;
  font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; opacity: .82;
}
.lpx-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 36px; }
.lpx-hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0 0; padding: 0; list-style: none; }

/* cinematic */
.lpx-hero--cinematic { align-items: flex-end; background: #0B0A09; color: #fff; }
.lpx-hero--cinematic .lpx-hero__copy { max-width: 880px; }
.lpx-hero--cinematic .lpx-eyebrow { --lpx-eyebrow: color-mix(in srgb, var(--lp-accent) 60%, #fff); }
.lpx-hero--cinematic .lpx-em { color: var(--lp-accent); }
.lpx-hero--align-center.lpx-hero--cinematic { align-items: center; text-align: center; }
.lpx-hero--align-center .lpx-hero__copy { margin-inline: auto; }
.lpx-hero--align-center .lpx-hero__body { margin-inline: auto; }
.lpx-hero--align-center .lpx-hero__actions,
.lpx-hero--align-center .lpx-hero__badges { justify-content: center; }

.lpx-hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.lpx-hero__mediain { position: absolute; inset: -10% 0; will-change: transform; }
.lpx-hero__mediain picture { display: block; width: 100%; height: 100%; }
.lpx-hero__img, .lpx-hero__video {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.lpx-hero--cinematic .lpx-hero__img,
.lpx-hero--cinematic .lpx-hero__video { animation: lpx-kenburns 16s var(--lp-ease-out) both; }
@keyframes lpx-kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }

.lpx-hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, calc(var(--lpx-overlay, .5) * .55)) 0%,
      rgba(0, 0, 0, calc(var(--lpx-overlay, .5) * .2)) 38%,
      rgba(0, 0, 0, calc(var(--lpx-overlay, .5) + .3)) 100%);
}
.lpx-hero__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(0, 0, 0, .55) 100%);
}
/* No picture yet (an "empty slots" install): a lit dark stage instead. */
.lpx-hero--cinematic:not(.has-media) .lpx-hero__media {
  background:
    radial-gradient(60% 70% at 78% 18%, color-mix(in srgb, var(--lp-accent) 38%, transparent), transparent 62%),
    radial-gradient(50% 60% at 10% 90%, color-mix(in srgb, var(--lp-accent) 18%, transparent), transparent 70%),
    #0B0A09;
}
.lpx-hero--cinematic .lpx-chip {
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px) saturate(1.3);
}

.lpx-hero__cue {
  position: absolute; z-index: 3; inset-block-end: 26px; inset-inline-start: 50%;
  width: 1px; height: 56px; overflow: hidden;
  background: color-mix(in srgb, currentColor 25%, transparent);
  transform: translateX(-50%);
}
[dir="rtl"] .lpx-hero__cue { transform: translateX(50%); }
.lpx-hero__cue span {
  position: absolute; inset-inline: 0; height: 40%; background: currentColor;
  animation: lpx-cue 2.2s var(--lp-ease-out) infinite;
}
@keyframes lpx-cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* split */
.lpx-hero--split { background: var(--lp-canvas); }
.lpx-hero__wash {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(45% 55% at 82% 30%, color-mix(in srgb, var(--lp-accent) 20%, transparent), transparent 70%),
    radial-gradient(35% 45% at 10% 85%, color-mix(in srgb, var(--lpx-accent-2) 14%, transparent), transparent 70%);
}
.lpx-hero--split .lpx-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 88px); align-items: center;
}
.lpx-hero--split .lpx-hero__title { font-size: clamp(40px, 5.6vw, 86px); }
.lpx-hero__collage { position: relative; aspect-ratio: 4 / 5; max-height: 76vh; }
.lpx-hero__frame {
  position: absolute; overflow: hidden;
  border-radius: var(--lpx-radius-xl); background: var(--lp-sand);
  box-shadow: var(--lp-shadow-lg);
}
.lpx-hero__frame picture, .lpx-hero__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lpx-hero__frame--main { inset: 0 10% 12% 8%; }
.lpx-hero__frame--1 { width: 40%; aspect-ratio: 3 / 4; inset-block-end: 0; inset-inline-start: 0; }
.lpx-hero__frame--2 { width: 34%; aspect-ratio: 1; inset-block-start: 6%; inset-inline-end: 0; }
.lpx-hero__placeholder {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--lp-sand), color-mix(in srgb, var(--lp-accent) 20%, var(--lp-sand)));
}
.lpx-hero__tag {
  position: absolute; inset-block-end: 12px; inset-inline-start: 12px;
  display: grid; gap: 2px; padding: 9px 13px; border-radius: 12px;
  background: rgba(255, 255, 255, .92); color: var(--lp-ink);
  font-size: 13px; font-weight: 700; backdrop-filter: blur(8px);
}
.lpx-hero__tag small { font-size: 11px; font-weight: 500; color: var(--lp-muted); }

.lpx-stamp {
  position: absolute; z-index: 3; inset-block-end: 14%; inset-inline-end: 4%;
  display: grid; place-items: center; width: clamp(104px, 10vw, 140px); aspect-ratio: 1;
  border-radius: 50%; background: var(--lp-ink); color: #fff;
  box-shadow: var(--lp-shadow-lg);
}
.lpx-stamp svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: lpx-spin 18s linear infinite; }
.lpx-stamp text { fill: currentColor; font-size: 15px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.lpx-stamp__core {
  display: grid; place-items: center; width: 44%; aspect-ratio: 1; border-radius: 50%;
  background: var(--lp-accent); color: var(--lp-on-accent);
}
@keyframes lpx-spin { to { transform: rotate(360deg); } }

/* floating */
.lpx-hero--floating { justify-content: center; text-align: center; background: var(--lp-canvas); }
.lpx-hero--floating .lpx-hero__copy { position: relative; z-index: 3; max-width: 860px; margin-inline: auto; }
.lpx-hero--floating .lpx-hero__body { margin-inline: auto; }
.lpx-hero--floating .lpx-hero__actions,
.lpx-hero--floating .lpx-hero__badges { justify-content: center; }
.lpx-hero--floating .lpx-hero__title { font-size: clamp(42px, 6.6vw, 96px); }

/* Section background picked in the builder (any .lp-band): it shows through
   the split and floating heroes instead of the page colour they paint, and
   their text follows the section's text colour. The cinematic hero keeps its
   photo/video as its background. */
.lp-band .lpx-hero--split,
.lp-band .lpx-hero--floating { background: transparent; color: inherit; }

.lpx-aurora { position: absolute; inset: -25% -15%; z-index: 0; filter: blur(70px); opacity: .55; pointer-events: none; }
.lpx-aurora span {
  position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%;
  animation: lpx-drift 18s ease-in-out infinite alternate;
}
.lpx-aurora span:nth-child(1) { inset-block-start: 8%; inset-inline-start: 10%; background: var(--lp-accent); }
.lpx-aurora span:nth-child(2) { inset-block-start: 20%; inset-inline-end: 6%; background: var(--lpx-accent-2); animation-duration: 22s; animation-delay: -6s; }
.lpx-aurora span:nth-child(3) {
  inset-block-end: 0; inset-inline-start: 34%; width: 38%;
  background: color-mix(in srgb, var(--lp-accent) 40%, #ff7ab8); animation-duration: 26s; animation-delay: -12s;
}
@keyframes lpx-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(8%, -6%, 0) scale(1.12); }
  100% { transform: translate3d(-6%, 8%, 0) scale(.94); }
}
.lpx-hero__dots {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--lp-ink) 16%, transparent) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}

.lpx-floats { position: absolute; inset: 0; z-index: 1; pointer-events: none; --mx: 0; --my: 0; }
.lpx-float {
  --d: 18;
  position: absolute; width: clamp(118px, 12.5vw, 196px);
  transform: translate3d(calc(var(--mx) * var(--d) * 1px), calc(var(--my) * var(--d) * 1px), 0);
  transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}
.lpx-float__card {
  padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, .86);
  box-shadow: 0 30px 60px -24px rgba(30, 24, 80, .35), 0 0 0 1px rgba(255, 255, 255, .7) inset;
  backdrop-filter: blur(10px);
  rotate: var(--r, 0deg);
  animation: lpx-bob 7s ease-in-out infinite;
  animation-delay: calc(var(--i) * -1.3s);
}
.lpx-float__card img, .lpx-float__empty {
  display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 17px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--lp-accent) 25%, #fff), color-mix(in srgb, var(--lpx-accent-2) 25%, #fff));
}
.lpx-float__label {
  display: flex; justify-content: space-between; align-items: center; gap: 6px;
  padding: 9px 6px 3px; font-size: 13px; font-weight: 700; color: var(--lp-ink); text-align: start;
}
.lpx-float__label small {
  padding: 3px 7px; border-radius: 999px; font-size: 10px; font-weight: 700;
  background: color-mix(in srgb, var(--lp-accent) 12%, #fff); color: var(--lp-accent-ink);
}
.lpx-float--1 { inset-block-start: 15%; inset-inline-start: 4%;  --r: -8deg; --d: 26; }
.lpx-float--2 { inset-block-start: 12%; inset-inline-end: 5%;   --r: 7deg;  --d: -22; }
.lpx-float--3 { inset-block-end: 12%;   inset-inline-start: 9%; --r: 5deg;  --d: 34; }
.lpx-float--4 { inset-block-end: 9%;    inset-inline-end: 10%;  --r: -6deg; --d: -30; }
.lpx-float--5 { inset-block-start: 46%; inset-inline-start: -1%; --r: 10deg; --d: 16; width: clamp(96px, 9vw, 140px); }
.lpx-float--6 { inset-block-start: 50%; inset-inline-end: -1%;  --r: -9deg; --d: -18; width: clamp(96px, 9vw, 140px); }
@keyframes lpx-bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -14px, 0); }
}

@media (max-width: 1180px) {
  .lpx-float--5, .lpx-float--6 { display: none; }
  .lpx-float { width: clamp(104px, 13vw, 150px); }
}
@media (max-width: 860px) {
  .lpx-hero--split .lpx-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .lpx-hero__collage { aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; }
  .lpx-hero--floating { flex-direction: column; }
  .lpx-hero--floating .lpx-hero__inner { padding-block-end: 24px; }
  .lpx-floats {
    position: relative; inset: auto; z-index: 2; width: 100%;
    display: flex; gap: 12px; padding: 8px var(--lp-gutter) 56px;
    overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory;
  }
  .lpx-floats::-webkit-scrollbar { display: none; }
  .lpx-float, .lpx-float--5, .lpx-float--6 {
    position: relative; inset: auto; display: block; flex: none; width: 150px;
    transform: none; scroll-snap-align: center;
  }
  .lpx-float__card { rotate: none; animation: none; }
}

/* ---------- Bento ---------------------------------------------------------- */

.lpx-bento__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: var(--lpx-bento-row, 240px); grid-auto-flow: dense;
  gap: var(--lpx-gap, 16px); margin: 0; padding: 0; list-style: none;
}
.lpx-bento--gap-small { --lpx-gap: 10px; }
.lpx-bento--gap-large { --lpx-gap: 24px; }
.lpx-bento__cell { min-width: 0; }
.lpx-bento__cell--wide  { grid-column: span 2; }
.lpx-bento__cell--tall  { grid-row: span 2; }
.lpx-bento__cell--large { grid-column: span 2; grid-row: span 2; }

.lpx-tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; height: 100%;
  border-radius: var(--lpx-radius-xl);
  background: var(--lp-panel); color: #fff; text-decoration: none;
  transition: transform .6s var(--lp-ease-out), box-shadow .5s var(--lp-ease);
}
a.lpx-tile:hover { box-shadow: var(--lp-shadow-lg); }
.lpx-tile__img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--lp-ease-out);
}
a.lpx-tile:hover .lpx-tile__img { transform: scale(1.07); }
.lpx-tile__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .74) 100%);
}
.lpx-tile__spot {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), transparent 60%);
  transition: opacity .4s var(--lp-ease);
}
[data-lpx-spot]:hover > .lpx-tile__spot { opacity: 1; }
.lpx-tile__body {
  position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px;
  margin-block-start: auto; padding: clamp(18px, 2vw, 28px); max-width: 520px;
}
.lpx-tile__title {
  font-family: var(--lp-display); font-weight: 600;
  font-size: clamp(19px, 1.8vw, 26px); line-height: 1.12; letter-spacing: -.02em;
}
.lpx-bento__cell--large .lpx-tile__title { font-size: clamp(26px, 3vw, 44px); }
.lpx-tile__text { font-size: 14px; line-height: 1.5; opacity: .82; }
.lpx-tile__cta {
  display: inline-flex; align-items: center; gap: 6px; margin-block-start: 8px;
  font-size: 13px; font-weight: 700;
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--lp-ease), transform .5s var(--lp-ease-out);
}
a.lpx-tile:hover .lpx-tile__cta, a.lpx-tile:focus-visible .lpx-tile__cta { opacity: 1; transform: none; }
.lpx-tile__arrow {
  position: absolute; z-index: 1; inset-block-start: 16px; inset-inline-end: 16px;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px);
  opacity: 0; transform: scale(.7) rotate(-45deg);
  transition: opacity .35s var(--lp-ease), transform .5s var(--lp-ease-out);
}
div.lpx-tile .lpx-tile__arrow { display: none; }
a.lpx-tile:hover .lpx-tile__arrow { opacity: 1; transform: none; }
a.lpx-tile:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; }
@media (hover: none) {
  .lpx-tile__cta { opacity: 1; transform: none; }
}

.lpx-tile--accent { background: var(--lp-accent); color: var(--lp-on-accent); }
.lpx-tile--accent .lpx-tile__arrow { background: color-mix(in srgb, var(--lp-on-accent) 14%, transparent); }
.lpx-tile--dark {
  background:
    radial-gradient(80% 90% at 100% 0%, color-mix(in srgb, var(--lp-accent) 35%, transparent), transparent 60%),
    var(--lp-panel);
}
.lpx-tile--light { background: var(--lp-sand); color: var(--lp-ink); }
.lpx-tile--light .lpx-tile__arrow { background: color-mix(in srgb, var(--lp-ink) 8%, transparent); }
.lpx-tile--light .lpx-tile__spot { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--lp-accent) 20%, transparent), transparent 60%); }

@media (max-width: 980px) {
  .lpx-bento__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: calc(var(--lpx-bento-row, 240px) * .82); }
}
@media (max-width: 520px) {
  .lpx-bento__grid { grid-auto-rows: calc(var(--lpx-bento-row, 240px) * .7); gap: 10px; }
  .lpx-bento__cell--tall { grid-row: span 1; }
  .lpx-bento__cell--large { grid-row: span 2; }
  .lpx-tile__text { display: none; }
  .lpx-bento__cell--large .lpx-tile__text, .lpx-bento__cell--wide .lpx-tile__text { display: block; }
}

/* ---------- Kinetic text (text_marquee) ------------------------------------ */

.lpx-marquee { --lpx-mq-size: clamp(40px, 6.5vw, 92px); position: relative; overflow: hidden; padding-block: clamp(10px, 1.6vw, 22px); }
.lp-widget:not(.lp-band) > .lp-band__content > .lpx-marquee { color: var(--lp-ink); }
.lpx-marquee--medium { --lpx-mq-size: clamp(28px, 4vw, 52px); }
.lpx-marquee--xl     { --lpx-mq-size: clamp(56px, 10vw, 156px); }
.lpx-marquee.is-tilted { transform: rotate(-2.2deg); margin-inline: -3%; }
[dir="rtl"] .lpx-marquee.is-tilted { transform: rotate(2.2deg); }

.lpx-marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.lpx-marquee__track {
  display: flex; width: max-content;
  transform: skewX(var(--lpx-skew, 0deg));
  animation: lpx-marquee var(--lpx-marquee-speed, 40s) linear infinite;
  will-change: transform;
}
.lpx-marquee.is-reverse .lpx-marquee__track { animation-direction: reverse; }
@keyframes lpx-marquee { to { translate: calc(-100% / var(--lpx-marquee-copies, 2)) 0; } }
.lpx-marquee__group { display: flex; flex: none; align-items: center; }
.lpx-marquee__item {
  padding-inline: .32em; white-space: nowrap;
  font-family: var(--lp-display); font-weight: 700; font-size: var(--lpx-mq-size);
  line-height: 1.08; letter-spacing: -.03em;
}
.lpx-marquee__sep { padding-inline: .45em; font-size: calc(var(--lpx-mq-size) * .4); color: var(--lp-accent); line-height: 1; }

.lpx-marquee--outline .lpx-marquee__item,
.lpx-marquee--mixed .lpx-marquee__item.is-alt {
  color: transparent; -webkit-text-stroke: max(1px, .02em) currentColor;
}
.lpx-marquee--gradient .lpx-marquee__item {
  background: var(--lpx-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Scroll story ---------------------------------------------------- */

.lpx-story__layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 104px); align-items: start;
}
.lpx-story__media { position: sticky; inset-block-start: 110px; }
.lpx-story__frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-height: 76vh;
  border-radius: var(--lpx-radius-xl); background: var(--lp-panel);
  box-shadow: var(--lp-shadow-lg);
}
.lpx-story__shot {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.1);
  transition: opacity .9s var(--lp-ease), transform 1.4s var(--lp-ease-out);
}
.lpx-story__shot.is-active { opacity: 1; transform: none; }
.lpx-story__shot img { width: 100%; height: 100%; object-fit: cover; }
.lpx-story__count {
  position: absolute; inset-block-end: 18px; inset-inline-start: 18px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); color: #fff; backdrop-filter: blur(8px);
  font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .08em;
}
.lpx-story__count b { color: var(--lp-accent); }

.lpx-story__stepswrap { position: relative; padding-inline-start: 40px; }
.lpx-story__rail {
  position: absolute; inset-block: 12vh; inset-inline-start: 6px; width: 2px;
  background: color-mix(in srgb, var(--lpx-title) 14%, transparent); border-radius: 2px;
}
.lpx-story__rail span {
  position: absolute; inset-inline: 0; inset-block-start: 0; height: var(--fill, 0%);
  background: var(--lpx-grad); border-radius: inherit;
  transition: height .5s var(--lp-ease-out);
}
.lpx-story__steps { margin: 0; padding: 0; list-style: none; }
.lpx-story__step {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  min-height: 62vh; opacity: .28; transition: opacity .6s var(--lp-ease);
}
.lpx-story__step.is-active { opacity: 1; }
.lpx-story__num { font-family: var(--lp-display); font-size: 14px; font-weight: 700; letter-spacing: .2em; color: var(--lp-accent); }
.lpx-story__title {
  margin: 8px 0 6px; font-family: var(--lp-display); font-weight: 600;
  font-size: clamp(26px, 3vw, 46px); line-height: 1.08; letter-spacing: -.025em; color: var(--lpx-title);
}
.lpx-story__text { margin: 0 0 14px; max-width: 46ch; font-size: 16.5px; line-height: 1.65; color: var(--lpx-text); }
.lpx-story__inline { display: none; }
.lpx-story .lp-link { align-self: flex-start; }

@media (max-width: 860px) {
  .lpx-story__layout { grid-template-columns: minmax(0, 1fr); }
  .lpx-story__media, .lpx-story__rail { display: none; }
  .lpx-story__stepswrap { padding-inline-start: 0; }
  .lpx-story__step { min-height: 0; opacity: 1; padding-block: 18px; }
  .lpx-story__inline {
    display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
    border-radius: var(--lpx-radius-xl); margin-block-end: 14px;
  }
}

/* Numbered cards */
.lpx-steps-wrap { position: relative; }
.lpx-steps {
  position: relative; display: grid; grid-template-columns: repeat(var(--lpx-steps, 4), minmax(0, 1fr));
  gap: 20px; margin: 0; padding: 0; list-style: none;
}
.lpx-steps__line {
  position: absolute; z-index: 0; inset-inline: 10%; inset-block-start: 45px; height: 2px;
  background: color-mix(in srgb, var(--lpx-title) 12%, transparent);
}
.lpx-steps__line span {
  display: block; height: 100%; background: var(--lpx-grad);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.6s var(--lp-ease-out) .2s;
}
[dir="rtl"] .lpx-steps__line span { transform-origin: right center; }
.lpx-steps-wrap.is-in .lpx-steps__line span { transform: scaleX(1); }
.lpx-steps__card {
  position: relative; isolation: isolate; overflow: hidden; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 28px; border-radius: var(--lpx-radius-xl);
  background: var(--lpx-card-bg, #fff); color: var(--lpx-title);
  box-shadow: var(--lp-shadow-sm);
  transition: opacity var(--lp-slow) var(--lp-ease-out) var(--lp-delay, 0ms),
              transform var(--lp-slow) var(--lp-ease-out) var(--lp-delay, 0ms),
              translate .5s var(--lp-ease-out), box-shadow .5s var(--lp-ease);
}
.lpx-steps__card:hover { translate: 0 -6px; box-shadow: var(--lp-shadow-lg); }
.lpx-steps__card .lpx-tile__spot {
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--lp-accent) 14%, transparent), transparent 60%);
}
.lpx-steps__num {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--lpx-grad); color: var(--lp-on-accent);
  font-weight: 800; font-size: 15px;
  box-shadow: 0 0 0 6px var(--lpx-card-bg, #fff);
}
.lpx-steps__title {
  position: relative; z-index: 1; margin: 20px 0 8px;
  font-family: var(--lp-display); font-weight: 700; font-size: 20px; letter-spacing: -.015em;
}
.lpx-steps__text { position: relative; z-index: 1; margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--lpx-text); }
.lpx-steps__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; margin-block-start: 16px; }
.lpx-steps__card .lp-link { position: relative; z-index: 1; margin-block-start: auto; }
@media (max-width: 980px) {
  .lpx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lpx-steps__line { display: none; }
}
@media (max-width: 560px) {
  .lpx-steps { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Product tabs ----------------------------------------------------- */

.lpx-tabs { container-type: inline-size; }
.lpx-tabs__bar {
  position: relative; display: inline-flex; flex: none; gap: 2px; max-width: 100%;
  padding: 5px; border-radius: 999px; overflow-x: auto; scrollbar-width: none;
  background: color-mix(in srgb, var(--lpx-title) 6%, transparent);
}
.lpx-tabs__bar::-webkit-scrollbar { display: none; }
.lpx-tabs__pill {
  position: absolute; z-index: 0; inset-block: 5px; left: 0; width: 0;
  border-radius: 999px; background: var(--lpx-title);
  transition: left .5s var(--lp-ease-out), width .5s var(--lp-ease-out);
}
.lpx-tabs__tab {
  position: relative; z-index: 1; padding: 11px 18px; border: 0; border-radius: 999px;
  background: none; font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap;
  color: var(--lpx-text); cursor: pointer; transition: color .3s var(--lp-ease);
}
.lpx-tabs__tab:hover { color: var(--lpx-title); }
.lpx-tabs__tab.is-active { color: var(--lpx-tab-on, var(--lp-canvas)); }
.lpx-tabs__tab:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 2px; }
/* Before the script measures the pill (or without it), the active tab paints itself. */
.lpx-tabs:not(.is-ready) .lpx-tabs__tab.is-active { background: var(--lpx-title); }
.lpx-tabs__panel[hidden] { display: none; }
.lpx-tabs__panel.is-entering { animation: thx-in .55s var(--lp-ease-out) both; }
.lpx-tabs__more { display: flex; justify-content: center; margin-block-start: 34px; color: var(--lpx-title); }

/* ---------- Call to action (cta_band) -----------------------------------------
   Deliberately still and flat: one solid colour, or a photo under an even
   wash. No pointer light, grid, moving gradient or blurred colour blobs, and
   the buttons only change colour on hover. A colour the admin picked arrives
   as an inline background; on a light one, .lpx-cta--on-light (set by
   CtaBandWidget) turns the text dark. */

.lpx-cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(56px, 8vw, 128px) clamp(24px, 6vw, 96px);
  background: #0D0C0B; color: #fff;
}
.lpx-cta.is-boxed { border-radius: calc(var(--lpx-radius-xl) + 6px); }
.lpx-cta--center { text-align: center; }
.lpx-cta--center .lpx-cta__inner { max-width: 900px; margin-inline: auto; }
.lpx-cta--center .lpx-cta__text { margin-inline: auto; }
.lpx-cta--center .lpx-cta__actions,
.lpx-cta--center .lpx-cta__points { justify-content: center; }

.lpx-cta--image { background: #000; }
.lpx-cta__media { position: absolute; inset: 0; z-index: -1; }
.lpx-cta__media picture, .lpx-cta__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lpx-cta__media::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }

.lpx-cta__title {
  margin: 18px 0 0; font-family: var(--lp-display); font-weight: 600;
  font-size: clamp(34px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -.03em; color: inherit;
  text-wrap: balance;
}
[dir="rtl"] .lpx-cta__title { line-height: 1.3; letter-spacing: 0; }
.lpx-cta .lpx-em { color: var(--lp-accent); }
.lpx-cta__text { margin: 22px 0 0; max-width: 58ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; opacity: .82; }
.lpx-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 38px; }
.lpx-cta__points {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 34px 0 0; padding: 0; list-style: none;
  font-size: 14px; opacity: .88;
}
.lpx-cta__points li { display: inline-flex; align-items: center; gap: 8px; }
.lpx-cta__points svg { color: var(--lp-accent); }

/* Buttons: no sliding fill, coloured glow or arrow nudge -- hover is a plain
   colour change. The secondary button is the outline (ghost) one, which
   follows the text colour on dark and light panels alike. */
.lpx-cta .thx-btn {
  box-shadow: none;
  transition: background-color .2s var(--lp-ease), color .2s var(--lp-ease), border-color .2s var(--lp-ease);
}
.lpx-cta .thx-btn::before { content: none; }
.lpx-cta .thx-btn:hover svg:last-child { transform: none; }
[dir="rtl"] .lpx-cta .thx-btn:hover svg.thx-flip:last-child { transform: scaleX(-1); }
.lpx-cta .thx-btn--accent:hover {
  background: color-mix(in srgb, var(--lp-accent) 86%, #000);
  box-shadow: none;
}
.lpx-cta .thx-btn--ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }

/* A light panel colour: dark text throughout. */
.lpx-cta--on-light { color: var(--lp-ink); }
.lpx-cta--on-light .lpx-eyebrow { --lpx-eyebrow: var(--lp-accent-ink); }
.lpx-cta--on-light .lpx-em,
.lpx-cta--on-light .lpx-cta__points svg { color: var(--lp-accent-ink); }

/* ---------- Magnetic buttons --------------------------------------------------- */

.lpx-magnetic { will-change: transform; }

/* ---------- Motion levels --------------------------------------------------------
   "Subtle": entrances only -- no parallax, tilt, magnetism, drifting light or
   endless loops. "None": nothing moves at all. The JavaScript reads the same
   body classes and skips the pointer and scroll effects. */

.lp-motion--subtle .lpx-hero__img,
.lp-motion--subtle .lpx-hero__video,
.lp-motion--subtle .lpx-aurora span,
.lp-motion--subtle .lpx-float__card,
.lp-motion--subtle .lpx-stamp svg,
.lp-motion--subtle .thx-ftr__glow { animation: none; }

.lp-motion--none *,
.lp-motion--none *::before,
.lp-motion--none *::after { animation: none !important; transition: none !important; }
.lp-motion--none .lp-reveal,
.lp-motion--none .lp-rise { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .lpx-hero__img, .lpx-hero__video, .lpx-aurora span, .lpx-float__card, .lpx-stamp svg,
  .lpx-marquee__track, .lpx-hero__cue span, .lpx-eyebrow__dot, .thx-ftr__glow { animation: none !important; }
  .lpx-split.is-split .lpx-w__i { transform: none !important; transition: none !important; }
  .lpx-float { transform: none !important; }
  .thx-hdr, .thx-drawer__panel, .thx-mega { transition: none !important; }
}

@media (max-width: 640px) {
  .thx-hide-sm { display: none !important; }
}
