/* Small static replacements for WordPress behavior. Source layout CSS loads first. */
html { scroll-behavior: smooth; }
#page { overflow-x: clip; }
.elementor-widget-text, .text-content, .elementor-widget-theme-post-content { overflow-wrap: anywhere; }
[hidden] { display: none !important; }
.static-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  margin: 8px 0;
  border: 2px solid #000;
  border-radius: 100px;
  background: #000;
  color: #fff !important;
  font-family: var(--font-body, sans-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none !important;
  text-align: center;
}
.static-contact-button:hover { background: #6919bd; border-color: #6919bd; }
.team-member-info { min-width: 0; flex: 1; }
.team-member-info > strong { display: flex; flex-wrap: wrap; gap: 8px; }
.team-member-info .links { margin-left: 0; max-width: 100%; }
.team-member-info .static-contact-button { max-width: 100%; }
/* The archived homepage positioned this heading outside its own column. */
.elementor-element-d66b880 > .elementor-widget-container {
  position: static !important;
  width: 100% !important;
  max-width: 100%;
  transform: none !important;
}
.static-contact-button:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible {
  outline: 3px solid #6919bd;
  outline-offset: 4px;
}
.static-closure {
  padding: clamp(56px, 7vw, 100px) 24px;
  background: #fff;
}
.static-closure-panel {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 72px);
  background: var(--color-accent-2, #69d1b5);
  color: #000;
  text-align: center;
}
.static-closure h2 {
  max-width: 900px;
  margin: 0 auto 32px;
  color: inherit;
  font-family: var(--font-heading, serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
}
.static-closure p {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.8;
  text-wrap: pretty;
}
.static-closure a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.static-closure a:hover { text-decoration-thickness: 2px; }
#colophon .ast-builder-grid-row-container-inner {
  width: min(100% - 48px, 1200px);
  max-width: none;
  margin: 0 auto;
  padding: 0;
}
#colophon .site-primary-footer-inner-wrap {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 48px;
}
.site-footer .static-footer-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer .static-footer-menu a {
  /* Override the archived theme's inline !important link padding. */
  padding: 0 !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}
#colophon .site-below-footer-wrap { padding-top: 40px !important; }
/* Render the original scroll-animated content without an Elementor runtime. */
.elementor-invisible { visibility: visible !important; }
.elementor-element { --e-transform-transition-duration: 0s; }
details.accordion-item > summary { list-style: none; cursor: pointer; }
details.accordion-item > summary::-webkit-details-marker { display: none; }
details.accordion-item .panel { display: block !important; max-height: none !important; }
details.accordion-item:not([open]) .panel { display: none !important; }
details.accordion-item[open] .arrow-icon { transform: rotate(90deg); }
details.accordion-item[open] { padding-bottom: 2.8rem; }
.static-carousel .swiper-wrapper {
  display: flex;
  gap: 24px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  transform: none !important;
  height: auto;
}
.static-carousel .swiper-wrapper::-webkit-scrollbar { display: none; }
.static-carousel .swiper-slide {
  flex: 0 0 calc((100% - (var(--slides, 3) - 1) * 24px) / var(--slides, 3));
  min-width: 0;
  height: auto;
  scroll-snap-align: start;
}
.static-carousel .elementor-image-carousel .swiper-slide { align-self: center; }
.static-carousel .elementor-swiper-button { cursor: pointer; z-index: 2; }
.static-carousel .elementor-swiper-button:disabled { opacity: .35; cursor: default; }
.static-carousel .elementor-swiper-button { padding: 0; border: 0; }
.static-carousel .swiper-pagination { display: none; }
.project-item.visible { display: flex; }
.static-filter-result { margin: 18px 0; }
.static-not-found { max-width: 700px; margin: 15vh auto; padding: 24px; font: 20px/1.6 sans-serif; }
.static-search { width: min(100% - 48px, 1000px); margin: 160px auto 80px; }
.static-search form label { display: block; margin-bottom: 8px; }
.static-search form > div { display: flex; gap: 12px; margin-bottom: 24px; }
.static-search input { min-width: 0; flex: 1; }
.static-search-results { list-style: none; margin: 0; padding: 0; }
.static-search-results li { padding: 24px 0; border-bottom: 1px solid #ccc; }
.static-search-results li > a { font-size: 24px; font-weight: 600; }
.static-search-results li > p { margin-top: 12px; }
@media (max-width: 1024px) {
  .static-carousel .swiper-slide { --slides: var(--slides-tablet, 2); }
}
@media (max-width: 921px) {
  body #ast-desktop-header { display: none; }
  body #ast-mobile-header { display: block; }
  body #ast-mobile-header .ast-mobile-header-content { display: none; }
  body.static-menu-open #ast-mobile-header .ast-mobile-header-content {
    display: block;
    background: #fff;
    border-radius: 24px;
    margin-top: 8px;
    padding: 16px 24px;
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
  }
  body #ast-mobile-header .main-header-bar-navigation { display: block !important; }
  body #ast-mobile-header .main-header-menu { display: block; }
}
@media (min-width: 922px) {
  body #ast-desktop-header { display: block; }
  body #ast-mobile-header { display: none; }
}
@media (max-width: 767px) {
  .static-carousel .swiper-slide { --slides: var(--slides-mobile, 1); }
  #colophon .site-primary-footer-inner-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  #colophon .site-primary-footer-inner-wrap > .site-footer-section {
    grid-column: 1 / -1;
    grid-row: auto;
    padding-top: 0;
  }
  .site-footer .static-footer-menu { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
