/* LuminoPack — site styles. Tokens come from theme.json (--wp--preset--*). */

:root {
	--lp-spectrum: var(--wp--preset--gradient--spectrum, linear-gradient(90deg,#ec008c 0%,#932db3 14%,#4b2fd6 26%,#0072ff 38%,#00c2ff 48%,#00e5c8 58%,#4ddb3a 68%,#d6e600 80%,#ffb800 90%,#ff0000 100%));
	--lp-header-h: 76px;
	--lp-gutter: var(--wp--preset--spacing--gutter, clamp(1.25rem, 6vw, 6rem));
	--lp-ease: cubic-bezier(.16,.9,.28,1);
	--lp-label: 0.68rem;
}
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
/* Reduced motion (macOS "Reduce motion" etc.): fades stay, movement goes.
   The rules that strip movement live at the end of this file, after the rules they override. */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- shared bits ---------- */
.is-style-lp-eyebrow, .lp-contact__eyebrow {
	font-size: 0.65rem !important; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--wp--preset--color--muted) !important; margin: 0 0 0.5rem;
}
.lp-spectrum { height: 4px; background: var(--lp-spectrum); }
.lp-spectrum--rule { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
.is-style-lp-dots, .lp-dots { list-style: none; padding: 0; margin: 1rem 0 0; }
.is-style-lp-dots li { position: relative; padding-left: 1rem; margin-bottom: 0.6rem; font-size: 0.92rem; line-height: 1.6; }
.is-style-lp-dots li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.wp-block-button.is-style-lp-underline .wp-block-button__link {
	background: none; color: inherit; padding: 0 0 2px; border-bottom: 1px solid currentColor; font-size: 0.75rem;
}
.lp-empty { padding: 1rem; border: 1px dashed #ccc; color: var(--wp--preset--color--muted); font-size: 0.85rem; }
.lp-section { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--50); }
.lp-section + .lp-section { border-top: 1px solid var(--wp--preset--color--rule); }
.lp-meta { gap: 0.4rem !important; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.lp-meta > * + *::before { content: "· "; }
.lp-meta a { color: inherit; }

/* ---------- header ---------- */
.lp-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--lp-header-h);
	background: #fff; padding: 0 clamp(1.25rem, 4vw, 3rem); gap: 1.5rem;
}
.admin-bar .lp-header { top: var(--wp-admin--admin-bar--height, 32px); }
.lp-main { padding-top: var(--lp-header-h); }
.lp-brand { gap: 0.7rem !important; align-items: center; }
.lp-wordmark { margin: 0; font-size: 1.5rem; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; }
.lp-wordmark a { color: var(--wp--preset--color--brand); }
.lp-brand__logo { margin: 0; display: flex; align-items: center; padding-left: 0.7rem; border-left: 1px solid #d8d8d8; }
.lp-brand__logo img { display: block; }
.lp-nav { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; gap: clamp(0.9rem, 2vw, 2.5rem) !important; }
.lp-nav .lp-nav__cta > a { background: #000; color: #fff !important; padding: 0.6rem 1.1rem; }
.lp-progress { position: fixed; top: var(--lp-header-h); left: 0; z-index: 199; height: 4px; width: 0; overflow: hidden;
	box-shadow: 0 0 10px 1px rgba(236,0,140,.45), 0 0 10px 1px rgba(0,194,255,.45), 0 0 14px 2px rgba(77,219,58,.35); }
.admin-bar .lp-progress { top: calc(var(--lp-header-h) + var(--wp-admin--admin-bar--height, 32px)); }
.lp-progress span { display: block; width: 100vw; height: 100%; background: var(--lp-spectrum); }

/* dark (application pages) */
body.lp-dark { background: #000; color: #fff; }
body.lp-dark p, body.lp-dark li { color: #eaeaea; }
.lp-header--dark { background: linear-gradient(180deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 70%, rgba(0,0,0,0) 100%); }
.lp-header--dark .lp-wordmark a { color: #fff; }
.lp-header--dark .lp-brand__logo { border-left-color: rgba(255,255,255,.35); }
.lp-back { margin: 0; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.lp-back a { color: #fff; }
.lp-dark .lp-progress { top: 0; }
.admin-bar.lp-dark .lp-progress { top: var(--wp-admin--admin-bar--height, 32px); }

/* ---------- hero slideshow (gallery style) ---------- */
.wp-block-gallery.is-style-lp-hero-slides {
	/* always full-bleed, whatever alignment an editor picks */
	position: relative; display: block !important; width: 100vw; max-width: none !important;
	margin: 4px 0 0 calc(50% - 50vw) !important;
	height: clamp(380px, 56vh, 600px); overflow: hidden; background: var(--wp--preset--color--mist);
}
.wp-block-gallery.is-style-lp-hero-slides > .wp-block-image {
	position: absolute !important; inset: 0; width: 100% !important; height: 100%; margin: 0 !important;
	opacity: 0; transition: opacity 0.9s ease;
}
.wp-block-gallery.is-style-lp-hero-slides > .wp-block-image:first-child,
.wp-block-gallery.is-style-lp-hero-slides > .wp-block-image.is-current { opacity: 1; }
.wp-block-gallery.is-style-lp-hero-slides.is-running > .wp-block-image:not(.is-current) { opacity: 0; }
.wp-block-gallery.is-style-lp-hero-slides img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.wp-block-gallery.is-style-lp-hero-slides figcaption { display: none; }
.lp-dots-nav { position: absolute; bottom: 1.25rem; right: clamp(1.25rem, 6vw, 6rem); display: flex; gap: 0.5rem; z-index: 2; }
.lp-dots-nav button { width: 8px; height: 8px; border-radius: 50%; padding: 0; border: none; cursor: pointer; background: rgba(255,255,255,.5); box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
.lp-dots-nav button[aria-current="true"] { background: #fff; }

/* ---------- intro ---------- */
.lp-intro { text-align: center; padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.lp-intro h1 { margin: 0; }
.lp-intro p { margin: 1rem auto 0; max-width: 88ch; font-size: var(--wp--preset--font-size--lead); line-height: 1.65; color: #3a3a3a; text-wrap: pretty; }

/* ---------- applications grid ---------- */
.lp-apps-heading { text-align: center; scroll-margin-top: 96px; margin-bottom: 1rem !important; }
.lp-apps { display: flex; flex-direction: column; padding: 1rem 0 8vh; }
.lp-apps__row {
	display: flex; justify-content: center; padding: clamp(0.4rem, 0.75vw, 0.6rem) clamp(2rem, 6vw, 6rem);
	background: linear-gradient(var(--lp-band), var(--lp-band)) center / 100% clamp(276px, 28.5vw, 396px) no-repeat;
}
.lp-app-card {
	position: relative; display: flex; align-items: stretch; width: fit-content; max-width: min(100%, 1100px);
	min-height: clamp(260px, 27vw, 380px); background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); color: inherit; z-index: 2;
}
.lp-app-card:hover, .lp-app-card:focus-visible { color: inherit; }
.lp-app-card:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
.lp-app-card__circle {
	position: relative; flex: 0 0 clamp(130px, 13.5vw, 190px); align-self: stretch; z-index: 2;
}
/* the circle: as tall as the card, half of it hanging outside the card edge */
.lp-app-card__frame {
	position: absolute; top: 0; height: 100%; aspect-ratio: 1/1; max-width: none; border-radius: 50%; overflow: hidden;
	background: #000; isolation: isolate; transition: transform 0.45s var(--lp-ease);
}
.lp-app-card__frame > img {
	position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none;
	object-fit: cover; object-position: var(--lp-pos, center); transition: opacity 0.5s ease;
}
.lp-fit-contain .lp-app-card__frame > img { object-fit: contain; }
.lp-app-card--left .lp-app-card__circle { order: 1; margin-right: clamp(1rem, 2vw, 1.5rem); }
.lp-app-card--left .lp-app-card__frame { left: 0; transform: translateX(-50%); }
.lp-app-card--right .lp-app-card__circle { order: 2; margin-left: clamp(1rem, 2vw, 1.5rem); }
.lp-app-card--right .lp-app-card__frame { right: 0; transform: translateX(50%); }
.lp-app-card__uv { opacity: 0; }
.lp-app-card.is-active { z-index: 5; }
.lp-app-card.is-active .lp-app-card__uv { opacity: 1; }
.lp-app-card--left.is-active .lp-app-card__frame { transform: translateX(-50%) scale(1.18); }
.lp-app-card--right.is-active .lp-app-card__frame { transform: translateX(50%) scale(1.18); }
.lp-app-card__text {
	order: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(1rem, 2.2vw, 1.6rem) clamp(1.5rem, 3.2vw, 3rem);
}
.lp-app-card--right .lp-app-card__text { order: 1; align-items: flex-end; text-align: right; }
.lp-app-card__eyebrow { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.1em; color: var(--wp--preset--color--muted); margin-bottom: 0.5rem; }
.lp-app-card__title { font-weight: 500; text-transform: uppercase; font-size: clamp(0.95rem, 1.4vw, 1.25rem); line-height: 1.24; max-width: 32ch; }
.lp-app-card__desc { margin-top: 0.6rem; font-size: clamp(0.78rem, 0.9vw, 0.85rem); line-height: 1.55; color: var(--wp--preset--color--body); max-width: 42ch; }
@media (max-width: 640px) {
	.lp-apps__row { padding-left: 1rem; padding-right: 1rem; background-size: 100% 100%; }
	.lp-app-card, .lp-app-card--right { flex-direction: column; align-items: center; width: 100%; padding-top: 1.5rem; }
	.lp-app-card__circle { order: 1 !important; margin: 0 !important; flex: 0 0 auto; width: 150px; height: 150px; align-self: center; }
	.lp-app-card__frame { left: 0 !important; right: auto !important; transform: none !important; width: 150px; height: 150px; }
	.lp-app-card.is-active .lp-app-card__frame { transform: scale(1.08) !important; }
	.lp-app-card__text, .lp-app-card--right .lp-app-card__text { order: 2; align-items: center; text-align: center; }
}
/* card animation canvas: covers both images once its frame strip has loaded */
.lp-app-card__sprite { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .3s ease; }
.lp-app-card__sprite.is-ready { opacity: 1; }
.lp-app-card__note { margin-top: 0.7rem; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.lp-app-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }

/* ---------- about / facts ---------- */
.lp-about .wp-block-columns { gap: clamp(2rem, 5vw, 4rem); }
.lp-about p { max-width: 56ch; line-height: 1.75; }
.wp-block-gallery.is-style-lp-certs { gap: 1rem !important; margin-top: 1.75rem; }
.wp-block-gallery.is-style-lp-certs .wp-block-image { flex: 0 0 auto !important; width: auto !important; }
.wp-block-gallery.is-style-lp-certs img { height: 78px !important; width: auto !important; filter: grayscale(1); opacity: 0.8; transition: filter .35s ease, opacity .35s ease; }
.wp-block-gallery.is-style-lp-certs img:hover { filter: none; opacity: 1; }

/* ---------- dark bands (About quality, CTAs, Products) ---------- */
.lp-band-dark { background: #000; color: #fff; padding: clamp(4rem, 9vw, 7rem) var(--lp-gutter); margin-block: 0 !important; }
.lp-band-dark p, .lp-band-dark li { color: #c9c9c9; }
.lp-band-dark h2, .lp-band-dark h3, .lp-band-dark strong { color: #fff; }
.lp-band-dark a { color: #fff; }
.lp-cta-band { text-align: center; }
.lp-cta-band h2 { font-size: var(--wp--preset--font-size--heading-1); max-width: 26ch; margin-inline: auto !important; }
.lp-cta-band p { max-width: 56ch; margin-inline: auto !important; }
.lp-cta-band .wp-block-buttons { justify-content: center; margin-top: 2rem; }
.lp-cta-band .lp-spectrum--rule { margin-top: clamp(3rem, 6vw, 4.5rem); }
.lp-main > .alignfull:first-child, .wp-block-post-content > .alignfull:first-child { margin-top: 0 !important; }
.wp-block-post-content > .alignfull + .alignfull { margin-top: 0 !important; }

/* ---------- About ---------- */
.lp-about-intro h1 { font-size: var(--wp--preset--font-size--display); line-height: 1.1; max-width: 14ch; margin-bottom: clamp(2rem, 4vw, 3rem); margin-left: 0 !important; }
.lp-about-intro p { max-width: 62ch; margin-left: 0 !important; }
.lp-lead { font-size: var(--wp--preset--font-size--lead) !important; line-height: 1.65; }
.lp-narrow h2, .lp-narrow p { max-width: 62ch; }
.lp-row { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.lp-row h2 { margin: 0; }
.lp-kicker { font-size: 0.85rem !important; letter-spacing: 0.08em; color: var(--wp--preset--color--body); margin-bottom: 0.9rem !important; }
.lp-wide-photo { margin-block: 0 !important; height: clamp(260px, 27vw, 389px); overflow: hidden; background: var(--wp--preset--color--mist); }
.lp-wide-photo img { width: 100%; height: 100% !important; object-fit: cover; object-position: center 35%; }
.lp-quality .wp-block-columns { align-items: center !important; gap: clamp(2rem, 5vw, 4rem); }
.lp-quality .wp-block-image img { border-radius: 4px; }
.lp-quality .wp-block-gallery.is-style-lp-certs img { filter: grayscale(1) invert(0); opacity: 0.7; }
.lp-cert-link { font-size: 0.68rem !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--muted) !important; }
.lp-cert-link a { color: inherit !important; }

/* certificate grid (list style) */
.is-style-lp-cert-grid { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 4rem) 0 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem 2rem; }
.is-style-lp-cert-grid li { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--muted); line-height: 1.6; }
.is-style-lp-cert-grid strong { display: inline-block; font-size: clamp(1.3rem, 2.2vw, 1.9rem); letter-spacing: 0; font-weight: 500; margin-bottom: 0.4rem; color: inherit; }
.lp-band-dark .is-style-lp-cert-grid li { color: #919191; }
.lp-band-dark .is-style-lp-cert-grid strong { color: #fff; }

/* scroll story: photos stay pinned while the steps scroll past */
.is-style-lp-scroll-story { gap: clamp(2rem, 5vw, 5rem) !important; align-items: flex-start !important; }
.is-style-lp-scroll-story > .wp-block-column:first-child { position: sticky; top: calc(var(--lp-header-h) + 8vh); align-self: flex-start; }
.lp-story-frames { position: relative; display: block !important; aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; background: var(--wp--preset--color--mist); margin: 0 !important; }
.lp-story-frames > .wp-block-image { position: absolute !important; inset: 0; width: 100% !important; margin: 0 !important; opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s var(--lp-ease); }
.lp-story-frames > .wp-block-image:first-child, .lp-story-frames > .wp-block-image.is-current { opacity: 1; transform: none; }
.lp-story-frames.is-running > .wp-block-image:not(.is-current) { opacity: 0; transform: translateY(14px); }
.lp-story-frames img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.lp-step { padding: clamp(3rem, 12vh, 7rem) 0 0; }
.lp-step:last-child { padding-bottom: clamp(3rem, 12vh, 7rem); }
.lp-step h3 { margin: 0.6rem 0 0.5rem; max-width: 22ch; }
.lp-step p { max-width: 52ch; font-size: 0.95rem; }
.lp-step__label { font-size: 0.65rem !important; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--muted) !important; display: flex; align-items: center; gap: 0.6rem; margin: 0; }
.lp-step__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; transition: background .3s ease; }
.lp-step.is-active .lp-step__label { color: #000 !important; }
.lp-step.is-active .lp-step__label::before { background: #000; }
@media (max-width: 781px) {
	.is-style-lp-scroll-story > .wp-block-column:first-child { top: var(--lp-header-h); z-index: 2; background: #fff; padding-block: 0.5rem; }
	.lp-step { padding-top: 2.5rem; }
}

/* product tiles (gallery style): dark banner, title on the left, photo fading in from the right */
.wp-block-gallery.is-style-lp-tiles { display: flex !important; flex-direction: column; gap: 0.6rem !important; }
.wp-block-gallery.is-style-lp-tiles > .wp-block-image { position: relative; width: 100% !important; height: clamp(84px, 8vw, 112px); margin: 0 !important; background: #000; overflow: hidden; }
.wp-block-gallery.is-style-lp-tiles > .wp-block-image a { display: block; height: 100%; }
.wp-block-gallery.is-style-lp-tiles > .wp-block-image img {
	position: absolute; right: 0; top: 0; width: 62% !important; height: 100% !important; object-fit: cover;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
	transition: filter .3s ease;
}
.wp-block-gallery.is-style-lp-tiles > .wp-block-image:hover img { filter: brightness(1.12); }
.wp-block-gallery.is-style-lp-tiles figcaption {
	position: absolute !important; left: 0; top: 0; bottom: 0; width: 46%; display: flex; align-items: center; padding: 0 1.25rem !important; margin: 0 !important;
	background: none !important; color: #fff !important; text-align: left !important; font-size: clamp(0.8rem, 1vw, 0.95rem) !important; font-weight: 500; line-height: 1.3;
	pointer-events: none; max-height: none !important; overflow: visible !important;
}

/* ---------- Products ---------- */
.lp-products { padding: 0 !important; }
.lp-product-line {
	position: relative; display: flex; align-items: center; min-height: clamp(340px, 34vw, 440px); overflow: hidden;
	border-top: 1px solid rgba(255,255,255,.08); scroll-margin-top: 80px; max-width: none !important; margin: 0 !important;
}
.lp-product-line__img { position: absolute !important; inset: 0; margin: 0 !important; max-width: none !important; }
.lp-product-line__img img { width: 100% !important; height: 100% !important; object-fit: contain; object-position: right center; }
.lp-product-line__text { position: relative; z-index: 1; width: min(42%, 560px); min-width: 280px; margin: clamp(2rem, 5vw, 3.5rem) var(--lp-gutter); display: flex; flex-direction: column; gap: 0.9rem; }
.lp-product-line__text > * { margin: 0 !important; }
.lp-product-line__text h2 { font-size: clamp(0.95rem, 1.5vw, 1.25rem); line-height: 1.25; }
.lp-product-line__text p:not(.is-style-lp-eyebrow) { font-size: 0.95rem; line-height: 1.7; color: #cfcfcf; max-width: 56ch; }
.lp-product-line__text .wp-block-button__link { font-size: 0.72rem; padding: 0.7rem 1.2rem; }
@media (max-width: 781px) {
	.lp-product-line { flex-direction: column; align-items: stretch; }
	.lp-product-line__img { position: relative !important; height: 220px; }
	.lp-product-line__text { width: auto; min-width: 0; margin: 1.5rem var(--lp-gutter) 2.5rem; }
}

/* ---------- posts ---------- */
.lp-post-grid .wp-block-post-featured-image { overflow: hidden; margin-bottom: 0.7rem; background: var(--wp--preset--color--mist); }
.lp-post-grid .wp-block-post-featured-image img { transition: transform .5s ease; }
.lp-post-grid li:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.lp-post-grid .wp-block-post-title { margin: 0.4rem 0 0; }
.lp-post-head { padding-top: var(--wp--preset--spacing--50); }

/* ---------- application page (dark) ---------- */
.lp-main--application { padding-top: clamp(5rem, 10vh, 8rem); padding-bottom: 4rem; }
.lp-app-hero { padding-bottom: 0.5rem; }
.lp-app-hero__title { font-size: var(--wp--preset--font-size--display); line-height: 1.15; max-width: 32ch; text-wrap: balance; margin: 0; animation: lp-rise .6s var(--lp-ease) both .1s; }
.lp-main--application .wp-block-post-content > * { animation: lp-rise .6s var(--lp-ease) both .2s; }
.lp-tagline { font-size: clamp(1rem, 1.6vw, 1.3rem) !important; color: #d8d8d8 !important; max-width: 46ch; margin-top: 1.1rem !important; }
/* narrow blocks hug the left edge of the text column instead of centring in it */
.lp-main--application .is-layout-constrained > :where(.lp-tagline, .lp-app-hero__title, .lp-cta-line) {
	margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; margin-right: auto !important;
}
.lp-dark h2, .lp-dark h3 { color: #fff; }
.lp-dark .lp-kicker, .lp-dark h3.lp-kicker { font-size: 0.85rem; letter-spacing: 0.08em; color: var(--wp--preset--color--muted); margin: 0 0 0.8rem; }
.lp-dark .wp-block-columns { gap: clamp(2rem, 5vw, 4rem); margin-top: clamp(3rem, 6vw, 5rem); align-items: center !important; }
.lp-dark .wp-block-video { border-radius: 14px; overflow: hidden; margin: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.lp-dark .wp-block-video video { display: block; width: 100%; }
.lp-app-cta { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); }
.lp-app-cta .lp-cta-line { color: #d8d8d8; }
.wp-block-button.lp-on-dark .wp-block-button__link { background: #fff; color: #000; }
.wp-block-button.is-style-outline.lp-on-dark .wp-block-button__link { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
@keyframes lp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- UV pair block ---------- */
.lp-uv { margin: 0; max-width: var(--lp-max, none); width: 100%; }
.lp-uv__frame {
	position: relative; width: 100%; aspect-ratio: var(--lp-ratio, 1/1); border-radius: 14px; overflow: hidden;
	background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.08); user-select: none; touch-action: pan-y;
}
.lp-uv__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--lp-focus, center); display: block; }
.lp-uv--compare .lp-uv__frame { cursor: ew-resize; }
.lp-uv--compare .lp-uv__uv { clip-path: inset(0 0 0 var(--lp-split, 50%)); }
.lp-uv__handle { position: absolute; top: 0; bottom: 0; left: var(--lp-split, 50%); width: 2px; transform: translateX(-1px); background: #fff; pointer-events: none; }
.lp-uv__handle::after { content: ""; }
.lp-uv__handle span { position: absolute; top: 50%; color: #000; font-size: 0.8rem; z-index: 1; transform: translateY(-50%); }
.lp-uv__handle span:first-child { left: -12px; }
.lp-uv__handle span:last-child { left: 6px; }
.lp-uv__handle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%,-50%); border-radius: 50%; background: #fff; }
.lp-uv__frame:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lp-uv--lamp .lp-uv__frame { cursor: crosshair; }
.lp-uv--lamp .lp-uv__uv {
	pointer-events: none;
	-webkit-mask-image: radial-gradient(circle clamp(60px, 11vw, 110px) at var(--lp-x, 50%) var(--lp-y, 70%), #000 35%, rgba(0,0,0,.6) 60%, transparent 100%);
	        mask-image: radial-gradient(circle clamp(60px, 11vw, 110px) at var(--lp-x, 50%) var(--lp-y, 70%), #000 35%, rgba(0,0,0,.6) 60%, transparent 100%);
}
.lp-uv--fade .lp-uv__uv { opacity: 0; transition: opacity 1.6s ease-in-out; }
.lp-uv--fade.is-uv .lp-uv__uv { opacity: 1; }
.lp-uv__tag { position: absolute; top: 1rem; font-size: var(--lp-label); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.55); padding: 0.35rem 0.6rem; border-radius: 4px; pointer-events: none; }
.lp-uv__tag--left { left: 1rem; }
.lp-uv__tag--right { right: 1rem; }
.lp-uv__caption { margin-top: 0.9rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
/* editor */
.lp-uv-editor__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: 100%; }
.lp-uv-editor__pick img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; margin: 0.4rem 0; cursor: pointer; background: #000; }

/* ---------- frame sequence (gallery style): frames crossfade, current frame's caption shows below ---------- */
.wp-block-gallery.is-style-lp-frames { position: relative; display: block !important; margin: 0; }
.wp-block-gallery.is-style-lp-frames > .wp-block-image { width: 100% !important; margin: 0 !important; position: relative; }
.wp-block-gallery.is-style-lp-frames.is-running > .wp-block-image { position: absolute !important; inset: 0 0 auto 0; opacity: 0; transition: opacity .9s ease; }
.wp-block-gallery.is-style-lp-frames.is-running > .wp-block-image:first-child { position: relative !important; }
.wp-block-gallery.is-style-lp-frames.is-running > .wp-block-image.is-current { opacity: 1; z-index: 1; }
.wp-block-gallery.is-style-lp-frames img { width: 100% !important; aspect-ratio: var(--lp-ratio, 3/4); object-fit: cover; border-radius: 14px; display: block; }
.wp-block-gallery.is-style-lp-frames figcaption {
	position: static !important; background: none !important; padding: 0 !important; margin-top: 0.9rem !important; text-align: left !important;
	font-size: 0.72rem !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--muted) !important; max-height: none !important;
}
.lp-frames__nav { position: absolute; top: 1rem; left: 1rem; z-index: 3; display: flex; gap: 0.4rem; }
.lp-frames__nav button { font: inherit; font-size: var(--lp-label); letter-spacing: 0.1em; text-transform: uppercase; border: none; cursor: pointer; padding: 0.35rem 0.6rem; border-radius: 4px; background: rgba(0,0,0,.6); color: #fff; }
.lp-frames__nav button[aria-pressed="true"] { background: #fff; color: #000; }

/* ---------- contact band + footer ---------- */
.lp-contact-band { padding: 4rem var(--lp-gutter); border-top: 1px solid var(--wp--preset--color--rule); gap: 3rem !important; scroll-margin-top: var(--lp-header-h); background: #fff; color: #000; }
.lp-contact-band__cta { flex: 1 1 320px; max-width: 460px; align-items: flex-start !important; gap: 1.1rem !important; }
.lp-contact-band__cta h2 { font-size: clamp(1.2rem, 2vw, 1.6rem); max-width: 24ch; margin: 0; }
.lp-contact-band__cta p { font-size: 0.92rem; line-height: 1.65; color: var(--wp--preset--color--body); margin: 0; max-width: 46ch; }
.lp-contact--card { display: flex; gap: 1.5rem; max-width: 420px; }
.lp-contact__photo { width: 140px; height: 140px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; background: var(--wp--preset--color--mist); }
.lp-contact__name { font-weight: 500; text-transform: uppercase; font-size: 1.05rem; margin: 0.6rem 0 0.3rem; }
.lp-contact__role { font-size: 0.85rem; color: var(--wp--preset--color--body); margin: 0 0 1rem; line-height: 1.5; }
.lp-contact__in { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid currentColor; border-radius: 50%; font-size: 0.7rem; font-weight: 500; }
.lp-contact__lines, .lp-contact--lines { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 1.5rem; font-size: 0.85rem; }
.lp-contact--lines { margin-top: 0; gap: 0.7rem; }
.lp-contact__address { color: var(--wp--preset--color--muted); max-width: 26ch; line-height: 1.6; }
.lp-footer { background: #000; color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) var(--lp-gutter) clamp(1.5rem, 3vw, 2rem); }
.lp-footer p, .lp-footer li { color: #fff; }
.lp-footer a { color: #fff; }
.lp-footer a:hover { color: #bbb; }
.lp-footer__cols { gap: clamp(2rem, 5vw, 4rem) !important; }
.lp-footer__brandline { margin: 0.9rem 0 0; font-size: 0.7rem !important; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #e4e4e4 !important; }
.lp-footer__muted, .lp-footer .lp-contact__address, .lp-footer .lp-contact__phone { color: var(--wp--preset--color--muted) !important; font-size: 0.85rem; line-height: 1.6; max-width: 34ch; }
.lp-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.85rem; }
.lp-footer__bottom { margin-top: 1.5rem; font-size: 0.75rem; }
.lp-footer__bottom p, .lp-footer__bottom a { color: var(--wp--preset--color--muted) !important; margin: 0; }

/* ---------- contact drawer ---------- */
.lp-scrim { position: fixed; inset: 0; z-index: 580; background: rgba(0,0,0,.45); backdrop-filter: blur(2px); opacity: 0; transition: opacity .45s ease; }
.lp-scrim.is-open { opacity: 1; }
.lp-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 600; width: min(500px, 88vw); background: #fff; color: #000;
	box-shadow: -24px 0 60px rgba(0,0,0,.22); transform: translateX(105%); transition: transform .55s var(--lp-ease);
	display: flex; flex-direction: column; overflow: hidden;
}
.admin-bar .lp-drawer { top: var(--wp-admin--admin-bar--height, 32px); }
.lp-drawer.is-open { transform: none; }
.lp-drawer p, .lp-drawer li { color: inherit; }
.lp-drawer__close { position: absolute; top: clamp(1.5rem, 3vw, 2.25rem); right: clamp(1.5rem, 3vw, 2.25rem); width: 38px; height: 38px; border: 1px solid #e0e0e0; background: transparent; cursor: pointer; font: inherit; font-size: 1.1rem; line-height: 1; color: var(--wp--preset--color--ink); z-index: 2; }
.lp-drawer__close:hover { background: #f2f2f0; }
.lp-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: clamp(1.5rem, 3vw, 2.25rem); position: relative; }
.lp-drawer__title { font-size: clamp(1.3rem, 2.4vw, 1.75rem) !important; line-height: 1.18; max-width: 18ch; margin: 0 0 1.5rem; padding-right: 3rem; }
.lp-drawer__note { font-size: 0.75rem; line-height: 1.6; color: var(--wp--preset--color--muted) !important; }
.lp-drawer__foot { flex: 0 0 auto; margin: 0 clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.25rem); height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 clamp(1rem, 2vw, 1.25rem); background: #f6f6f4; }
.lp-drawer__foot span:first-child { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #a8a8a8; white-space: nowrap; }
.lp-drawer__lip { width: 118px; height: 12px; background: #111; transform-origin: center bottom; }
.lp-drawer.is-posting .lp-drawer__lip { animation: lp-lip .9s ease; }
.lp-drawer.is-posting .lp-drawer__content form,
.lp-drawer.is-posting .lp-drawer__content .gform_wrapper { animation: lp-letter .9s cubic-bezier(.61,.06,.18,.98) forwards; }
@keyframes lp-letter {
	0% { transform: translateY(0) rotate(0) scale(1); opacity: 1; }
	35% { transform: translateY(-18px) rotate(-1.5deg) scale(.99); opacity: 1; }
	70% { transform: translateY(60px) rotate(.5deg) scale(.9); opacity: .7; }
	100% { transform: translateY(190px) scale(.8); opacity: 0; }
}
@keyframes lp-lip { 0% { transform: scaleY(1); } 45% { transform: scaleY(3.2); } 100% { transform: scaleY(1); } }
@keyframes lp-slot { 0%,100% { box-shadow: 0 0 0 0 rgba(236,0,140,0); } 55% { box-shadow: 0 0 26px 3px rgba(236,0,140,.55); } }

/* form styling — Gravity Forms today; generic selectors so another plugin inherits most of it */
.lp-drawer form label, .lp-drawer .gfield_label, .lp-drawer .gform-field-label--type-sub {
	font-size: var(--lp-label) !important; font-weight: 500 !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--muted) !important;
}
.lp-drawer input[type="text"], .lp-drawer input[type="email"], .lp-drawer input[type="tel"], .lp-drawer select {
	width: 100%; border: none !important; border-bottom: 1px solid #d8d8d8 !important; border-radius: 0 !important; background: transparent !important;
	padding: 0.45rem 0 !important; font: inherit; font-size: 0.98rem; color: #000; outline: none; box-shadow: none !important;
}
.lp-drawer input:focus, .lp-drawer select:focus { border-bottom-color: #000 !important; }
.lp-drawer textarea { width: 100%; border: 1px solid #e0e0e0 !important; border-radius: 0 !important; background: transparent; padding: 0.7rem !important; font: inherit; font-size: 0.98rem; line-height: 1.6; resize: vertical; box-shadow: none !important; }
.lp-drawer textarea:focus { border-color: #000 !important; outline: none; }
/* checkbox "chips" — GF checkbox field with CSS class lp-chips */
.lp-drawer .lp-chips .gfield_checkbox { display: flex !important; flex-wrap: wrap; gap: 0.45rem !important; }
.lp-drawer .lp-chips .gchoice { position: relative; }
.lp-drawer .lp-chips input[type="checkbox"] { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.lp-drawer .lp-chips .gchoice label {
	display: inline-block; margin: 0 !important; font-size: 0.72rem !important; letter-spacing: 0.06em; color: var(--wp--preset--color--ink) !important;
	padding: 0.5rem 0.8rem; box-shadow: inset 0 0 0 1px #d8d8d8; transition: background .25s ease, box-shadow .25s ease; cursor: pointer;
}
.lp-drawer .lp-chips input:checked + label { background: #f1f1ef; box-shadow: inset 0 0 0 1px #000; }
.lp-drawer .lp-chips input:focus-visible + label { outline: 2px solid #000; outline-offset: 2px; }
.lp-drawer input[type="submit"], .lp-drawer button[type="submit"], .lp-drawer .gform_button {
	background: #000 !important; color: #fff !important; border: none !important; border-radius: 0 !important; cursor: pointer;
	font: inherit; font-size: 0.78rem !important; font-weight: 500 !important; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.95rem 1.7rem !important;
}
.lp-drawer .gform_confirmation_message, .lp-drawer .lp-sent {
	text-align: center; padding: 2rem 0; font-size: 0.95rem; line-height: 1.65; color: var(--wp--preset--color--body);
}
.lp-drawer .gform_confirmation_message::before, .lp-drawer .lp-sent::before {
	content: ""; display: block; width: 132px; height: 18px; margin: 0 auto 1.4rem; background: #111; animation: lp-slot 1.1s ease .2s;
}
.lp-form-fallback { padding: 1.25rem; background: #f6f6f4; font-size: 0.95rem; }

/* Fluent Forms in the drawer: same look as above, mapped onto its markup. Fields with container
   class lp-half sit two-up; everything else spans the row. */
.lp-drawer .fluentform fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.lp-drawer .fluentform fieldset > * { grid-column: 1 / -1; margin: 0 !important; }
.lp-drawer .fluentform fieldset > .lp-half { grid-column: auto; }
@media (max-width: 480px) { .lp-drawer .fluentform fieldset > .lp-half { grid-column: 1 / -1; } }
.lp-drawer .fluentform .ff-el-input--label { margin-bottom: 0.4rem; }
.lp-drawer .fluentform .ff-el-input--label label {
	font-size: var(--lp-label) !important; font-weight: 500 !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--muted) !important; margin: 0;
}
.lp-drawer .fluentform .ff-el-is-required.asterisk-right label::after { content: " *"; color: inherit; margin: 0; }
.lp-drawer .fluentform .ff-el-form-control {
	width: 100%; border: none !important; border-bottom: 1px solid #d8d8d8 !important; border-radius: 0 !important; background: transparent !important;
	padding: 0.45rem 0 !important; font: inherit; font-size: 0.98rem; color: inherit; box-shadow: none !important; outline: none;
}
.lp-drawer .fluentform textarea.ff-el-form-control { border: 1px solid #e0e0e0 !important; padding: 0.7rem !important; line-height: 1.6; resize: vertical; min-height: 7rem; }
.lp-drawer .fluentform .ff-el-form-control:focus { border-color: #000 !important; }
.lp-drawer .fluentform .ff-el-form-control::placeholder { color: var(--wp--preset--color--muted); opacity: 1; }
/* chips */
.lp-drawer .fluentform .lp-chips .ff-el-input--content { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.lp-drawer .fluentform .lp-chips .ff-el-form-check { margin: 0 !important; }
.lp-drawer .fluentform .lp-chips .ff-el-form-check-label { position: relative; display: inline-block; margin: 0; padding: 0 !important; cursor: pointer; }
.lp-drawer .fluentform .lp-chips input[type="checkbox"] { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.lp-drawer .fluentform .lp-chips .ff-el-form-check-label span {
	display: inline-block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--ink);
	padding: 0.5rem 0.8rem; box-shadow: inset 0 0 0 1px #d8d8d8; transition: background .25s ease, box-shadow .25s ease;
}
.lp-drawer .fluentform .lp-chips input:checked + span { background: #f1f1ef; box-shadow: inset 0 0 0 1px #000; }
.lp-drawer .fluentform .lp-chips input:focus-visible + span { outline: 2px solid #000; outline-offset: 2px; }
/* button, messages */
.lp-drawer .fluentform .ff_submit_btn_wrapper { margin-top: 0.3rem !important; }
.lp-drawer .fluentform .ff-btn-submit { border-radius: 0 !important; min-height: 0; }
.lp-drawer .fluentform .error, .lp-drawer .fluentform .text-danger { font-size: 0.75rem; color: #b3261e; margin-top: 0.35rem; }
.lp-drawer .fluentform .ff-el-is-error .ff-el-form-control { border-color: #b3261e !important; }
.lp-drawer .ff-message-success {
	border: 0 !important; box-shadow: none !important; background: none !important; margin: 0; text-align: center; padding: 2rem 0;
	font-size: 0.95rem; line-height: 1.65; color: var(--wp--preset--color--body);
}
/* the drawer is light on pack even over dark pages: don't inherit the dark-page paragraph colour */
.lp-drawer .ff-message-success p, .lp-drawer .gform_confirmation_message p { color: inherit !important; }
.lp-drawer .ff-message-success::before { content: ""; display: block; width: 132px; height: 18px; margin: 0 auto 1.4rem; background: #111; animation: lp-slot 1.1s ease .2s; }
.lp-drawer .ff-errors-in-stack:empty { display: none; }
.lp-form-fallback__admin { color: #8a1f1f !important; font-size: 0.8rem; }

/* ---------- page wipe (card → application page) ---------- */
.lp-wipe { position: fixed; inset: 0; background: #000; z-index: 900; pointer-events: none; clip-path: circle(0px at var(--lp-wx, 50%) var(--lp-wy, 50%)); transition: clip-path .62s cubic-bezier(.61,.06,.18,.98); }
.lp-wipe.is-on { clip-path: circle(var(--lp-wr, 150vmax) at var(--lp-wx, 50%) var(--lp-wy, 50%)); }

/* ---------- reduced motion: keep every fade, drop zoom / slide / drop ---------- */
@media (prefers-reduced-motion: reduce) {
	.lp-app-card--left.is-active .lp-app-card__frame { transform: translateX(-50%); }
	.lp-app-card--right.is-active .lp-app-card__frame { transform: translateX(50%); }
	.lp-story-frames > .wp-block-image, .lp-story-frames.is-running > .wp-block-image:not(.is-current) { transform: none; }
	.lp-app-hero__title, .lp-main--application .wp-block-post-content > * { animation-name: lp-fade; }
	.lp-drawer { transition: transform .2s ease; }
	.lp-drawer.is-posting .lp-drawer__content form,
	.lp-drawer.is-posting .lp-drawer__content .gform_wrapper { animation-name: lp-fade-out; }
	.lp-drawer.is-posting .lp-drawer__lip { animation: none; }
}
@keyframes lp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lp-fade-out { from { opacity: 1; } to { opacity: 0; } }

/* ---------- legal pages ---------- */
.lp-legal h1 { margin-bottom: 1.5rem; }
.lp-legal h2 { font-size: var(--wp--preset--font-size--heading-3); margin-top: 2.5rem; }
.lp-legal p, .lp-legal li { max-width: 72ch; }
.lp-legal-facts { list-style: none; padding: 0; }
.lp-legal-facts li { padding: 0.55rem 0; border-bottom: 1px solid var(--wp--preset--color--rule); }
.lp-legal-meta { color: var(--wp--preset--color--muted) !important; font-size: 0.85rem; }
.lp-legal.is-layout-constrained > * { margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; margin-right: auto !important; }
