/* LEVREN — photographic product presentations and one optical signature.
   Device perspective and material shadows belong to the photography itself. */
body.lr-enhanced {
  --lr-blue: #1a4dff;
  --lr-ink: #102039;
  --lr-muted: #617187;
  --lr-ease: cubic-bezier(.2,.7,.2,1);
}

/* Full devices and natural contact shadows stay in frame at every width. */
body.lr-enhanced .lr-product {
  position: relative;
  isolation: isolate;
  display: block;
  min-width: 0;
  margin: 0;
  background: #fff;
  overflow: hidden;
}
body.lr-enhanced .lr-product picture,
body.lr-enhanced .lr-path-visual picture { display: block; }
body.lr-enhanced .lr-product-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1920 / 1086;
  object-fit: contain;
  object-position: center;
  -webkit-mask-image: none;
  mask-image: none;
  transform: translate3d(var(--lr-x, 0px), var(--lr-y, 0px), 0);
  transition: transform .7s var(--lr-ease);
}
body.lr-enhanced [data-lr-parallax] { touch-action: pan-y; }
body.lr-enhanced .lr-showcase {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 12px;
}
body.lr-enhanced .lr-showcase > .lr-product {
  width: min(1320px, calc(100% + 100px));
  margin-left: max(-50px, calc((100% - 1320px) / 2));
}
body.lr-enhanced .lr-showcase .lr-product-image {
  max-height: 740px;
  -webkit-mask-image: none;
  mask-image: none;
}
body.lr-enhanced .lr-showcase-caption {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px 24px;
  margin: -2px 0 0;
  padding: 20px 0 23px;
  border-bottom: 1px solid #dce5f1;
  color: var(--lr-muted);
  font-size: 11px;
  line-height: 1.7;
}
body.lr-enhanced .lr-showcase-caption strong {
  display: block;
  margin-bottom: 3px;
  color: var(--lr-ink);
  font-size: 13px;
  font-weight: 500;
}
body.lr-enhanced .lr-showcase-caption > span { max-width: 66ch; }
body.lr-enhanced .lr-showcase-caption > div { max-width: 760px; flex: 1 1 400px; }
body.lr-enhanced .lr-showcase-caption > div > span {
  display: block;
  color: #5b749b;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
body.lr-enhanced .lr-showcase-caption h2 {
  max-width: 31ch;
  color: var(--lr-ink);
  font-size: clamp(26px, 2.65vw, 36px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -.045em;
  margin: 0;
}
body.lr-enhanced .lr-showcase-caption p {
  max-width: 64ch;
  margin-top: 12px;
  color: var(--lr-muted);
  font-size: 14px;
  line-height: 1.75;
}
body.lr-enhanced .lr-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  list-style: none;
  padding: 22px 0 0;
  margin: 0;
  color: #455f84;
  font-size: 12px;
  line-height: 1.6;
}
body.lr-enhanced .lr-capabilities > li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
body.lr-enhanced .lr-capabilities > li::before {
  content: '✓';
  color: var(--lr-blue);
  font-size: 11px;
}
body.lr-enhanced :is(.lr-view, .lr-detail) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 15px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #dce5f1;
  border-radius: 6px;
  background: #ffffffed;
  color: var(--lr-ink);
  font: 500 11px/1.5 'Space Grotesk', Arial, sans-serif;
  cursor: pointer;
  transition: border-color .25s, color .25s, background .25s;
}
body.lr-enhanced :is(.lr-view, .lr-detail) > span {
  color: var(--lr-blue);
  font-size: 16px;
  line-height: 1;
  transition: transform .3s var(--lr-ease);
}
body.lr-enhanced :is(.lr-view, .lr-detail):focus-visible { outline: 2px solid var(--lr-blue); outline-offset: 4px; }
body.lr-enhanced [data-lr-open][hidden] { display: none; }

/* Portfolio and homepage use the same photography, without another UI frame. */
body.lr-enhanced .cx-path-visual.lr-path-visual {
  align-self: center;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  overflow: visible;
}
body.lr-enhanced .lr-path-visual .lr-product-image {
  width: 100%;
  margin-left: 0;
}
body.lr-enhanced .lr-path-visual > .lr-view { margin-top: 8px; }
body.lr-enhanced #what-we-do .lv-mockstage.lr-home-stage {
  display: block;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}
body.lr-enhanced #what-we-do .lr-home-stage .lr-product {
  width: 100%;
  max-width: 100%;
}
body.lr-enhanced #what-we-do .lr-home-stage > .lr-detail { margin-top: 10px; margin-bottom: 2px; }
body.lr-enhanced #what-we-do .svc:hover .lr-home-stage {
  border: 0;
  box-shadow: none;
}

/* The generated optical ribbon is the only added decorative motif. */
body.lr-enhanced .lr-optical-host { position: relative; isolation: isolate; }
body.lr-enhanced .lr-optical {
  position: absolute;
  inset: -12% -4%;
  z-index: -1;
  overflow: hidden;
  contain: paint;
  pointer-events: none;
  user-select: none;
  opacity: .64;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 21%, #000 73%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 21%, #000 73%, transparent 100%);
}
body.lr-enhanced .lr-optical::before {
  content: '';
  position: absolute;
  inset: -3%;
  background: url('/brand/real/optical-light.webp') center / cover no-repeat;
  transform: translate3d(-7px, -3px, 0) scale(1.02);
  animation: lr-optical-drift 16s ease-in-out infinite alternate;
  animation-play-state: paused;
}
body.lr-enhanced .lr-optical::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 32% 40% at 50% 46%, #ffffffe8, #ffffff8a 58%, #ffffff00);
}
body.lr-enhanced .lr-optical.is-inview::before { animation-play-state: running; }
body.lr-enhanced.lr-document-hidden .lr-optical::before { animation-play-state: paused; }
body.lr-enhanced .baken-hero > .lr-optical { opacity: .3; inset: 0 -4%; }
body.lr-enhanced .baken-hero > .lr-optical::after {
  background: radial-gradient(ellipse 35% 58% at 50% 50%, #fffffff0, #ffffffbf 52%, #ffffff00);
}
body.lr-enhanced :is(.cx-hero, .cx-portfolio-hero) > .lr-optical { inset: -28% -8% -36%; }
body.lr-enhanced :is(.cx-hero, .cx-portfolio-hero) > .lr-optical::before { background-position: 50% 42%; }
body.lr-enhanced .cx-hero.lr-optical-host .cx-hero-light,
body.lr-enhanced .cx-portfolio-hero.lr-optical-host::before,
body.lr-enhanced .lp-contact.lr-optical-host::before,
body.lr-enhanced .cta-close.lr-optical-host::before { display: none; }
body.lr-enhanced #what-we-do::before { background-image: url('/brand/real/optical-light.webp'); opacity: .32; }
body.lr-enhanced .lp-contact > .lr-optical { inset: -13% -9%; opacity: .58; }
body.lr-enhanced .lp-contact > .lr-optical::after {
  background: linear-gradient(90deg, #ffffff99, #ffffff00 60%, #ffffff66);
}
body.lr-enhanced .cta-close > .lr-optical { inset: -42px -5%; opacity: .65; }
@keyframes lr-optical-drift {
  from { transform: translate3d(-7px, -3px, 0) scale(1.02); }
  to { transform: translate3d(7px, 4px, 0) scale(1.025); }
}

/* A machined edge on navigation and a short, interaction-only button reflection. */
body.lr-enhanced > header,
body.lr-enhanced .pf-header {
  border-bottom-color: #b8cce850;
  box-shadow: 0 1px 0 #ffffffb3, 0 7px 30px -22px #234c9e40;
}
body.lr-enhanced :is(.pf-button:not(.pf-button--secondary), .btn, .pf-header-contact > a:last-child) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
body.lr-enhanced :is(.pf-button:not(.pf-button--secondary), .btn, .pf-header-contact > a:last-child)::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -70% -40%;
  background: linear-gradient(112deg, #ffffff00 39%, #ffffff2e 48%, #ffffff00 57%);
  transform: translateX(-65%);
  pointer-events: none;
}

/* Native dialog preserves keyboard focus and Escape behaviour. */
.lr-lightbox {
  position: fixed;
  inset: 0;
  width: min(1440px, calc(100vw - 56px));
  max-width: none;
  max-height: calc(100dvh - 56px);
  margin: auto;
  padding: 0;
  border: 1px solid #d6dfec;
  border-radius: 14px;
  color: #102039;
  background: #fff;
  box-shadow: 0 30px 110px #08193426;
  font-family: 'Space Grotesk', Arial, sans-serif;
  overflow: auto;
}
.lr-lightbox::backdrop { background: #0b193a73; backdrop-filter: blur(12px); }
.lr-lightbox:not([open]) { display: none; }
.lr-lightbox-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px 14px 25px;
  border-bottom: 1px solid #e6ebf2;
  background: #ffffffed;
  backdrop-filter: blur(12px);
}
.lr-lightbox-bar h2 { margin: 0; color: #102039; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.lr-lightbox-bar button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dce5f1;
  border-radius: 6px;
  background: #fff;
  color: #102039;
  font: 500 11px/1 'Space Grotesk', Arial, sans-serif;
  cursor: pointer;
}
.lr-lightbox-bar button span { font-size: 21px; font-weight: 400; line-height: 1; }
.lr-lightbox-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 200px);
  object-fit: contain;
  margin: 0 auto;
  background: #fff;
}
.lr-lightbox-caption { margin: 0; padding: 12px 25px 23px; color: #617187; font-size: 11px; line-height: 1.6; }
.lr-lightbox :focus-visible { outline: 2px solid #1a4dff; outline-offset: 4px; }

@media (hover: hover) and (pointer: fine) {
  body.lr-enhanced :is(.lr-view, .lr-detail):hover { border-color: #a1b8db; background: #f8faff; color: #1a4dff; }
  body.lr-enhanced :is(.lr-view, .lr-detail):hover > span { transform: translate(2px, -2px); }
  body.lr-enhanced :is(.pf-button:not(.pf-button--secondary), .btn, .pf-header-contact > a:last-child):hover::after {
    transform: translateX(65%);
    transition: transform .65s var(--lr-ease);
  }
  body.lr-enhanced [data-lr-parallax].lr-pointer-active .lr-product-image { transition-duration: .16s; }
  .lr-lightbox-bar button:hover { background: #f4f7fd; border-color: #afc2de; }
}
@media (min-width: 1100px) {
  body.lr-enhanced #what-we-do .tri { grid-template-rows: auto auto; }
}
@media (max-width: 900px) {
  body.lr-enhanced .lr-showcase > .lr-product { width: calc(100% + 40px); margin-left: -20px; }
}
@media (max-width: 650px) {
  body.lr-enhanced .lr-showcase { padding-bottom: 0; }
  body.lr-enhanced .lr-showcase > .lr-product { width: calc(100% + 40px); margin-left: -20px; }
  body.lr-enhanced .lr-showcase-caption { margin-top: 6px; padding: 15px 0 20px; gap: 15px; font-size: 10px; }
  body.lr-enhanced .lr-showcase-caption strong { font-size: 12px; }
  body.lr-enhanced .lr-showcase-caption > div { flex-basis: 100%; }
  body.lr-enhanced .lr-showcase-caption h2 { font-size: 27px; }
  body.lr-enhanced .lr-showcase-caption p { font-size: 13px; }
  body.lr-enhanced .lr-capabilities { grid-template-columns: 1fr; gap: 10px; padding-top: 20px; font-size: 11px; }
  body.lr-enhanced :is(.lr-view, .lr-detail) { font-size: 10px; min-height: 44px; }
  body.lr-enhanced .lr-path-visual .lr-product-image { width: 100%; margin-left: 0; }
  body.lr-enhanced .lr-product-image { transform: none; transition: none; }
  body.lr-enhanced .lr-optical { opacity: .5; }
  body.lr-enhanced .baken-hero > .lr-optical { opacity: .2; }
  body.lr-enhanced .lr-optical::before { animation: none; transform: none; }
  body.lr-enhanced .lp-contact > .lr-optical { inset: -3% -5%; opacity: .38; }
  body.lr-enhanced .lp-contact > .lr-optical::before { background-size: auto 80%; }
  .lr-lightbox { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); border-radius: 10px; }
  .lr-lightbox-bar { padding: 10px 12px 10px 16px; gap: 10px; }
  .lr-lightbox-bar h2 { font-size: 12px; }
  .lr-lightbox-bar button { gap: 8px; font-size: 10px; }
  .lr-lightbox-caption { padding: 12px 16px 18px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  body.lr-enhanced .lr-product-image { transform: none; transition: none; }
  body.lr-enhanced .lr-optical::before { animation: none; transform: none; }
  body.lr-enhanced :is(.lr-view, .lr-detail),
  body.lr-enhanced :is(.lr-view, .lr-detail) > span { transition: none; }
  body.lr-enhanced :is(.pf-button:not(.pf-button--secondary), .btn, .pf-header-contact > a:last-child)::after { display: none; }
}
