/* Lightit premium layer — loads last; overrides bundle debt */

:root {
  --section-y: clamp(72px, 9vw, 120px);
  --section-y-sm: clamp(52px, 7vw, 80px);
  --head-gap: clamp(24px, 3.2vw, 40px);
  --gap-lg: clamp(24px, 3.5vw, 40px);
  --radius-interactive: 2px;
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-faint: rgba(255, 255, 255, 0.56);
  --hairline: rgba(255, 255, 255, 0.1);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Rajdhani", system-ui, sans-serif;
  --font-body: "Rajdhani", system-ui, sans-serif;
}

body.lightit-page,
body.lightit-seo-page {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.li-section-title,
.li-stat-val,
.li-btn,
.li-section-label,
.li-nav-links a,
.li-nav-cta,
.li-footer-heading {
  font-family: var(--font-display);
}

/* Prefer instant scroll — stacks better with rAF header/parallax */
html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-h, 88px) + 12px);
}

/* ── Scroll progress (top reading rail) ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 300;
  pointer-events: none;
  overflow: visible;
  background: transparent;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.scroll-progress::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.07) 18%,
    rgba(255, 255, 255, 0.07) 82%,
    transparent 100%
  );
  opacity: 0.9;
}

.scroll-progress.is-on {
  opacity: 1;
}

.scroll-progress #scroll-bar,
.scroll-progress span {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  backface-visibility: hidden;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.82) 55%,
    #ffffff 100%
  );
  box-shadow: none;
  border-radius: 0 1px 1px 0;
}

.scroll-progress #scroll-bar::after,
.scroll-progress span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 48px;
  height: 6px;
  transform: translate(0, -50%);
  background: radial-gradient(
    ellipse at right center,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.12) 45%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.9;
}

.scroll-progress.is-complete #scroll-bar,
.scroll-progress.is-complete span {
  background: #fff;
}

.scroll-progress.is-complete #scroll-bar::after,
.scroll-progress.is-complete span::after {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    transition: none;
  }

  .scroll-progress #scroll-bar,
  .scroll-progress span {
    will-change: auto;
  }
}

/* ── Header ── */
.li-header.scrolled {
  background: rgba(6, 6, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.li-nav-links a {
  opacity: 0.72;
  transition: opacity 0.3s var(--ease);
}

.li-nav-links a:hover,
.li-nav-links a:focus-visible,
.li-nav-links a[aria-current="true"] {
  opacity: 1;
}

.li-nav-cta {
  border-bottom-width: 1px;
  border-bottom-color: rgba(255, 255, 255, 0.55);
  transition: border-color 0.3s var(--ease), opacity 0.3s;
}

.li-nav-cta:hover {
  opacity: 1;
  border-bottom-color: #fff;
}

/* ── Hero: one composition ── */
.li-hero--banner {
  min-height: 100vh;
  min-height: 100svh;
  padding-bottom: clamp(40px, 6vh, 72px);
  justify-content: space-between;
}

.li-hero--banner .li-hero-overlay {
  background:
    linear-gradient(180deg, rgba(6, 6, 8, 0.42) 0%, rgba(6, 6, 8, 0.18) 38%, rgba(6, 6, 8, 0.55) 68%, rgba(6, 6, 8, 0.82) 100%);
}

.li-hero-banner-stage {
  align-items: center;
  padding:
    calc(var(--header-h) + clamp(32px, 8vh, 96px))
    24px
    clamp(12px, 3vh, 28px);
}

.li-hero-banner {
  margin-bottom: 0;
}

.li-hero--banner .li-hero-inner {
  min-height: 0;
  max-width: 560px;
  padding-top: 0;
}

.li-hero--banner .li-lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  max-width: 34em;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}

.li-hero-cta {
  gap: 20px;
}

.li-hero-cta .li-btn--primary {
  border-radius: 999px;
}

.li-hero-cta .li-btn--secondary {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  padding: 10px 2px;
  min-height: 0;
  width: auto;
  align-self: center;
}

.li-hero-cta .li-btn--secondary:hover {
  background: transparent;
  border-bottom-color: #fff;
  transform: none;
  opacity: 0.9;
}

/* Hero: one primary CTA + one quiet link */
.li-hero-cta .li-btn--text {
  display: none;
}

@media (min-width: 769px) {
  .li-hero-banner-stage {
    align-items: center;
    justify-content: center;
  }

  .li-hero-cta {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    width: auto;
  }

  .li-hero-cta .li-btn--primary {
    width: auto;
    min-width: 220px;
  }
}

/* ── Stats: separated strip, not dashboard chrome ── */
.li-stats {
  margin-top: 0;
  padding-top: var(--section-y-sm);
  padding-bottom: var(--section-y-sm);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
}

.li-stats::before {
  content: "";
  display: block;
  width: min(120px, 30vw);
  height: 1px;
  margin: 0 auto 40px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.li-stats-grid {
  gap: clamp(20px, 3vw, 40px);
}

.li-stat {
  padding: 8px 12px;
  position: relative;
}

.li-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--hairline);
}

@media (max-width: 768px) {
  .li-stat:nth-child(2n)::after {
    display: none;
  }
}

.li-stat-val {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.li-stat-lbl {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ── Section rhythm ── */
.li-clients,
.li-compare,
.li-process,
.li-reel,
.li-work,
.li-team,
.li-faq {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.li-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.li-section-label::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  vertical-align: unset;
}

.li-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw + 0.6rem, 4.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: var(--head-gap);
  max-width: 100%;
  text-wrap: balance;
}

/* Prefer one line; wrap only when the viewport is too narrow */
.li-process .li-section-title,
.li-clients .li-section-title,
.li-work .li-section-title,
.li-team .li-section-title,
.li-faq .li-section-title,
.li-reel .li-section-title,
.li-compare .li-section-title {
  max-width: 100%;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .li-process .li-section-title,
  .li-clients .li-section-title,
  .li-work .li-section-title,
  .li-team .li-section-title,
  .li-faq .li-section-title,
  .li-reel .li-section-title,
  .li-compare .li-section-title {
    white-space: normal;
  }
}

.li-process .li-section-title {
  margin-bottom: 12px;
}

.li-process-intro {
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: var(--head-gap);
}

.li-work-head,
.li-reel-head,
.li-compare-head {
  margin-bottom: var(--head-gap);
}

.li-work-head .li-section-title,
.li-reel-head .li-section-title,
.li-compare-head .li-section-title,
.li-clients-head .li-section-title,
.li-team .li-section-title,
.li-faq .li-section-title {
  margin-bottom: 0;
}

/* ── Clients — dual-row marquee (scoped; does NOT use .li-marquee) ── */
.li-clients {
  padding-top: var(--section-y-sm);
  padding-bottom: var(--section-y-sm);
  border-top: 1px solid var(--hairline);
  background: transparent;
  overflow: hidden;
}

.li-clients-head {
  margin-bottom: var(--head-gap);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.li-clients-head .li-section-label {
  justify-content: center;
  margin-bottom: 12px;
}

.li-clients-head .li-section-title {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.85rem, 4.2vw + 0.6rem, 4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.li-clients-marquee {
  min-height: 48px;
  margin-top: 0;
  opacity: 1;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.li-clients-marquee::-webkit-scrollbar,
.li-clients-row::-webkit-scrollbar,
.li-clients-rows::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.li-clients-marquee.is-ready {
  opacity: 1;
}

/* Ensure marquees keep animating even if perf.css re-enables containment */
.li-clients,
.li-work,
#portfolio-marquee,
#clients-marquee {
  content-visibility: visible !important;
  contain-intrinsic-size: none !important;
}

.li-clients-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.li-clients-row {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overflow-x: hidden;
  padding: 2px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.li-clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 10px;
  animation: liClientsScroll 45s linear infinite;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.li-clients-marquee.is-offscreen .li-clients-track,
#portfolio-marquee.is-offscreen .li-clients-track {
  animation-play-state: paused;
}

.li-clients-row--rev .li-clients-track {
  animation-duration: 62s;
  animation-direction: reverse;
}

@media (hover: hover) and (pointer: fine) {
  .li-clients-row:hover .li-clients-track {
    animation-play-state: paused;
  }
}

@keyframes liClientsScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.li-client-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-interactive, 2px);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.li-client-chip:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.li-client-name {
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.2vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.li-client-chip:hover .li-client-name {
  color: #fff;
}

.li-client-chip[data-type="festival"] .li-client-name {
  color: rgba(255, 255, 255, 0.75);
}

.li-client-sep {
  display: none !important;
}

@media (max-width: 768px) {
  .li-clients-head {
    margin-bottom: var(--head-gap);
  }

  .li-clients-rows {
    gap: 8px;
  }

  .li-clients-track {
    gap: 8px;
    animation-duration: 38s;
  }

  .li-clients-row--rev .li-clients-track {
    animation-duration: 52s;
  }

  .li-client-chip {
    padding: 8px 12px;
  }

  .li-client-name {
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .li-clients-track {
    animation: none !important;
    transform: none !important;
  }

  .li-clients-row {
    overflow: hidden !important;
    overflow-x: hidden !important;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ── Compare: cinematic slider ── */
.li-compare-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.li-compare-head .li-section-label {
  justify-content: center;
}

.li-compare-head .li-section-title {
  max-width: 100%;
  text-align: center;
  margin-inline: auto;
  font-size: clamp(1.35rem, 2.6vw + 0.45rem, 3.25rem);
}

.li-compare-wrap {
  max-width: min(100%, 1080px);
}

.li-compare-slider {
  border-radius: var(--radius-interactive);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 4px 16px rgba(0, 0, 0, 0.35);
  background: #040406;
}

.li-compare-vignette {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 22%, transparent 72%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, transparent 18%, transparent 82%, rgba(0, 0, 0, 0.18) 100%);
  opacity: 1;
}

.li-compare-label {
  top: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-interactive);
  background: rgba(6, 6, 8, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-shadow: none;
  color: rgba(255, 255, 255, 0.92);
}

.li-compare-label--live {
  left: 16px;
}

.li-compare-label--design {
  right: 16px;
}

.li-compare-line {
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 6%,
    #fff 50%,
    rgba(255, 255, 255, 0.25) 94%,
    transparent 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(255, 255, 255, 0.35);
}

.li-compare-knob {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(8, 8, 10, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.06),
    0 10px 28px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}

.li-compare-slider:hover .li-compare-knob,
.li-compare-slider.is-dragging .li-compare-knob,
.li-compare-handle:focus-visible .li-compare-knob {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.1),
    0 12px 36px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.li-compare-knob-grip {
  width: 22px;
  height: 12px;
}

.li-compare-knob-grip::before,
.li-compare-knob-grip::after {
  border-width: 4px 5px 4px 0;
}

.li-compare-knob-grip::before {
  border-width: 4px 6px 4px 0;
  border-color: transparent #fff transparent transparent;
  left: 0;
}

.li-compare-knob-grip::after {
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent #fff;
  right: 0;
}

.li-compare-hint {
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-interactive);
  background: rgba(6, 6, 8, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: none;
  white-space: nowrap;
}

.li-compare-slider.is-hint-hidden .li-compare-hint {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  pointer-events: none;
}

.li-compare-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 18px;
  font-family: var(--font-display);
}

.li-compare-caption-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.li-compare-caption-sep {
  color: rgba(255, 255, 255, 0.25);
}

.li-compare-caption-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Pre-faded composite: one image (live left → design right), no dual-clip drag */
.li-compare-slider--single {
  cursor: default;
  touch-action: pan-y;
  aspect-ratio: 2160 / 1350;
  max-width: min(100%, 1080px);
}

.li-compare-picture--single {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.li-compare-single {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
  display: block;
}

.li-compare-slider--single .li-compare-vignette {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 20%, transparent 78%, rgba(0, 0, 0, 0.38) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, transparent 14%, transparent 86%, rgba(0, 0, 0, 0.08) 100%);
}

@media (max-width: 768px) {
  .li-compare-slider--single {
    aspect-ratio: 2160 / 1350;
    max-height: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .li-compare-knob {
    transition: none;
  }
}

/* ── Services panels ── */
.li-service-panel {
  padding: clamp(80px, 12vh, 120px) 0 clamp(56px, 8vh, 88px);
}

.li-service-panel-bg {
  /* Dedicated var — never inherit :root --bg color into background-image */
  background-image: var(--panel-bg, none);
  background-color: #060608;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
}

.li-service-panel:hover .li-service-panel-bg,
.li-service-panel:focus-within .li-service-panel-bg {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .li-service-panel-bg,
  .li-service-panel:hover .li-service-panel-bg {
    transition: none;
    transform: scale(1.05);
  }
}

.li-service-panel-overlay {
  background:
    linear-gradient(90deg, rgba(6, 6, 8, 0.62) 0%, rgba(6, 6, 8, 0.28) 52%, rgba(6, 6, 8, 0.12) 100%),
    linear-gradient(180deg, transparent 45%, rgba(6, 6, 8, 0.4) 100%);
}

.li-service-panel-inner {
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  padding-left: 28px;
}

.li-service-num {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  margin-bottom: 14px;
  display: block;
}

.li-service-panel h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin-bottom: 12px;
}

.li-service-tag {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.li-service-panel-inner > p:last-child {
  max-width: 42ch;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ── Process: hover slideshow — titles left, stacked images right ── */
.li-process-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.li-process-rail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.li-process-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.li-process-title {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  min-height: 44px;
}

.li-process-title:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 4px;
}

.li-process-title .li-process-num {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
  transition: color 0.35s var(--ease);
}

.li-process-title-text {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.li-process-title-text .li-char {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
}

.li-process-title-text .li-char-inner {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: calc(var(--i, 0) * 25ms);
}

.li-process-title-text .li-char-dim {
  opacity: 0.22;
}

.li-process-title-text .li-char-full {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 1;
  transform: translateY(110%);
}

.li-process-title.is-active .li-char-dim {
  transform: translateY(-110%);
}

.li-process-title.is-active .li-char-full {
  transform: translateY(0);
}

.li-process-title.is-active .li-process-num {
  color: rgba(255, 255, 255, 0.7);
}

/* Shared body slot — no title-list layout jump on hover */
.li-process-bodies {
  position: relative;
  min-height: 4.8em;
}

.li-process-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 36em;
}

.li-process-copy:not(.is-active) {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.li-process-copy.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.li-process-media {
  position: relative;
  width: 100%;
  border-radius: var(--radius-interactive, 12px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #040406;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 24px 80px rgba(0, 0, 0, 0.45);
}

.li-process-media-stack {
  display: grid;
  position: relative;
  /* Landscape assets are ~3:2 — match frame to reduce cover crop */
  aspect-ratio: 3 / 2;
  width: 100%;
  min-height: clamp(280px, 48vw, 420px);
  overflow: hidden;
  background: #040406;
}

.li-process-media-stack > * {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
}

.li-process-media-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  background: #040406;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0;
  z-index: 0;
  transition: none;
  pointer-events: none;
  user-select: none;
}

.li-process-media-img.is-prev {
  opacity: 1;
  z-index: 1;
}

.li-process-media-img.is-active {
  opacity: 1;
  z-index: 2;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  animation: liProcessClipIn 0.8s cubic-bezier(0.33, 1, 0.68, 1) both;
}

.li-process-media-img[data-step] {
  object-position: center;
}

@keyframes liProcessClipIn {
  from {
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  }
  to {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
}

@media (min-width: 900px) {
  .li-process-layout {
    /* Media-dominant column */
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.6fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
  }

  .li-process-media-stack {
    aspect-ratio: 3 / 2;
    min-height: clamp(460px, 58vh, 720px);
  }

  .li-process-title {
    padding: 12px 0;
  }

  .li-process-title-text {
    font-size: clamp(2.15rem, 4vw, 3.4rem);
  }

  .li-process-bodies {
    min-height: 5.2em;
  }
}

@media (min-width: 1200px) {
  .li-process-media-stack {
    min-height: clamp(540px, 62vh, 780px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .li-process-title-text .li-char-inner {
    transition: none !important;
  }

  .li-process-media-img.is-active {
    animation: none;
  }

  .li-process-title-text .li-char-dim {
    opacity: 0.22;
    transform: none;
  }

  .li-process-title.is-active .li-char-dim {
    opacity: 0;
    transform: none;
  }

  .li-process-title-text .li-char-full {
    transform: none;
    opacity: 0;
  }

  .li-process-title.is-active .li-char-full {
    opacity: 1;
  }
}

/* ── Showreel mosaic (one composition, focus on hover) ── */
.li-reel {
  position: relative;
  isolation: isolate;
}

.li-reel::before {
  content: "";
  position: absolute;
  inset: 10% 0 16%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(50% 65% at 50% 48%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.li-reel-play {
  display: none !important;
}

.li-reel-player {
  border-radius: var(--radius-interactive);
  overflow: hidden;
}

.li-reel-marquee-wrap,
.li-reel-mosaic-wrap,
.li-reel-rail-wrap {
  position: relative;
  margin-top: 10px;
}

/* Full-bleed reel marquee (same loop idea as clients) */
.li-reel,
#reel-marquee {
  content-visibility: visible !important;
  contain-intrinsic-size: none !important;
}

.li-reel-marquee {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.li-reel-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 2px;
  width: max-content;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  animation: liReelMarquee 48s linear infinite;
}

.li-reel-marquee.is-ready .li-reel-track {
  animation-play-state: running;
}

.li-reel-marquee.is-offscreen .li-reel-track,
.li-reel-marquee.is-paused .li-reel-track,
.li-reel-track.is-static {
  animation-play-state: paused;
}

@keyframes liReelMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.li-reel-track > .li-reel-cell {
  position: relative;
  flex: 0 0 clamp(150px, 17vw, 210px);
  min-width: 0;
  transition:
    opacity 0.4s var(--ease),
    filter 0.4s var(--ease),
    transform 0.45s var(--ease);
}

.li-reel-track.is-focusing > .li-reel-cell:not(:has(.li-reel-item.is-hot)) {
  opacity: 0.28;
  filter: saturate(0.45) brightness(0.55);
}

.li-reel-track.is-focusing > .li-reel-cell:has(.li-reel-item.is-hot) {
  z-index: 4;
  opacity: 1;
  filter: none;
  transform: scale(1.06);
}

.li-reel-track.is-focusing > .li-reel-cell:has(.li-reel-item.is-hot) .li-reel-item-media {
  outline: 1px solid rgba(255, 255, 255, 0.55);
  outline-offset: -1px;
}

.li-reel-item {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  text-align: left;
  display: block;
}

.li-reel-item-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #0a0a0c;
}

.li-reel-item-img,
.li-reel-item-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease), filter 0.45s var(--ease);
}

.li-reel-item-video {
  background: #0a0a0c;
}

.li-reel-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.35s var(--ease);
}

.li-reel-item-play,
.li-reel-play {
  display: none !important;
}

.li-reel-item-play svg {
  display: none;
}

.li-reel-item-meta,
.li-reel-item-title {
  display: none !important;
}

.li-reel-item-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.li-reel-item-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.li-reel-item.is-primary .li-reel-item-overlay {
  opacity: 0.18;
}

.li-reel-item.is-primary .li-reel-item-progress {
  opacity: 0.55;
}

.li-reel-item.is-playing .li-reel-item-overlay {
  opacity: 0.08;
}

.li-reel-item.is-playing .li-reel-item-video {
  filter: brightness(1.06) contrast(1.04);
}

.li-reel-item.is-playing .li-reel-item-progress {
  opacity: 1;
}

.li-reel-item.is-hot .li-reel-item-overlay {
  opacity: 0.15;
}

.li-reel-item.is-hot .li-reel-item-img,
.li-reel-item.is-hot .li-reel-item-video {
  transform: scale(1.06);
}

.li-reel-item.is-hot .li-reel-item-progress {
  opacity: 1;
}

.li-reel-item.is-poster-only .li-reel-item-overlay {
  opacity: 0.45;
}

.li-reel-item:focus-visible {
  outline: none;
}

.li-reel-item:focus-visible .li-reel-item-media {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: -2px;
}

.li-reel-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(18px, 2.5vw, 28px);
}

.li-reel-ig-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(255, 255, 255, 0.78));
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s, letter-spacing 0.25s;
}

.li-reel-ig-link:hover,
.li-reel-ig-link:focus-visible {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.16em;
}

.li-modal-reel--video .li-video-wrap {
  aspect-ratio: 9 / 16;
  width: min(400px, 100%);
  max-height: min(80vh, 760px);
  margin-inline: auto;
  margin-bottom: 20px;
  background: #000;
  border-radius: var(--radius-interactive, 2px);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.li-modal-reel--video .li-video-wrap iframe,
.li-modal-reel--video .li-video-wrap .li-reel-modal-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.li-modal-reel--video .li-video-wrap .li-reel-modal-video {
  object-fit: cover;
  background: #000;
}

@media (max-width: 768px) {
  .li-reel-track > .li-reel-cell {
    flex-basis: clamp(132px, 36vw, 168px);
  }

  .li-reel-track.is-focusing > .li-reel-cell:not(:has(.li-reel-item.is-hot)) {
    opacity: 0.42;
  }

  .li-reel-item-play {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .li-reel-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 2px;
  }

  .li-reel-track > .li-reel-cell {
    flex: 1 1 30%;
    max-width: 180px;
  }

  .li-reel-item,
  .li-reel-item-img,
  .li-reel-item-video,
  .li-reel-item-play,
  .li-reel-item-media,
  .li-reel-item-overlay,
  .li-reel-item-progress,
  .li-reel-track > .li-reel-cell {
    transition: none;
  }

  .li-reel-track.is-focusing > .li-reel-cell:has(.li-reel-item.is-hot),
  .li-reel-item.is-hot .li-reel-item-img,
  .li-reel-item.is-hot .li-reel-item-video {
    transform: none;
    filter: none;
  }
}

.li-work {
  padding-bottom: var(--section-y-sm);
}

.li-team {
  padding-top: var(--section-y-sm);
}

/* ── Work tiles: quieter chrome + light wash ── */
.li-work-item {
  border-radius: var(--radius-interactive);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.li-work-item:hover,
.li-work-item:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
}

@media (hover: hover) and (pointer: fine) {
  .li-work-item:hover img,
  .li-work-item:focus-visible img {
    filter: brightness(1.06) saturate(1.05);
    transition: filter 0.5s var(--ease), transform 0.55s var(--ease);
  }
}

.li-work-more {
  margin-top: var(--head-gap);
}

.li-work-more .li-btn--outline {
  border-radius: 999px;
}

/* ── Work layout grid (3-col asymmetric + expand) ── */
/* Override bundle orient/feature aspect + align-self:start — equal row heights */
#portfolio-grid.li-work-grid {
  align-items: stretch;
}

#portfolio-grid .li-work-item {
  align-self: stretch;
  height: auto;
  min-height: 0;
}

@media (min-width: 900px) {
  #portfolio-grid.li-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
  }

  /* Neutralize orientation/feature aspect + full-bleed from bundle */
  #portfolio-grid .li-work-item.li-work-item--landscape,
  #portfolio-grid .li-work-item.li-work-item--portrait,
  #portfolio-grid .li-work-item.li-work-item--square,
  #portfolio-grid .li-work-item.li-work-item--feature,
  #portfolio-grid .li-work-item.li-work-item--feature.li-work-item--landscape,
  #portfolio-grid .li-work-item.li-work-item--feature.li-work-item--portrait,
  #portfolio-grid .li-work-item.li-work-item--feature.li-work-item--square {
    aspect-ratio: auto;
    grid-column: auto;
    align-self: stretch;
  }

  /* Span-2 defines row height; span-1 fills the same track */
  #portfolio-grid .li-work-item.li-work-item--span-2,
  #portfolio-grid .li-work-item.li-work-item--span-2.li-work-item--feature,
  #portfolio-grid .li-work-item.li-work-item--span-2.li-work-item--landscape,
  #portfolio-grid .li-work-item.li-work-item--span-2.li-work-item--portrait,
  #portfolio-grid .li-work-item.li-work-item--span-2.li-work-item--square,
  #portfolio-grid .li-work-item.li-work-item--span-2.li-work-item--feature.li-work-item--landscape,
  #portfolio-grid .li-work-item.li-work-item--span-2.li-work-item--feature.li-work-item--portrait,
  #portfolio-grid .li-work-item.li-work-item--span-2.li-work-item--feature.li-work-item--square {
    grid-column: span 2;
    aspect-ratio: 3 / 2;
    align-self: stretch;
  }

  #portfolio-grid .li-work-item.li-work-item--span-1,
  #portfolio-grid .li-work-item.li-work-item--span-1.li-work-item--landscape,
  #portfolio-grid .li-work-item.li-work-item--span-1.li-work-item--portrait,
  #portfolio-grid .li-work-item.li-work-item--span-1.li-work-item--square {
    grid-column: span 1;
    aspect-ratio: auto;
    height: 100%;
    align-self: stretch;
  }
}

@media (max-width: 899px) and (min-width: 481px) {
  #portfolio-grid.li-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  #portfolio-grid .li-work-item,
  #portfolio-grid .li-work-item.li-work-item--span-2,
  #portfolio-grid .li-work-item.li-work-item--span-1,
  #portfolio-grid .li-work-item.li-work-item--landscape,
  #portfolio-grid .li-work-item.li-work-item--portrait,
  #portfolio-grid .li-work-item.li-work-item--square,
  #portfolio-grid .li-work-item.li-work-item--feature.li-work-item--landscape {
    grid-column: auto;
    aspect-ratio: 4 / 5;
    align-self: stretch;
  }
}

@media (max-width: 480px) {
  #portfolio-grid.li-work-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #portfolio-grid .li-work-item,
  #portfolio-grid .li-work-item.li-work-item--span-2,
  #portfolio-grid .li-work-item.li-work-item--span-1,
  #portfolio-grid .li-work-item.li-work-item--landscape,
  #portfolio-grid .li-work-item.li-work-item--portrait,
  #portfolio-grid .li-work-item.li-work-item--square,
  #portfolio-grid .li-work-item.li-work-item--feature.li-work-item--landscape {
    grid-column: auto;
    aspect-ratio: 4 / 5;
    align-self: stretch;
  }
}

body.li-work-expand-open {
  overflow: hidden;
}

.li-work-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  /* No backdrop-filter — it blurred the expand card under this layer */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.li-work-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.li-work-item--placeholder {
  visibility: hidden;
  pointer-events: none;
  border: 0 !important;
  background: transparent !important;
}

.li-work-item.is-expanded {
  position: fixed !important;
  z-index: 410;
  aspect-ratio: auto !important;
  grid-column: unset !important;
  margin: 0;
  transform: none;
  isolation: isolate;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 32px 96px rgba(0, 0, 0, 0.65);
  cursor: default;
  filter: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.li-work-item.is-expanded .li-work-arrow {
  opacity: 0 !important;
  pointer-events: none;
}

.li-work-item.is-expanded .li-work-meta {
  opacity: 0;
  pointer-events: none;
}

.li-work-item.is-expanded::before {
  height: 72%;
  opacity: 1;
  background: linear-gradient(
    to top,
    rgba(6, 6, 8, 0.92) 0%,
    rgba(6, 6, 8, 0.45) 45%,
    rgba(6, 6, 8, 0) 100%
  );
}

.li-work-item.is-expanded::after {
  background: rgba(0, 0, 0, 0.15);
}

.li-work-item.is-expanded .li-work-img {
  transform: none !important;
  object-fit: cover;
}

.li-work-expand-panel {
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  padding: clamp(20px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease) 0.12s, transform 0.4s var(--ease) 0.08s;
}

.li-work-item.is-expanded .li-work-expand-panel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.li-work-expand-panel .li-work-kicker {
  pointer-events: none;
}

.li-work-expand-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.35rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.08;
  margin: 0;
  max-width: 22ch;
  color: var(--text);
}

.li-work-expand-cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 18px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(6, 6, 8, 0.45);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}

.li-work-expand-cta:hover,
.li-work-expand-cta:focus-visible {
  border-color: #fff;
  background: rgba(6, 6, 8, 0.7);
  outline: none;
}

.li-work-expand-close {
  pointer-events: auto;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(6, 6, 8, 0.5);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: none;
  place-items: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease) 0.1s;
}

.li-work-item.is-expanded > .li-work-expand-close {
  display: grid;
  opacity: 1;
}

.li-work-expand-close:hover,
.li-work-expand-close:focus-visible {
  border-color: #fff;
  outline: none;
}

@media (max-width: 768px) {
  .li-work-expand-panel {
    padding: 18px 16px 20px;
  }

  .li-work-expand-panel h3 {
    font-size: clamp(1.25rem, 6vw, 1.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .li-work-backdrop,
  .li-work-expand-panel,
  .li-work-item.is-expanded {
    transition: none !important;
  }
}

/* ── Team: typography, not cards ── */
.li-team-grid {
  gap: 0;
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--hairline);
}

.li-team-member {
  padding: 26px 8px 26px 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  align-items: baseline;
}

.li-team-member:hover {
  background: transparent;
}

.li-team-index {
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  /* ≥4.5:1 on --bg (#060608) for a11y */
  color: rgba(255, 255, 255, 0.62);
  line-height: 1;
  user-select: none;
}

.li-team-member--lead .li-team-index {
  color: rgba(255, 255, 255, 0.78);
}

.li-team-member h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.li-team-member p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

/* ── FAQ ── */
.li-faq-item {
  border-bottom: 1px solid var(--hairline);
}

.li-faq-item summary {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.25s;
}

.li-faq-item summary::-webkit-details-marker {
  display: none;
}

.li-faq-item summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.15em;
  line-height: 1;
  opacity: 0.55;
  flex-shrink: 0;
}

.li-faq-item[open] summary::after {
  content: "\2212";
}

.li-faq-item[open] summary {
  color: #fff;
}

.li-faq-item p {
  max-width: 52ch;
  color: var(--text-soft);
  padding-bottom: 20px;
  line-height: 1.65;
}

/* ── Contact form (inside unified footer) ── */
.li-form input,
.li-form textarea {
  border-radius: var(--radius-interactive);
  border-color: var(--hairline);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background 0.3s;
}

.li-form input:focus,
.li-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

form.li-form:tool-form-active {
  outline: 1px dashed rgba(255, 255, 255, 0.55);
  outline-offset: 6px;
}

.li-form button:tool-submit-active {
  outline: 1px dashed rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

.li-form .li-btn--primary {
  border-radius: 999px;
  margin-top: 8px;
}

/* ── Floating contact chip (mobile FAB; display:none on desktop) ── */
.li-contact-chip {
  border-radius: 999px;
  border: 1px solid transparent;
  background: #fff;
  color: #060608;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  letter-spacing: 0.14em;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s var(--ease), background 0.3s, opacity 0.3s;
}

.li-contact-chip:hover,
.li-contact-chip:focus-visible {
  border-color: transparent;
  background: #fff;
  color: #060608;
  opacity: 0.92;
  transform: translateY(-2px);
}

/* ── Buttons global refine ── */
.li-btn--primary {
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}

.li-btn--outline,
.li-btn--ghost {
  border-radius: 999px;
}

.li-btn--text {
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 2px;
}

/* ── Cookie ── */
.li-cookie {
  border-top: 1px solid var(--hairline);
  background: rgba(6, 6, 8, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ── Grain quieter ── */
.li-grain {
  opacity: 0.035;
  pointer-events: none;
}

/* ── Desktop process hover layout handled above ── */

@media (min-width: 769px) {
  .li-team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 32px;
  }
}

/* ── Mobile premium alignment ── */
@media (max-width: 768px) {
  :root {
    --section-y: clamp(56px, 12vw, 72px);
    --section-y-sm: clamp(40px, 9vw, 56px);
    --head-gap: clamp(20px, 5vw, 28px);
  }

  .li-stats::before {
    margin-bottom: 24px;
  }

  .li-stat:nth-child(odd)::after {
    display: block;
  }

  .li-stat:nth-child(even)::after {
    display: none;
  }

  .li-process-layout {
    gap: 24px;
  }

  .li-process-title-text {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .li-process-media-stack {
    aspect-ratio: 3 / 2;
    min-height: clamp(240px, 58vw, 360px);
  }

  .li-process-bodies {
    min-height: 5.5em;
  }

  .li-team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }

  .li-service-panel-inner {
    padding-left: 18px;
  }

  .li-hero-cta .li-btn--secondary {
    align-self: flex-start;
  }

  /* Cookie bar may overlay meta; keep modest clearance (chip hides in footer) */
  .li-footer {
    padding-bottom: max(36px, calc(20px + env(safe-area-inset-bottom, 0px))) !important;
  }

  .li-faq-item p {
    padding-bottom: 16px;
  }

  .li-clients {
    padding-top: var(--section-y-sm);
    padding-bottom: var(--section-y-sm);
  }

  .li-clients-head {
    margin-bottom: var(--head-gap);
  }

  .li-work {
    padding-bottom: var(--section-y-sm);
  }

  .li-team {
    padding-top: var(--section-y-sm);
  }

  html.js .li-hero-banner,
  html.js .li-hero-inner .li-lead,
  html.js .li-hero-inner .li-hero-cta {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ── Footer polish (unified close — spacing only) ── */
.li-footer {
  padding-top: clamp(48px, 6vw, 64px);
}

/* ── SEO page prose inherits premium tokens ── */
body.lightit-seo-page .li-seo-main {
  position: relative;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  max-width: 900px;
}

/* SEO/hub/work/legal/careers — homepage EN|TR pattern (link-based) */
body.lightit-seo-page .li-seo-lang,
body.lightit-careers-page .li-seo-lang {
  float: right;
  margin: 0 0 0.75rem 1rem;
  z-index: 5;
}

body.lightit-seo-page a.li-lang-btn,
body.lightit-careers-page a.li-lang-btn {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
}

body.lightit-seo-page a.li-lang-btn.is-active,
body.lightit-seo-page a.li-lang-btn:hover,
body.lightit-seo-page a.li-lang-btn:focus-visible,
body.lightit-careers-page a.li-lang-btn.is-active,
body.lightit-careers-page a.li-lang-btn:hover,
body.lightit-careers-page a.li-lang-btn:focus-visible {
  color: var(--text, #fff);
}

body.lightit-careers-page .li-seo-main {
  position: relative;
}

body.lightit-careers-page .li-seo-lang {
  position: absolute;
  top: clamp(24px, 3.5vh, 36px);
  right: 0;
  float: none;
  margin: 0;
}

body.lightit-seo-page .li-seo-header h1 {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

body.lightit-seo-page .li-seo-lead {
  max-width: 42ch;
  color: var(--text-soft);
}

body.lightit-seo-page .li-seo-prose {
  max-width: 62ch;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

body.lightit-seo-page .li-seo-prose h2 {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw + 0.7rem, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

body.lightit-seo-page .li-seo-faq {
  max-width: 62ch;
  margin: 2.25rem 0 1.25rem;
}

body.lightit-seo-page .li-seo-faq h2 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw + 0.7rem, 1.45rem);
  font-weight: 600;
  color: #fff;
}

body.lightit-seo-page .li-seo-faq .li-faq-item {
  border-top: 1px solid var(--hairline);
  padding: 0.85rem 0;
}

body.lightit-seo-page .li-seo-faq .li-faq-item:last-child {
  border-bottom: 1px solid var(--hairline);
}

body.lightit-seo-page .li-seo-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  list-style: none;
}

body.lightit-seo-page .li-seo-faq summary::-webkit-details-marker {
  display: none;
}

body.lightit-seo-page .li-seo-faq details p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

body.lightit-seo-page .li-seo-footer {
  padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--hairline);
  margin-top: 0;
  padding-top: 28px;
  opacity: 1;
  color: var(--text-muted, rgba(255, 255, 255, 0.78));
  font-size: 13px;
}

body.lightit-seo-page .li-seo-footer a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

body.lightit-seo-page .li-seo-footer a:hover,
body.lightit-seo-page .li-seo-footer a:focus-visible {
  color: #fff;
}

body.lightit-seo-page .li-seo-related {
  margin: 2.5rem 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

body.lightit-seo-page .li-seo-related h2 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(255, 255, 255, 0.78));
}

body.lightit-seo-page .li-seo-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

body.lightit-seo-page .li-seo-related a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

body.lightit-seo-page .li-seo-related a:hover,
body.lightit-seo-page .li-seo-related a:focus-visible {
  color: #fff;
}

/* ── Careers — clear hierarchy, readable stage wash ── */
body.lightit-careers-page {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background: #060608;
}

body.lightit-careers-page .li-seo-main {
  position: relative;
  z-index: 1;
  max-width: min(1120px, calc(100% - 48px));
  padding-top: 0;
  padding-bottom: clamp(64px, 9vw, 104px);
}

body.lightit-careers-page .li-seo-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.li-careers-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.li-careers-bg {
  position: absolute;
  inset: 0;
  display: block;
}

.li-careers-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  transform: scale(1.04);
  filter: saturate(0.78) contrast(1.05) brightness(0.62);
  animation: liCareersBgDrift 30s ease-in-out infinite alternate;
}

.li-careers-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 6, 8, 0.82) 0%, rgba(6, 6, 8, 0.52) 38%, rgba(6, 6, 8, 0.2) 68%, rgba(6, 6, 8, 0.5) 100%),
    linear-gradient(180deg, rgba(6, 6, 8, 0.3) 0%, rgba(6, 6, 8, 0.4) 48%, rgba(6, 6, 8, 0.9) 100%);
}

.li-careers-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 95% 85% at 58% 38%, transparent 32%, rgba(0, 0, 0, 0.5) 100%);
}

@keyframes liCareersBgDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(0, -1%, 0); }
}

.li-careers-stack {
  position: relative;
  z-index: 2;
}

body.lightit-careers-page .li-careers-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    clamp(88px, 12vh, 128px)
    0
    calc(clamp(48px, 8vh, 88px) + env(safe-area-inset-bottom, 0px));
  margin-bottom: clamp(28px, 4.5vw, 48px);
  border-bottom: 0;
}

body.li-cookie-open.lightit-careers-page .li-careers-hero {
  padding-bottom: calc(clamp(48px, 8vh, 88px) + 208px + env(safe-area-inset-bottom, 0px));
  justify-content: flex-end;
}

body.lightit-careers-page .li-careers-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.05) 55%, transparent);
}

body.lightit-careers-page .li-careers-hero .li-seo-back {
  position: absolute;
  top: clamp(24px, 3.5vh, 36px);
  left: 0;
  margin: 0;
  z-index: 3;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.88;
  text-decoration: none;
}

body.lightit-careers-page .li-careers-hero .li-seo-back:hover,
body.lightit-careers-page .li-careers-hero .li-seo-back:focus-visible {
  opacity: 1;
  color: #fff;
}

.li-careers-hero-copy {
  position: relative;
  max-width: min(40rem, 100%);
  padding: 0.35rem 0 0.5rem;
}

.li-careers-hero-copy::before {
  content: "";
  position: absolute;
  inset: -1.75rem -3rem -2.25rem -1.25rem;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 78% 88% at 18% 48%,
    rgba(6, 6, 8, 0.78) 0%,
    rgba(6, 6, 8, 0.42) 48%,
    transparent 74%
  );
}

body.lightit-careers-page .li-careers-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.25rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 2px 36px rgba(0, 0, 0, 0.4);
}

body.lightit-careers-page .li-careers-hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.8vw, 3.35rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.96);
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

body.lightit-careers-page .li-careers-hero .li-seo-lead {
  margin-top: clamp(1.05rem, 2.2vw, 1.45rem);
  max-width: 34ch;
  font-size: clamp(1.05rem, 0.3vw + 1rem, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

body.lightit-careers-page .li-careers-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
  margin-top: clamp(1.45rem, 3vw, 2rem);
}

body.lightit-careers-page .li-careers-jump {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.12em;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

body.lightit-careers-page .li-careers-jump:hover,
body.lightit-careers-page .li-careers-jump:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.li-careers-in {
  opacity: 1;
  transform: none;
}

html.li-careers-ready:not(.li-careers-reduced) .li-careers-in {
  animation: liCareersIn 0.65s var(--ease) both;
  animation-delay: var(--li-careers-delay, 0ms);
}

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

.li-careers-body {
  position: relative;
  max-width: 40rem;
  padding-top: clamp(0.25rem, 1.5vw, 0.75rem);
}

body.lightit-careers-page .li-careers-block {
  opacity: 1;
  transform: none;
}

html.li-careers-reveal:not(.li-careers-reduced) body.lightit-careers-page .li-careers-block:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

html.li-careers-reveal body.lightit-careers-page .li-careers-block.is-in {
  opacity: 1;
  transform: none;
}

body.lightit-careers-page .li-seo-prose {
  margin-top: 0;
}

body.lightit-careers-page .li-seo-prose h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: clamp(1.05rem, 1.2vw + 0.75rem, 1.25rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

body.lightit-careers-page .li-seo-prose h2 + p {
  margin-top: 0;
}

body.lightit-careers-page .li-seo-prose p {
  margin: 0 0 1.35rem;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

body.lightit-careers-page .li-seo-prose h2:not(:first-child) {
  margin-top: 2rem;
}

body.lightit-careers-page .li-careers-openings,
body.lightit-careers-page .li-careers-apply {
  margin: clamp(2.25rem, 5vw, 3.5rem) 0 0;
  padding-top: clamp(1.35rem, 2.8vw, 1.85rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.lightit-careers-page .li-careers-openings h2,
body.lightit-careers-page .li-careers-apply h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw + 0.7rem, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
}

body.lightit-careers-page .li-careers-empty {
  padding: 0.35rem 0 0;
}

body.lightit-careers-page .li-careers-empty-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.6vw + 0.75rem, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

body.lightit-careers-page .li-careers-empty-note {
  margin: 0.5rem 0 0;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

body.lightit-careers-page .li-careers-roles {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.lightit-careers-page .li-careers-role {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.lightit-careers-page .li-careers-role:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.lightit-careers-page .li-careers-role-head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

body.lightit-careers-page .li-careers-role-meta {
  margin: 0.28rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.lightit-careers-page .li-careers-role-summary {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

body.lightit-careers-page .li-careers-role-cta {
  margin: 0.85rem 0 0;
}

body.lightit-careers-page .li-careers-apply p {
  margin: 0 0 0.95rem;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
}

body.lightit-careers-page .li-careers-apply .li-seo-actions {
  margin-top: 1.15rem;
}

body.lightit-careers-page .li-seo-nap {
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-style: normal;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  max-width: 46ch;
}

@media (max-width: 720px) {
  body.lightit-careers-page .li-seo-main {
    max-width: calc(100% - 28px);
  }

  body.lightit-careers-page .li-careers-hero {
    min-height: 100svh;
    padding-top: clamp(72px, 11vh, 92px);
  }

  body.li-cookie-open.lightit-careers-page .li-careers-hero {
    padding-bottom: calc(clamp(36px, 6vh, 56px) + 228px + env(safe-area-inset-bottom, 0px));
    justify-content: flex-end;
  }

  body.lightit-careers-page .li-careers-brand {
    font-size: clamp(2.25rem, 12.5vw, 3.25rem);
    margin-bottom: 0.65rem;
  }

  body.lightit-careers-page .li-careers-hero h1 {
    font-size: clamp(1.65rem, 8.5vw, 2.35rem);
  }

  body.lightit-careers-page .li-careers-hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .li-careers-hero-copy::before {
    inset: -1rem -0.75rem -1.5rem -0.5rem;
  }

  .li-careers-bg img {
    object-position: center 30%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .li-careers-bg img,
  html.li-careers-ready .li-careers-in {
    animation: none !important;
  }

  html.li-careers-reveal body.lightit-careers-page .li-careers-block:not(.is-in),
  body.lightit-careers-page .li-careers-block {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 480px) {
  .li-team-grid {
    grid-template-columns: 1fr;
  }

  .li-stat::after {
    display: none !important;
  }
}
