/* MAJESTIC GLASS · MATERIAL & INTERFACE POLISH · 30 November 2026
 * Append after the existing responsive/layout styles.
 * All copy, hrefs, photographs, controls and their DOM order are retained.
 * The hero-inner is a plain div; display:contents lets its existing children
 * share a grid with the existing photograph without reparenting any node.
 * Ambient artwork and old-decoration suppression belong to the mg32 component.
 * This file contains no drawer or native form-control rules.
 */

html:root {
  --mg32-ink: #0b171a;
  --mg32-deep: #15272c;
  --mg32-paper: #fbfcfa;
  --mg32-mist: #edf3f0;
  --mg32-text: #172c29;
  --mg32-muted: #536660;
  --mg32-line: #d5e0da;
  --mg32-edge: #c8e5d2;
  --mg32-green: #367823;
}

/* Dark navigation and footer establish a clean frame around the brighter
 * reading surfaces. Existing responsive navigation modes remain unchanged. */
html:root body.mg32-experience header.elementor-location-header.elementor-25,
html:root body.mg32-experience header.elementor-location-header.elementor-25 > .elementor-element-8ac0c19 {
  background: var(--mg32-ink) !important;
  border-bottom: 1px solid rgba(205,231,218,.16);
  box-shadow: 0 8px 24px rgba(5,18,20,.08);
}
html:root body.mg32-experience header.elementor-location-header.elementor-25 .elementor-nav-menu--main .elementor-item {
  font-weight: 600 !important;
  letter-spacing: .015em !important;
}
html:root body.mg32-experience header.elementor-location-header.elementor-25 .elementor-nav-menu--main .elementor-item.elementor-item-active {
  color: #d5edcb !important;
}
html:root body.mg32-experience header.elementor-location-header.elementor-25 a.elementor-button {
  border: 1px solid rgba(211,237,199,.3) !important;
  border-radius: 9px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 5px 16px rgba(0,0,0,.1);
}
html:root body.mg32-experience header.elementor-location-header.elementor-25 .elementor-nav-menu--dropdown {
  border-color: var(--mg32-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(7,25,27,.18);
}

/* The existing project image becomes a genuine photographic region, free
 * from the old green veil. Caption overlays the photograph; all navigation
 * and category buttons sit in dedicated grid rows below it.
 */
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] {
  --home-ink: var(--mg32-text);
  --home-line: var(--mg32-line);
  --mg-editorial-paper: var(--mg32-paper);
  --mg-editorial-line: var(--mg32-line);
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] > .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  grid-template-rows: minmax(360px, 1fr) auto auto auto;
  column-gap: clamp(32px, 4.3vw, 72px);
  row-gap: 14px;
  align-items: start;
  padding: 44px max(clamp(24px, 3.5vw, 64px), calc((100% - 1600px) / 2)) 42px;
  min-height: 0;
  isolation: isolate;
  background: var(--mg32-ink);
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero > .hero-inner {
  display: contents;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero > .hero-image {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 360px;
  margin: 0;
  border: 1px solid rgba(231,245,236,.5);
  border-radius: 16px 16px 6px 16px;
  overflow: hidden;
  background: #263c3e;
  box-shadow: 0 20px 48px rgba(0,0,0,.24), 0 0 0 6px rgba(213,234,224,.045);
  z-index: 2;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero > .hero-image .hero-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero > .hero-shade {
  z-index: 0;
  background: linear-gradient(90deg, rgba(11,23,26,.94), rgba(11,23,26,.72) 34%, rgba(11,23,26,.12) 62%, transparent 80%);
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-inner > .hero-copy {
  position: relative;
  grid-column: 1;
  grid-row: 1 / 5;
  align-self: center;
  width: 100%;
  max-width: 720px;
  min-width: 0;
  margin: 0;
  z-index: 3;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-main .accent {
  color: var(--mg32-edge);
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-main .city {
  color: #f5faf7;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-prelude {
  color: #cbded5;
  border-color: #99c7ab;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-copy > p {
  color: #dce6e1;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-copy > p.hero-credentials {
  color: #c7d8d0;
  border-left-color: #729f87;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-inner > .hero-project {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: stretch;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 14px;
  padding: 17px 20px;
  border: 1px solid rgba(227,243,234,.35);
  border-left: 3px solid #c5e6cd;
  border-radius: 9px;
  background: rgba(9,25,28,.91);
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-project strong {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.3;
  color: #fff;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-inner > .carousel-toolbar {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 2;
  justify-self: stretch;
  align-self: start;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  gap: 4px;
  margin: 0;
  padding: 5px;
  border: 1px solid rgba(203,229,216,.23);
  border-radius: 9px;
  background: rgba(13,34,38,.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  z-index: 3;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .carousel-toolbar button {
  min-height: 40px;
  padding-inline: 10px;
  border-radius: 5px;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-inner > .hero-category-strip {
  position: relative;
  grid-column: 2;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  z-index: 3;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-category {
  min-height: 70px;
  min-width: 0;
  border: 1px solid rgba(203,229,216,.23);
  border-radius: 8px;
  background: rgba(17,38,41,.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-category[aria-pressed="true"] {
  border-color: #badac6;
  background: #233e3d;
  box-shadow: inset 0 -2px #c8e5d2;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-inner > .hero-browse-link {
  position: relative;
  grid-column: 2;
  grid-row: 4;
  justify-self: end;
  align-self: start;
  min-height: 36px;
  color: #d8e8df;
  z-index: 3;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .proof-strip .proof-grid {
  border-top-color: rgba(202,226,214,.25);
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .proof-grid strong {
  color: #d0e8d9;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .proof-grid small {
  color: #bdcfc7;
}

/* Bright, legible content surfaces give the dark photographic sections a
 * deliberate rhythm. Their existing grid widths and responsive rules remain.
 */
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .expertise-section {
  background: linear-gradient(180deg, #edf3ef, #fbfcfa 78%);
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] :is(.services-section, .about-section, .process-section) {
  background: var(--mg32-paper);
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .reviews-section {
  background: linear-gradient(180deg, #eaf1ed, #fbfcfa 220px);
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] :is(.repairs-section, .faq-section) {
  background: #f0f5f2;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .project-section {
  background: linear-gradient(145deg, #10262b, #0b171a 76%);
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .service-card {
  padding: 12px 12px 24px;
  border: 1px solid var(--mg32-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(21,47,39,.065);
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .service-image {
  border-radius: 9px;
  margin-bottom: 22px;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .service-card :is(h3,p) {
  margin-inline: 12px;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .service-card > .text-link {
  margin-inline: 12px;
  min-height: 36px;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .project-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(205,231,218,.24);
  border-radius: 14px;
  background: #142b30;
  box-shadow: 0 16px 32px rgba(0,0,0,.12);
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .project-card .project-image {
  border-radius: 0;
  border-bottom: 1px solid rgba(217,237,225,.16);
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .project-caption {
  padding: 22px 24px 24px;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .project-caption .text-link {
  color: #cce6d4;
  min-height: 36px;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .project-filter {
  border-color: rgba(205,231,218,.27);
  background: rgba(255,255,255,.035);
  color: #e9f2ed;
  border-radius: 7px;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .project-filter[aria-pressed="true"] {
  background: #d2e9d8;
  border-color: #d2e9d8;
  color: #142b24;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] :is(.review-card, .repair-grid article, .secondary-services article) {
  border: 1px solid var(--mg32-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(21,47,39,.045);
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .review-rating {
  border-color: #cbdcd1;
  background: #f2f7f3;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] :is(.advantages article, .process-grid li) {
  border-top-color: #b1c8ba;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .step-number {
  color: #4e7962;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .faq-list details {
  border-color: var(--mg32-line);
  border-radius: 9px;
  background: #fff;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .faq-list details[open] {
  border-color: #8fb29e;
  box-shadow: 0 6px 20px rgba(21,47,39,.055);
}

/* Anchor actions only: the existing form buttons and their states are outside
 * this selection. Clear face, fine top edge, deliberate focus and hover.
 */
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] a.button,
html:root body.mg32-experience .mg-ui-legacy a.elementor-button,
html:root body.mg32-experience .mg-app .mg-app-actions a.wp-block-button__link,
html:root body.mg32-experience .mg-cb a.mg-cb-btn {
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 5px 14px rgba(24,58,38,.08);
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-actions > a.button-primary {
  background: #d2ebc3;
  border-color: #d2ebc3;
  color: #132b1d;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.36), 0 8px 22px rgba(0,0,0,.16);
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-actions > a.button-primary:hover {
  background: #e2f4d9;
  border-color: #e2f4d9;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-actions > a.button-secondary {
  background: rgba(11,29,33,.5);
  border-color: rgba(214,234,222,.5);
  color: #eef6f1;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-inner > a.hero-browse-link {
  border-radius: 0 !important;
  box-shadow: none;
}
html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] :is(a,button,summary):focus-visible {
  outline-color: #80b995;
}

/* Shared service and application pages: neutral reading surfaces, crisp
 * existing image panels, and a charcoal structure beneath photo backgrounds.
 */
html:root body.mg32-experience .mg-ui-legacy {
  --mg-ui-ink: var(--mg32-text);
  --mg-ui-forest: var(--mg32-ink);
  --mg-ui-paper: var(--mg32-paper);
  --mg-ui-line: var(--mg32-line);
  --mg-ui-lime: var(--mg32-edge);
}
html:root body.mg32-experience .mg-app {
  --app-forest: var(--mg32-ink);
  --app-ink: var(--mg32-text);
  --app-lime: var(--mg32-edge);
  --app-muted: var(--mg32-muted);
  --app-line: var(--mg32-line);
  --app-paper: var(--mg32-paper);
}
html:root body.mg32-experience .mg-cb {
  --mg-dark: var(--mg32-ink);
  --mg-bg: var(--mg32-paper);
  --mg-text: var(--mg32-text);
  --mg-muted: var(--mg32-muted);
  --mg-border: var(--mg32-line);
}
html:root body.mg32-experience .mg-ui-legacy .mg-ui-section.mg24-surface-light {
  background: linear-gradient(180deg, #edf3ef, #fbfcfa 54%) !important;
}
html:root body.mg32-experience .mg-ui-legacy .mg-ui-hero:not(:has(.mg-policy,.mg-legal)),
html:root body.mg32-experience .mg-ui-legacy .mg-ui-strip.mg-ui-dark,
html:root body.mg32-experience .mg-cb :is(.mg-cb-hero, .mg-cb-feature, .mg-cb-dark) {
  background-color: var(--mg32-ink) !important;
}
html:root body.mg32-experience .mg-ui-legacy .mg-ui-hero-copy .elementor-widget-text-editor {
  color: #e1eae5 !important;
}
html:root body.mg32-experience .mg-ui-legacy .mg-ui-hero .rank-math-breadcrumb {
  color: #cadbd3;
}
html:root body.mg32-experience .mg-ui-legacy .mg-ui-hero .rank-math-breadcrumb a {
  color: inherit;
}
html:root body.mg32-experience .mg-ui-legacy .mg-ui-photo-column .elementor-widget-image img,
html:root body.mg32-experience .mg-app .mg-app-hero-image img {
  border-radius: 11px !important;
  box-shadow: 0 14px 34px rgba(12,38,33,.13), 0 0 0 1px rgba(56,87,69,.08);
}
html:root body.mg32-experience .mg-ui-legacy :is(.elementor-widget-icon-box, .elementor-widget-image-box) {
  border-color: var(--mg32-line);
  border-radius: 11px;
  box-shadow: 0 7px 22px rgba(21,47,39,.04);
}
html:root body.mg32-experience .mg-ui-legacy .mg-ui-link-row .elementor-icon-list-item a {
  border-bottom-color: #c8d9cf;
}
html:root body.mg32-experience .mg24-project-nav a,
html:root body.mg32-experience .mg-app .mg-app-jump a {
  border-color: #c3d5c9 !important;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(21,47,39,.035);
}
html:root body.mg32-experience .elementor-13445.e-loop-item .elementor-element.elementor-element-94d81c9 {
  border: 1px solid rgba(205,231,218,.22);
  border-radius: 13px !important;
  box-shadow: 0 12px 30px rgba(9,31,31,.14) !important;
}
html:root body.mg32-experience .elementor-13445.e-loop-item .elementor-element.elementor-element-94d81c9::before {
  background-image: linear-gradient(180deg, transparent 20%, rgba(8,24,28,.18) 46%, rgba(8,24,28,.95) 100%) !important;
}

/* Native comparison tables keep their existing responsive scroll wrappers. */
html:root body.mg32-experience :is(.mg-mirror-table-wrapper, .mg-article .mg-table-scroll) {
  border: 1px solid #cbdad1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(20,44,35,.055);
}
html:root body.mg32-experience :is(.mg-mirror-table, .mg-article table) {
  border-collapse: collapse;
  background: #fff;
}
html:root body.mg32-experience :is(.mg-mirror-table, .mg-article table) thead th {
  padding: 16px 18px;
  border-color: rgba(213,234,222,.2);
  background: #142c30 !important;
  color: #f4faf6 !important;
  font-weight: 650;
  line-height: 1.5;
}
html:root body.mg32-experience :is(.mg-mirror-table, .mg-article table) thead th :is(a,span,strong) {
  color: inherit !important;
}
html:root body.mg32-experience :is(.mg-mirror-table, .mg-article table) tbody :is(td,th) {
  padding: 15px 18px;
  border-color: #dce6df;
  color: #284138;
  line-height: 1.65;
}
html:root body.mg32-experience :is(.mg-mirror-table, .mg-article table) tbody tr:nth-child(even) :is(td,th) {
  background: #f1f6f3;
}

/* Footer geometry and content remain intact; a dark neutral finish repeats
 * the header material without another independent visual motif.
 */
html:root body.mg32-experience footer.elementor-location-footer.elementor-136 :is(.elementor-element-3d43f1ce, .elementor-element-e773170) {
  background: var(--mg32-ink) !important;
}
html:root body.mg32-experience footer.elementor-location-footer.elementor-136 .elementor-element-3d43f1ce {
  border-top: 1px solid rgba(202,226,214,.24);
}
html:root body.mg32-experience footer.elementor-location-footer.elementor-136 :is(p, .elementor-icon-list-text) {
  color: #cadbd3 !important;
}
html:root body.mg32-experience footer.elementor-location-footer.elementor-136 .elementor-heading-title {
  color: #f4faf6 !important;
}
html:root body.mg32-experience footer.elementor-location-footer.elementor-136 a:not(.elementor-social-icon) {
  color: #d6e6de;
  text-underline-offset: 5px;
}
html:root body.mg32-experience footer.elementor-location-footer.elementor-136 .elementor-element-e773170 {
  border-top-color: rgba(202,226,214,.15);
}

@media (min-width: 1800px) {
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] > .hero {
    padding-inline: max(72px, calc((100% - 1680px) / 2));
    padding-block: 52px;
    grid-template-rows: minmax(400px, 1fr) auto auto auto;
  }
}
@media (max-width: 1200px) and (min-width: 1025px) {
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] > .hero {
    column-gap: 32px;
    padding-inline: 32px;
  }
}
@media (max-width: 1024px) {
  html:root body.mg32-experience header.elementor-location-header.elementor-25 {
    background: #fff !important;
    border-bottom-color: var(--mg32-line);
  }
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] > .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(320px, auto) auto auto auto;
    row-gap: 14px;
    padding: 38px 32px 36px;
  }
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-inner > .hero-copy {
    grid-column: 1;
    grid-row: 1;
    max-width: 760px;
    margin: 0 0 16px;
  }
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero > .hero-image {
    grid-column: 1;
    grid-row: 2;
    min-height: 320px;
    aspect-ratio: 16 / 9;
    border-radius: 13px;
  }
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-inner > .hero-project {
    grid-column: 1;
    grid-row: 2;
    max-width: 520px;
    justify-self: end;
    width: calc(100% - 28px);
  }
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-inner > .carousel-toolbar {
    grid-column: 1;
    grid-row: 3;
  }
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-inner > .hero-category-strip {
    grid-column: 1;
    grid-row: 4;
  }
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-inner > .hero-browse-link {
    grid-column: 1;
    grid-row: 5;
  }
}
@media (max-width: 600px) {
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] > .hero {
    padding: 30px 20px 32px;
    grid-template-rows: auto minmax(280px, auto) auto auto auto;
    row-gap: 12px;
  }
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero > .hero-image {
    min-height: 280px;
    aspect-ratio: 5 / 4;
    border-radius: 11px;
  }
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-inner > .hero-project {
    margin: 10px;
    width: calc(100% - 20px);
    padding: 13px 15px;
    border-radius: 7px;
  }
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-project strong {
    font-size: 18px;
  }
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .carousel-toolbar button {
    min-height: 44px;
    padding-inline: 8px;
  }
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-category {
    min-height: 74px;
  }
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .project-caption {
    padding: 20px;
  }
  html:root body.mg32-experience :is(.mg-mirror-table, .mg-article table) :is(thead th, tbody th, tbody td) {
    padding: 12px 14px;
  }
}
@media (max-width: 760px) {
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .hero-actions > a.button-secondary {
    background: #eff6f1;
    border-color: #c5d8ca;
    color: #244735 !important;
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .service-card:hover {
    border-color: #a8c5b3;
    box-shadow: 0 16px 34px rgba(21,47,39,.1);
  }
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] .project-card:hover {
    border-color: rgba(205,231,218,.48);
    box-shadow: 0 18px 38px rgba(0,0,0,.2);
  }
}
@media (prefers-reduced-motion: reduce) {
  html:root body.mg32-experience #majestic-homepage[data-mg-hierarchy="3"] a.button,
  html:root body.mg32-experience .mg-ui-legacy a.elementor-button,
  html:root body.mg32-experience .mg-app .mg-app-actions a.wp-block-button__link,
  html:root body.mg32-experience .mg-cb a.mg-cb-btn {
    transition: none !important;
  }
}

/* Majestic Glass · illuminated material · 30 November 2026
 * Decorative original material only. Content and links remain untouched.
 */
:root {
  --mg32-glass-art: url("assets/architectural-glass.webp");
  --mg31-quote-art: var(--mg32-glass-art);
}

html:root body :is(.mg32-enhanced, .mg32-surface-host) {
  position: relative;
  isolation: isolate;
}

/* Retire the earlier decorative stack only where the new layer exists. */
html:root body #majestic-homepage[data-mg-hierarchy="3"] .mg32-enhanced > :is(.glass-outline,.glass-lines),
html:root body .mg32-enhanced > .mg24-glass-surface {
  display: none !important;
}
html:root body #majestic-homepage[data-mg-hierarchy="3"] > .section.mg32-enhanced::before,
html:root body #majestic-homepage[data-mg-hierarchy="3"] > .section.mg32-enhanced::after,
html:root body .elementor-8391 #mg-journal-hero.mg32-enhanced::before,
html:root body .elementor-8391 .mgj-contact.mg32-enhanced::after,
html:root body.single-post .elementor-3874 .elementor-element-5758da5.mg32-enhanced::after,
html:root body footer.elementor-location-footer.elementor-136 .elementor-element-3d43f1ce.mg32-enhanced::after {
  display: none !important;
}

html:root body :is(.mg32-enhanced, .mg32-surface-host) > .mg32-atmosphere {
  display: block;
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  contain: paint;
}
/* Elementor's nested photograph stays in place. Its tint, decorative glass,
 * and existing content occupy separate layers within the same surface. */
html:root body .mg32-surface-host::before {
  z-index: 0;
  background-image: linear-gradient(95deg, rgba(11,23,26,.93) 5%, rgba(11,23,26,.8) 52%, rgba(11,23,26,.65)) !important;
  background-color: transparent !important;
  opacity: 1 !important;
}
html:root body .mg32-surface-host > .mg32-atmosphere {
  z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.2), rgba(0,0,0,.5) 40%, #000 78%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.2), rgba(0,0,0,.5) 40%, #000 78%);
}
html:root body .mg32-surface-host > .e-con-inner {
  position: relative;
  z-index: 2;
}
html:root body .mg32-atmosphere .mg32-material {
  display: block;
  position: absolute;
  inset: 0 -180px 0 auto;
  width: min(1250px, 115%);
  height: 100%;
  max-height: 1100px;
  background-image: var(--mg32-glass-art);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  opacity: .3;
  -webkit-mask-image: var(--mg32-glass-art);
  mask-image: var(--mg32-glass-art);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: right center;
  mask-position: right center;
  -webkit-mask-size: cover;
  mask-size: cover;
}
html:root body .mg32-light > .mg32-atmosphere .mg32-material {
  opacity: .2;
  width: min(980px, 100%);
  inset-inline-end: -250px;
  filter: saturate(.45) contrast(1.35);
}
html:root body .mg32-home-hero > .mg32-atmosphere .mg32-material {
  width: min(1800px, 145%);
  right: -10%;
  opacity: .36;
  background-position: center bottom;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
}
html:root body .mg32-home-hero > .mg32-atmosphere {
  z-index: 1;
  /* Keep the reading column dark while the glass catches light at its edge. */
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.08), rgba(0,0,0,.18) 34%, rgba(0,0,0,.36) 52%, #000 76%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.08), rgba(0,0,0,.18) 34%, rgba(0,0,0,.36) 52%, #000 76%);
}
html:root body .mg32-photo > .mg32-atmosphere .mg32-material {
  width: min(940px, 74%);
  right: -120px;
  opacity: .19;
}
html:root body .mg32-surface-host > .mg32-atmosphere .mg32-material {
  width: min(1200px, 90%);
  right: -160px;
  opacity: .3;
}
html:root body .mg32-atmosphere .mg32-reflection {
  display: block;
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -40%;
  width: 48%;
  background: linear-gradient(108deg, transparent 10%, rgba(204,236,217,.05) 35%, rgba(241,255,246,.63) 47%, rgba(255,255,255,.96) 50%, rgba(217,245,228,.17) 56%, transparent 73%);
  transform: translate3d(125%, 0, 0);
  opacity: .68;
  mix-blend-mode: screen;
  animation: mg32-glass-reflection 13s cubic-bezier(.4,0,.35,1) infinite;
  animation-delay: -4s;
  animation-play-state: paused;
}
html:root body .mg32-inview > .mg32-atmosphere .mg32-reflection {
  animation-play-state: running;
}
html:root body .mg32-light > .mg32-atmosphere .mg32-reflection {
  opacity: .4;
  animation-duration: 19s;
}
html:root body .mg32-atmosphere .mg32-pointer-light {
  display: block;
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mg32-light-x, 65%) var(--mg32-light-y, 30%), rgba(209,240,222,.13), transparent 73%);
  opacity: .65;
  mix-blend-mode: screen;
}
html:root body .mg32-light > .mg32-atmosphere .mg32-pointer-light {
  background: radial-gradient(500px circle at var(--mg32-light-x, 70%) var(--mg32-light-y, 40%), rgba(99,144,117,.075), transparent 73%);
  mix-blend-mode: multiply;
}
html:root body footer .mg32-enhanced > .mg32-atmosphere .mg32-material {
  width: min(1350px, 100%);
  right: -220px;
  opacity: .19;
}

/* The drawer shares the same material, cropped to its quiet title edge. */
html:root body #mg30-quote-dialog .mg30-quote-glass {
  background-image: var(--mg32-glass-art);
  background-size: 550px auto;
  background-position: right -90px top -20px;
  opacity: .55;
}

html:root body .mg32-motion-control {
  position: fixed;
  z-index: 995;
  left: 16px;
  bottom: 20px;
  min-height: 38px;
  max-width: 150px;
  padding: 9px 13px;
  border: 1px solid rgba(187,204,195,.7);
  border-radius: 6px;
  background: rgba(247,250,248,.94);
  color: #203b30;
  box-shadow: 0 2px 12px rgba(8,25,18,.1);
  font: 600 11px/1.35 Inter,Arial,sans-serif;
  letter-spacing: .015em;
  cursor: pointer;
}
html:root body .mg32-motion-control:focus-visible {
  outline: 3px solid #73a75e;
  outline-offset: 3px;
}
html:root body .mg32-motion-control[hidden] { display: none !important; }
html:root body:has(#mg30-quote-dialog[open]) .mg32-motion-control {
  visibility: hidden;
}
html:root body.mg32-motion-paused .mg32-atmosphere .mg32-reflection {
  animation-play-state: paused !important;
}

@keyframes mg32-glass-reflection {
  0% { transform: translate3d(5%,0,0); opacity: .24; }
  28% { opacity: .7; }
  62% { opacity: .9; }
  100% { transform: translate3d(350%,0,0); opacity: .28; }
}

@media (max-width: 1024px) {
  html:root body .mg32-home-hero > .mg32-atmosphere {
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.25) 45%, #000 76%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.25) 45%, #000 76%);
  }
  html:root body .mg32-home-hero > .mg32-atmosphere .mg32-material {
    width: min(1200px, 160%);
    right: -24%;
    opacity: .34;
  }
  html:root body .mg32-photo > .mg32-atmosphere .mg32-material { opacity: .15; }
  html:root body .mg32-surface-host > .mg32-atmosphere .mg32-material { opacity: .22; }
}
@media (max-width: 767px) {
  html:root body .mg32-atmosphere .mg32-material { width: 900px; right: -430px; opacity: .24; }
  html:root body .mg32-light > .mg32-atmosphere .mg32-material { width: 720px; right: -440px; opacity: .14; }
  html:root body .mg32-home-hero > .mg32-atmosphere .mg32-material {
    width: 1000px;
    right: -480px;
    opacity: .29;
  }
  html:root body .mg32-atmosphere .mg32-reflection { animation-duration: 18s; }
  html:root body .mg32-atmosphere .mg32-pointer-light { display: none; }
  html:root body .mg32-motion-control { left: 10px; bottom: 12px; min-height: 40px; padding-inline: 11px; }
  html:root body.mg30-has-mobile-quote .mg32-motion-control { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  html:root body .mg32-atmosphere .mg32-reflection { animation: none !important; transform: translate3d(125%,0,0); opacity: .45; }
  html:root body .mg32-motion-control { display: none !important; }
}
@media print {
  html:root body .mg32-atmosphere,
  html:root body .mg32-motion-control { display: none !important; }
}
