/* Lumi Website Engine 0.3.2 — static-export-safe. No WordPress frontend dependency.
   Scroll snap belongs to the document, never to a nested element inside TT4. */
html:has(body.lwe-engine-page) {
  --lwe-header-height:74px;
  --lwe-admin-height:0px;
  scroll-snap-type:none;
  scroll-padding-top:calc(var(--lwe-header-height) + var(--lwe-admin-height));
  overflow-x:clip;
  background:#000;
}
html.lwe-layout-ready:has(body.lwe-engine-page) { scroll-snap-type:var(--lwe-snap,y proximity); }
body.lwe-engine-page {
  --lwe-bg:#000; --lwe-text:#f5f5f5; --lwe-muted:#bdbdbd;
  --lwe-accent:var(--wp--preset--color--lumiether-accent,#09bde7);
  --lwe-font-stack:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  margin:0; padding:0; min-width:0; overflow-x:clip;
  background:var(--lwe-bg); color:var(--lwe-text);
  font-family:var(--lwe-font-stack);
}
/* Eliminate TT4 block gap, page max-width and spacer around the generated slide region.
   Only engine-managed pages are targeted; saved Gutenberg templates stay untouched. */
body.lwe-engine-page .wp-site-blocks { width:100%; max-width:none!important; min-width:0; margin:0!important; padding:0!important; }
body.lwe-engine-page .wp-site-blocks > main,
body.lwe-engine-page .wp-site-blocks :is(.wp-block-group,.wp-block-post-content,.entry-content):has(.lwe-site) {
  box-sizing:border-box; width:100%!important; max-width:none!important;
  min-width:0; margin-block:0!important; padding-block:0!important;
  margin-inline:0!important; padding-inline:0!important;
}
body.lwe-engine-page .wp-site-blocks > main { margin-top:0!important; }
body.lwe-engine-page .wp-block-post-title { display:none; }
/* Some TT4 templates apply block spacing from :where(.wp-site-blocks) > * . */
body.lwe-engine-page .wp-site-blocks > * { margin-block-start:0!important; }
/* Engine-owned header is sticky on the page scroller and clears the WordPress admin bar. */
body.lwe-engine-page .lwe-engine-header {
  box-sizing:border-box; width:100%; min-width:0; min-height:74px;
  position:sticky; top:var(--lwe-admin-height); z-index:100;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:12px clamp(24px,3.3vw,62px);
  background:var(--lwe-bg); color:var(--lwe-text);
  border-bottom:1px solid rgba(192,218,230,.12);
}
body.lwe-engine-page .wp-site-blocks > header:not(.lwe-engine-header) {position:sticky;top:var(--lwe-admin-height);z-index:100;background:var(--lwe-bg);}
.lwe-header-brand {color:var(--lwe-text);font-weight:740;font-size:clamp(13px,1.05vw,18px);letter-spacing:.14em;white-space:nowrap;flex:none;}
.lwe-brand-logo {display:block;max-width:min(210px,25vw);max-height:48px;object-fit:contain;}
body.lwe-engine-page .lwe-global-navigation { display:flex;min-width:0;align-items:center;justify-content:flex-end;gap:clamp(16px,2.4vw,40px);font-size:clamp(11px,.81vw,14px);line-height:1.5;letter-spacing:.02em; }
body.lwe-engine-page .lwe-engine-header .lwe-global-navigation {flex:1;}
.lwe-nav-items,.lwe-languages {display:flex;align-items:center;gap:clamp(10px,1.6vw,29px);min-width:0;flex-wrap:nowrap;}
.lwe-languages {padding-left:clamp(8px,1.5vw,24px);border-left:1px solid #353535;gap:10px;flex:none;}
.lwe-global-navigation a {color:var(--lwe-muted);text-decoration:none!important;border-bottom:1px solid transparent;padding:4px 0;white-space:nowrap;}
.lwe-global-navigation a:hover,.lwe-global-navigation a:focus-visible,.lwe-global-navigation a.is-active {color:var(--lwe-accent);border-bottom-color:var(--lwe-accent);}
/* Document is the ONLY scrollport. This also makes the footer reachable after final slide. */
body.lwe-engine-page .lwe-site {
  box-sizing:border-box;position:static;transform:none;
  display:block;width:100%!important;max-width:none!important;min-width:0;
  height:auto!important;min-height:0;overflow:visible!important;
  margin:0!important;padding:0!important;
  background:var(--lwe-bg);color:var(--lwe-text);
}
body.lwe-engine-page .lwe-slide {
  position:relative;box-sizing:border-box;width:100%;min-width:0;
  min-height:calc(100svh - var(--lwe-header-height) - var(--lwe-admin-height));
  display:grid;grid-template-columns:minmax(0,34fr) minmax(0,66fr);
  background:var(--lwe-bg);scroll-snap-align:start;scroll-snap-stop:normal;
  /* Scroll padding lives on html; never double count header via scroll-margin. */
  scroll-margin-block:0;
}
.lwe-media {grid-column:1;grid-row:1;min-width:0;position:relative;background:#000000;overflow:hidden;}
.lwe-media picture {display:block;position:absolute;inset:10% 0;height:80%;width:100%;}
.lwe-media img {display:block;width:100%;height:100%;object-fit:contain;object-position:center;}
.lwe-image-missing {min-height:100%;width:100%;background:linear-gradient(145deg,#020407 2%,#061b26 55%,#031019 100%);}
.lwe-media::after {content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,rgba(var(--lwe-image-tint-rgb,4,49,73),var(--lwe-image-tint-opacity,.18)),transparent 47%,rgba(var(--lwe-image-tint-rgb,4,49,73),var(--lwe-image-tint-opacity,.18)));}
.lwe-copy {
  grid-column:2;grid-row:1;box-sizing:border-box;min-width:0;max-width:none;
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  padding:clamp(25px,4.0vh,62px) clamp(32px,4.9vw,92px) clamp(55px,6.3vh,88px);
}
.lwe-copy p,.lwe-copy h1 {margin-block-start:0;}
.lwe-copy .lwe-kicker {color:var(--lwe-accent);font-size:clamp(10px,.89vw,14px);text-transform:uppercase;font-weight:700;letter-spacing:.17em;margin:0 0 clamp(12px,1.6vh,20px);}
.lwe-copy .lwe-headline {color:var(--lwe-text);line-height:1.11;font-size:clamp(29px,2.85vw,54px);font-weight:750;letter-spacing:-.035em;max-width:100%;margin:0 0 clamp(16px,2.3vh,28px);overflow-wrap:anywhere;hyphens:auto;}
.lwe-copy .lwe-description,.lwe-copy .lwe-point-copy,.lwe-point-inline {font-size:clamp(14px,1.05vw,18px);line-height:1.55;color:var(--lwe-muted);}
.lwe-copy .lwe-description {max-width:100%;margin:0 0 clamp(10px,1.5vh,16px);}
.lwe-copy .lwe-point {margin-top:clamp(7px,1.1vh,13px);max-width:100%;}
.lwe-copy .lwe-point-label {color:var(--lwe-accent);font-weight:650;font-size:clamp(13px,1.02vw,17px);margin:0 0 3px;}
.lwe-copy .lwe-point-copy {margin:0;}
.lwe-point-inline {max-width:100%;margin:clamp(7px,1.1vh,13px) 0 0;}
.lwe-point-inline strong {color:var(--lwe-accent);font-weight:650;}
.lwe-copy .lwe-focus {color:var(--lwe-accent);font-size:clamp(13px,1.05vw,18px);font-weight:650;margin:clamp(10px,1.8vh,20px) 0 0;}
.lwe-copy .lwe-signoff {color:var(--lwe-text);text-transform:uppercase;font-size:clamp(10px,.86vw,14px);font-weight:650;letter-spacing:.08em;margin:clamp(12px,2vh,24px) 0 0;}
.lwe-copy .lwe-cta,.lwe-copy .lwe-map {margin:clamp(10px,1.5vh,18px) 0 0;}
.lwe-copy .lwe-cta a,.lwe-copy .lwe-map a {color:var(--lwe-accent);font-weight:650;text-decoration:none;border-bottom:1px solid currentColor;}
.lwe-cta-pending {color:var(--lwe-accent);opacity:.78;}
.lwe-scroll-cue,.lwe-counter {position:absolute;z-index:4;bottom:clamp(18px,2.5vh,32px);font-size:11px;letter-spacing:.09em;white-space:nowrap;line-height:1.4;pointer-events:none;}
.lwe-scroll-cue {left:clamp(24px,3vw,48px);color:#d9e4eb;}
.lwe-scroll-cue::before {content:"↓";font-size:15px;margin-right:8px;color:var(--lwe-accent);}
.lwe-counter {right:clamp(28px,3.3vw,62px);color:var(--lwe-muted);font-variant-numeric:tabular-nums;}
.lwe-counter-current {color:var(--lwe-accent);font-weight:700;}
.lwe-counter-total {color:var(--lwe-muted);}
.lwe-empty {padding:70px;color:var(--lwe-muted);background:var(--lwe-bg);}
body.lwe-engine-page .lwe-engine-footer {
  box-sizing:border-box; width:100%;background:var(--lwe-bg);color:var(--lwe-muted);
  border-top:1px solid rgba(192,218,230,.12);
  display:flex;justify-content:space-between;align-items:center;gap:14px;
  font-size:11px;line-height:1.4;letter-spacing:.025em;
  padding:18px clamp(28px,3.3vw,62px); margin:0!important;
  scroll-snap-align:end;
}
.lwe-footer-links {display:flex;gap:24px;align-items:center;}
.lwe-footer-links a {color:var(--lwe-muted);text-decoration:none;}
.lwe-footer-links a:hover,.lwe-footer-links a:focus-visible {color:var(--lwe-accent);}
.lwe-footer-links span {color:var(--lwe-muted);opacity:.65;}
/* Language picker is native <details>, keyboard operable and works in static files. */
.lwe-language-switcher {position:relative;flex:none;color:var(--lwe-accent);}
.lwe-language-switcher > summary {display:flex;align-items:center;gap:7px;padding:5px 0;list-style:none;cursor:pointer;user-select:none;color:var(--lwe-accent);border-bottom:1px solid var(--lwe-accent);white-space:nowrap;}
.lwe-language-switcher > summary::-webkit-details-marker {display:none;}
.lwe-language-switcher > summary::marker {content:'';}
.lwe-language-chevron {display:inline-block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .15s ease;}
.lwe-language-switcher[open] .lwe-language-chevron {transform:translateY(2px) rotate(225deg);}
.lwe-language-switcher > summary:focus-visible {outline:2px solid var(--lwe-accent);outline-offset:4px;}
.lwe-language-options {position:absolute;z-index:300;top:calc(100% + 9px);right:0;display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:92px;padding:6px;background:var(--lwe-bg);border:1px solid rgba(192,218,230,.22);box-shadow:0 12px 30px rgba(0,0,0,.5);}
body.lwe-engine-page .lwe-global-navigation .lwe-language-options a {display:block;padding:8px 12px;border:0;color:var(--lwe-muted);}
body.lwe-engine-page .lwe-global-navigation .lwe-language-options a:hover,body.lwe-engine-page .lwe-global-navigation .lwe-language-options a:focus-visible,body.lwe-engine-page .lwe-global-navigation .lwe-language-options a.is-active {background:rgba(23,179,215,.12);color:var(--lwe-accent);}
.lwe-language-current {color:var(--lwe-accent);}
/* Smaller viewports can have taller copy; document scroll keeps every line accessible. */
@media(max-width:1050px) {
  body.lwe-engine-page .lwe-engine-header {flex-wrap:wrap;gap:9px;padding:12px 20px;}
  body.lwe-engine-page .lwe-global-navigation {width:100%;justify-content:center;flex-wrap:wrap;gap:10px;}
  .lwe-nav-items {flex-wrap:wrap;justify-content:center;row-gap:4px;column-gap:14px;}
  .lwe-copy {padding:30px 32px 68px;}
  .lwe-copy .lwe-headline {font-size:clamp(27px,3.7vw,44px);}
}
@media(max-width:700px) {
  body.lwe-engine-page .lwe-slide {display:flex;flex-direction:column;}
  .lwe-media {width:100%;height:clamp(150px,26svh,310px);flex:none;}
  .lwe-media picture {inset:0;height:100%;}
  .lwe-copy {width:100%;flex:1;min-height:0;padding:clamp(23px,3svh,36px) 23px 76px;}
  .lwe-copy .lwe-headline {font-size:clamp(27px,7.25vw,40px);}
  .lwe-copy .lwe-description,.lwe-copy .lwe-point-copy,.lwe-point-inline {font-size:14px;}
  .lwe-scroll-cue {left:23px;bottom:22px;}
  .lwe-counter {right:23px;bottom:22px;}
  body.lwe-engine-page .lwe-engine-footer {flex-direction:column;text-align:center;}
}
@media(max-height:620px) { .lwe-copy {justify-content:flex-start;} }
@media(prefers-reduced-motion:reduce) {
  html:has(body.lwe-engine-page) {scroll-behavior:auto;}
  body.lwe-engine-page * {transition:none!important;animation:none!important;}
}
