@font-face{
  font-family:"Ionicons";
  src:url("https://cdn.jsdelivr.net/npm/ionicons@2.0.1/fonts/ionicons.woff") format("woff"),
      url("https://cdn.jsdelivr.net/npm/ionicons@2.0.1/fonts/ionicons.ttf") format("truetype");
  font-weight:400;font-style:normal;font-display:swap;
}

/* --- Visibility & click-through safety --- */
section, .container-fluid, .content-area, main {
  position: relative;
  z-index: 10;
}

/* Keep hero overlays below actual content and stop them eating clicks */
.overlay::before,
.cover-all::before,
.cover-all-parallax::before {
  z-index: 1 !important;
  pointer-events: none !important;
}

/* Background media shouldn’t intercept clicks */
.mistify__slide-background,
.hero-bg img,
.hero-bg video {
  pointer-events: none !important;
}

/* Optional: semi-transparent sections and top bar */
.container-fluid { background-color: rgba(255,255,255,0.8); } /* 80% white */
.border-top.top-position { background-color: rgba(255, 90, 32, 0.3); } /* your orange @ 30% */
/* ===== GRID STABILISER (in case Bootstrap grid isn't present or was overridden) ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-fluid {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

[class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
  min-width: 0; /* prevents overflow in flex columns */
}

/* Mobile-first full width */
.col-md-4, .col-md-6, .col-md-8, .col-lg-4, .col-lg-6, .col-lg-8 {
  width: 100%;
}

/* ≥768px: md layout */
@media (min-width: 768px) {
  .col-md-4 { width: 33.3333%; }
  .col-md-6 { width: 50%; }
  .col-md-8 { width: 66.6667%; }
}

/* ≥992px: lg layout */
@media (min-width: 992px) {
  .col-lg-4 { width: 33.3333%; }
  .col-lg-6 { width: 50%; }
  .col-lg-8 { width: 66.6667%; }
}

/* Typo/layout safety */
img { max-width: 100%; height: auto; }
/* Keep content above hero overlays & allow clicking through bg media */
section, .container-fluid, .content-area, main { position: relative; z-index: 10; }
.overlay::before, .cover-all::before, .cover-all-parallax::before { z-index: 1; pointer-events: none; }
.mistify__slide-background, .hero-bg img, .hero-bg video { pointer-events: none; }

/* Owl sanity */
.owl-carousel { display: block; }
.owl-carousel .owl-stage-outer { overflow: hidden; }
.owl-carousel .owl-item { box-sizing: border-box; }

/* Ensure our custom nav area doesn't collapse */
.owl-nav-custom-about,
.owl-nav-custom-works { min-height: 24px; }

/* Keep content above hero overlays */
section, .container-fluid, .content-area, main { position: relative; z-index: 10; }

/* Lower template overlays + stop them eating clicks */
.overlay::before, .cover-all::before, .cover-all-parallax::before { z-index: 1; pointer-events: none; }

/* Background media shouldn’t intercept clicks */
.mistify__slide-background, .hero-bg img, .hero-bg video { pointer-events: none; }

/* --- Header & stacking so content doesn't sit under it --- */
#site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
main { margin-top: 120px; }           /* tweak to your header height */

/* --- Fullscreen hero / Mistify base so it doesn’t collapse --- */
.hero { position: relative; }
.hero-bg { position: relative; height: calc(100vh - 120px); } /* same offset as main margin-top */
#mistify { position: relative; width: 100%; height: 100%; overflow: hidden; }
.mistify__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.mistify__slide.is-active { opacity: 1; }
.mistify__slide-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.mistify__slide-content { position: absolute; left: 50px; bottom: 18%; z-index: 2; color: #fff; }

/* --- Grid stabiliser (Bootstrap-like) so rows/cols behave --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-fluid { width: 100%; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
[class*="col-"] { padding: 0 10px; box-sizing: border-box; min-width: 0; }
.col-md-4,.col-md-6,.col-md-8,.col-lg-4,.col-lg-6,.col-lg-8 { width: 100%; }
@media (min-width:768px){ .col-md-4{width:33.333%} .col-md-6{width:50%} .col-md-8{width:66.666%} }
@media (min-width:992px){ .col-lg-4{width:33.333%} .col-lg-6{width:50%} .col-lg-8{width:66.666%} }

/* --- Owl sanity (so items size correctly even before init) --- */
.owl-carousel { display: block; }
.owl-carousel .owl-stage-outer { overflow: hidden; }
.owl-carousel .owl-item { box-sizing: border-box; }

/* --- Keep overlays below real content & allow clicking through bg media --- */
section,.container-fluid,.content-area,main { position: relative; z-index: 10; }
.overlay::before,.cover-all::before,.cover-all-parallax::before { z-index: 1; pointer-events: none; }

/* --- surface content & unblock clicks --- */
section, .container-fluid, main, .content-area { position: relative; z-index: 10; }
.overlay::before, .cover-all::before, .cover-all-parallax::before { z-index: 1 !important; pointer-events: none !important; }
.mistify__slide-background, .hero-bg img, .hero-bg video { pointer-events: none !important; }

/* --- hero baseline so it doesn’t collapse even if Mistify CSS loads late --- */
.hero { position: relative; }
.hero-bg { position: relative; height: 100vh; min-height: 520px; }
#mistify { position: relative; width: 100%; height: 100%; overflow: hidden; }
.mistify__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.mistify__slide.is-active { opacity: 1; }

/* --- grid safety (if Bootstrap grid inside plugins.css is overridden) --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-fluid { width: 100%; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
[class*="col-"] { padding: 0 10px; box-sizing: border-box; min-width: 0; }
.col-md-4,.col-md-6,.col-md-8,.col-lg-4,.col-lg-6,.col-lg-8 { width: 100%; }
@media (min-width:768px){ .col-md-4{width:33.333%} .col-md-6{width:50%} .col-md-8{width:66.6667%} }
@media (min-width:992px){ .col-lg-4{width:33.333%} .col-lg-6{width:50%} .col-lg-8{width:66.6667%} }

/* --- owl sanity --- */
.owl-carousel { display: block; }
.owl-carousel .owl-stage-outer { overflow: hidden; }
.owl-carousel .owl-item { box-sizing: border-box; }

/* Optional: make #news visibly present while debugging */
#news { padding: 60px 0; background: rgba(255,255,255,.8); }

/* ---- EMERGENCY UNHIDE / UNBLOCK ---- */
html, body, #main, .hero, section, .container, .container-fluid { 
  display:block !important; opacity:1 !important; visibility:visible !important;
}
#mistify, .mistify__slide, .mistify__slide-background { 
  position:relative !important; height:auto !important; max-height:none !important;
}
.overlay, .cover-all, .cover-all-parallax { position:static !important; }
.overlay::before, .cover-all::before, .cover-all-parallax::before { 
  content:none !important; 
}
.mistify__slide-background, .hero-bg img, .hero-bg video { pointer-events:none !important; }
header, #site-header, .border-top.top-position, .border-bottom, .bottom-position { 
  position:relative !important; z-index:10 !important;
}
main { margin-top: 0 !important; }

/* --- kill the legacy full-screen + vertical-centering behaviour --- */

/* stop sections (except the hero) from acting like 100vh slides */
#about, #works, #services, #contact,
section.content, .content-area, .section, .container-fluid {
  height: auto !important;
  min-height: 0 !important;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* remove absolute/translateY(-50%) centring used by the old theme */
.lifting-inner,
.all-lifting-inner,
.v-align,
.vmiddle,
.va-middle {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  display: block !important;
}

/* if they used flex centring on wrappers, neutralise it */
body, .site, .page, main, .site-content, .content,
#wrap, #page, #main {
  display: block !important;
  align-items: initial !important;
  justify-content: initial !important;
}

/* sections should stack normally above the hero background */
section,
#about, #works, #services, #contact,
.container, .container-fluid {
  position: relative;
  z-index: 3;
  clear: both;
}

/* fix any full-screen overflow that was hiding bottom/top areas */
html, body { height: auto; }
body { overflow-x: hidden; overflow-y: auto; }

/* keep the hero full-bleed; other sections scroll beneath it */
.hero, #mistify { z-index: 1; }
#mistify {
  height: calc(100vh - var(--bottom-bar-h, 42px)); /* adjust if your bottom bar differs */
  min-height: 560px;
  overflow: hidden;
}
.mistify__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.mistify__slide.is-active, #mistify .mistify__slide:first-child { opacity: 1; }
.mistify__slide-background { position: absolute; inset: 0; background-size: cover; background-position: center 45%; z-index: 1; pointer-events: none; }
.mistify__slide-content { position: absolute; left: 5vw; bottom: 12vh; max-width: min(720px,60vw); z-index: 2; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.4); }

/* tidy hero type so it doesn't explode */
.mistify__slide-title { margin: 0; line-height: .92; text-transform: uppercase; font-weight: 800; font-size: clamp(28px, 6.5vw, 92px); }
.mistify__slide-subtitle { display:inline-block; margin-bottom:.25rem; font-weight:700; letter-spacing:.12em; font-size:.85rem; opacity:.9; text-transform:uppercase; }
.mistify__slide-text { margin-top:.6rem; max-width:48ch; font-size: clamp(14px, 1.35vw, 18px); opacity:.95; }

/* right-align content on selected slides if you want variety */
.mistify__slide--2 .mistify__slide-content,
.mistify__slide--4 .mistify__slide-content { right: 5vw; left: auto; text-align: right; }

/* safety: hide empty labels so no "undefined" ghosts */
.mistify__slide-subtitle:empty,
.mistify__slide-title:empty,
.mistify__slide-text:empty { display: none; }


/* ===== reset the old slide/centering layout ===== */
.lifting-inner,
.all-lifting-inner,
.v-align,
.vmiddle,
.va-middle {
  position: static !important;
  transform: none !important;
  display: block !important;
}
#about, #news, #works, #services,
section.content, .content-area, .container-fluid {
  height: auto !important;
  min-height: 0 !important;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 3; /* render above hero bg */
}

/* ===== hero (Mistify) like your screenshot ===== */
.hero-bg, #mistify {
  position: relative;
  height: 100vh;                 /* full viewport */
  min-height: 560px;
  overflow: hidden;
  z-index: 1;
}

/* slides fill the hero */
#mistify .mistify__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
#mistify .mistify__slide.is-active,
#mistify .mistify__slide:first-child { opacity: 1; }

/* background image: cover full area and keep focus ~upper/right (like the UFO shot) */
.mistify__slide-background {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;           /* if using <img> */
  background-size: cover;      /* if using bg-image fallback */
  background-position: center 40%;
  z-index: 1;
  pointer-events: none;
}

/* hero copy block (right/bottom like your ref) */
.mistify__slide-content {
  position: absolute;
  right: 5vw; bottom: 12vh;
  max-width: min(720px, 60vw);
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
  text-align: right;
}
.mistify__slide-description {
  margin: 0 0 .25rem 0;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  opacity: .9;
}
.mistify__slide-title {
  margin: 0;
  line-height: .92;
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(28px, 6.5vw, 92px);
}
.mistify__slide-subtext {
  margin-top: .6rem;
  font-size: clamp(14px, 1.35vw, 18px);
  opacity: .95;
  display: inline-block;
  max-width: 48ch;
}
.mistify__slide-timestamp { margin-top: .5rem; opacity: .85; font-size: .8rem; }

/* alternate slide alignment (optional: keep variety) */
.mistify__slide:nth-child(2) .mistify__slide-content,
.mistify__slide:nth-child(4) .mistify__slide-content {
  left: 5vw; right: auto; text-align: left;
}

/* nav bars stay visible over hero (your neon bar + top bar) */
.border-top, .border-bottom, .border-bottom-menu {
  position: fixed;
  left: 0; right: 0;
  z-index: 10;
}
.border-top.top-position   { top: 0; }
.border-bottom.bottom-position,
.border-bottom-menu.bottom-position { bottom: 0; }

/* safety: hide any “undefined” labels if a field is empty */
.mistify__slide-description:empty,
.mistify__slide-title:empty,
.mistify__slide-subtext:empty,
.mistify__slide-timestamp:empty { display: none; }


/* ——— FORCE HERO SIZE & LAYERING ——— */
#mistify{
  position: relative !important;
  width: 100% !important;
  height: calc(100vh - 42px) !important; /* adjust 42px if your neon bar height differs */
  min-height: 560px !important;
  overflow: hidden !important;
}
#mistify .mistify__slide{
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  transition: opacity .6s ease !important;
}
#mistify .mistify__slide.is-active,
#mistify .mistify__slide:first-child{
  opacity: 1 !important;
}
#mistify .mistify__slide-background{
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;     /* use contain if you prefer full image with bands */
  background-position: center 40% !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
#mistify .mistify__slide-content{
  position: absolute !important;
  right: 5vw !important; left: auto !important;
  bottom: 12vh !important;
  max-width: min(720px, 60vw) !important;
  z-index: 2 !important;
  color: #fff !important;
  text-align: right !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.4) !important;
}

/* ——— KILL VERTICAL-CENTERING WRAPPERS ——— */
.lifting-inner,
.all-lifting-inner,
.v-align,
.vmiddle,
.va-middle{
  position: static !important;
  transform: none !important;
  display: block !important;
  top: auto !important; bottom: auto !important; left: auto !important; right: auto !important;
}

/* ——— LET SECTIONS STACK NORMALLY ——— */
#about, #news, #works, #services, #contact,
section.content, .content-area, .container-fluid{
  height: auto !important;
  min-height: 0 !important;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
  position: relative !important;
  z-index: 3 !important;
}

/* ——— TYPE SAFE DEFAULTS ——— */
#mistify .mistify__slide-title{
  margin: 0 !important;
  line-height: .92 !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  font-size: clamp(28px, 6.5vw, 92px) !important;
}
#mistify .mistify__slide-description{
  margin: 0 0 .25rem 0 !important;
  letter-spacing: .12em !important;
  font-weight: 700 !important;
  font-size: .85rem !important;
  text-transform: uppercase !important;
  opacity: .9 !important;
}
#mistify .mistify__slide-subtext{
  margin-top: .6rem !important;
  max-width: 48ch !important;
  font-size: clamp(14px, 1.35vw, 18px) !important;
  opacity: .95 !important;
}
#mistify .mistify__slide-description:empty,
#mistify .mistify__slide-title:empty,
#mistify .mistify__slide-subtext:empty{ display: none !important; }