/* ============================================================
   Landing gate — animated redesign (index.php only)
   Orange = Business Advisory, Blue = Digital, Teal = brand dot
   ============================================================ */

.lp {
  --lp-bg: #05070D;
  --lp-orange: #FF9A4D;
  --lp-orange-deep: #FF6A1F;
  --lp-blue: #5AA2FF;
  --lp-blue-deep: #2F6BFF;
  --lp-teal: #2CE0BE;
  --lp-text: #F4F6FB;
  --lp-muted: rgba(244, 246, 251, 0.66);
  --lp-glass: rgba(14, 18, 30, 0.55);
  --lp-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --lp-serif: "Instrument Serif", Georgia, serif;
  --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lp-delay: 1.6s; /* content waits for the intro splash; set to 0s once the intro has been seen */

  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--lp-sans);
  isolation: isolate;
}

@property --lp-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ---------- intro splash ---------- */
.lp-intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--lp-bg);
  pointer-events: none;
  animation: lpIntroOut 0.8s var(--lp-ease) 1.55s forwards;
}
.lp.intro-seen { --lp-delay: 0s; }
.lp.intro-seen .lp-intro { display: none; }
.lp-intro-mark { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.lp-intro-mark img { width: 44px; height: 44px; filter: brightness(0) invert(1); animation: lpPop 0.7s var(--lp-ease) 0.35s both; }
.lp-intro-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.lp-intro-ring circle {
  fill: none;
  stroke: var(--lp-blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: lpDraw 1.1s var(--lp-ease) forwards;
}
.lp-intro-ring .lp-intro-ring-outer { stroke: var(--lp-orange); stroke-dasharray: 352; stroke-dashoffset: 352; opacity: 0.6; animation-delay: 0.15s; }
.lp-intro-orbit { position: absolute; inset: 4px; animation: lpSpin 1.4s linear infinite; }
.lp-intro-orbit span { position: absolute; top: -3px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--lp-teal); box-shadow: 0 0 16px var(--lp-teal); }
.lp-intro-word {
  font-family: var(--lp-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lp-muted);
  animation: lpLetters 1s var(--lp-ease) 0.4s both;
}

/* ---------- background layers ---------- */
.lp-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.lp-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; mix-blend-mode: screen; }
.lp-blob {
  position: absolute;
  width: 46vw;
  height: 46vw;
  min-width: 380px;
  min-height: 380px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.lp-blob-a { background: radial-gradient(circle, var(--lp-orange-deep), transparent 65%); left: -12vw; top: 18vh; animation: lpDriftA 18s ease-in-out infinite alternate; }
.lp-blob-b { background: radial-gradient(circle, var(--lp-blue-deep), transparent 65%); right: -12vw; top: 10vh; animation: lpDriftB 22s ease-in-out infinite alternate; }
.lp-blob-c { background: radial-gradient(circle, var(--lp-teal), transparent 65%); left: 32vw; bottom: -30vw; width: 36vw; height: 36vw; opacity: 0.22; animation: lpDriftC 26s ease-in-out infinite alternate; }

/* perspective grid floor that scrolls towards the viewer */
.lp-floor {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: 0;
  height: 52vh;
  perspective: 420px;
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 85%);
}
.lp-floor-grid {
  position: absolute;
  inset: 0 0 -60px 0;
  transform: rotateX(62deg);
  transform-origin: bottom center;
  background-image:
    linear-gradient(rgba(90, 162, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 162, 255, 0.22) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: lpFloor 3.2s linear infinite;
}
.lp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-noise {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.lp-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(3, 4, 8, 0.85) 100%); }

.lp-cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 60%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}
.lp:hover .lp-cursor-glow { opacity: 1; }

/* ---------- entrance helper ---------- */
.lp-in {
  opacity: 0;
  animation: lpRise 0.9s var(--lp-ease) both;
  animation-delay: calc(var(--lp-delay) + var(--i, 0) * 0.09s);
}

/* ---------- top bar ---------- */
.lp-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 48px) 0;
}
.lp-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--lp-sans); font-weight: 700; font-size: 17px; color: #fff; }
.lp-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 154, 77, 0.25), rgba(90, 162, 255, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.lp-logo-mark img { filter: brightness(0) invert(1); }
.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--lp-sans);
  font-size: 12px;
  color: var(--lp-muted);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
.lp-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-teal); box-shadow: 0 0 0 0 rgba(44, 224, 190, 0.6); animation: lpPing 2s ease-out infinite; }
.lp-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lp-sans);
  font-size: 13px;
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.lp-call:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); }

/* ---------- hero copy ---------- */
.lp-hero { position: relative; z-index: 3; text-align: center; padding: clamp(28px, 6vh, 64px) 20px clamp(16px, 3vh, 30px); }
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--lp-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lp-muted);
  margin: 0 0 18px;
}
.lp-eyebrow-line { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5)); }
.lp-eyebrow-line:last-child { transform: scaleX(-1); }

.lp-title {
  font-family: var(--lp-sans);
  font-weight: 700;
  font-size: clamp(36px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  color: #fff;
}
.lp-word {
  display: inline-block;
  opacity: 0;
  filter: blur(14px);
  transform: translateY(0.5em) rotateX(-60deg);
  transform-origin: 50% 100%;
  animation: lpWord 1s var(--lp-ease) forwards;
  animation-delay: calc(var(--lp-delay) + 0.25s + var(--w) * 0.11s);
}
.lp-shine {
  background: linear-gradient(100deg, var(--lp-orange) 0%, #FFD29E 22%, var(--lp-teal) 45%, var(--lp-blue) 68%, #C9DEFF 82%, var(--lp-orange) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lpWord 1s var(--lp-ease) forwards, lpShine 6s linear infinite;
  animation-delay: calc(var(--lp-delay) + 0.25s + var(--w) * 0.11s), 0s;
  padding: 0 0.04em;
}

.lp-sub { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.6; color: var(--lp-muted); margin: 0 auto; max-width: 620px; }
.lp-rotator {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  min-width: 2ch;
  background: linear-gradient(90deg, rgba(255, 154, 77, 0.18), rgba(90, 162, 255, 0.18));
  padding: 0 8px;
  border-radius: 6px;
}
.lp-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 3px; vertical-align: -0.18em; background: var(--lp-teal); animation: lpBlink 1s steps(1) infinite; }

/* ---------- choice cards ---------- */
.lp-choices {
  position: relative;
  z-index: 3;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(14px, 2.4vw, 36px);
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px clamp(16px, 3vw, 32px) 20px;
}

.lp-card {
  --c: var(--lp-blue);
  --c-deep: var(--lp-blue-deep);
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  display: block;
  border-radius: 24px;
  padding: 1.5px;
  cursor: pointer;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.5s var(--lp-ease), box-shadow 0.5s var(--lp-ease);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  animation: lpCardIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--lp-delay) + var(--i) * 0.09s);
}
.lp-card-advisory { --c: var(--lp-orange); --c-deep: var(--lp-orange-deep); --from: -60vw; --spin: 28deg; --bump: 22px; }
.lp-card-digital { --from: 60vw; --spin: -28deg; --bump: -22px; }
.lp-card.is-ready { opacity: 1; animation: none; }
.lp-card.is-tilting { transition: transform 0.12s linear, box-shadow 0.5s var(--lp-ease); }
.lp-card:hover { box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.8), 0 0 60px -10px color-mix(in srgb, var(--c) 55%, transparent); }

/* rotating gradient border */
.lp-card-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from var(--lp-angle), transparent 0%, var(--c) 12%, transparent 26%, transparent 50%, color-mix(in srgb, var(--c) 60%, #fff) 62%, transparent 76%);
  animation: lpAngle 6s linear infinite;
  opacity: 0.55;
  transition: opacity 0.4s ease;
}
.lp-card:hover .lp-card-border { opacity: 1; animation-duration: 2.5s; }

.lp-card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 22.5px;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, transparent), transparent 55%),
    var(--lp-glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  overflow: hidden;
  transform: translateZ(0);
}
/* sheen that sweeps across on hover */
.lp-card-inner::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-20deg);
  transition: left 0.9s var(--lp-ease);
  pointer-events: none;
}
.lp-card:hover .lp-card-inner::after { left: 130%; }

/* spotlight that follows the mouse */
.lp-card-spot {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 28%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.lp-card:hover .lp-card-spot { opacity: 1; }
.lp-card-inner > * { position: relative; z-index: 2; }

.lp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; transform: translateZ(40px); }
.lp-icon {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  animation: lpFloat 5s ease-in-out infinite;
}
.lp-card-digital .lp-icon { animation-delay: -2.5s; }
.lp-icon-orbit { position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--c) 35%, transparent); animation: lpSpin 9s linear infinite; }
.lp-icon-orbit span { position: absolute; top: -3.5px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.lp-tag {
  font-family: var(--lp-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c);
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.lp-card-title { font-family: var(--lp-sans); font-weight: 700; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.02em; color: #fff; line-height: 1.1; margin-top: 6px; }
.lp-card-text { font-size: 14.5px; line-height: 1.6; color: var(--lp-muted); }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chips span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transform: translateY(0);
  transition: transform 0.4s var(--lp-ease), border-color 0.4s ease, background 0.4s ease;
}
.lp-card:hover .lp-chips span { border-color: color-mix(in srgb, var(--c) 40%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); }
.lp-card:hover .lp-chips span:nth-child(1) { transform: translateY(-3px); transition-delay: 0s; }
.lp-card:hover .lp-chips span:nth-child(2) { transform: translateY(-3px); transition-delay: 0.05s; }
.lp-card:hover .lp-chips span:nth-child(3) { transform: translateY(-3px); transition-delay: 0.1s; }
.lp-card:hover .lp-chips span:nth-child(4) { transform: translateY(-3px); transition-delay: 0.15s; }

.lp-cta {
  margin-top: 8px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lp-sans);
  font-weight: 600;
  font-size: 13px;
  padding: 13px 20px;
  border-radius: 12px;
  color: #0A0D16;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 85%, #fff), var(--c));
  box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--c) 70%, transparent);
  transform: translateZ(50px);
  transition: box-shadow 0.4s ease, transform 0.4s var(--lp-ease);
}
.lp-cta-arrow { display: inline-block; transition: transform 0.4s var(--lp-ease); }
.lp-card:hover .lp-cta { box-shadow: 0 16px 40px -8px color-mix(in srgb, var(--c) 90%, transparent); }
.lp-card:hover .lp-cta-arrow { transform: translateX(6px); }

/* centre "or" orb */
.lp-or { position: relative; width: 74px; height: 74px; display: grid; place-items: center; opacity: 0; animation: lpPop 0.8s var(--lp-ease) both; animation-delay: calc(var(--lp-delay) + 1.45s); }
.lp-or-core {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--lp-sans);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  background: radial-gradient(circle at 30% 25%, #2A3350, #0B0F1C);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: -10px 0 24px -6px rgba(255, 154, 77, 0.55), 10px 0 24px -6px rgba(90, 162, 255, 0.55);
}
.lp-or-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); animation: lpRing 2.8s ease-out infinite; }
.lp-or-ring:nth-child(2) { animation-delay: 1.4s; }
.lp-or::before,
.lp-or::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.28));
}
.lp-or::before { bottom: 100%; }
.lp-or::after { top: 100%; transform: scaleY(-1); }

/* ---------- services marquee ---------- */
.lp-marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.lp-marquee-track { display: flex; width: max-content; animation: lpMarquee 55s linear infinite; }
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
.lp-tick { display: inline-flex; align-items: center; gap: 14px; padding: 0 22px; font-family: var(--lp-sans); font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.lp-tick::before { content: ''; width: 7px; height: 7px; transform: rotate(45deg); border-radius: 1.5px; }
.lp-tick.is-adv::before { background: var(--lp-orange); box-shadow: 0 0 10px var(--lp-orange); }
.lp-tick.is-dig::before { background: var(--lp-blue); box-shadow: 0 0 10px var(--lp-blue); }

.lp-foot { position: relative; z-index: 3; text-align: center; margin: 0; padding: 16px 0 26px; font-family: var(--lp-sans); font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.lp .hero-video-attribution { position: fixed; z-index: 4; }

/* ---------- page-exit colour wipe ---------- */
.lp-wipe {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  /* dark brand wipe with a soft glow of the chosen track colour at the click point */
  background: radial-gradient(circle, color-mix(in srgb, var(--wipe, var(--lp-blue)) 30%, #05070D) 0%, #05070D 55%);
  transform: scale(0);
  pointer-events: none;
}
.lp-wipe.is-on { transition: transform 0.75s cubic-bezier(0.7, 0, 0.3, 1); transform: scale(var(--wipe-scale, 200)); }

/* ---------- keyframes ---------- */
@keyframes lpRise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes lpWord { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes lpShine { to { background-position: -250% 0; } }
@keyframes lpCardIn {
  0%   { opacity: 0; transform: translate3d(var(--from, 0), 0, -200px) rotateY(var(--spin, 0deg)) scale(0.85); filter: blur(14px); }
  55%  { opacity: 1; filter: blur(0); }
  72%  { transform: translate3d(var(--bump, 0), 0, 0) rotateY(calc(var(--spin, 0deg) * -0.12)) scale(1.02); }
  88%  { transform: translate3d(calc(var(--bump, 0) * -0.25), 0, 0) rotateY(0deg) scale(1); }
  100% { opacity: 1; transform: rotateX(var(--rx)) rotateY(var(--ry)); filter: none; }
}
@keyframes lpAngle { to { --lp-angle: 360deg; } }
@keyframes lpSpin { to { transform: rotate(360deg); } }
@keyframes lpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes lpRing { from { transform: scale(0.8); opacity: 0.8; } to { transform: scale(1.9); opacity: 0; } }
@keyframes lpPing { 0% { box-shadow: 0 0 0 0 rgba(44, 224, 190, 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(44, 224, 190, 0); } }
@keyframes lpBlink { 50% { opacity: 0; } }
@keyframes lpMarquee { to { transform: translateX(-50%); } }
@keyframes lpFloor { to { background-position: 0 60px; } }
@keyframes lpDriftA { to { transform: translate(8vw, -10vh) scale(1.15); } }
@keyframes lpDriftB { to { transform: translate(-10vw, 12vh) scale(0.9); } }
@keyframes lpDriftC { to { transform: translate(-6vw, -8vh) scale(1.2); } }
@keyframes lpPop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@keyframes lpDraw { to { stroke-dashoffset: 0; } }
@keyframes lpLetters { from { opacity: 0; letter-spacing: 0.9em; filter: blur(8px); } to { opacity: 1; letter-spacing: 0.32em; filter: none; } }
@keyframes lpIntroOut { to { opacity: 0; transform: scale(1.08); visibility: hidden; } }

/* ---------- responsive: everything fits on one screen, no scrolling ----------
   Sizes and spacing scale with the viewport HEIGHT as well as width, and lower-priority
   details (chips, descriptions, ticker…) step away on shorter screens. */
.lp { height: 100vh; height: 100dvh; }
.lp-top { padding-top: clamp(10px, 2.6vh, 24px); }
.lp-hero { padding: clamp(8px, 3.6vh, 56px) 16px clamp(6px, 2vh, 26px); }
.lp-eyebrow { margin-bottom: clamp(6px, 1.6vh, 18px); }
.lp-title { font-size: clamp(28px, min(6.2vw, 8.2vh), 76px); margin-bottom: clamp(8px, 1.8vh, 20px); }
.lp-sub { font-size: clamp(14px, min(1.5vw, 2.1vh), 18px); }
.lp-choices { perspective: 1400px; flex: 1 1 auto; min-height: 0; padding-top: clamp(4px, 1vh, 10px); padding-bottom: clamp(8px, 2vh, 20px); }
.lp-card-inner { padding: clamp(16px, 3.2vh, 36px) clamp(18px, 2.6vw, 36px); gap: clamp(8px, 1.5vh, 14px); }
.lp-card-title { font-size: clamp(19px, min(2.4vw, 3.4vh), 30px); margin-top: 0; }
.lp-card-text { font-size: clamp(13px, 1.8vh, 14.5px); }
.lp-icon { width: clamp(42px, 6.4vh, 60px); height: clamp(42px, 6.4vh, 60px); border-radius: clamp(12px, 1.8vh, 18px); }
.lp-icon svg { width: 55%; height: 55%; }
.lp-cta { margin-top: clamp(0px, 0.8vh, 8px); padding: clamp(10px, 1.5vh, 13px) clamp(14px, 1.6vw, 20px); }
.lp-marquee { padding: clamp(8px, 1.4vh, 14px) 0; }
.lp-foot { padding: clamp(8px, 1.6vh, 16px) 0 clamp(10px, 2.4vh, 26px); }

/* shorter desktop / laptop screens */
@media (max-height: 820px) { .lp-chips { display: none; } }
@media (max-height: 700px) { .lp-foot { display: none; } .lp-marquee { margin-bottom: 22px; } }
@media (max-height: 620px) { .lp-eyebrow, .lp-card-text, .lp-or::before, .lp-or::after { display: none; } }
@media (max-height: 520px) {
  .lp-marquee, .lp-pill { display: none; }
  .lp-sub br { display: none; }
  .lp-or { width: 54px; height: 54px; }
  .lp-or-core { width: 42px; height: 42px; font-size: 13px; }
}

/* phones & tablets held upright: cards stack, and each becomes a compact row */
@media (max-width: 900px) and (orientation: portrait) {
  .lp-pill { display: none; }
  .lp-choices { grid-template-columns: 1fr; align-content: center; max-width: 560px; gap: 0; }
  .lp-or { width: 46px; height: 46px; margin: -10px auto; z-index: 4; }
  .lp-or-core { width: 38px; height: 38px; font-size: 12.5px; }
  .lp-or::before, .lp-or::after { display: none; }
  .lp-card-advisory { --from: -110vw; --spin: 20deg; --bump: 14px; }
  .lp-card-digital { --from: 110vw; --spin: -20deg; --bump: -14px; }
  .lp-card { border-radius: 20px; }
  .lp-card-inner { border-radius: 18.5px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: clamp(6px, 1.2vh, 12px); align-items: center; padding: clamp(14px, 2.2vh, 24px) 18px; }
  .lp-card-head { display: contents; }
  .lp-icon { grid-row: 1 / span 2; width: clamp(42px, 5.6vh, 54px); height: clamp(42px, 5.6vh, 54px); }
  .lp-icon-orbit { inset: -6px; }
  .lp-tag { justify-self: start; font-size: 10.5px; padding: 4px 10px; }
  .lp-card-title { grid-column: 2; font-size: clamp(18px, 2.7vh, 24px); }
  .lp-card-text, .lp-chips, .lp-cta { grid-column: 1 / -1; }
  .lp-card-text { font-size: 13.5px; line-height: 1.5; }
  .lp-chips { display: none; }
  .lp-cta { align-self: stretch; justify-content: center; margin-top: 2px; }
  .lp-foot { display: none; }
  .lp-marquee { margin-bottom: 18px; }
  .lp .hero-video-attribution { position: absolute; right: 0; left: 0; bottom: 4px; text-align: center; font-size: 9.5px; }
}
@media (max-width: 900px) and (orientation: portrait) and (min-height: 900px) { .lp-chips { display: flex; } .lp-foot { display: block; } }
@media (max-width: 900px) and (orientation: portrait) and (max-height: 760px) { .lp-card-text { display: none; } }
@media (max-width: 900px) and (orientation: portrait) and (max-height: 600px) { .lp-marquee { display: none; } }

/* phones turned sideways: keep the cards side by side, strip to essentials */
@media (orientation: landscape) and (max-height: 520px) {
  .lp-top { padding-top: 8px; }
  .lp-logo-mark { width: 30px; height: 30px; }
  .lp-call { padding: 6px 12px; font-size: 12px; }
  .lp-hero { padding: 4px 16px 4px; }
  .lp-card-head { justify-content: flex-start; }
  .lp-tag { font-size: 10px; padding: 4px 9px; }
  .lp-icon-orbit { display: none; }
  .lp-card-inner { padding: 12px 16px; gap: 6px; }
  .lp-cta { font-size: 12px; padding: 8px 14px; }
}

@media (max-width: 520px) {
  .lp-top { gap: 10px; }
  .lp-logo { font-size: 15px; }
  .lp-logo-mark { width: 32px; height: 32px; }
  .lp-call { font-size: 11.5px; padding: 7px 11px; gap: 6px; }
  .lp-eyebrow { font-size: 10px; letter-spacing: 0.08em; gap: 8px; }
  .lp-eyebrow-line { width: 14px; }
  .lp-title { font-size: clamp(28px, min(9.6vw, 5.6vh), 44px); }
  .lp-sub { font-size: 14px; }
}
@media (max-width: 360px) { .lp-call span { display: none; } .lp-eyebrow { display: none; } }

@media (hover: none) {
  .lp-cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-intro { display: none; }
  .lp-in, .lp-word, .lp-card, .lp-or { opacity: 1 !important; filter: none !important; transform: none !important; animation: none !important; }
  .lp-shine { animation: none !important; }
  .lp-blob, .lp-floor-grid, .lp-marquee-track, .lp-card-border, .lp-icon, .lp-icon-orbit, .lp-or-ring { animation: none !important; }
}

/* ---------- typography: Plus Jakarta Sans + Instrument Serif italic accents ---------- */
.lp { font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; }
.lp-title { font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.lp-shine {
  font-family: var(--lp-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.12em;
  letter-spacing: -0.01em;
  line-height: 0.9;
  margin-right: 0.08em;
  padding: 0 0.1em 0 0.02em; /* keeps the italic swash from being clipped by the gradient */
}
.lp-sub { font-weight: 400; letter-spacing: -0.005em; }
.lp-rotator {
  font-family: var(--lp-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.28em;
  letter-spacing: 0;
  line-height: 1;
  padding: 1px 10px 3px 8px;
}
.lp-eyebrow { font-weight: 600; font-size: 11.5px; letter-spacing: 0.22em; }
.lp-logo { font-weight: 700; letter-spacing: -0.02em; }
.lp-pill { font-weight: 500; font-size: 12.5px; letter-spacing: 0.01em; }
.lp-call { font-weight: 600; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.lp-tag { font-weight: 700; font-size: 11px; letter-spacing: 0.14em; }
.lp-card-title { font-weight: 700; letter-spacing: -0.03em; }
.lp-card-text { font-weight: 400; letter-spacing: -0.003em; }
.lp-chips span { font-weight: 500; letter-spacing: -0.005em; }
.lp-cta { font-weight: 700; font-size: 14px; letter-spacing: -0.005em; }
.lp-or-core { font-family: var(--lp-serif); font-style: italic; font-weight: 400; font-size: 22px; padding-bottom: 3px; }
.lp-tick { font-weight: 600; letter-spacing: -0.01em; }
.lp-foot { font-size: 13px; font-weight: 500; letter-spacing: 0; }
.lp-intro-word { font-weight: 600; font-size: 14px; }
@media (max-width: 900px) and (orientation: portrait) {
  .lp-or-core { font-size: 17px; }
  .lp-tag { font-size: 9.5px; letter-spacing: 0.12em; }
}

/* ---------- social links on the landing gate ----------
   Wide & tall screens: the same animated vertical rail as the inner pages, on the left edge.
   Everything else: compact icon buttons in the top bar (keeps the gate on one screen). */
.lp .social-link { animation-delay: calc(var(--lp-delay) + 0.9s + var(--s) * 0.15s); }
.lp .social-icon::after { animation-delay: calc(var(--lp-delay) + 2s + var(--s) * 0.5s); }
.lp-top-right { display: flex; align-items: center; gap: 12px; }

.lp .hero-side-links.lp-social-rail { display: none; z-index: 3; }
.lp-socials { display: flex; align-items: center; gap: 6px; }
.lp-socials .social-link { flex-direction: row; gap: 0; padding: 0; background: none; border: 0; border-radius: 0; }
.lp-socials .social-label { display: none; }
.lp-socials .social-icon { width: 36px; height: 36px; border-radius: 50%; }
.lp-socials .social-icon svg { width: 16px; height: 16px; }
.lp-socials .social-link:hover { transform: translateY(-2px); }

@media (min-width: 1280px) and (min-height: 760px) {
  .lp .hero-side-links.lp-social-rail { display: flex; }
  .lp-socials { display: none; }
}
@media (max-width: 600px) {
  .lp-call span { display: none; }
  .lp-call { padding: 0; width: 36px; height: 36px; justify-content: center; border-radius: 50%; }
  .lp-top-right { gap: 6px; }
  .lp-socials { gap: 5px; }
  .lp-socials .social-icon { width: 34px; height: 34px; }
}
@media (max-width: 360px) {
  .lp-logo span:last-child { font-size: 14px; }
  .lp-socials .social-icon, .lp-call { width: 31px; height: 31px; }
}
