@charset "UTF-8";
/* ==========================================================================
   Landing Page Styles (landing.scss) → css/landing.css
   --------------------------------------------------------------------------
   Page-specific styles for the SkillsRight landing page (landing.php).
   Loaded alongside css/all.css (framework grid, resets, themes).
   ========================================================================== */
/* ─── Page palette ─── */
:root {
  --lp-bg: #ffffff;
  --lp-fg: #0a0a0a;
  --lp-accent: #2C0083;
}

/* ─── Brand fonts (Adobe Typekit) ─── */
html, body {
  margin: 0;
  padding: 0;
  background: var(--lp-bg);
  color: var(--lp-fg);
  font-family: "tosh-b", system-ui, sans-serif;
}

/* Prevent flash of unstyled content — page hidden until JS inits */
.lp {
  opacity: 0;
}

.lp.is-ready {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Controlled scroll mode: lock viewport, .lp becomes sole scroll container */
html:has(.lp), body:has(.lp) {
  overflow: hidden;
  height: 100vh;
}

.lp {
  position: relative;
  overflow-x: clip;
  overflow-y: auto;
  height: 100vh;
  /* Hide scrollbar only during controlled scroll */
}
.lp--controlled {
  scrollbar-width: none;
}
.lp--controlled::-webkit-scrollbar {
  display: none;
}

/* Prevent orphans/widows globally */
p, h1, h2, h3, h4, h5, h6, blockquote, li {
  text-wrap: pretty;
}

/* Override framework container-type that breaks fixed positioning */
body:has(.lp) {
  container-type: normal;
}

/* ═══════════════════════════════════════
   Grid overlay (design guide)
   ═══════════════════════════════════════ */
.lp__grid-overlay {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  padding: 0 10%; /* inset so lines sit at 20/40/60/80% */
}

.lp__grid-line {
  width: 0;
  height: 100%;
  border-left: 1px dashed rgba(255, 255, 255, 0.15);
}

/* ═══════════════════════════════════════
   Performance — off-screen optimizations
   ═══════════════════════════════════════
   .is-offscreen is toggled by IntersectionObserver in JS.
   Pauses all infinite CSS animations and reduces compositing
   cost for panels the user can't see. */
.is-offscreen {
  /* Pause infinite keyframe animations */
}
.is-offscreen, .is-offscreen * {
  animation-play-state: paused !important;
}

/* GPU compositing hints for expensive blur elements */
[class*=__glow],
[class*=__cover-blob] {
  will-change: transform, opacity;
}

/* content-visibility removed — was causing height miscalculation
   in the controlled scroll target computation */
/* ═══════════════════════════════════════
   Panels — base
   ═══════════════════════════════════════ */
.lp__panel {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1024px) {
  .lp__panel {
    padding-bottom: 5rem;
  }
}

.lp__panel-label {
  font-family: "area-inktrap-extended", system-ui, sans-serif;
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 700;
  opacity: 0.25;
  user-select: none;
}

/* ═══════════════════════════════════════
   Panel 1 — Cover
   ═══════════════════════════════════════ */
.lp__panel--1 {
  /* Flat fallback — Three.js canvas covers this entirely */
  background: #1E005A;
  color: #fff;
  flex-direction: column;
  overflow: hidden;
  height: 100vh;
  min-height: 100vh;
  /* Noise grain overlay — opacity only, no blend mode */
}
.lp__panel--1::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url("../assets/patterns/prtn_d.jpeg") repeat;
  opacity: 0.12;
  pointer-events: none;
}

/* ─── White cover variant ─── */
.lp__panel--1-white {
  background: #fff;
}
.lp__panel--1-white .lp__cover-rebrand {
  color: #2C0083;
}
.lp__panel--1-white .lp__cover-headline {
  color: #2C0083;
}
.lp__panel--1-white .lp__cover-blob {
  opacity: 0.3;
}
.lp__panel--1-white .lp__cover-glow {
  bottom: -55%;
  opacity: 0; /* JS still fades to 1, but we cap it */
}
.lp__panel--1-white .lp__cover-glow--left {
  background: radial-gradient(circle at 25% 75%, rgba(255, 180, 0, 0.35) 0%, rgba(255, 100, 0, 0.2) 30%, rgba(255, 60, 0, 0.1) 55%, transparent 75%);
}
.lp__panel--1-white .lp__cover-glow--right {
  background: radial-gradient(circle at 75% 75%, rgba(240, 20, 60, 0.35) 0%, rgba(200, 15, 90, 0.2) 30%, rgba(140, 10, 160, 0.1) 55%, transparent 75%);
}

@keyframes gradientDrift {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 80% 100%;
  }
  50% {
    background-position: 100% 0%;
  }
  75% {
    background-position: 20% 80%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes gradientFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(8%, -12%) scale(1.25);
  }
}
/* Organic gradient canvas — behind blob, above CSS background */
.lp__cover-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  display: block;
  min-width: 100vw;
}

/* Blob + logo wrapper — moves together */
.lp__cover-blob-wrap {
  position: absolute;
  top: -350px;
  left: 50%;
  transform: translateX(-48%);
  width: 850px;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .lp__cover-blob-wrap {
    top: -400px;
  }
}
@media (max-width: 645px) {
  .lp__cover-blob-wrap {
    left: 47%;
  }
}

.lp__cover-blob {
  width: 100%;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 40%, black 55%);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 40%, black 55%);
}

.lp__cover-logo-wrap {
  position: absolute;
  bottom: 120px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
@media (max-width: 1024px) {
  .lp__cover-logo-wrap {
    bottom: 140px;
  }
}
@media (max-width: 645px) {
  .lp__cover-logo-wrap {
    bottom: 120px;
  }
}

.lp__cover-logo {
  display: block;
  width: 300px;
  height: auto;
  max-width: 70vw;
  overflow: visible;
  pointer-events: auto;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .lp__cover-logo {
    width: 260px;
  }
}
@media (max-width: 645px) {
  .lp__cover-logo {
    width: 200px;
  }
}
.lp__cover-logo .lp__logo-mark,
.lp__cover-logo .lp__logo-wordmark {
  transform-origin: center center;
  will-change: transform, opacity;
}
.lp__cover-logo .lp__mark-piece {
  transform-origin: center center;
  will-change: transform, opacity;
}

.lp__cover-text {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  will-change: transform, opacity;
  max-width: 90%;
  width: 900px;
  text-align: center;
  padding: 0 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (max-width: 1024px) {
  .lp__cover-text {
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: none;
    bottom: 20%;
    gap: 0.75rem;
    padding: 0 2rem;
    max-width: 100%;
  }
}
@media (max-width: 645px) {
  .lp__cover-text {
    bottom: 25%;
    gap: 0.5rem;
    padding: 0 1.25rem;
  }
}

.lp__cover-rebrand {
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: 400;
  letter-spacing: 1.5px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  margin: 0;
}
@media (max-width: 645px) {
  .lp__cover-rebrand {
    font-size: 13px;
  }
}

.lp__cover-headline {
  font-family: "tosh-b", system-ui, sans-serif;
  font-size: clamp(28px, 23.33px + 0.97vw, 42px);
  font-weight: 500;
  line-height: 1.2em;
  color: #fff;
  text-align: center;
  margin: 0;
}

.lp__cover-tagline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  font-family: "tosh-b", system-ui, sans-serif;
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.35);
  max-width: 680px;
  margin: 0;
  padding: 0 4rem 3rem;
  text-align: center;
}
@media (max-width: 645px) {
  .lp__cover-tagline {
    padding: 0 1.5rem 2rem;
    max-width: 100%;
  }
}

/* Cover corner glows — vibrant radial gradients */
.lp__cover-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  opacity: 0; /* JS fades in on load */
  filter: blur(60px);
}
.lp__cover-glow--left {
  bottom: -40%;
  left: -15%;
  width: 100%;
  height: 90%;
  background: radial-gradient(circle at 25% 75%, rgba(255, 180, 0, 0.7) 0%, rgba(255, 100, 0, 0.45) 30%, rgba(255, 60, 0, 0.2) 55%, transparent 75%);
}
.lp__cover-glow--right {
  bottom: -40%;
  right: -15%;
  width: 100%;
  height: 90%;
  background: radial-gradient(circle at 75% 75%, rgba(240, 20, 60, 0.65) 0%, rgba(200, 15, 90, 0.4) 30%, rgba(140, 10, 160, 0.2) 55%, transparent 75%);
}

/* Cover bottom — intro block */
.lp__cover-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 2.5rem 4rem 3rem;
  max-width: 900px;
}
@media (max-width: 1024px) {
  .lp__cover-bottom {
    padding: 2rem 3rem 2.5rem;
  }
}
@media (max-width: 645px) {
  .lp__cover-bottom {
    padding: 1.5rem 1.5rem 2rem;
    max-width: 100%;
  }
}

.lp__cover-heading {
  font-family: "area-inktrap-extended", system-ui, sans-serif;
  font-size: clamp(36px, 21.33px + 3.06vw, 80px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  margin: 0 0 0.5rem;
}

.lp__cover-version {
  display: inline-block;
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}

.lp__cover-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 645px) {
  .lp__cover-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.lp__cover-col-left p {
  font-size: clamp(15px, 13.67px + 0.28vw, 19px);
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.lp__cover-col-right p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* ─── Panel colors (2–10) ─── */
/* ─── Panel 2 — Video ─── */
.lp__panel--2 {
  background: #000;
  overflow: hidden;
}
.lp__panel--2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(44, 0, 131, 0.95) 0%, rgba(30, 0, 90, 0.55) 50%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.lp__panel2-glow {
  position: absolute;
  bottom: -10%;
  width: 55%;
  height: 40%;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}
.lp__panel2-glow--left {
  left: -8%;
  background: radial-gradient(circle at 0% 100%, rgba(60, 26, 158, 0.6) 0%, rgba(154, 15, 40, 0.3) 50%, transparent 80%);
}
.lp__panel2-glow--right {
  right: -8%;
  left: auto;
  background: radial-gradient(circle at 100% 100%, rgba(243, 198, 82, 0.4) 0%, rgba(232, 114, 50, 0.3) 40%, rgba(154, 15, 40, 0.2) 70%, transparent 90%);
}

.lp__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  will-change: transform;
  transition: filter 0.6s ease;
}
.lp__video.is-blurred {
  filter: blur(12px);
  transform: scale(1.05);
}

.lp__panel2-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}

.lp__panel2-content {
  flex: 0 1 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lp__split-heading {
  position: relative;
  overflow: hidden;
}

.lp__split-top,
.lp__split-bottom {
  display: block;
  font-family: "tosh-b", system-ui, sans-serif;
  font-size: clamp(56px, 34.67px + 4.44vw, 120px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: 4px;
  white-space: nowrap;
  text-align: center;
  will-change: transform;
}

.lp__split-top {
  clip-path: inset(0 0 50% 0);
}

.lp__split-bottom {
  clip-path: inset(50% 0 0 0);
  margin-top: -1.1em; /* collapse back up (matches line-height) */
}

.lp__panel2-body {
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: clamp(24px, 22px + 0.42vw, 30px);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 1.75px;
  color: #fff;
  margin: 0;
}

.lp__panel--3 {
  background: #ffffff;
  color: #0a0a0a;
  overflow: hidden;
}
.lp__panel--3::before, .lp__panel--3::after {
  content: "";
  position: absolute;
  bottom: -10%;
  width: 60%;
  height: 38%;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  /* animation removed for performance */
}
.lp__panel--3::before {
  left: -10%;
  background: rgba(200, 160, 230, 0.45);
}
.lp__panel--3::after {
  right: -10%;
  left: auto;
  background: rgba(230, 180, 160, 0.4);
}

/* ─── US dot map (panel 3 background) ─── */
.lp__us-map {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  clip-path: circle(0% at 50% 50%);
}
@media (max-width: 1024px) {
  .lp__us-map {
    transform: translate(-50%, -50%) scale(0.7);
  }
}
@media (max-width: 645px) {
  .lp__us-map {
    transform: translate(-50%, -50%) scale(0.5);
  }
}

/* Map dots now rendered via canvas — no DOM element styles needed */
.lp__us-map canvas {
  display: block;
}

.lp__panel3-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 0 2rem;
  pointer-events: none;
  will-change: transform;
}
@media (max-width: 1024px) {
  .lp__panel3-content {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
  }
}

.lp__panel3-heading {
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: clamp(38px, 26.67px + 2.36vw, 72px);
  font-weight: 200;
  line-height: 1.15;
  color: #0a0a0a;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15em;
}

.lp__panel3-line1 {
  display: block;
}

.lp__highlight {
  position: relative;
  color: #fff;
  padding: 0 0.15em;
}
.lp__highlight::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3em;
  height: 125%;
  background: #2C0083;
  z-index: -1;
  transform: scaleX(var(--hl-scale, 0));
  transform-origin: left center;
}

.lp__word {
  display: inline-block;
}

.lp__panel3-body {
  font-family: "tosh-b", system-ui, sans-serif;
  font-size: clamp(18px, 15.33px + 0.56vw, 26px);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 1.75px;
  color: rgba(10, 10, 10, 0.5);
  margin: 0 auto;
  max-width: 800px;
}

.lp__carousel-inner .lp__panel {
  background: transparent;
  color: #fff;
}

/* Panel 6 inherits carousel gradient — no override needed */
.lp__panel--7 {
  background: #F4F0FA;
  color: #0a0a0a;
  overflow: hidden;
}
.lp__panel--7::before, .lp__panel--7::after {
  content: "";
  position: absolute;
  bottom: -10%;
  width: 60%;
  height: 38%;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  /* animation removed for performance */
}
.lp__panel--7::before {
  left: -10%;
  background: rgba(200, 160, 230, 0.45);
}
.lp__panel--7::after {
  right: -10%;
  left: auto;
  background: rgba(230, 180, 160, 0.4);
}

/* ═══════════════════════════════════════
   Panel 7 — Logo reveal
   ═══════════════════════════════════════ */
.lp__panel7-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
  padding: 0 2rem;
}
@media (max-width: 1024px) {
  .lp__panel7-content {
    padding: 0 3rem;
  }
}
@media (max-width: 645px) {
  .lp__panel7-content {
    padding: 0 2rem;
    gap: 1.5rem;
  }
}

.lp__panel7-logo {
  width: clamp(340px, 40vw, 560px);
  height: auto;
}

.lp__panel7-heading {
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.2;
  color: #2C0083;
  letter-spacing: 0em;
  transition: letter-spacing 1.4s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.lp__panel7-heading.is-wide {
  letter-spacing: 0.6em;
  transition: none;
}
.lp__panel7-heading {
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .lp__panel7-heading {
    white-space: normal;
    text-wrap: balance;
    font-size: clamp(22px, 3.5vw, 40px);
  }
}
@media (max-width: 1024px) {
  .lp__panel7-heading.is-wide {
    letter-spacing: 0.15em;
  }
}

/* ═══════════════════════════════════════
   Panel 8 — What We Do
   ═══════════════════════════════════════ */
.lp__panel8-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
@media (max-width: 1024px) {
  .lp__panel8-inner {
    padding: 6rem 1.5rem;
  }
}
@media (max-width: 645px) {
  .lp__panel8-inner {
    padding: 5rem 1.25rem;
  }
}

.lp__panel8-hero {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 1024px) {
  .lp__panel8-hero {
    gap: 2rem;
    margin-bottom: 2rem;
  }
}
@media (max-width: 645px) {
  .lp__panel8-hero {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.lp__panel8-logo {
  flex-shrink: 0;
}
.lp__panel8-logo img {
  width: clamp(200px, 25vw, 320px);
  height: auto;
}

.lp__panel8-title {
  font-family: "area-inktrap-extended", system-ui, sans-serif;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: #2C0083;
  white-space: nowrap;
}
@media (max-width: 645px) {
  .lp__panel8-title {
    white-space: normal;
  }
}

.lp__panel8-body {
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.65;
  color: #0a0a0a;
  margin: 0;
}
.lp__panel8-body + .lp__panel8-body {
  margin-top: 1.25rem;
}

.lp__panel8-cards-heading {
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(44, 0, 131, 0.6);
  text-align: center;
  margin: 0 0 1.5rem;
}

.lp__panel8-cards {
  display: flex;
  flex-direction: column;
}

.lp__panel8-card {
  position: sticky;
  min-height: 300px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.lp__panel8-card:nth-child(1) {
  top: 2rem;
}
.lp__panel8-card:nth-child(2) {
  top: 4rem;
  margin-top: 1rem;
}
.lp__panel8-card:nth-child(3) {
  top: 6rem;
  margin-top: 1rem;
}
.lp__panel8-card:nth-child(4) {
  top: 8rem;
  margin-top: 1rem;
}
@media (max-width: 645px) {
  .lp__panel8-card {
    min-height: 240px;
  }
  .lp__panel8-card:nth-child(1) {
    top: 1rem;
  }
  .lp__panel8-card:nth-child(2) {
    top: 2rem;
  }
  .lp__panel8-card:nth-child(3) {
    top: 3rem;
  }
  .lp__panel8-card:nth-child(4) {
    top: 4rem;
  }
}

.lp__panel8-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent 0%, transparent 25%, rgba(154, 15, 40, 0.4) 45%, rgba(87, 0, 178, 0.7) 65%, rgba(44, 0, 131, 0.95) 100%);
}

.lp__panel8-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  min-height: 300px;
  padding: 2rem 2.5rem;
  color: #fff;
  text-align: left;
  max-width: 420px;
}
.lp__panel8-card-content svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.lp__panel8-card-content span {
  font-family: "tosh-b", system-ui, sans-serif;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 400;
  line-height: 1.45;
}
@media (max-width: 645px) {
  .lp__panel8-card-content {
    min-height: 240px;
    padding: 1.5rem;
  }
}

.lp__panel8-statement {
  position: relative;
  z-index: 1;
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(44, 0, 131, 0.6);
  margin: 1.5rem 0 3rem;
  text-align: center;
}

.lp__p8-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotate(3deg);
}

/* Content zone — scrollable container for panels 8+.
   Takes up exactly 100vh within .lp, has its own scrollbar. */
.lp__content-zone {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.lp__panel--8 {
  background: #F4F0FA;
  color: #0a0a0a;
  height: auto;
  min-height: 0;
  padding: 0;
  align-items: flex-start;
}
.lp__panel--8::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 0% 100%, rgba(200, 160, 230, 0.4) 0%, transparent 45%), radial-gradient(circle at 100% 100%, rgba(243, 198, 82, 0.2) 0%, transparent 40%), radial-gradient(circle at 85% 90%, rgba(154, 15, 40, 0.15) 0%, transparent 35%);
}

/* ═══════════════════════════════════════
   Panel 9 — What's Coming Next
   ═══════════════════════════════════════ */
.lp__panel--9 {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: auto;
  height: auto;
  background: radial-gradient(circle at 20% 15%, rgba(61, 26, 158, 0.5) 0%, transparent 40%), radial-gradient(circle at 80% 5%, rgba(154, 15, 40, 0.25) 0%, transparent 35%), radial-gradient(circle at 50% 50%, #2C0083 0%, #1E005A 50%, #0D0030 100%);
  color: #fff;
  overflow: hidden;
  padding: 0;
}
.lp__panel--9::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("../assets/patterns/prtn_d.jpeg") repeat;
  opacity: 0.12;
  pointer-events: none;
}

/* ─── 1. Hero ─── */
.lp__p9-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60vh;
}
@media (max-width: 1024px) {
  .lp__p9-hero {
    min-height: 40vh;
  }
}
@media (max-width: 645px) {
  .lp__p9-hero {
    min-height: 30vh;
  }
}

.lp__p9-blob-wrap {
  position: absolute;
  top: -70%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(625px, 80vw, 1125px);
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 35%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 35%, black 100%);
}
.lp__p9-blob-wrap--flipped {
  top: auto;
  bottom: -35%;
  transform: translateX(-50%) rotate(180deg);
  -webkit-mask-image: linear-gradient(to bottom, transparent 35%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 35%, black 100%);
}

.lp__p9-blob {
  width: 100%;
  display: block;
}

.lp__p9-video {
  position: absolute;
  top: 5%;
  left: -25%;
  width: 42%;
  height: 80vh;
  transform: rotate(-35deg);
  border-radius: 100px;
  overflow: hidden;
  z-index: 1;
}
.lp__p9-video video {
  width: 150%;
  height: 150%;
  object-fit: cover;
  transform: rotate(35deg) scale(1.2);
  transform-origin: center center;
}
.lp__p9-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(44, 0, 131, 0.6) 0%, rgba(154, 15, 40, 0.3) 50%, transparent 100%);
}
@media (max-width: 1024px) {
  .lp__p9-video {
    width: 38%;
    left: -18%;
  }
}
@media (max-width: 645px) {
  .lp__p9-video {
    display: none;
  }
}

.lp__p9-logo {
  position: relative;
  z-index: 2;
  width: clamp(200px, 22vw, 320px);
  height: auto;
  margin-bottom: 1.5rem;
}

.lp__p9-headline {
  position: relative;
  z-index: 2;
  text-align: center;
}
.lp__p9-headline p {
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: clamp(14px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  margin: 0;
  white-space: nowrap;
}

.lp__p9-label {
  position: relative;
  z-index: 2;
  font-family: "area-inktrap-extended", system-ui, sans-serif;
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  margin: 0;
  width: 100%;
  max-width: 900px;
  padding: 0 2rem;
  text-align: center;
}

/* ─── 2. Two-column intro ─── */
.lp__p9-intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  width: 100%;
  max-width: 900px;
  padding: 2rem 2rem;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .lp__p9-intro {
    gap: 2rem;
    padding: 1.5rem 1.5rem;
  }
}
@media (max-width: 645px) {
  .lp__p9-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem 1.5rem;
  }
}

.lp__p9-title {
  font-family: "tosh-b", system-ui, sans-serif;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  color: #fff;
}

.lp__p9-body {
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
}

/* ─── 3. Bucket grid ─── */
.lp__p9-buckets-label {
  position: relative;
  z-index: 2;
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  text-align: center;
  color: #fff;
  margin: 0 0 2rem;
}
@media (max-width: 645px) {
  .lp__p9-buckets-label {
    margin: 0 0 1rem;
  }
}

.lp__p9-buckets {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 900px;
  padding: 0 2rem;
  margin: 0 auto;
}
@media (max-width: 645px) {
  .lp__p9-buckets {
    grid-template-columns: 1fr;
  }
}

.lp__p9-bucket {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}
.lp__p9-bucket svg {
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
  stroke: #fff;
  opacity: 1;
}
.lp__p9-bucket p {
  font-family: "tosh-b", system-ui, sans-serif;
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 300;
  line-height: 1.6;
  color: #fff;
  margin: 0;
}

/* ─── 4. Centered statement ─── */
.lp__p9-statement {
  position: relative;
  z-index: 2;
  font-family: "area-inktrap-extended", system-ui, sans-serif;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.45;
  color: #fff;
  text-align: center;
  max-width: 1000px;
  margin: 5rem auto;
  padding: 0 2rem;
}
@media (max-width: 1024px) {
  .lp__p9-statement {
    margin: 3rem auto;
  }
}
@media (max-width: 645px) {
  .lp__p9-statement {
    margin: 2rem auto;
    padding: 0 1.5rem;
  }
}

/* ─── 5. Newsletter ─── */
.lp__p9-divider {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  height: 0;
  border: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.5);
  background: none;
  margin: 3rem auto 2rem;
}

.lp__p9-newsletter-headline {
  position: relative;
  z-index: 2;
  font-family: "area-inktrap-extended", system-ui, sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 1.5rem;
}

.lp__p9-newsletter {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: min(900px, 100% - 4rem);
  margin: 0 auto 2rem;
  padding: 2.5rem 3rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .lp__p9-newsletter {
    padding: 2rem;
    gap: 1.5rem;
    max-width: calc(100% - 3rem);
  }
}
@media (max-width: 645px) {
  .lp__p9-newsletter {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
    max-width: calc(100% - 2.5rem);
    gap: 1rem;
  }
}

.lp__p9-newsletter-text {
  max-width: 600px;
  margin: 0 auto;
}

.lp__p9-newsletter-title {
  font-family: "tosh-b", system-ui, sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 0.75rem;
}

.lp__p9-newsletter-body {
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 300;
  line-height: 1.6;
  color: #fff;
  margin: 0;
}

.lp__p9-newsletter-form {
  /* ─── HubSpot developer embed — CSS variable overrides ─── */
}
.lp__p9-newsletter-form [data-hsfc-id=Renderer] {
  --hsf-global__font-family: tosh-b, system-ui, sans-serif;
  --hsf-global__color: #fff;
  --hsf-field-label__color: #fff;
  --hsf-field-label-requiredindicator__color: #ff9a9a;
  --hsf-field-label__font-size: 12px;
  --hsf-field-label__font-family: tosh-b, system-ui, sans-serif;
  --hsf-field-input__color: #fff;
  --hsf-field-input__background-color: rgba(255, 255, 255, 0.06);
  --hsf-field-input__border-color: rgba(255, 255, 255, 0.12);
  --hsf-field-input__border-radius: 8px;
  --hsf-field-input__border-style: solid;
  --hsf-field-input__border-width: 1px;
  --hsf-field-input__placeholder-color: rgba(255, 255, 255, 0.7);
  --hsf-field-input__font-size: 13px;
  --hsf-field-input__font-family: tosh-b, system-ui, sans-serif;
  --hsf-field-textarea__color: #fff;
  --hsf-field-textarea__background-color: rgba(255, 255, 255, 0.06);
  --hsf-field-textarea__border-color: rgba(255, 255, 255, 0.12);
  --hsf-field-textarea__border-radius: 8px;
  --hsf-field-textarea__placeholder-color: rgba(255, 255, 255, 0.7);
  --hsf-field-checkbox__background-color: rgba(255, 255, 255, 0.06);
  --hsf-field-checkbox__border-color: rgba(255, 255, 255, 0.12);
  --hsf-field-checkbox__color: #fff;
  --hsf-field-radio__background-color: rgba(255, 255, 255, 0.06);
  --hsf-field-radio__border-color: rgba(255, 255, 255, 0.12);
  --hsf-field-radio__color: #fff;
  --hsf-erroralert__color: #ff9a9a;
  --hsf-richtext__color: rgba(255, 255, 255, 0.5);
  --hsf-field-description__color: rgba(255, 255, 255, 0.45);
  --hsf-field-footer__color: rgba(255, 255, 255, 0.45);
  --hsf-infoalert__color: rgba(255, 255, 255, 0.7);
  --hsf-heading__color: #fff;
  --hsf-button__background-color: #c81e28;
  --hsf-button__border-radius: 8px;
  --hsf-button__font-family: area-inktrap, system-ui, sans-serif;
  --hsf-button__font-weight: 600;
  --hsf-button__padding: 12px 40px;
  --hsf-button__color: #fff;
  --hsf-button--hover__background-color: #a8191f;
  --hsf-background__padding: 0;
  --hsf-background__border-style: none;
  --hsf-row__vertical-spacing: 12px;
  --hsf-row__horizontal-spacing: 12px;
}
.lp__p9-newsletter-form .hsfc-FieldLabel {
  text-align: left;
}
.lp__p9-newsletter-form .hsfc-Button {
  background-image: linear-gradient(135deg, #f3c652, #c81e28) !important;
}
.lp__p9-newsletter-form {
  /* Developer embed dropdown */
}
.lp__p9-newsletter-form .hsfc-DropdownOptions {
  --hsf-default-field-input__background-color: rgba(255, 255, 255, 0.06);
  background-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}
.lp__p9-newsletter-form .hsfc-DropdownOptions__Search .hsfc-TextInput {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
}
.lp__p9-newsletter-form .hsfc-DropdownOptions__Search .hsfc-TextInput::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.lp__p9-newsletter-form .hsfc-DropdownOptions__List__ListItem {
  color: #fff;
  padding: 10px 14px;
}
.lp__p9-newsletter-form .hsfc-DropdownOptions__List__ListItem:hover, .lp__p9-newsletter-form .hsfc-DropdownOptions__List__ListItem[aria-selected=true] {
  background-color: rgba(255, 255, 255, 0.1);
}
.lp__p9-newsletter-form {
  /* ─── HubSpot v2.js embed — dark theme styles ─── */
}
.lp__p9-newsletter-form .hs-form {
  font-family: "tosh-b", system-ui, sans-serif;
  text-align: left;
}
.lp__p9-newsletter-form .hs-form-field {
  margin-bottom: 12px;
}
.lp__p9-newsletter-form label {
  display: block;
  color: #fff;
  font-family: "tosh-b", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
  text-align: left;
}
.lp__p9-newsletter-form .hs-form-required {
  color: #ff9a9a;
}
.lp__p9-newsletter-form .hs-input {
  width: 100%;
  padding: 10px 14px;
  color: #fff;
  font-family: "tosh-b", system-ui, sans-serif;
  font-size: 13px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.lp__p9-newsletter-form .hs-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.lp__p9-newsletter-form .hs-input:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
}
.lp__p9-newsletter-form textarea.hs-input {
  min-height: 100px;
  resize: vertical;
}
.lp__p9-newsletter-form {
  /* HubSpot developer embed dropdown */
}
.lp__p9-newsletter-form [data-hsfc-id=Renderer] .hsfc-DropdownOptions {
  background-color: #0D0030 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
}
.lp__p9-newsletter-form [data-hsfc-id=Renderer] .hsfc-DropdownOption {
  color: #fff !important;
  background-color: #0D0030 !important;
}
.lp__p9-newsletter-form [data-hsfc-id=Renderer] .hsfc-DropdownOption:hover, .lp__p9-newsletter-form [data-hsfc-id=Renderer] .hsfc-DropdownOption[aria-selected=true] {
  background-color: #2C0083 !important;
}
.lp__p9-newsletter-form select.hs-input,
.lp__p9-newsletter-form select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #0D0030 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 36px;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px;
  cursor: pointer;
}
.lp__p9-newsletter-form select.hs-input.is-placeholder, .lp__p9-newsletter-form select.hs-input:invalid,
.lp__p9-newsletter-form select.is-placeholder,
.lp__p9-newsletter-form select:invalid {
  color: rgba(255, 255, 255, 0.5) !important;
}
.lp__p9-newsletter-form select.hs-input option,
.lp__p9-newsletter-form select option {
  background-color: #0D0030 !important;
  color: #fff !important;
  padding: 10px 14px;
  font-family: "tosh-b", system-ui, sans-serif;
  font-size: 13px;
}
.lp__p9-newsletter-form select.hs-input option:disabled,
.lp__p9-newsletter-form select option:disabled {
  color: rgba(255, 255, 255, 0.4) !important;
}
.lp__p9-newsletter-form select.hs-input option:hover, .lp__p9-newsletter-form select.hs-input option:checked,
.lp__p9-newsletter-form select option:hover,
.lp__p9-newsletter-form select option:checked {
  background-color: #2C0083 !important;
}
.lp__p9-newsletter-form {
  /* Checkbox & Radio */
}
.lp__p9-newsletter-form .hs-form-checkbox,
.lp__p9-newsletter-form .hs-form-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.lp__p9-newsletter-form .hs-form-checkbox label,
.lp__p9-newsletter-form .hs-form-radio label {
  margin-bottom: 0;
  font-weight: 400;
}
.lp__p9-newsletter-form .hs-form-checkbox input[type=checkbox],
.lp__p9-newsletter-form .hs-form-checkbox input[type=radio],
.lp__p9-newsletter-form .hs-form-radio input[type=checkbox],
.lp__p9-newsletter-form .hs-form-radio input[type=radio] {
  width: 18px;
  height: 18px;
  accent-color: #c81e28;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lp__p9-newsletter-form {
  /* Error messages */
}
.lp__p9-newsletter-form .hs-error-msgs {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}
.lp__p9-newsletter-form .hs-error-msgs li {
  color: #ff9a9a;
  font-size: 12px;
}
.lp__p9-newsletter-form {
  /* Rich text / descriptions */
}
.lp__p9-newsletter-form .hs-richtext,
.lp__p9-newsletter-form .hs-field-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin-top: 4px;
}
.lp__p9-newsletter-form {
  /* Submit button */
}
.lp__p9-newsletter-form .hs-button,
.lp__p9-newsletter-form .hs-submit input[type=submit] {
  display: inline-block;
  padding: 12px 40px;
  color: #fff;
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #f3c652, #c81e28);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.lp__p9-newsletter-form .hs-button:hover,
.lp__p9-newsletter-form .hs-submit input[type=submit]:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.lp__p9-newsletter-form .hs-button:active,
.lp__p9-newsletter-form .hs-submit input[type=submit]:active {
  transform: translateY(0);
}
.lp__p9-newsletter-form {
  /* Legal consent / GDPR */
}
.lp__p9-newsletter-form .legal-consent-container {
  margin-top: 12px;
}
.lp__p9-newsletter-form .legal-consent-container .hs-richtext {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  line-height: 1.5;
}
.lp__p9-newsletter-form {
  /* Multi-column layout */
}
.lp__p9-newsletter-form .form-columns-2 {
  display: flex;
  gap: 12px;
}
.lp__p9-newsletter-form .form-columns-2 .hs-form-field {
  flex: 1;
}

/* ─── 6. Footer ─── */
.lp__p9-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40vh;
  padding: 3.5rem 2rem 4rem;
}
@media (max-width: 1024px) {
  .lp__p9-footer {
    min-height: 25vh;
    padding: 2.5rem 1.5rem 3rem;
  }
}
@media (max-width: 645px) {
  .lp__p9-footer {
    min-height: auto;
    padding: 2rem 1rem 6rem;
  }
}

.lp__p9-footer-logo {
  position: relative;
  z-index: 2;
  width: clamp(200px, 22vw, 320px);
  height: auto;
  margin-bottom: 2rem;
}

.lp__p9-links {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "tosh-b", system-ui, sans-serif;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.lp__p9-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.lp__p9-links a:hover {
  color: #fff;
}
.lp__p9-links span {
  color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════
   Sticky panels (stacking effect)
   ═══════════════════════════════════════
   JS assigns ascending z-index to all .lp > *
   so later panels scroll OVER earlier sticky ones. */
.lp__panel--1,
.lp__panel--2 {
  position: sticky;
  top: 0;
}

/* ═══════════════════════════════════════
   Carousel (panels 4 → 5)
   ═══════════════════════════════════════ */
.lp__carousel {
  position: relative;
  /* height set by JS: presetCarouselHeight() */
}

.lp__carousel-track {
  position: sticky;
  top: 0;
  height: 100vh;
}

.lp__carousel-inner {
  display: flex;
  position: relative;
  height: 100%;
  /* width set by JS: slides * 100vw */
  background: linear-gradient(to right, #F3C652 0%, #E87232 8%, #9A0F28 25%, #5700B2 60%, #2C0083 82%, #1A004D 100%);
  /* Noise grain overlay — uses opacity only (no blend mode)
     to avoid recompositing every layer during horizontal scrub */
}
.lp__carousel-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("../assets/patterns/prtn_d.jpeg") repeat;
  opacity: 0.12;
  pointer-events: none;
}

@keyframes carouselGradient {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 50% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}
.lp__carousel-inner {
  will-change: transform; /* GPU-promoted for horizontal scrub */
}

.lp__carousel-inner .lp__panel {
  position: relative;
  z-index: 2;
  width: 100vw;
  min-width: 100vw;
  min-height: 100vh;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   Panel 4 — Text + Person / Video mask
   ═══════════════════════════════════════ */
.lp__panel--4 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
}
@media (max-width: 1024px) {
  .lp__panel--4 {
    align-items: flex-start;
    padding-top: 15%;
  }
}
@media (max-width: 645px) {
  .lp__panel--4 {
    padding-top: 18%;
  }
}

/* SR logo mark watermark — centered behind content */
.lp__panel4-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  max-width: 500px;
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
}

.lp__panel4-content {
  position: relative;
  z-index: 3;
  max-width: 45%;
  padding: 0 0 0 9%;
}
@media (max-width: 1024px) {
  .lp__panel4-content {
    max-width: 55%;
    padding-left: 6%;
  }
}
@media (max-width: 645px) {
  .lp__panel4-content {
    max-width: 100%;
    padding: 0 1.5rem;
    text-align: center;
  }
}

.lp__panel4-body {
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: clamp(20px, 16px + 0.83vw, 32px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 1.75px;
  color: #fff;
  margin: 0;
  max-width: 720px;
}
@media (max-width: 1024px) {
  .lp__panel4-body {
    max-width: 440px;
  }
}
@media (max-width: 645px) {
  .lp__panel4-body {
    line-height: 1.5;
    max-width: 100%;
    font-size: clamp(20px, 18px + 0.56vw, 28px);
  }
}

/* Video masked by the SR shape via CSS mask */
.lp__panel4-video-mask {
  position: absolute;
  right: 2%;
  bottom: 0;
  z-index: 2;
  will-change: transform;
  transform: translateZ(0);
  width: clamp(350px, 45vw, 870px);
  aspect-ratio: 958/749;
  -webkit-mask-image: url("../images/placeholder/person_a_bg.svg");
  mask-image: url("../images/placeholder/person_a_bg.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
}
.lp__panel4-video-mask .lp__panel4-bg {
  position: absolute;
  inset: -30%;
  width: 160%;
  height: 160%;
  object-fit: cover;
  z-index: 0;
  transform: translateZ(0);
}
@media (max-width: 1024px) {
  .lp__panel4-video-mask {
    width: auto;
    height: 45%;
    right: 0;
  }
}
@media (max-width: 645px) {
  .lp__panel4-video-mask {
    width: auto;
    height: 35%;
    right: -5%;
  }
}

/* Gradient glows inside the masked shape — static to avoid
   compositing blur + transform + opacity every frame during scrub */
.lp__panel4-glow {
  position: absolute;
  bottom: -15%;
  width: 80%;
  height: 60%;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}
.lp__panel4-glow--left {
  left: -10%;
  background: rgba(60, 26, 158, 0.9);
}
.lp__panel4-glow--right {
  right: -10%;
  left: auto;
  background: rgba(200, 30, 80, 0.75);
}

/* Person cutout — independent, overlaps video mask */
.lp__panel4-person {
  position: absolute;
  right: 8%;
  bottom: 0;
  z-index: 3;
  will-change: transform;
  width: clamp(300px, 33vw, 660px);
  height: auto;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .lp__panel4-person {
    width: auto;
    height: 40%;
    right: 5%;
  }
}
@media (max-width: 645px) {
  .lp__panel4-person {
    width: auto;
    height: 32%;
    right: 2%;
  }
}

/* ═══════════════════════════════════════
   Panel 5 — Centered statement
   ═══════════════════════════════════════ */
.lp__panel--5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.lp__panel5-video-circle {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%) translateZ(0);
  width: 100vh;
  height: 100vh;
  z-index: 1;
  will-change: transform;
  overflow: hidden;
  border-radius: 50%;
}
.lp__panel5-video-circle video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp__panel5-video-circle {
  /* Static gradient fade — blends edges into carousel bg */
}
.lp__panel5-video-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(to right, rgba(44, 0, 131, 0.7) 0%, transparent 35%, transparent 45%, rgba(44, 0, 131, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 1024px) {
  .lp__panel5-video-circle::after {
    background: linear-gradient(to right, rgba(44, 0, 131, 0.92) 0%, rgba(44, 0, 131, 0.5) 40%, transparent 55%, rgba(44, 0, 131, 0.85) 100%);
  }
}

/* Panel 5 glows removed for performance — blur inside
   a scrubbed carousel with CSS mask was too expensive */
.lp__panel5-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 2rem;
}

/* Dots grid — just above the statement text */
.lp__panel5-dots-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 14px;
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .lp__panel5-dots-grid {
    grid-template-columns: repeat(15, 1fr);
    gap: 12px;
  }
}
@media (max-width: 645px) {
  .lp__panel5-dots-grid {
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
  }
}

/* Dots circle — target container, centered on video circle */
.lp__panel5-dots-circle {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  width: 50vh;
  height: 50vh;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}

.lp__panel5-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

.lp__panel5-body {
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: clamp(20px, 16px + 0.83vw, 32px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 1.75px;
  color: #fff;
  margin: 0;
  max-width: 720px;
}
@media (max-width: 1024px) {
  .lp__panel5-body {
    max-width: 440px;
  }
}
@media (max-width: 645px) {
  .lp__panel5-body {
    line-height: 1.5;
    max-width: 100%;
    font-size: clamp(20px, 18px + 0.56vw, 28px);
  }
}

/* ═══════════════════════════════════════
   Panel 6 — Two-column glassmorphism card
   ═══════════════════════════════════════ */
.lp__panel--6 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Video mask — SR logo shape, flipped, behind text */
.lp__panel6-video-mask {
  position: absolute;
  right: -5%;
  bottom: -112px;
  z-index: 1;
  width: 65%;
  max-width: 800px;
  aspect-ratio: 958/749;
  transform: scaleX(-1) translateZ(0);
  will-change: transform;
  -webkit-mask-image: url("../images/placeholder/person_a_bg.svg");
  mask-image: url("../images/placeholder/person_a_bg.svg");
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  opacity: 1;
}
.lp__panel6-video-mask .lp__panel6-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
}
@media (max-width: 1024px) {
  .lp__panel6-video-mask {
    width: 55%;
    right: -3%;
  }
}
@media (max-width: 645px) {
  .lp__panel6-video-mask {
    display: none;
  }
}

/* Gradient glows — right-focused */
.lp__panel6-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
  /* animation removed for performance */
}
.lp__panel6-glow--a {
  bottom: -15%;
  right: -5%;
  width: 55%;
  height: 50%;
  background: rgba(200, 30, 80, 0.45);
}
.lp__panel6-glow--b {
  top: -10%;
  right: 10%;
  width: 40%;
  height: 40%;
  background: rgba(60, 26, 158, 0.5);
}

.lp__panel6-card {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1300px;
  width: 92%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  /* Solid bg instead of backdrop-filter — avoids compositing
     every layer behind the card on every scrub frame */
  background: radial-gradient(circle at 50% 0%, rgba(140, 20, 70, 0.85) 0%, rgba(70, 15, 110, 0.8) 40%, rgba(35, 0, 100, 0.75) 100%);
  overflow: hidden;
}
@media (max-width: 645px) {
  .lp__panel6-card {
    grid-template-columns: 1fr;
  }
}

.lp__panel6-col {
  padding: 3.5rem 3rem;
}
.lp__panel6-col:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
@media (max-width: 645px) {
  .lp__panel6-col:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
}
@media (max-width: 1024px) {
  .lp__panel6-col {
    padding: 2.5rem 2rem;
  }
}
@media (max-width: 645px) {
  .lp__panel6-col {
    padding: 2rem 1.5rem;
  }
}

.lp__panel6-body {
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: clamp(17px, 15.33px + 0.35vw, 22px);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 1.25px;
  color: rgb(255, 255, 255);
  margin: 0;
}
@media (max-width: 645px) {
  .lp__panel6-body {
    line-height: 1.5;
  }
}

.lp__panel7-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  margin-top: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(44, 0, 131, 0.85), rgba(154, 15, 40, 0.7));
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: "area-inktrap", system-ui, sans-serif;
  font-size: clamp(14px, 13.33px + 0.14vw, 16px);
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.lp__panel7-cta svg {
  flex-shrink: 0;
}
.lp__panel7-cta:hover {
  opacity: 0.85;
}

/* ═══════════════════════════════════════
   Panel navigation — frosted glass pill, left side
   ═══════════════════════════════════════ */
.lp__nav {
  position: fixed;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border-radius: 100px;
  /* Semi-solid bg ensures visibility even if backdrop-filter fails (Safari) */
  background: rgba(50, 30, 70, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: opacity 0.3s ease, background 0.3s ease;
}
@media (max-width: 1024px) {
  .lp__nav {
    /* Switch to horizontal bottom bar */
    left: 50%;
    top: auto;
    bottom: 1.25rem;
    transform: translateX(-50%);
    flex-direction: row;
    padding: 0.5rem 0.75rem;
  }
}
@media (max-width: 645px) {
  .lp__nav {
    bottom: 0.75rem;
    padding: 0.4rem 0.6rem;
    gap: 0.4rem;
  }
}

.lp__nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease, transform 0.15s ease;
}
.lp__nav-arrow:hover {
  color: #fff;
  transform: scale(1.2);
}
.lp__nav-arrow:disabled {
  opacity: 0.15;
  cursor: default;
}
.lp__nav-arrow:disabled:hover {
  transform: none;
}

.lp__nav-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
@media (max-width: 1024px) {
  .lp__nav-dots {
    flex-direction: row;
  }
}

.lp__nav-dot {
  width: 8px;
  height: 24px;
  border-radius: 100px;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  transform: scaleY(0.333);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.lp__nav-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}
.lp__nav-dot.is-active {
  transform: scaleY(1);
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}
@media (max-width: 1024px) {
  .lp__nav-dot {
    width: 24px;
    height: 8px;
    transform: scaleX(0.333);
  }
  .lp__nav-dot.is-active {
    transform: scaleX(1);
  }
}

/* When over light panels, invert nav colors */
.lp__nav.is-light {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.08);
}
.lp__nav.is-light .lp__nav-arrow {
  color: rgba(0, 0, 0, 0.5);
}
.lp__nav.is-light .lp__nav-arrow:hover {
  color: #0a0a0a;
}
.lp__nav.is-light .lp__nav-dot {
  background: rgba(0, 0, 0, 0.2);
}
.lp__nav.is-light .lp__nav-dot:hover {
  background: rgba(0, 0, 0, 0.45);
}
.lp__nav.is-light .lp__nav-dot.is-active {
  background: #0a0a0a;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

/* Scroll direction arrow — bottom right */
.lp__scroll-arrow {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  opacity: 0.5;
  color: #fff;
  transition: opacity 0.4s ease, color 0.3s ease;
  animation: scrollArrowBounceDown 2s ease-in-out infinite;
}
@media (max-width: 1024px) {
  .lp__scroll-arrow {
    bottom: 4.5rem;
    right: 1.25rem;
  }
}
@media (max-width: 645px) {
  .lp__scroll-arrow {
    bottom: 3.5rem;
    right: 1rem;
  }
}
.lp__scroll-arrow svg {
  display: block;
  width: 36px;
  height: 36px;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.lp__scroll-arrow {
  /* Points right for carousel panels */
}
.lp__scroll-arrow.is-right svg {
  transform: rotate(-90deg);
}
.lp__scroll-arrow.is-light {
  color: #0a0a0a;
}
.lp__scroll-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Down bounce (default) */
@keyframes scrollArrowBounceDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}
/* Right bounce (carousel) */
.lp__scroll-arrow.is-right {
  animation-name: scrollArrowBounceRight;
}

@keyframes scrollArrowBounceRight {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(8px);
  }
}
/* Keyboard hint — fixed bottom-left, always present */
.lp__kb-hint {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 100;
  opacity: 0.35;
  transition: color 0.3s ease;
}
@media (max-width: 1024px) {
  .lp__kb-hint {
    bottom: 4.5rem;
    left: 1.25rem;
  }
}
@media (max-width: 645px) {
  .lp__kb-hint {
    bottom: 3.5rem;
    left: 1rem;
  }
}
.lp__kb-hint i {
  font-size: 22px;
  color: #fff;
}
.lp__kb-hint.is-light i {
  color: #0a0a0a;
}
