/* ============================================================
   AIRLAB light liquid-glass theme layer
   Loaded after Elementor styles — a visual skin, not a rebuild.
   Ported from the digitech/SYS.TM glass language, translated to
   AirLab's light minimalist brand (#82B5F2 sky on white).
   ============================================================ */

:root {
  --al-sky: #82b5f2;
  --al-sky-deep: #5a9be8;
  --al-ink: #2c3644;
  --al-body: #4a5563;
  --al-font-display: "Montserrat", "Lato", "Helvetica Neue", Arial, sans-serif;
  --al-font-text: "Lato", "Helvetica Neue", Arial, sans-serif;
  --al-r-lg: 22px;
  --al-r-md: 16px;
  --al-r-sm: 12px;
  --al-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- atmosphere: the flat white gains quiet depth ---------- */
body {
  background-color: #fbfcfe !important;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(110% 70% at 85% -10%, rgba(130, 181, 242, 0.12) 0%, transparent 55%),
    radial-gradient(90% 60% at -10% 35%, rgba(130, 181, 242, 0.07) 0%, transparent 50%),
    radial-gradient(100% 80% at 60% 110%, rgba(130, 181, 242, 0.09) 0%, transparent 55%);
}
#page, .site-content, main, .elementor {
  position: relative;
  z-index: 1;
}

/* ============================================================
   TYPE SYSTEM — two voices
   Montserrat (geometric, architectural) speaks the structure:
   headlines, titles, nav, buttons. Lato (humanist, warm) does
   the reading: descriptions, excerpts, form text. Both were
   already loading on every page; now each has a job.
   ============================================================ */
body {
  font-family: var(--al-font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* global typography palette retuned: the ultra-thin 100/200 weights
   and 1em leading gave way to readable 300/400 with real air.
   Same specificity as the kit stylesheet — later load order wins. */
.elementor-kit-118 {
  /* prose leaves neutral gray for a blue-cast gray — even body text
     lives in the sky/ink family now */
  --e-global-color-text: #4a5563;
  --e-global-typography-primary-font-family: "Montserrat";
  --e-global-typography-primary-font-weight: 500;
  --e-global-typography-primary-line-height: 1.25em;
  --e-global-typography-secondary-font-family: "Montserrat";
  --e-global-typography-secondary-font-weight: 500;
  --e-global-typography-text-font-family: "Lato";
  --e-global-typography-text-font-size: 16px;
  --e-global-typography-text-font-weight: 400;
  --e-global-typography-text-line-height: 1.7em;
  --e-global-typography-accent-font-family: "Montserrat";
  --e-global-typography-accent-font-weight: 500;
  --e-global-typography-1818b10-font-weight: 300;
  --e-global-typography-517a169-font-family: "Montserrat";
  --e-global-typography-517a169-font-weight: 300;
  --e-global-typography-e894c51-font-weight: 300;
  --e-global-typography-92e03b4-font-weight: 400;
  --e-global-typography-6726508-font-family: "Montserrat";
  --e-global-typography-6726508-font-weight: 300;
  --e-global-typography-6726508-line-height: 1.15em;
  --e-global-typography-f5125ad-font-weight: 300;
  --e-global-typography-f5125ad-line-height: 1.5em;
  --e-global-typography-7f27bbf-font-family: "Montserrat";
  --e-global-typography-7f27bbf-font-weight: 200;
  --e-global-typography-7f27bbf-line-height: 1.12em;
  --e-global-typography-c58e3d1-font-family: "Montserrat";
  --e-global-typography-2fcafa7-font-weight: 400;
  --e-global-typography-0f8dcd2-font-family: "Montserrat";
  --e-global-typography-7f23da1-font-weight: 300;
  --e-global-typography-7f23da1-font-family: "Montserrat";
  --e-global-typography-828de74-font-family: "Montserrat";
  --e-global-typography-828de74-font-weight: 400;
}

/* ---- headlines: Montserrat medium — structural, with authority.
   !important because Elementor hardcodes Lato + line-height:1em at
   the element level on every page. Uppercase stays — it's the brand;
   weight 500 carries the room, tracking eases to 0.05em so the
   heavier letterforms don't shout. */
.elementor-heading-title,
.elementor-slide-heading {
  font-family: var(--al-font-display) !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  line-height: 1.25 !important;
  text-wrap: balance;
}
/* light mode: headlines were pale sky-on-white (~2.2:1). The body of
   the headline becomes ink; the <b> accent word carries the sky — at
   weight 700, so emphasis reads in weight AND color. */
.elementor-heading-title {
  color: var(--al-ink) !important;
}
.elementor-heading-title b,
.elementor-heading-title strong {
  font-weight: 700;
  color: var(--al-sky-deep);
}
/* headlines sitting on photography (overlay sections, slides) stay white */
.elementor-section:has(> .elementor-background-overlay) .elementor-heading-title,
.elementor-widget-slides .elementor-heading-title {
  color: #fff !important;
}

/* ---- luminous ink: headlines catch light the way the glass does.
   A quiet vertical gradient — brighter at the top edge, settling
   into ink — mirrors the inset highlights on every frosted surface.
   The accent word pours sky through the same glass. */
@supports (-webkit-background-clip: text) {
  .elementor-heading-title,
  .al-contact h2 {
    background-image: linear-gradient(180deg, #47546b 0%, var(--al-ink) 55%, #222b3a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .elementor-heading-title b,
  .elementor-heading-title strong {
    background-image: linear-gradient(155deg, var(--al-sky) 0%, var(--al-sky-deep) 75%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  /* photography exceptions stay solid white — no gradient over imagery */
  .elementor-section:has(> .elementor-background-overlay) .elementor-heading-title,
  .elementor-widget-slides .elementor-heading-title,
  html[data-al-theme="dark"] .elementor-section:has(> .elementor-background-overlay) .elementor-heading-title,
  html[data-al-theme="dark"] .elementor-widget-slides .elementor-heading-title {
    background-image: none;
    -webkit-text-fill-color: #fff;
  }
  /* midnight: icy light pouring down the letterforms; the accent
     word blooms faintly, sky glow behind frosted glass */
  html[data-al-theme="dark"] .elementor-heading-title,
  html[data-al-theme="dark"] .al-contact h2 {
    background-image: linear-gradient(180deg, #f4f8ff 0%, #cfe2fa 52%, #9dc2ee 100%);
  }
  html[data-al-theme="dark"] .elementor-heading-title b,
  html[data-al-theme="dark"] .elementor-heading-title strong {
    background-image: linear-gradient(155deg, #b4d3f8 0%, var(--al-sky) 70%);
    filter: drop-shadow(0 0 16px rgba(130, 181, 242, 0.38));
  }
}

/* ---- description text: Lato regular, sized to be read.
   15px @ weight 200 with 1.4 leading was decoration, not prose. */
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-widget-theme-post-excerpt,
.elementor-widget-theme-post-content p {
  font-family: var(--al-font-text);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.012em;
}
.elementor-post__excerpt p {
  font-family: var(--al-font-text) !important;
  font-size: 15.5px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: 0.015em !important;
  color: var(--al-body);
}

/* ---- portfolio card titles: Montserrat with a step down in size —
   27px thin Lato crammed at 1em leading becomes a composed 22px */
.elementor-post__title,
.elementor-post__title a {
  font-family: var(--al-font-display) !important;
  font-size: clamp(18px, 1.55vw, 22px) !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.35 !important;
  color: var(--al-ink) !important;
}
.elementor-post:hover .elementor-post__title a {
  color: var(--al-sky-deep) !important;
}

::selection {
  background: rgba(130, 181, 242, 0.28);
  color: var(--al-ink);
}

/* ---------- header: floating frosted glass bar ---------- */
header.elementor-location-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.66);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: none;
  transition: box-shadow 0.4s ease, background 0.4s ease;
}
/* the bottom edge is light caught on glass, not a painted rule */
header.elementor-location-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent,
    rgba(130, 181, 242, 0.10) 12%,
    rgba(214, 233, 255, 0.55) 50%,
    rgba(130, 181, 242, 0.10) 88%,
    transparent);
}
/* the header template's own light-gray section border (and any sticky
   clone Elementor might make) must never paint */
.elementor-location-header .elementor-top-section {
  border-bottom: none !important;
}
.elementor-sticky__spacer {
  visibility: hidden !important;
  pointer-events: none !important;
}
header.elementor-location-header.al-scrolled {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 40px rgba(44, 74, 118, 0.08);
}
/* menu links: airy tracking; hover brightens the letters, no underline */
.elementor-nav-menu--main .elementor-item {
  font-family: var(--al-font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  position: relative;
  transition: color 0.3s ease;
}
.elementor-nav-menu--main .elementor-item:hover {
  color: var(--al-sky-deep) !important;
}
/* selected item: thin rounded frame */
.elementor-nav-menu--main .elementor-item.elementor-item-active::before {
  content: "";
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: -7px;
  right: -7px;
  border: 1px solid rgba(130, 181, 242, 0.55);
  border-radius: 7px;
  pointer-events: none;
}

/* ---------- hero slider: cinematic rounded shell ---------- */
.elementor-widget-slides .swiper,
.elementor-widget-slides .swiper-container,
.elementor-widget-slides .elementor-slides-wrapper {
  border-radius: var(--al-r-lg);
  overflow: hidden;
  box-shadow:
    0 40px 90px rgba(44, 74, 118, 0.18),
    0 16px 40px rgba(44, 74, 118, 0.10),
    0 0 0 1px rgba(130, 181, 242, 0.14);
}
.elementor-widget-slides {
  padding: 0 clamp(12px, 2.5vw, 36px);
}

/* ---------- portfolio imagery: lifted glass objects ----------
   hover lives on the IMAGE only — the text never moves or boxes up */
.elementor-post__thumbnail,
.elementor-post__thumbnail__link {
  border-radius: var(--al-r-md);
  overflow: hidden;
  display: block;
}
.elementor-post__thumbnail__link {
  box-shadow:
    0 18px 45px rgba(44, 74, 118, 0.14),
    0 6px 18px rgba(44, 74, 118, 0.08),
    0 0 0 1px rgba(130, 181, 242, 0.12);
  transition: box-shadow 0.55s ease, transform 0.55s var(--al-ease);
}
.elementor-post:hover .elementor-post__thumbnail__link {
  transform: translateY(-5px);
}
.elementor-post:hover .elementor-post__thumbnail__link {
  box-shadow:
    0 30px 70px rgba(44, 74, 118, 0.22),
    0 10px 28px rgba(44, 74, 118, 0.12),
    0 0 0 1px rgba(130, 181, 242, 0.35),
    0 0 44px rgba(130, 181, 242, 0.18);
}
.elementor-post__thumbnail img {
  transition: transform 0.7s var(--al-ease);
  display: block;
}
.elementor-post:hover .elementor-post__thumbnail img {
  transform: scale(1.04);
}
.elementor-post__title,
.elementor-post__title a {
  transition: color 0.3s ease;
}

/* cards skin: the card box is retired — the image floats free in its
   glass frame and the text breathes on the page background below it */
.elementor-posts--skin-cards .elementor-post__card {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transform: none !important;
}
.elementor-posts--skin-cards .elementor-post__text {
  padding: 20px 4px 0 !important;
}
.elementor-posts--skin-cards .elementor-post__text .elementor-post__title {
  margin-bottom: 10px;
}
.elementor-posts--skin-cards .elementor-post__badge,
.elementor-posts--skin-cards .elementor-post__avatar {
  display: none !important;
}

/* ---------- gallery thumbnails ---------- */
.elementor-widget-gallery .e-gallery-item,
.elementor-widget-gallery .e-gallery-image {
  border-radius: var(--al-r-sm);
  overflow: hidden;
}

/* ---------- imagery: soft glass framing ---------- */
.elementor-widget-image img {
  border-radius: var(--al-r-md);
  box-shadow:
    0 18px 45px rgba(44, 74, 118, 0.12),
    0 0 0 1px rgba(130, 181, 242, 0.10);
  transition: box-shadow 0.5s ease;
}
/* the wordmark is typography, not imagery — no frame */
.elementor-widget-theme-site-logo img,
.custom-logo {
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ---------- buttons: frosted pills ---------- */
.elementor-button {
  border-radius: 999px !important;
  font-family: var(--al-font-display) !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em;
  background: rgba(255, 255, 255, 0.55) !important;
  color: var(--al-sky-deep) !important;
  border: 1px solid rgba(130, 181, 242, 0.55) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow:
    0 10px 26px rgba(44, 74, 118, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s var(--al-ease) !important;
}
.elementor-button:hover,
.elementor-button:focus {
  background: linear-gradient(135deg, var(--al-sky) 0%, var(--al-sky-deep) 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow:
    0 16px 40px rgba(90, 155, 232, 0.35),
    0 0 30px rgba(130, 181, 242, 0.30);
  transform: translateY(-2px);
}

/* ---------- dividers: gradient hairlines ---------- */
.elementor-divider-separator {
  border-top-style: solid !important;
  border-image: linear-gradient(90deg, rgba(130, 181, 242, 0.55), rgba(130, 181, 242, 0.08) 75%, transparent) 1 !important;
}

/* ---------- native video: floating cinematic object ---------- */
.elementor-widget-video .elementor-wrapper,
.elementor-widget-video .elementor-widget-container {
  border-radius: var(--al-r-md);
  overflow: hidden;
}
.elementor-widget-video .elementor-wrapper {
  box-shadow:
    0 40px 90px rgba(44, 74, 118, 0.20),
    0 16px 40px rgba(44, 74, 118, 0.12),
    0 0 0 1px rgba(130, 181, 242, 0.14) !important;
  transition: box-shadow 0.5s ease;
}
.elementor-widget-video:hover .elementor-wrapper {
  box-shadow:
    0 44px 100px rgba(44, 74, 118, 0.24),
    0 16px 40px rgba(44, 74, 118, 0.12),
    0 0 0 1px rgba(130, 181, 242, 0.32),
    0 0 60px rgba(130, 181, 242, 0.20) !important;
}

/* ---------- contact form: frosted fields ---------- */
.elementor-field-textual,
.elementor-field-group textarea {
  border-radius: var(--al-r-sm) !important;
  background: rgba(255, 255, 255, 0.65) !important;
  border: 1px solid rgba(130, 181, 242, 0.30) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.elementor-field-textual:focus,
.elementor-field-group textarea:focus {
  border-color: var(--al-sky) !important;
  box-shadow: 0 0 0 4px rgba(130, 181, 242, 0.18) !important;
  outline: none;
}

/* ---------- footer ---------- */
footer.elementor-location-footer,
.elementor-location-footer {
  position: relative;
  border-top: 1px solid rgba(130, 181, 242, 0.14);
}
.elementor-location-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(130, 181, 242, 0.55), transparent);
}

/* ---------- scroll reveal (classes applied by airlab-theme.js) ---------- */
.al-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 0.9s var(--al-ease);
}
.al-reveal.al-in {
  opacity: 1;
  transform: none;
}

/* headline tracking settle: letters drift in airy, then set into
   place as the section arrives. Text never hides — only the
   letter-spacing eases, like a title card resolving. */
.al-track {
  letter-spacing: 0.11em !important;
  transition: letter-spacing 1.3s var(--al-ease);
}
.al-track.al-in {
  letter-spacing: 0.05em !important;
}

/* ---------- focus + scrollbar polish ---------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(130, 181, 242, 0.8);
  outline-offset: 3px;
  border-radius: 4px;
}
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #f2f5fa; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(130, 181, 242, 0.55), rgba(130, 181, 242, 0.35));
  border-radius: 8px;
  border: 2px solid #f2f5fa;
}
::-webkit-scrollbar-thumb:hover { background: rgba(90, 155, 232, 0.7); }

/* ---------- menu toggle: two hairlines that open into an X ---------- */
.elementor-menu-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  background: none !important;
  color: var(--al-sky);
}
.elementor-menu-toggle svg {
  display: none !important;
}
.elementor-menu-toggle::before,
.elementor-menu-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 19px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.4s var(--al-ease);
}
.elementor-menu-toggle::before { transform: translate(-50%, -50%) translateY(-3.5px); }
.elementor-menu-toggle::after  { transform: translate(-50%, -50%) translateY(3.5px); }
.elementor-menu-toggle.elementor-active::before { transform: translate(-50%, -50%) rotate(45deg); }
.elementor-menu-toggle.elementor-active::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* hairline divider rules: gone everywhere — space does the separating */
.elementor-widget-divider {
  display: none !important;
}

/* section headings breathe before their content at every width */
.elementor-widget-heading h1.elementor-heading-title {
  margin-bottom: clamp(26px, 3.2vw, 46px);
}

/* ---------- footer: contact form replaces the oversized logo ---------- */
.elementor-location-footer .elementor-widget-theme-site-logo {
  display: none !important;
}
footer.elementor-location-footer {
  border-top: none !important;
  position: relative;
}
footer.elementor-location-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent,
    rgba(130, 181, 242, 0.10) 12%,
    rgba(214, 233, 255, 0.55) 50%,
    rgba(130, 181, 242, 0.10) 88%,
    transparent);
}
.al-contact {
  max-width: 640px;
  margin: clamp(40px, 5vw, 72px) auto clamp(8px, 1.5vw, 20px);
  padding: 0 24px;
}
.al-contact h2 {
  font-family: var(--al-font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--al-ink);
  margin: 0 0 6px;
  font-weight: 500;
}
.al-contact .al-contact-sub {
  font-family: var(--al-font-text);
  text-align: center;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--al-body);
  margin: 0 0 26px;
}
.al-contact form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.al-contact .al-field-message,
.al-contact .al-contact-actions {
  grid-column: 1 / -1;
}
.al-contact input,
.al-contact textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--al-ink);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(130, 181, 242, 0.35);
  border-radius: 14px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.al-contact textarea {
  min-height: 130px;
  resize: vertical;
}
.al-contact input:focus,
.al-contact textarea:focus {
  border-color: var(--al-sky);
  box-shadow: 0 0 0 3px rgba(130, 181, 242, 0.18);
}
.al-contact input::placeholder,
.al-contact textarea::placeholder {
  color: rgba(74, 85, 99, 0.55);
  letter-spacing: 0.08em;
}
.al-contact .al-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.al-contact-actions {
  text-align: center;
  margin-top: 6px;
}
.al-contact button[type="submit"] {
  font: inherit;
  font-family: var(--al-font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2em;
  padding: 14px 44px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--al-sky-deep) !important;
  background: rgba(255, 255, 255, 0.55) !important;
  border: 1px solid rgba(130, 181, 242, 0.45) !important;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.al-contact button[type="submit"]:hover {
  background: rgba(130, 181, 242, 0.22) !important;
  box-shadow: 0 10px 30px rgba(44, 74, 118, 0.18);
}
.al-contact button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: default;
}
.al-contact .al-contact-status {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.06em;
  min-height: 20px;
  margin: 2px 0 0;
  color: var(--al-sky-deep);
}
.al-contact .al-contact-status.al-err {
  color: #d98a8a;
}
@media (max-width: 600px) {
  .al-contact form { grid-template-columns: 1fr; }
}
/* dark: midnight glass fields */
html[data-al-theme="dark"] .al-contact h2 { color: #eaf2fd; }
html[data-al-theme="dark"] .al-contact .al-contact-sub { color: rgba(207, 226, 250, 0.75); }
html[data-al-theme="dark"] .al-contact input,
html[data-al-theme="dark"] .al-contact textarea {
  color: #eaf2fd;
  background: rgba(16, 30, 52, 0.6);
  border-color: rgba(130, 181, 242, 0.28);
}
html[data-al-theme="dark"] .al-contact input::placeholder,
html[data-al-theme="dark"] .al-contact textarea::placeholder {
  color: rgba(207, 226, 250, 0.45);
}
html[data-al-theme="dark"] .al-contact button[type="submit"] {
  color: #a8ccf6 !important;
  background: rgba(16, 30, 52, 0.7) !important;
}
html[data-al-theme="dark"] .al-contact button[type="submit"]:hover {
  background: rgba(130, 181, 242, 0.2) !important;
}
html[data-al-theme="dark"] .al-contact .al-contact-status { color: #a8ccf6; }

/* homepage hero: the slider leads — no heading block, no reels button */
.elementor-element-7117eb5c,
.elementor-element-346aab4c {
  display: none !important;
}
/* the hero shell floats with even air above and below (!important:
   Elementor's generated section padding outranks a single-class selector) */
.elementor-element-3a7894bd {
  padding-top: clamp(36px, 5.5vw, 84px) !important;
  padding-bottom: clamp(28px, 4vw, 56px) !important;
}
/* retina subpixel bleed: a hairline of the neighboring slide can peek at
   the shell edge — trim 1px off each slide's sides so nothing can show */
.elementor-widget-slides .swiper-slide {
  clip-path: inset(0 1px);
}
.elementor-element-22ccdf8 {
  margin-top: clamp(20px, 2vw, 36px) !important;
}

/* ---------- compact header (hamburger active ≤1024px) ----------
   one row: logo, then display controls, hamburger far right */
@media (max-width: 1024px) {
  .elementor-location-header .elementor-section > .elementor-container {
    flex-wrap: nowrap;
    align-items: center;
  }
  .elementor-location-header .elementor-top-column {
    width: auto !important;
  }
  .elementor-location-header .elementor-element-5b71702b {
    flex: 1 1 auto;
    min-width: 0;
  }
  .elementor-location-header .elementor-element-5b71702b img {
    width: 150px !important;
    height: auto !important;
  }
  .elementor-location-header .elementor-element-8f11b44 {
    display: none;
  }
  .al-controls.al-in-header {
    order: 2;
    margin: 0 2px 0 auto;
  }
  .elementor-location-header .elementor-element-6e20ef2a {
    order: 3;
    flex: 0 0 auto;
  }
  /* the dropdown must not size the column — float it under the toggle */
  .elementor-location-header .elementor-element-6e20ef2a .elementor-widget-container {
    position: relative;
  }
  .elementor-location-header .elementor-element-6e20ef2a .elementor-nav-menu--dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: max-content;
    min-width: 200px;
  }
}

/* ---------- mobile ---------- */
@media (max-width: 767px) {
  /* footer menu: the desktop right-alignment wraps into a ragged
     two-line jumble on phones — resolve it as a deliberate centered
     2×2 grid above the centered copyright */
  .elementor-location-footer .elementor-nav-menu--main .elementor-nav-menu {
    justify-content: center;
    row-gap: 12px;
  }
  .elementor-location-footer .elementor-nav-menu--main .elementor-nav-menu > li {
    flex: 0 0 50%;
    text-align: center;
    margin: 0 !important;
  }
  .elementor-location-footer .elementor-nav-menu--main .elementor-item {
    display: inline-block;
    font-size: 12.5px !important;
    letter-spacing: 0.14em !important;
    padding: 2px 6px !important;
  }
  .elementor-widget-slides { padding: 0 10px; }
  .elementor-widget-slides .swiper,
  .elementor-widget-slides .swiper-container,
  .elementor-widget-slides .elementor-slides-wrapper,
  .elementor-post__thumbnail,
  .elementor-post__thumbnail__link,
  .elementor-widget-video .elementor-wrapper { border-radius: var(--al-r-sm); }
}
@media (max-width: 1024px) {
  .elementor-nav-menu--dropdown {
    border-radius: var(--al-r-sm);
    background: rgba(255, 255, 255, 0.985) !important;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(130, 181, 242, 0.22);
    box-shadow: 0 24px 60px rgba(44, 74, 118, 0.22);
  }
}

/* ---------- mobile nav scrim: dims the page behind the dropdown ----------
   Sits below the header (z 90) so the bar + dropdown stay crisp above it;
   tapping it closes the menu (wired in airlab-theme.js). */
.al-nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 11, 22, 0.42);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.al-nav-scrim.al-open {
  opacity: 1;
  pointer-events: auto;
}
html.al-nav-open,
html.al-nav-open body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .al-nav-scrim { transition: none; }
}

/* ---------- reduced motion: everything settles instantly ---------- */
@media (prefers-reduced-motion: reduce) {
  .al-reveal { opacity: 1; transform: none; transition: none; }
  .elementor-posts .elementor-post,
  .elementor-post__thumbnail img,
  .elementor-button { transition: none; }
}

/* ============================================================
   MIDNIGHT MODE — the brand inverted: the logo's sky blue
   stays; everything behind it becomes deep midnight navy.
   Activated via html[data-al-theme="dark"] (persisted, or
   prefers-color-scheme on first visit).
   ============================================================ */

html[data-al-theme="dark"] {
  color-scheme: dark;
}
html[data-al-theme="dark"] body {
  background-color: #0a1424 !important;
}
/* atmosphere: same composition, midnight register + faint stars */
html[data-al-theme="dark"] body::before {
  background-image:
    radial-gradient(1px 1px at 22% 18%, rgba(255, 255, 255, 0.30) 0%, transparent 100%),
    radial-gradient(1px 1px at 68% 9%, rgba(200, 225, 255, 0.26) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 84% 31%, rgba(255, 255, 255, 0.20) 0%, transparent 100%),
    radial-gradient(1px 1px at 8% 54%, rgba(200, 225, 255, 0.22) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 72%, rgba(255, 255, 255, 0.18) 0%, transparent 100%),
    radial-gradient(1px 1px at 31% 89%, rgba(255, 255, 255, 0.16) 0%, transparent 100%),
    radial-gradient(110% 70% at 85% -10%, rgba(130, 181, 242, 0.14) 0%, transparent 55%),
    radial-gradient(90% 60% at -10% 35%, rgba(90, 155, 232, 0.08) 0%, transparent 50%),
    radial-gradient(100% 80% at 60% 110%, rgba(130, 181, 242, 0.10) 0%, transparent 55%);
}

/* text flips to soft white; the sky blue survives in accents */
html[data-al-theme="dark"] body,
html[data-al-theme="dark"] .elementor-widget-text-editor,
html[data-al-theme="dark"] .elementor-widget-text-editor p,
html[data-al-theme="dark"] .elementor-post__excerpt p,
html[data-al-theme="dark"] .elementor-widget-theme-post-excerpt {
  color: rgba(235, 243, 252, 0.85) !important;
}
html[data-al-theme="dark"] .elementor-heading-title,
html[data-al-theme="dark"] .elementor-post__title,
html[data-al-theme="dark"] .elementor-post__title a,
html[data-al-theme="dark"] .elementor-page-title .elementor-heading-title,
html[data-al-theme="dark"] h1, html[data-al-theme="dark"] h2,
html[data-al-theme="dark"] h3, html[data-al-theme="dark"] h4 {
  color: #cfe2fa !important;
}
html[data-al-theme="dark"] .elementor-heading-title strong,
html[data-al-theme="dark"] .elementor-heading-title b {
  color: var(--al-sky) !important;
}
html[data-al-theme="dark"] .elementor-post:hover .elementor-post__title a {
  color: var(--al-sky) !important;
}
html[data-al-theme="dark"] ::selection {
  background: rgba(130, 181, 242, 0.35);
  color: #fff;
}

/* header: midnight glass */
html[data-al-theme="dark"] header.elementor-location-header {
  background: rgba(10, 20, 36, 0.62);
}
html[data-al-theme="dark"] header.elementor-location-header::after {
  background: linear-gradient(90deg,
    transparent,
    rgba(130, 181, 242, 0.08) 12%,
    rgba(190, 220, 255, 0.42) 50%,
    rgba(130, 181, 242, 0.08) 88%,
    transparent);
}
html[data-al-theme="dark"] header.elementor-location-header.al-scrolled {
  background: rgba(10, 20, 36, 0.82);
  box-shadow: 0 12px 40px rgba(2, 8, 20, 0.5);
}
html[data-al-theme="dark"] .elementor-nav-menu--main .elementor-item {
  color: rgba(207, 226, 250, 0.85) !important;
}
html[data-al-theme="dark"] .elementor-nav-menu--main .elementor-item:hover,
html[data-al-theme="dark"] .elementor-nav-menu--main .elementor-item.elementor-item-active {
  color: var(--al-sky) !important;
}

/* cards + panels: dark glass */
html[data-al-theme="dark"] .elementor-post__thumbnail__link {
  box-shadow:
    0 18px 45px rgba(2, 8, 20, 0.55),
    0 0 0 1px rgba(130, 181, 242, 0.16);
}
html[data-al-theme="dark"] .elementor-post:hover .elementor-post__thumbnail__link {
  box-shadow:
    0 30px 70px rgba(2, 8, 20, 0.65),
    0 0 0 1px rgba(130, 181, 242, 0.42),
    0 0 50px rgba(130, 181, 242, 0.22);
}
html[data-al-theme="dark"] .elementor-widget-slides .swiper,
html[data-al-theme="dark"] .elementor-widget-slides .swiper-container,
html[data-al-theme="dark"] .elementor-widget-slides .elementor-slides-wrapper {
  box-shadow:
    0 40px 90px rgba(2, 8, 20, 0.6),
    0 0 0 1px rgba(130, 181, 242, 0.18);
}
html[data-al-theme="dark"] .elementor-widget-video .elementor-wrapper {
  box-shadow:
    0 40px 90px rgba(2, 8, 20, 0.6),
    0 0 0 1px rgba(130, 181, 242, 0.18) !important;
}

/* sections that carry hardcoded light backgrounds go transparent */
html[data-al-theme="dark"] .elementor-section:not(.elementor-motion-effects-element-type-background),
html[data-al-theme="dark"] .elementor-widget-wrap {
  background-color: transparent !important;
}

/* buttons: midnight frosted pills */
html[data-al-theme="dark"] .elementor-button {
  background: rgba(15, 28, 50, 0.55) !important;
  color: #a8ccf6 !important;
  border-color: rgba(130, 181, 242, 0.45) !important;
  box-shadow:
    0 10px 26px rgba(2, 8, 20, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
html[data-al-theme="dark"] .elementor-button:hover,
html[data-al-theme="dark"] .elementor-button:focus {
  background: linear-gradient(135deg, var(--al-sky) 0%, var(--al-sky-deep) 100%) !important;
  color: #0a1424 !important;
}

/* form fields: midnight glass */
html[data-al-theme="dark"] .elementor-field-textual,
html[data-al-theme="dark"] .elementor-field-group textarea {
  background: rgba(15, 28, 50, 0.6) !important;
  border-color: rgba(130, 181, 242, 0.30) !important;
  color: #ebf3fc !important;
}

/* footer + hairlines */
html[data-al-theme="dark"] .elementor-location-footer {
  border-top-color: rgba(130, 181, 242, 0.14);
}
html[data-al-theme="dark"] .elementor-divider-separator {
  border-image: linear-gradient(90deg, rgba(130, 181, 242, 0.45), rgba(130, 181, 242, 0.10) 75%, transparent) 1 !important;
}

/* mobile dropdown: midnight glass */
@media (max-width: 1024px) {
  html[data-al-theme="dark"] .elementor-nav-menu--dropdown {
    background: rgba(12, 22, 40, 0.985) !important;
    border-color: rgba(130, 181, 242, 0.20);
    box-shadow: 0 24px 60px rgba(2, 8, 20, 0.6);
  }
  html[data-al-theme="dark"] .elementor-nav-menu--dropdown a {
    color: rgba(207, 226, 250, 0.9) !important;
  }
}

/* scrollbar: midnight */
html[data-al-theme="dark"] ::-webkit-scrollbar-track { background: #0c1728; }
html[data-al-theme="dark"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(130, 181, 242, 0.45), rgba(130, 181, 242, 0.25));
  border-color: #0c1728;
}

/* gentle cross-fade between modes */
body,
header.elementor-location-header,
.elementor-posts--skin-cards .elementor-post__card,
.elementor-field-textual {
  transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease;
}

/* ============================================================
   DISPLAY CONTROLS — floating frosted pill:  −  +  ☾/☀
   ============================================================ */
body { zoom: var(--al-zoom, 1); }

.al-controls {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(130, 181, 242, 0.35);
  box-shadow:
    0 14px 38px rgba(44, 74, 118, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
html[data-al-theme="dark"] .al-controls {
  background: rgba(15, 28, 50, 0.62);
  border-color: rgba(130, 181, 242, 0.30);
  box-shadow:
    0 14px 38px rgba(2, 8, 20, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
/* theme (twentytwentyone) paints all <button>s white-on-dark — outrank it */
.al-controls .al-ctrl {
  width: 38px;
  height: 38px;
  min-height: 0;
  border: none !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--al-sky-deep) !important;
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  padding: 0 !important;
  margin: 0;
  font-family: var(--al-body, inherit);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.25s var(--al-ease);
  -webkit-tap-highlight-color: transparent;
}
.al-controls .al-ctrl:hover {
  background: rgba(130, 181, 242, 0.18) !important;
  color: var(--al-sky-deep) !important;
  transform: scale(1.06);
}
.al-controls .al-ctrl:active { transform: scale(0.94); }
.al-ctrl svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[data-al-theme="dark"] .al-controls .al-ctrl { color: #a8ccf6 !important; }
html[data-al-theme="dark"] .al-controls .al-ctrl:hover { color: #cfe2fa !important; }
.al-ctrl:focus-visible {
  outline: 2px solid rgba(130, 181, 242, 0.8);
  outline-offset: 2px;
}
@media (max-width: 767px) {
  .al-controls { right: 12px; bottom: 12px; }
  .al-ctrl { width: 42px; height: 42px; }
}
@media print { .al-controls { display: none; } }

/* in-nav variant: not a module — three quiet glyphs continuing the menu.
   No capsule, no border; they inherit the menu's rhythm and hover color. */
.al-menu-controls {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 22px;
  list-style: none;
}
.al-controls.al-in-nav {
  position: static;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-radius: 0;
}
html[data-al-theme="dark"] .al-controls.al-in-nav {
  background: none;
  border: none;
  box-shadow: none;
}
.al-controls.al-in-nav .al-ctrl {
  width: 30px;
  height: 30px;
  font-size: 16px;
  color: var(--al-sky) !important;
  opacity: 0.75;
}
.al-controls.al-in-nav .al-ctrl svg { width: 14px; height: 14px; }
.al-controls.al-in-nav .al-ctrl:hover {
  background: rgba(130, 181, 242, 0.14) !important;
  opacity: 1;
}
html[data-al-theme="dark"] .al-controls.al-in-nav .al-ctrl { color: #a8ccf6 !important; }

/* mobile fallback rides the header row: same quiet glyphs, flush right */
.al-controls.al-in-header {
  position: static;
  margin: 0 6px 0 auto;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html[data-al-theme="dark"] .al-controls.al-in-header {
  background: none;
  border: none;
  box-shadow: none;
}
.al-controls.al-in-header .al-ctrl {
  width: 36px;
  height: 36px;
  color: var(--al-sky) !important;
  opacity: 0.8;
}
html[data-al-theme="dark"] .al-controls.al-in-header .al-ctrl { color: #a8ccf6 !important; }

/* ---------- slider dots overlay the image, no reserved band ----------
   Elementor pads the bottom of the swiper shell to reserve a lane for
   the dots — drop the padding so the artwork reaches the frame edge and
   the dots float over it. */
.elementor-widget-slides .swiper,
.elementor-widget-slides .swiper-container {
  padding-bottom: 0 !important;
}
.elementor-widget-slides .swiper-pagination {
  bottom: 16px !important;
}
.elementor-widget-slides .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  transition: background 0.3s ease, transform 0.3s ease;
}
.elementor-widget-slides .swiper-pagination-bullet:hover {
  transform: scale(1.2);
}
.elementor-widget-slides .swiper-pagination-bullet-active {
  background: #fff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.45), 0 0 12px rgba(130, 181, 242, 0.6);
}

/* ============================================================
   SHADOWBOX PLAYER — video floats over the muted page
   ============================================================ */
html.al-noscroll,
html.al-noscroll body { overflow: hidden; }

.al-shadowbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  background: rgba(5, 11, 22, 0.55);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  opacity: 0;
  transition: opacity 0.35s ease, backdrop-filter 0.35s ease, background 0.35s ease;
}
.al-shadowbox.al-open {
  opacity: 1;
  background: rgba(5, 11, 22, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(80%);
  backdrop-filter: blur(14px) saturate(80%);
}
.al-shadowbox__shell {
  position: relative;
  /* the −/+ buttons are a text-size zoom (body { zoom: --al-zoom }); it must
     not rescale the popped-out video. Counter the inherited zoom so the
     player's net scale is always 1 — the backdrop still covers the full
     (zoomed) viewport, only the video shell is held at natural size. */
  zoom: calc(1 / var(--al-zoom, 1));
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  border-radius: var(--al-r-md);
  overflow: hidden;
  background: #000;
  box-shadow:
    0 60px 140px rgba(0, 0, 0, 0.7),
    0 24px 60px rgba(2, 8, 20, 0.6),
    0 0 90px rgba(130, 181, 242, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  transform: scale(0.94) translateY(10px);
  transition: transform 0.4s var(--al-ease);
}
.al-shadowbox.al-open .al-shadowbox__shell {
  transform: none;
}
.al-shadowbox__shell video {
  display: block;
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  outline: none;
}
.al-shadowbox__iframe {
  display: block;
  width: min(1200px, 92vw);
  height: min(675px, 51.75vw, 88vh);
  border: 0;
}
.al-shadowbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 50% !important;
  background: rgba(15, 28, 50, 0.5) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff !important;
  font-size: 26px;
  line-height: 1;
  padding: 0 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.25s var(--al-ease);
  -webkit-tap-highlight-color: transparent;
}
.al-shadowbox__close:hover {
  background: rgba(130, 181, 242, 0.35) !important;
  transform: scale(1.08);
}
.al-shadowbox__close:focus-visible {
  outline: 2px solid rgba(130, 181, 242, 0.8);
  outline-offset: 3px;
}
/* inline project videos advertise the pop-out */
.elementor-widget-video video { cursor: zoom-in; }
@media (prefers-reduced-motion: reduce) {
  .al-shadowbox,
  .al-shadowbox__shell { transition: none; }
}
