/* ═══════════════════════════════════════════════════════════════════════════
   The landing page, 2026-10. Built on the shared tokens in gravity-ds.css
   (--g-ground, --g-glass-*, the brand gradient); nothing here redefines them.

   GLASS, ONCE AND ONLY WHERE IT EARNS IT. A live backdrop blur is redrawn every
   frame something behind it moves, so it is used on four small fixed things:
   the header, the phone action bar, the work filter and the lightbox. Every
   card, tile and frame below is the LOOK of glass — a translucent fill, a
   hairline and a top highlight — with no blur, which costs a cheap Android
   nothing while scrolling.

   ONE STYLESHEET, BOTH DIRECTIONS. Logical properties throughout (inline-start,
   inline-end), so Arabic and English are the same rules mirrored by `dir`.
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face { font-family: "Expo Arabic"; src: url("../fonts/ExpoArabic-Book.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Expo Arabic"; src: url("../fonts/ExpoArabic-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-600-latin.woff2") format("woff2"); font-weight: 600 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --lv-head: 68px;
  --lv-gut: 16px;
  --lv-max: 1240px;
  --lv-r: 22px;
  --lv-r-sm: 14px;
  --lv-dir: 1;
  --lv-card: rgba(255, 255, 255, .045);
  --lv-card-hi: inset 0 1px 0 rgba(255, 255, 255, .07);
  --lv-glow-a: rgba(211, 29, 83, .16);
  --lv-glow-b: rgba(70, 45, 147, .30);
  --lv-font: "Poppins", "Expo Arabic", "Tajawal", system-ui, sans-serif;
  color-scheme: dark;
}
:root[dir="rtl"] { --lv-dir: -1; }
:root[data-theme="light"] {
  --lv-card: rgba(255, 255, 255, .72);
  --lv-card-hi: inset 0 1px 0 rgba(255, 255, 255, .95), 0 14px 34px -24px rgba(23, 28, 51, .25);
  --lv-glow-a: rgba(239, 143, 32, .10);
  --lv-glow-b: rgba(70, 45, 147, .10);
  color-scheme: light;
}
@media (min-width: 720px) { :root { --lv-gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lv-lock { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--lv-font);
  font-size: 16px; line-height: 1.7;
  color: var(--g-ink);
  background:
    radial-gradient(60rem 40rem at 85% -10%, var(--lv-glow-b), transparent 60%),
    radial-gradient(50rem 36rem at 0% 45%, var(--lv-glow-a), transparent 65%),
    var(--g-ground);
  background-attachment: scroll;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
:root[lang="en"] body { line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid #f6a524; outline-offset: 3px; border-radius: 8px; }
.lv-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px;
  background: var(--g-grad-flat); color: #fff; font-weight: 700; }
.lv-skip:focus { top: 12px; }
bdi { unicode-bidi: isolate; }

/* ---------------------------------------------------------------- layout */
.s-host { display: block; }
.s-sec { position: relative; padding-block: clamp(56px, 8vw, 120px); scroll-margin-top: var(--lv-head); }
.s-wrap, .lv-wrap { width: 100%; max-width: var(--lv-max); margin-inline: auto; padding-inline: var(--lv-gut); }
.s-sec + .s-sec::before {
  content: ""; position: absolute; top: 0; inset-inline: var(--lv-gut); max-width: var(--lv-max); margin-inline: auto;
  height: 1px; background: linear-gradient(90deg, transparent, var(--g-line), transparent);
}
.s-sec-hero + .s-sec::before { display: none; }
.s-sec-missing, .s-sec-failed { display: none; }
/* The panel's editor marks the section being edited. */
:root[data-editing] .s-sec { cursor: pointer; }
:root[data-editing] .s-sec[data-sel] { outline: 2px dashed #f6a524; outline-offset: -6px; }

/* ----------------------------------------------------------------- type */
.lv-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 700; letter-spacing: 0; color: var(--g-muted);
}
:root[lang="en"] .lv-kicker { letter-spacing: .08em; text-transform: uppercase; font-size: .74rem; }
.lv-kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--g-grad-flat); }
.lv-h2 {
  font-size: clamp(1.8rem, 4.2vw, 3.2rem); line-height: 1.3; font-weight: 700;
  color: var(--g-title); text-wrap: balance;
}
:root[lang="en"] .lv-h2 { line-height: 1.12; letter-spacing: -.02em; }
.lv-lede { color: var(--g-muted); font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 62ch; }
.lv-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 820px; }
.lv-head-center { margin-inline: auto; text-align: center; justify-items: center; }
.lv-accent {
  background: var(--g-grad-flat); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------- buttons */
.lv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; white-space: nowrap;
  transition: transform var(--g-t) var(--g-ease), box-shadow var(--g-t) var(--g-ease), background var(--g-t) var(--g-ease), border-color var(--g-t);
}
.lv-btn svg { width: 20px; height: 20px; flex: none; }
.lv-btn small { opacity: .7; font-weight: 400; }
.lv-btn-primary { background: var(--g-grad-flat); color: #fff; box-shadow: 0 10px 30px -12px rgba(211, 29, 83, .65); }
.lv-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(211, 29, 83, .75); }
.lv-btn-glass { background: var(--lv-card); border: 1px solid var(--g-glass-line); box-shadow: var(--lv-card-hi); color: var(--g-title); }
.lv-btn-glass:hover { border-color: var(--g-line-up); transform: translateY(-2px); }
.lv-btn-link { padding-inline: 8px; color: var(--g-title); }
.lv-btn-link svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--lv-card); border: 1px solid var(--g-glass-line); }
.lv-btn-link:hover svg { background: var(--g-grad-flat); border-color: transparent; color: #fff; }
.lv-btn-wa { background: #1fa855; color: #fff; box-shadow: 0 10px 28px -14px rgba(31, 168, 85, .8); }
.lv-btn-wa:hover { transform: translateY(-2px); background: #1b9a4d; }
:root[dir="rtl"] .lv-arr { transform: scaleX(-1); }

/* ================================================================= header */
.lv-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50; height: var(--lv-head);
  display: flex; align-items: center;
  background: linear-gradient(180deg, var(--g-glass-sheen), transparent 70%), var(--g-glass-bg);
  -webkit-backdrop-filter: var(--g-glass-blur); backdrop-filter: var(--g-glass-blur);
  border-bottom: 1px solid var(--g-glass-line);
  transition: background var(--g-t-slow) var(--g-ease);
}
.lv-header-in { display: flex; align-items: center; gap: 18px; width: 100%; max-width: var(--lv-max); margin-inline: auto; padding-inline: var(--lv-gut); }
.lv-brand { display: inline-flex; align-items: center; flex: none; }
.lv-brand img { height: 34px; width: auto; }
.lv-brand.tap img { animation: lvTap .32s var(--g-ease-mag); }
.lv-nav { display: flex; gap: 4px; margin-inline-start: 12px; }
.lv-nav a { padding: 8px 12px; border-radius: 999px; font-size: .93rem; color: var(--g-muted); transition: color var(--g-t), background var(--g-t); }
.lv-nav a:hover, .lv-nav a.active { color: var(--g-title); background: var(--g-sunk); }
.lv-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lv-ic {
  width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--g-glass-line); background: var(--lv-card); color: var(--g-title); font-weight: 700; font-size: .85rem;
}
.lv-ic svg { width: 18px; height: 18px; }
.lv-ic:hover { border-color: var(--g-line-up); }
#themeToggle .ic-sun { display: none; }
:root[data-theme="light"] #themeToggle .ic-sun { display: block; }
:root[data-theme="light"] #themeToggle .ic-moon { display: none; }
#themeToggle svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lv-ic-wa { color: #25d366; }
.lv-head-cta { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.nav-burger { display: none; }
@media (max-width: 980px) {
  .lv-nav {
    position: fixed; top: calc(var(--lv-head) + 8px); inset-inline: 12px; margin: 0;
    flex-direction: column; padding: 10px; border-radius: 20px;
    background: var(--g-glass-bg-strong); border: 1px solid var(--g-glass-line); box-shadow: var(--g-glass-shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--g-t), transform var(--g-t), visibility var(--g-t);
  }
  .lv-nav.open { opacity: 1; visibility: visible; transform: none; }
  .lv-nav a { padding: 14px 16px; font-size: 1.05rem; color: var(--g-title); }
  .nav-burger { display: inline-grid; }
  .nav-burger span { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; margin: 1.5px 0; }
  .nav-burger { align-content: center; justify-items: center; }
}
@media (max-width: 560px) {
  .lv-head-cta, .lv-ic-wa { display: none; }
  .lv-brand img { height: 28px; }
  .lv-header-in { gap: 10px; }
}

/* ============================================================ phone bar */
.lv-bar {
  position: fixed; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  display: none; gap: 8px; padding: 8px; border-radius: 22px;
  background: linear-gradient(180deg, var(--g-glass-sheen), transparent 70%), var(--g-glass-bg);
  -webkit-backdrop-filter: var(--g-glass-blur); backdrop-filter: var(--g-glass-blur);
  border: 1px solid var(--g-glass-line); box-shadow: var(--g-glass-hi), var(--g-glass-shadow);
}
.lv-bar a { flex: 1; min-height: 46px; padding: 0 10px; font-size: .92rem; }
.lv-bar .lv-btn-glass { flex: .7; }
@media (max-width: 820px) {
  .lv-bar { display: flex; }
  body { padding-bottom: 84px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lv-header, .lv-bar, .lv-chips-sticky, .lv-lb-bar { background: var(--g-glass-bg-strong); }
}

/* =================================================================== hero
   Two words, the helmet and the numbers. No photograph — the owner's call:
   the work belongs in the work. The sky is two radial glows that breathe
   (transform and opacity only), so it costs a phone nothing. */
.s-sec-hero {
  padding: 0; min-height: min(100svh, 900px); display: flex; flex-direction: column; justify-content: center;
  isolation: isolate; overflow: hidden;
  /* The hero is night in both themes: the helmet is a spaceman. */
  --g-title: #fff; --g-ink: #e9ecf8; --g-muted: #b9c0e2;
  --lv-card: rgba(255, 255, 255, .06); --g-glass-line: rgba(255, 255, 255, .14);
  --lv-card-hi: inset 0 1px 0 rgba(255, 255, 255, .09);
  --g-sunk: rgba(255, 255, 255, .06); --g-line-up: rgba(255, 255, 255, .22);
  color: var(--g-ink); background: #0b0e1c;
}
.lv-hero-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lv-hero-sky::before, .lv-hero-sky::after { content: ""; position: absolute; border-radius: 50%; }
.lv-hero-sky::before {
  width: 70vmax; height: 70vmax; inset-inline-end: -20vmax; top: -24vmax;
  background: radial-gradient(circle, rgba(238, 79, 120, .30), rgba(161, 38, 127, .16) 40%, transparent 68%);
}
.lv-hero-sky::after {
  width: 60vmax; height: 60vmax; inset-inline-start: -20vmax; bottom: -32vmax;
  background: radial-gradient(circle, rgba(70, 45, 147, .48), rgba(246, 165, 36, .08) 45%, transparent 70%);
}
.lv-hero-sky i {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 72% 14%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 68%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 86% 58%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 54% 34%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(1.5px 1.5px at 22% 84%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 92% 88%, rgba(255,255,255,.35), transparent 60%);
  transform: translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -8px), 0);
  transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}
:root.lv-js .lv-hero-sky::before { animation: lvBreathe 11s ease-in-out infinite alternate; }
:root.lv-js .lv-hero-sky::after  { animation: lvBreathe 14s ease-in-out -5s infinite alternate-reverse; }
@keyframes lvBreathe { from { transform: scale(1); opacity: .7; } to { transform: scale(1.14) translate3d(2%, 3%, 0); opacity: 1; } }
.s-sec-hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(11, 14, 28, 1));
}

.lv-hero-in {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 36vw, 480px); align-items: center;
  gap: clamp(24px, 4vw, 56px); padding-top: calc(var(--lv-head) + 40px); padding-bottom: clamp(56px, 8vh, 96px);
}
.lv-hero-in.no-art { grid-template-columns: minmax(0, 1fr) clamp(260px, 32vw, 420px); }
.lv-hero-copy { display: grid; gap: 22px; max-width: 760px; }
.lv-hero-kicker { color: #f6c27a; }
.lv-h1 {
  font-size: clamp(3.2rem, 10vw, 8.4rem); line-height: 1.12; font-weight: 700; color: var(--g-title); text-wrap: balance;
}
:root[lang="en"] .lv-h1 { line-height: .98; letter-spacing: -.04em; font-size: clamp(3rem, 8.6vw, 7.4rem); }
.lv-h1 .lv-accent { padding-bottom: .08em; }
.lv-hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--g-ink); opacity: .9; }
.lv-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }

/* The words rise one at a time — whole words, so Arabic keeps its joins. */
.lv-w { display: inline-block; }
:root.lv-js .lv-h1 .lv-w { animation: lvRise 1.1s var(--g-ease) both; animation-delay: calc(var(--i) * 110ms + 150ms); }
:root.lv-js .lv-hero-kicker, :root.lv-js .lv-hero-lede, :root.lv-js .lv-cta-row { animation: lvFade 1s var(--g-ease) both; }
:root.lv-js .lv-hero-kicker { animation-delay: .05s; }
:root.lv-js .lv-hero-lede { animation-delay: .55s; }
:root.lv-js .lv-cta-row { animation-delay: .7s; }
@keyframes lvRise { from { opacity: 0; transform: translateY(.45em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes lvFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* The side: the helmet over the mark, the figures beneath. --px/--py are the
   pointer (desktop) or the tilt (phone), -1…1, written by landing-v3.js. */
.lv-hero-side { display: grid; gap: 22px; justify-items: center; }
.lv-hero-art {
  position: relative; width: clamp(200px, 25vw, 340px); aspect-ratio: 630 / 675;
  cursor: default; -webkit-tap-highlight-color: transparent; user-select: none;
  transform: translate3d(calc(var(--px, 0) * 16px), calc(var(--py, 0) * 12px), 0);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.lv-hero-mark {
  position: absolute; z-index: 0; inset: -30% -48% auto auto; width: 132%; opacity: 1;
  transform: translate3d(calc(var(--px, 0) * -26px), calc(var(--py, 0) * -18px), 0);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}
:root[dir="rtl"] .lv-hero-mark { inset: -30% auto auto -48%; }
.lv-hero-mark img { width: 100%; height: auto; }
.lv-hero-copy { position: relative; z-index: 2; }
.lv-helmet { position: relative; z-index: 1; display: block; filter: drop-shadow(0 34px 44px rgba(0, 0, 0, .6)); }
.lv-helmet-in { position: relative; display: block; }
.lv-helmet img { width: 100%; }
:root.lv-js .lv-helmet-in { animation: lvArrive 1.9s cubic-bezier(.16, 1, .3, 1) .1s both; }
:root.lv-js .lv-helmet { animation: lvFloat 7s ease-in-out 2s infinite; }
:root.lv-js .lv-hero-mark img { animation: lvMarkIn 2.2s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes lvArrive { from { opacity: 0; transform: translate3d(0, 70px, 0) scale(.82) rotate(-10deg); } to { opacity: 1; transform: none; } }
@keyframes lvMarkIn { from { opacity: 0; transform: scale(.7) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes lvFloat { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(1.2deg); } }
/* Light crossing the visor: a band clipped to the visor's ellipse. */
.lv-visor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; clip-path: ellipse(37% 26% at 50% 47%); }
.lv-visor::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; width: 30%; inset-inline-start: -40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  mix-blend-mode: screen; opacity: 0; transform: skewX(-18deg);
}
:root.lv-js .lv-visor::after { animation: lvSweep 7s ease-in-out 2.3s infinite; }
:root[dir="rtl"].lv-js .lv-visor::after { animation-name: lvSweepR; }
@keyframes lvSweep {
  0% { opacity: 0; transform: translateX(0) skewX(-18deg); }
  6% { opacity: 1; }
  24% { opacity: 1; transform: translateX(480%) skewX(-18deg); }
  28%, 100% { opacity: 0; transform: translateX(480%) skewX(-18deg); }
}
@keyframes lvSweepR {
  0% { opacity: 0; transform: translateX(0) skewX(18deg); }
  6% { opacity: 1; }
  24% { opacity: 1; transform: translateX(-480%) skewX(18deg); }
  28%, 100% { opacity: 0; transform: translateX(-480%) skewX(18deg); }
}
.lv-hero-art.tap .lv-helmet-in img { animation: lvTap .32s var(--g-ease-mag); }
.lv-hero-art.tap::after {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(246, 165, 36, .55); animation: lvPulse .5s ease-out;
}
@keyframes lvTap { 0% { transform: scale(1); } 40% { transform: scale(.94); } 100% { transform: scale(1); } }
@keyframes lvPulse { to { box-shadow: 0 0 0 26px rgba(246, 165, 36, 0); } }

/* The proof figures, on one real glass panel (a single fixed-count element,
   so the backdrop blur is affordable). The hero is night in both themes, so
   the panel keeps the night fill whichever theme the page is in. Labels are
   --g-ink on that fill (> 7:1); the numbers are white, with the gradient as a
   short bar above each, because the purple end of the gradient on navy fails
   contrast at this size. */
.lv-hero-figs {
  list-style: none; margin: 0; padding: 8px; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), transparent 60%), rgba(18, 23, 52, .78);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 50px -24px rgba(0, 0, 0, .7);
  transform: translate3d(calc(var(--px, 0) * 6px), calc(var(--py, 0) * 4px), 0); transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lv-hero-figs { background: rgba(18, 23, 52, .95); }
}
.lv-hero-figs li { display: grid; gap: 6px; align-content: start; padding: 14px 16px; }
.lv-hero-figs li + li { border-inline-start: 1px solid rgba(255, 255, 255, .12); }
:root.lv-js .lv-hero-figs { animation: lvShow .9s var(--g-ease) 1s both; }
@keyframes lvShow { from { opacity: 0; } to { opacity: 1; } }
.lv-hero-figs b {
  font-family: "Poppins", var(--lv-font); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.05; letter-spacing: -.02em;
  color: #fff;
}
.lv-hero-figs b::before {
  content: ""; display: block; width: 26px; height: 3px; border-radius: 3px; margin-bottom: 10px; background: var(--g-grad-flat);
}
.lv-hero-figs span { font-size: .84rem; line-height: 1.45; color: #e9ecf8; }
@media (max-width: 860px) {
  .s-sec-hero { min-height: 0; }
  .lv-hero-in { grid-template-columns: 1fr; padding-top: calc(var(--lv-head) + 20px); padding-bottom: 60px; gap: 20px; }
  .lv-hero-side { display: contents; }
  .lv-hero-art { order: -1; justify-self: center; width: min(46vw, 200px); margin-bottom: -6px; }
  .lv-hero-mark { inset: -16% -42% auto auto; width: 118%; }
  :root[dir="rtl"] .lv-hero-mark { inset: -16% auto auto -42%; }
  .lv-hero-figs { order: 2; padding: 4px; }
  .lv-hero-figs li { padding: 12px 8px; text-align: center; justify-items: center; }
  .lv-hero-figs b { font-size: 1.45rem; }
  .lv-hero-figs b::before { margin-inline: auto; margin-bottom: 8px; }
  .lv-hero-figs span { font-size: .76rem; }
  .lv-h1 { font-size: clamp(3.4rem, 15vw, 4.6rem); }
  .lv-hero-copy { text-align: center; justify-items: center; }
  .lv-cta-row { justify-content: center; }
  .lv-cta-row .lv-btn-primary { flex: 1 1 100%; }
  .lv-cta-row .lv-btn-glass { flex: 1; }
}

/* ================================================================== logos */
.s-sec-logos { padding-block: clamp(40px, 6vw, 80px); }
.s-sec-logos .lv-head { margin-bottom: 26px; }
.s-sec-logos .lv-h2 { font-size: clamp(1.15rem, 2.2vw, 1.55rem); font-weight: 400; color: var(--g-muted); }
.lv-marqs { display: grid; gap: 18px; }
.lv-marq {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.lv-marq-track {
  list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(36px, 5vw, 64px);
  width: max-content; padding-inline-end: clamp(36px, 5vw, 64px);
  animation: lvMarq calc(var(--n) * 3.2s) linear infinite;
}
.lv-marq.is-rev .lv-marq-track { animation-direction: reverse; }
.lv-marq:hover .lv-marq-track { animation-play-state: paused; }
@keyframes lvMarq { to { transform: translateX(calc(var(--lv-dir) * -50%)); } }
/* The files are clean white silhouettes (*.mono.webp, colour-distance matte,
   no halo), so dark mode shows them as they are and light mode only has to
   turn white to black. A logo that cannot be one colour sits in its own
   colours on a small glass chip. */
.lv-logo img {
  height: 38px; width: auto; max-width: 150px; object-fit: contain;
  opacity: .85; transition: opacity var(--g-t);
}
.lv-logo:hover img { opacity: 1; }
:root[data-theme="light"] .lv-logo img { filter: brightness(0); opacity: .75; }
:root[data-theme="light"] .lv-logo:hover img { opacity: 1; }
.lv-logo.is-chip {
  display: grid; place-items: center; padding: 6px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--g-glass-line); box-shadow: var(--lv-card-hi);
}
.lv-logo.is-chip img, :root[data-theme="light"] .lv-logo.is-chip img { filter: none; opacity: 1; height: 32px; }
/* On the light page a white chip all but vanished (the owner, 2026-10-29: make
   them stronger): a defined edge and a lift, so the chip reads as a card. */
:root[data-theme="light"] .lv-logo.is-chip {
  background: #fff; border-color: rgba(20, 26, 45, .16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 6px 18px -8px rgba(20, 26, 45, .35);
}
.lv-marq.is-still { -webkit-mask-image: none; mask-image: none; }
.lv-marq.is-still .lv-marq-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 22px; }
.lv-marq.is-still [aria-hidden="true"] { display: none; }
@media (max-width: 560px) { .lv-logo img { height: 30px; max-width: 110px; } }

/* ================================================================== cases
   EVERY DESIGN IN ITS OWN RATIO (the owner's rule). Nothing here sets an
   aspect-ratio or object-fit: cover on a piece of work — the frame is the
   image's own shape, from its width/height attributes. A tall reel is held
   by a max-height instead of being cut. */
.lv-cases { display: grid; gap: clamp(64px, 9vw, 120px); }
.lv-case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.lv-case.is-flip .lv-case-copy { order: 2; }
.lv-case-copy { display: grid; gap: 16px; align-content: center; }
.lv-case-client { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; color: var(--g-muted); }
.lv-case-tags { display: inline-flex; gap: 6px; }
.lv-case-tags span, .lv-who li {
  padding: 3px 11px; border-radius: 999px; font-size: .76rem; font-weight: 400;
  background: var(--lv-card); border: 1px solid var(--g-glass-line); color: var(--g-ink);
}
.lv-case-stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.lv-case-stat b {
  font-size: clamp(3.4rem, 8vw, 6.4rem); line-height: .95; font-weight: 800; font-family: "Poppins", var(--lv-font);
  background: var(--g-grad-flat); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  letter-spacing: -.03em;
}
.lv-case-stat span { color: var(--g-muted); font-size: 1rem; max-width: 16ch; line-height: 1.4; }
.lv-case-claim { font-size: clamp(1.35rem, 2.4vw, 1.95rem); line-height: 1.45; font-weight: 700; color: var(--g-title); text-wrap: balance; }
:root[lang="en"] .lv-case-claim { line-height: 1.25; letter-spacing: -.01em; }
.lv-case-story { color: var(--g-muted); max-width: 54ch; }
.lv-case-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 800; color: var(--g-title);
  text-decoration: none; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid currentColor; transition: background .2s, color .2s; }
.lv-case-more:hover { background: var(--g-title); color: var(--g-bg, #0b0e1a); }
.lv-case-media { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 12px; }
.lv-case-pic {
  position: relative; display: block; overflow: hidden; border-radius: var(--lv-r);
  border: 1px solid var(--g-glass-line); background: var(--lv-card); box-shadow: var(--lv-card-hi), var(--g-float);
  flex: 1 1 100%; max-width: 100%;
}
.lv-case-pic img { width: 100%; height: auto; transition: transform .8s var(--g-ease); }
/* A main piece taller than it is wide is held by its height, not cropped. */
.lv-case-pic.is-tall { flex: 0 1 auto; width: auto; }
.lv-case-pic.is-tall img { width: auto; max-height: min(72vh, 640px); }
.lv-case-pic.is-sub { flex: 1 1 calc(50% - 6px); border-radius: var(--lv-r-sm); }
.lv-case-pic.is-sub.is-tall { flex: 0 1 auto; }
.lv-case-pic.is-sub.is-tall img { max-height: 360px; }
.lv-case-pic:hover img { transform: scale(1.03); }
@media (max-width: 860px) {
  .lv-case { grid-template-columns: 1fr; }
  .lv-case.is-flip .lv-case-copy { order: 0; }
  .lv-case-pic.is-tall img { max-height: 70vh; }
}

/* ============================================================== the index */
.lv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--g-glass-line); background: var(--lv-card); color: var(--g-ink); font-size: .92rem; white-space: nowrap;
  transition: background var(--g-t), border-color var(--g-t), color var(--g-t);
}
.lv-chip small { font-size: .74rem; opacity: .6; font-family: "Poppins", var(--lv-font); }
.lv-chip:hover { border-color: var(--g-line-up); }
.lv-chip[aria-pressed="true"], .lv-check:has(input:checked) { background: var(--g-grad-flat); border-color: transparent; color: #fff; }
.lv-chip[aria-pressed="true"] small { opacity: .85; }
/* The filter rides under the header while the index is being browsed —
   one of the four places a real blur is allowed. */
.lv-index > .lv-chips {
  position: sticky; top: calc(var(--lv-head) + 10px); z-index: 5; margin-bottom: 22px;
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: fit-content; max-width: 100%;
  padding: 6px; border-radius: 999px;
  background: linear-gradient(180deg, var(--g-glass-sheen), transparent 70%), var(--g-glass-bg);
  -webkit-backdrop-filter: var(--g-glass-blur-lite); backdrop-filter: var(--g-glass-blur-lite);
  border: 1px solid var(--g-glass-line); box-shadow: var(--g-glass-hi), var(--g-glass-shadow);
}
.lv-index > .lv-chips::-webkit-scrollbar { display: none; }
.lv-index > .lv-chips .lv-chip { border-color: transparent; background: transparent; }
.lv-index > .lv-chips .lv-chip[aria-pressed="true"] { background: var(--g-grad-flat); }
.lv-grid { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 12px; }
@media (min-width: 720px) { .lv-grid { columns: 3; column-gap: 16px; } }
@media (min-width: 1120px) { .lv-grid { columns: 4; } }
.lv-tile { break-inside: avoid; margin-bottom: 12px; }
@media (min-width: 720px) { .lv-tile { margin-bottom: 16px; } }
.lv-tile[data-hide] { display: none; }
.lv-tile-btn {
  position: relative; display: block; width: 100%; overflow: hidden; border-radius: 18px;
  border: 1px solid var(--g-glass-line); background: var(--lv-card); box-shadow: var(--lv-card-hi); text-align: start;
}
.lv-tile-btn img { width: 100%; transition: transform .6s var(--g-ease); }
.lv-tile-meta {
  position: absolute; inset: auto 0 0 0; display: grid; gap: 2px; padding: 34px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 22, .82));
  color: #fff; font-size: .86rem; line-height: 1.35;
  opacity: 0; transform: translateY(8px); transition: opacity var(--g-t-slow) var(--g-ease), transform var(--g-t-slow) var(--g-ease);
}
.lv-tile-meta span { font-size: .74rem; opacity: .75; }
.lv-tile-btn:hover img, .lv-tile-btn:focus-visible img { transform: scale(1.04); }
.lv-tile-btn:hover .lv-tile-meta, .lv-tile-btn:focus-visible .lv-tile-meta { opacity: 1; transform: none; }
@media (hover: none) { .lv-tile-meta { opacity: 1; transform: none; padding-top: 28px; } }
.lv-more-row { display: flex; justify-content: center; margin-top: 18px; }

/* ================================================================ services */
.lv-svc { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.lv-svc-tile {
  position: relative; height: 100%; display: grid; align-content: start; gap: 12px; padding: clamp(22px, 3vw, 32px);
  border-radius: var(--lv-r); background: var(--lv-card); border: 1px solid var(--g-glass-line); box-shadow: var(--lv-card-hi);
  overflow: hidden; transition: transform var(--g-t-slow) var(--g-ease), border-color var(--g-t);
}
.lv-svc-tile::after {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 79, 120, .22), transparent 65%); opacity: 0; transition: opacity var(--g-t-slow);
  pointer-events: none;
}
a.lv-svc-tile:hover { transform: translateY(-4px); border-color: var(--g-line-up); }
a.lv-svc-tile:hover::after { opacity: 1; }
.lv-svc-n {
  font-family: "Poppins", var(--lv-font); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--g-line-up); letter-spacing: -.02em;
}
a.lv-svc-tile:hover .lv-svc-n { -webkit-text-stroke-color: #ee4f78; }
.lv-svc-tile h3 { font-size: 1.24rem; line-height: 1.4; color: var(--g-title); }
.lv-svc-tile p { color: var(--g-muted); font-size: .97rem; }
.lv-svc-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .88rem; font-weight: 700; color: var(--g-title); }
.lv-svc-go svg { width: 18px; height: 18px; transition: transform var(--g-t) var(--g-ease); }
a.lv-svc-tile:hover .lv-svc-go svg { transform: translateX(4px); }
:root[dir="rtl"] a.lv-svc-tile:hover .lv-svc-go svg { transform: translateX(-4px) scaleX(-1); }
.lv-svc-pic img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; }

/* ================================================================== stats */
.lv-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.lv-stat {
  display: grid; gap: 6px; align-content: start; padding: 26px 22px; border-radius: var(--lv-r);
  background: var(--lv-card); border: 1px solid var(--g-glass-line); box-shadow: var(--lv-card-hi);
}
.lv-stat b {
  font-family: "Poppins", var(--lv-font); font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em;
  background: var(--g-grad-flat); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.lv-stat > span { color: var(--g-muted); font-size: .95rem; line-height: 1.5; }
.lv-stat-art img { width: 56px; height: 56px; object-fit: contain; }
.lv-stat-ic { font-size: 1.8rem; }
@media (max-width: 560px) {
  .lv-stats { grid-template-columns: 1fr 1fr; }
  .lv-stat { padding: 20px 16px; }
  .lv-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* =================================================================== reel */
.lv-reel { position: relative; }
.lv-reel-face, .lv-reel-frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: calc(var(--lv-r) + 6px);
  border: 1px solid var(--g-glass-line); background: #05060d; box-shadow: var(--g-float);
}
.lv-reel-face.is-tall, .lv-reel-frame.is-tall { aspect-ratio: 9 / 16; max-width: 380px; margin-inline: auto; }
.lv-reel-face img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--g-ease); }
.lv-reel-face::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(5, 6, 13, .15), rgba(5, 6, 13, .6)); }
.lv-reel-face:hover img { transform: scale(1.03); }
.lv-reel-play {
  position: absolute; z-index: 1; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  width: clamp(72px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--g-grad-flat); color: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .1), 0 20px 50px -10px rgba(211, 29, 83, .7);
  transition: transform var(--g-t-slow) var(--g-ease-mag);
}
.lv-reel-play svg { width: 42%; margin-inline-start: 6%; }
:root[dir="rtl"] .lv-reel-play svg { margin-inline-start: 0; margin-inline-end: 6%; transform: none; }
.lv-reel-face:hover .lv-reel-play { transform: translate(-50%, -50%) scale(1.08); }
.lv-reel-label { position: absolute; z-index: 1; inset-inline-start: 20px; bottom: 16px; color: #fff; font-weight: 700; font-size: .95rem; }
.lv-reel-frame iframe, .lv-reel-frame video { width: 100%; height: 100%; border: 0; display: block; }
.lv-reel-pick { margin-top: 16px; justify-content: center; }

/* ================================================================ sectors */
.lv-sectors { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.lv-sector {
  position: relative; isolation: isolate; overflow: hidden; min-height: 220px; display: flex; align-items: flex-end;
  border-radius: var(--lv-r); border: 1px solid var(--g-glass-line); background: var(--lv-card);
}
.lv-sector-bg { position: absolute; inset: 0; z-index: -1; }
.lv-sector-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--g-ease); }
.lv-sector-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 22, .3), rgba(8, 10, 22, .7) 45%, rgba(8, 10, 22, .95)); }
.lv-sector:hover .lv-sector-bg img { transform: scale(1.04); }
.lv-sector-body { display: grid; gap: 10px; padding: clamp(22px, 3vw, 32px); }
.lv-sector h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.35; color: var(--g-title); }
.lv-sector p { color: var(--g-muted); }
.lv-who { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lv-prizes li { font-size: .95rem; padding: 6px 14px; }

/* ================================================================== steps */
.lv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: s; }
.lv-step { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px 22px; border-radius: var(--lv-r);
  background: var(--lv-card); border: 1px solid var(--g-glass-line); box-shadow: var(--lv-card-hi); }
.lv-step-n {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-family: "Poppins", var(--lv-font);
  background: var(--g-grad-flat); color: #fff; box-shadow: 0 8px 22px -10px rgba(211, 29, 83, .8);
}
.lv-step h3 { font-size: 1.2rem; color: var(--g-title); }
.lv-step p { color: var(--g-muted); font-size: .95rem; }
@media (min-width: 1000px) {
  .lv-steps { grid-template-columns: repeat(4, 1fr); }
  .lv-step:not(:last-child)::after {
    content: ""; position: absolute; top: 48px; inset-inline-start: calc(100% - 6px); width: 26px; height: 2px;
    background: var(--g-grad-flat); opacity: .6;
  }
}
.lv-goals { margin-top: 26px; padding: 24px; border-radius: var(--lv-r); background: var(--lv-card); border: 1px solid var(--g-glass-line); display: grid; gap: 14px; }
.lv-goals-ask { font-weight: 700; color: var(--g-title); }
.lv-goal ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.lv-goal b { color: var(--g-title); }

/* ================================================================== text */
.lv-text { display: grid; gap: clamp(24px, 5vw, 64px); align-items: center; }
.lv-text.has-img { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.lv-text.is-center { text-align: center; justify-items: center; }
.lv-text-copy { display: grid; gap: 16px; max-width: 640px; }
.lv-text-copy p:not(.lv-kicker) { color: var(--g-muted); font-size: 1.05rem; }
.lv-text-pic { display: block; overflow: hidden; border-radius: var(--lv-r); border: 1px solid var(--g-glass-line); box-shadow: var(--g-float); }
.lv-text-pic img { width: 100%; transition: transform .8s var(--g-ease); }
.lv-text-pic:hover img { transform: scale(1.03); }
@media (max-width: 860px) { .lv-text.has-img { grid-template-columns: 1fr; } }

/* ================================================================== strip */
.lv-strip { list-style: none; margin: 0; padding: 4px 0 12px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.lv-strip li { flex: 0 0 min(70vw, 340px); scroll-snap-align: start; }
.lv-strip button { display: block; overflow: hidden; border-radius: var(--lv-r-sm); border: 1px solid var(--g-glass-line); }
.lv-strip-cta { display: grid; place-items: center; }

/* ================================================================== close */
.s-sec-cta { padding-bottom: clamp(72px, 10vw, 140px); }
.lv-close { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.lv-close-copy { display: grid; gap: 20px; align-content: start; }
.lv-close-h { font-size: clamp(2.1rem, 5.4vw, 4.4rem); line-height: 1.2; font-weight: 700; color: var(--g-title); text-wrap: balance; }
:root[lang="en"] .lv-close-h { line-height: 1.04; letter-spacing: -.03em; }
.lv-close-h .lv-accent { display: block; }
.lv-close-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.lv-contact { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; max-width: 420px; }
.lv-contact a, .lv-contact button {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--lv-r-sm);
  background: var(--lv-card); border: 1px solid var(--g-glass-line); text-align: start; transition: border-color var(--g-t);
}
.lv-contact a:hover, .lv-contact button:hover { border-color: var(--g-line-up); }
.lv-contact svg { width: 20px; height: 20px; flex: none; color: #ee4f78; }
.lv-contact span { display: grid; line-height: 1.35; }
.lv-contact small { color: var(--g-muted); font-size: .76rem; }
.lv-contact bdi { color: var(--g-title); font-family: "Poppins", var(--lv-font); }
.lv-form {
  display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); border-radius: calc(var(--lv-r) + 4px);
  background: linear-gradient(180deg, var(--g-glass-sheen), transparent 40%), var(--lv-card);
  border: 1px solid var(--g-glass-line); box-shadow: var(--lv-card-hi), var(--g-float);
}
.lv-form label:not(.lv-chip), .lv-form fieldset { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.lv-form label > span, .lv-form legend { font-size: .86rem; color: var(--g-muted); padding: 0; margin-bottom: 6px; }
.lv-form input:not([type="checkbox"]), .lv-form textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--lv-r-sm); font: inherit; color: var(--g-title);
  background: var(--g-sunk); border: 1px solid var(--g-line); transition: border-color var(--g-t), background var(--g-t);
}
.lv-form textarea { resize: vertical; min-height: 92px; }
.lv-form input:focus, .lv-form textarea:focus { outline: none; border-color: #ee4f78; background: var(--lv-card); }
.lv-form [aria-invalid="true"] { border-color: #ff6b6b !important; }
.lv-form input[dir="ltr"] { text-align: start; }
:root[dir="rtl"] .lv-form input[dir="ltr"] { text-align: right; }
.lv-check { cursor: pointer; position: relative; }
.lv-check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lv-check:has(input:focus-visible) { outline: 2px solid #f6a524; outline-offset: 2px; }
.lv-submit { width: 100%; min-height: 54px; font-size: 1.04rem; }
.lv-submit:disabled { opacity: .7; cursor: wait; }
.lv-form-note { font-size: .92rem; color: #ff8e8e; }
.lv-form-note.is-ok { color: #4ed68a; font-weight: 700; }
.lv-hp { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; clip-path: inset(50%); }
.lv-close-art img { border-radius: var(--lv-r); }
@media (max-width: 900px) { .lv-close { grid-template-columns: 1fr; } }

/* ================================================================= footer */
.lv-footer { position: relative; padding: 56px 0 28px; border-top: 1px solid var(--g-line); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .18)); }
:root[data-theme="light"] .lv-footer { background: linear-gradient(180deg, transparent, rgba(20, 26, 58, .04)); }
.lv-footer-in { display: grid; gap: 32px; grid-template-columns: 1.3fr 1fr 1fr; }
.lv-footer h4 { margin: 0 0 12px; font-size: .82rem; color: var(--g-muted); font-weight: 700; }
.lv-footer p, .lv-footer li { color: var(--g-ink); font-size: .95rem; }
.lv-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lv-footer a:hover { color: var(--g-title); text-decoration: underline; text-underline-offset: 3px; }
.lv-footer-brand img { height: 38px; width: auto; margin-bottom: 14px; }
.lv-footer-brand p { color: var(--g-muted); max-width: 34ch; }
.lv-clock { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .86rem; color: var(--g-muted); }
.lv-clock b { font-family: "Poppins", var(--lv-font); color: var(--g-title); font-weight: 600; }
.soc-row { display: flex; gap: 8px; margin-top: 14px; }
.soc-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--lv-card); border: 1px solid var(--g-glass-line); }
.soc-ic svg { width: 17px; height: 17px; fill: currentColor; }
.lv-footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--g-line); font-size: .84rem; color: var(--g-muted); }
.lv-footer-base nav { display: flex; gap: 16px; }
.s-door { display: inline-block; width: 6px; height: 6px; margin-inline-start: 8px; border-radius: 50%; background: var(--g-line); vertical-align: middle; transition: background var(--g-t), box-shadow var(--g-t); }
.s-door:hover, .s-door:focus-visible { background: #ee4f78; box-shadow: 0 0 0 4px rgba(238, 79, 120, .25); }
@media (max-width: 860px) { .lv-footer-in { grid-template-columns: 1fr 1fr; } .lv-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .lv-footer-in { grid-template-columns: 1fr; } }

/* =============================================================== lightbox */
.lv-lb {
  position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: 1fr auto;
  background: rgba(5, 7, 15, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0; transition: opacity var(--g-t-slow) var(--g-ease);
}
.lv-lb[hidden] { display: none; }
.lv-lb.is-on { opacity: 1; }
.lv-lb-stage { display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) 16px 8px; min-height: 0; }
.lv-lb-stage img {
  max-width: min(94vw, 1400px); max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain;
  border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); transition: opacity var(--g-t);
}
.lv-lb.is-loading .lv-lb-stage img { opacity: .35; }
.lv-lb-bar {
  display: flex; align-items: center; gap: 14px; margin: 0 auto calc(14px + env(safe-area-inset-bottom, 0px)); width: min(94vw, 980px);
  padding: 10px 10px 10px 18px; border-radius: 20px; color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 70%), rgba(18, 23, 52, .6);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
:root[dir="rtl"] .lv-lb-bar { padding: 10px 18px 10px 10px; }
.lv-lb-cap { flex: 1; min-width: 0; display: grid; font-size: .9rem; line-height: 1.45; }
.lv-lb-cap b { font-size: .8rem; color: #c3c9e6; font-weight: 700; }
.lv-lb-n { font-size: .8rem; color: #c3c9e6; white-space: nowrap; font-family: "Poppins", var(--lv-font); }
.lv-lb-nav { display: flex; gap: 6px; }
.lv-lb-nav[hidden] { display: none; }
.lv-lb-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; }
.lv-lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lv-lb-btn svg { width: 20px; height: 20px; }
[data-lb="prev"] .lv-arr { transform: scaleX(-1); }
:root[dir="rtl"] [data-lb="prev"] .lv-arr { transform: none; }
:root[dir="rtl"] [data-lb="next"] .lv-arr { transform: scaleX(-1); }
@media (max-width: 560px) {
  .lv-lb-bar { flex-wrap: wrap; gap: 8px 10px; }
  .lv-lb-cap { flex-basis: 100%; order: -1; }
  .lv-lb-n { flex: 1; }
}

.lv-toast {
  position: fixed; z-index: 95; inset-inline: 0; margin-inline: auto; width: fit-content; bottom: 110px; transform: translateY(20px);
  padding: 10px 18px; border-radius: 999px; background: var(--g-title); color: var(--g-ground); font-weight: 700; font-size: .9rem;
  opacity: 0; pointer-events: none; transition: opacity var(--g-t), transform var(--g-t);
}
.lv-toast.is-on { opacity: 1; transform: none; }

/* ================================================================= reveal */
:root.lv-js .lv-rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--g-ease), transform .8s var(--g-ease); transition-delay: calc(var(--i, 0) * 60ms); }
:root.lv-js .lv-rv.in { opacity: 1; transform: none; }
:root[data-editing] .lv-rv { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  :root.lv-js .lv-rv { opacity: 1; transform: none; }
  .lv-marq { -webkit-mask-image: none; mask-image: none; }
  .lv-marq-track { flex-wrap: wrap; justify-content: center; width: auto; row-gap: 22px; }
  .lv-marq-track [aria-hidden="true"] { display: none; }
}

/* The wordmark is drawn for a light ground; the dark page carries a white-text
   cut of the same file (assets/img/lv/logo-on-dark.webp). */
.lv-logo-light { display: none; }
:root[data-theme="light"] .lv-logo-light { display: block; }
:root[data-theme="light"] .lv-logo-dark { display: none; }

/* Only a sector carrying a picture turns to night; a plain one keeps the page's colours. */
.lv-sector.has-bg {
  --g-title: #fff; --g-ink: #e9ecf8; --g-muted: #cdd2ea; --lv-card: rgba(255, 255, 255, .1); --g-glass-line: rgba(255, 255, 255, .18);
  min-height: 340px;
}
.lv-sector:not(.has-bg) { box-shadow: var(--lv-card-hi); align-items: flex-start; }

/* ═════════════════════════════════════════════════════════════════ MOTION
   Transform and opacity only, so every frame is the compositor's and none is
   layout. No smooth-scroll library and nothing that holds the page: the
   browser scrolls, and things react to where they are. prefers-reduced-motion
   switches every rule below off (the block at the end of this file). */

/* ---- the header condenses once the page moves (main.js adds .scrolled) */
.lv-header { transition: height .35s var(--g-ease), background .35s var(--g-ease), box-shadow .35s var(--g-ease); }
.lv-header.scrolled { height: 58px; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .55); background: linear-gradient(180deg, var(--g-glass-sheen), transparent 70%), var(--g-glass-bg-strong); }
.lv-brand img { transition: transform .35s var(--g-ease); transform-origin: center; }
.lv-header.scrolled .lv-brand img { transform: scale(.86); }

/* ---- the phone bar arrives once the hero has gone by */
@media (max-width: 820px) {
  :root.lv-js .lv-bar { transform: translateY(calc(100% + 24px)); opacity: 0; transition: transform .5s cubic-bezier(.2, .9, .25, 1.1), opacity .3s; }
  :root.lv-js .lv-bar.is-on { transform: none; opacity: 1; }
}

/* ---- section titles: a mask lifts off each heading, line by line as a block */
:root.lv-js .lv-head.lv-rv { opacity: 1; transform: none; }
:root.lv-js .lv-head.lv-rv > * {
  opacity: 0; transform: translateY(.6em); clip-path: inset(0 0 100% 0);
  transition: opacity .9s var(--g-ease), transform .9s var(--g-ease), clip-path 1s var(--g-ease);
}
:root.lv-js .lv-head.lv-rv > :nth-child(2) { transition-delay: .08s; }
:root.lv-js .lv-head.lv-rv > :nth-child(3) { transition-delay: .18s; }
:root.lv-js .lv-head.lv-rv.in > * { opacity: 1; transform: none; clip-path: inset(0 0 -20% 0); }

/* ---- work tiles rise and settle, staggered by column */
:root.lv-js .lv-tile.lv-rv { transform: translateY(34px) scale(.96); }
:root.lv-js .lv-tile.lv-rv.in { transform: none; }
.lv-tile { will-change: auto; }

/* ---- depth inside a case story: the second picture drifts against the first
   as it crosses the screen (CSS scroll-driven where supported, else still) */
@supports (animation-timeline: view()) {
  :root.lv-js .lv-case-pic.is-sub { animation: lvDepth linear both; animation-timeline: view(); animation-range: cover; }
  :root.lv-js .lv-case-pic:not(.is-sub) img { animation: lvZoomOut linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
}
@keyframes lvDepth { from { transform: translateY(48px); } to { transform: translateY(-48px); } }
@keyframes lvZoomOut { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---- lift on hover, desktop only; the magnet offset is written by JS */
@media (hover: hover) and (pointer: fine) {
  .lv-btn-primary, .lv-btn-glass, .lv-btn-wa { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); }
  .lv-btn-primary:hover, .lv-btn-glass:hover, .lv-btn-wa:hover { transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 2px), 0); }
  .lv-tile-btn { transition: transform .45s var(--g-ease), box-shadow .45s var(--g-ease); }
  .lv-tile-btn:hover { transform: translateY(-6px); box-shadow: var(--lv-card-hi), 0 26px 50px -24px rgba(0, 0, 0, .7); }
  .lv-stat:hover, .lv-step:hover { transform: translateY(-4px); transition: transform .4s var(--g-ease); }
}

/* ---- the lightbox: the picture flies out of its card (FLIP, in JS); the
   backdrop only fades */
.lv-lb-stage img { transform-origin: 0 0; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  :root.lv-js .lv-head.lv-rv > * { opacity: 1; transform: none; clip-path: none; }
  :root.lv-js .lv-tile.lv-rv { transform: none; }
  :root.lv-js .lv-bar { transform: none; opacity: 1; }
  .lv-hero-art, .lv-hero-mark, .lv-hero-figs, .lv-hero-sky i { transform: none !important; }
  .lv-btn-primary, .lv-btn-glass, .lv-btn-wa, .lv-tile-btn { transform: none !important; }
}

/* ---- the hero in the light theme: a light sky, so the navy mark (the
   light-theme mark) reads against it, and the readout panel turns to light
   glass with dark type. */
:root[data-theme="light"] .s-sec-hero {
  --g-title: #141a3a; --g-ink: #2c3357; --g-muted: #4f5778;
  --lv-card: rgba(255, 255, 255, .7); --g-glass-line: rgba(20, 26, 45, .12);
  --lv-card-hi: inset 0 1px 0 rgba(255, 255, 255, .95); --g-sunk: rgba(20, 26, 58, .05);
  background: #eef0f8; color: var(--g-ink);
}
:root[data-theme="light"] .s-sec-hero::after { background: linear-gradient(180deg, transparent, #f5f6fc); }
:root[data-theme="light"] .lv-hero-sky::before { opacity: .55; }
:root[data-theme="light"] .lv-hero-sky::after { opacity: .35; }
:root[data-theme="light"] .lv-hero-sky i { display: none; }
:root[data-theme="light"] .lv-hero-kicker { color: #b4560f; }
:root[data-theme="light"] .lv-hero-figs {
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .6)), rgba(255, 255, 255, .55);
  border-color: rgba(20, 26, 45, .1); box-shadow: inset 0 1px 0 #fff, 0 24px 50px -28px rgba(23, 28, 51, .35);
}
:root[data-theme="light"] .lv-hero-figs li + li { border-color: rgba(20, 26, 45, .1); }
:root[data-theme="light"] .lv-hero-figs b { color: #141a3a; }
:root[data-theme="light"] .lv-hero-figs span { color: #2c3357; }
:root[data-theme="light"] .lv-helmet { filter: drop-shadow(0 30px 34px rgba(23, 28, 51, .35)); }

/* A client's own logo above its story, in its own colours on a small light
   chip so a full-colour mark reads in both themes. */
.lv-case-logo {
  justify-self: start; display: inline-grid; place-items: center; padding: 8px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--g-glass-line); box-shadow: var(--lv-card-hi);
}
.lv-case-logo img { height: 52px; width: auto; }
