
  /* On a reload at the top of the page Chrome's scroll anchoring followed the
     hero and the filters as they slide in from below (Webflow slideInBottom),
     and the page opened 40 to 100px down. Nothing on this page loads above
     the reader's place, so anchoring has nothing to protect here. */
  html {
    overflow-anchor: none;
  }
  /* The hero heading: two lines, each a mask the AI search slides a new text
     into from below while the old one leaves upwards. The padding keeps the
     descenders inside the mask at line-height 1.1, and the negative margin
     gives the space back. */
  .ai-heading__line {
    position: relative;
    display: block;
    overflow: hidden;
    padding-bottom: .12em;
    margin-bottom: -.12em;
  }
  .ai-heading__text {
    display: block;
  }
  .ai-heading__text.is-incoming {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }
  /* "100+ cases..." while the search runs: the three dots light up one after
     another, round and round, like the field's ring (Andrew, 2026-10-14).
     Only their opacity moves, so the centred line never shifts. */
  .ai-heading__dots span {
    animation: ai-heading-dot 1.2s ease-in-out infinite;
  }
  .ai-heading__dots span:nth-child(2) { animation-delay: .2s; }
  .ai-heading__dots span:nth-child(3) { animation-delay: .4s; }
  @keyframes ai-heading-dot {
    0%, 80%, 100% { opacity: .2; }
    40% { opacity: 1; }
  }
  @media (prefers-reduced-motion: reduce) {
    .ai-heading__dots span { animation: none; }
  }
  /* The heading block spans the form instead of shrinking to its text: while a
     new text slides in it is laid over the old one, and in a block as narrow
     as the old text a longer line wrapped inside its mask, then showed its
     last word all at once when the swap ended (Andrew, 2026-10-09). */
  .ai-form__heading-wrap {
    width: 100%;
  }
  /* The form took the width of its content, capped by max-width: the old
     one-line heading always reached the cap, but the two set lines do not,
     and the search field narrowed with each heading. The form keeps its cap
     width whatever the heading says. */
  .ai-form-wrap {
    width: 100%;
  }
  /* From the search to the filter bar is the same space as from the bar to the
     cards: the catalog's top padding, 4rem on desktop (Andrew, 2026-10-09). The
     hero's own bottom padding sits between the search and the bar, so the bar's
     margin is that space less the padding. Both values repeat css/halo-lab.css —
     .section.mod--ai-projects-catalog's padding-top and
     .section.mod--ai-projects-hero's padding-bottom — and must change with it.
     The folded bar (FILTERS in js/pages/ai-catalog-projects.js) takes the
     catalog's top padding off this margin, so the cards come up to the same
     space under the search. */
  :root {
    --filters-gap: 4rem;
    --hero-bottom: 2rem;
  }
  @media screen and (max-width: 991px) {
    :root {
      --filters-gap: 3rem;
      --hero-bottom: 1rem;
    }
  }
  @media screen and (max-width: 767px) {
    :root {
      --filters-gap: 2.5rem;
    }
  }
  @media screen and (max-width: 479px) {
    :root {
      --hero-bottom: 1.5rem;
    }
  }
  .section.mod--ai-projects-filters {
    margin-top: calc(var(--filters-gap) - var(--hero-bottom));
  }
  /* The filter bar folds shut while the AI search is in use: its two hairlines
     close towards the middle, cutting the bar between them, then the line they
     make fades and the space closes (js/pages/ai-catalog-projects.js, FILTERS).
     While it folds, the bar's own borders give way to two drawn lines that ride
     the edges of the cut. --fold is how far each edge has come in. */
  .catalog-filters.filter-form.is-folding {
    border-top-color: transparent;
    border-bottom-color: transparent;
    clip-path: inset(var(--fold, 0px) 0 var(--fold, 0px) 0);
  }
  .catalog-filters__fold-line {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ffffff26;
    pointer-events: none;
  }
  .is-folding > .catalog-filters__fold-line {
    display: block;
  }
  .catalog-filters__fold-line.is-top {
    top: var(--fold, 0px);
  }
  .catalog-filters__fold-line.is-bottom {
    bottom: var(--fold, 0px);
  }
  /* On phones the resting heading reads "Explore projects": the full first
     line would wrap there and make the heading three rows (Andrew, 2026-10-09). */
  .ai-heading__narrow {
    display: none;
  }
  @media (max-width: 767px) {
    .ai-heading__wide {
      display: none;
    }
    .ai-heading__narrow {
      display: inline;
    }
  }
  /* On desktop the heading is 3.5rem, not the 4rem of .h1 (Andrew,
     2026-10-09). Its lines are set whole, so they break where they did; the
     longest, "Explore relevant projects", is about 628px in the 693px form. */
  @media (min-width: 992px) {
    .h1[data-aisearch-heading] {
      font-size: 3.5rem;
    }
  }
  [fs-list-element="list"] > .w-dyn-item.is-anim-init {
  opacity: 0;
  transform: translateY(2rem);
}
[fs-list-element="list"] > .w-dyn-item.is-anim-in {
  opacity: 1;
  transform: translateY(0rem);
}



  /* cover vimeo in card post */
[data-post-vimeo] {
position: absolute;
inset: 0;
overflow: hidden;
container-type: size;
}
[data-post-vimeo] iframe {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width:  max(100cqw, calc(100cqh * 16 / 9)) !important;
height: max(100cqh, calc(100cqw * 16 / 9 * 9 / 16)) !important; 
border: 0;
pointer-events: none;
}
    /* animate filter list */
[fs-list-element="filters"] .w-dropdown-list.w--open {
opacity: 1 !important;
pointer-events: auto !important;
}
[fs-list-element="filters"] .w-dropdown-list.w--open > div {
transform: perspective(800px) rotateX(0deg) rotateY(0deg) rotate(0deg) !important;
}
  /* AI form */
form:not([data-aisearch-form='']) input[type='submit'] {
display: none;
}
form:not([data-aisearch-form='loading']) [data-aisearch-loading] {
display: none;
}
form:not([data-aisearch-form='reset']) [data-aisearch-reset] {
display: none;
}
/* The search icon gives way to the loading and reset ones: on mobile the
   buttons are transparent, and it would show through them */
form:not([data-aisearch-form='']) .ai-form__btn:not([data-aisearch-loading]):not([data-aisearch-reset]) {
display: none;
}
/* Dropdowns of filter */
[fs-list-element='filters'] .w-dropdown-toggle.w--open {
border-color: #fff;
background: #fff;
color: #02021e;
}
/* active filter state */
.w-dropdown-toggle.is--active-filter {
background: #fff;
border-color: #fff;
color: #02021e;
}
  /* fix filter lists */
[data-dropdown-wrapper]:nth-of-type(1) {
z-index: 4;
}
[data-dropdown-wrapper]:nth-of-type(2) {
z-index: 3;
}
[data-dropdown-wrapper]:nth-of-type(3) {
z-index: 2;
}
[fs-list-element='filters'] .w-checkbox::before,
[fs-list-element='filters'] .w-checkbox::after {
display: none;
}
.w-checkbox-input--inputType-custom {
background-image: url(/images/webflow-cdn/webflow-5f93680b6b4bf827.svg);
background-position: 50%;
background-repeat: no-repeat;
background-size: cover;
}
.w-checkbox-input--inputType-custom.w--redirected-checked {
background-image: url(/images/webflow-cdn/webflow-e94c7d3ceac67fbd.svg);
background-color: initial;
border-color: initial;
}
.w-checkbox-input--inputType-custom.w--redirected-focus {
box-shadow: none;
}
@media (min-width: 992px) {
/** medium cards **/
[fs-list-element='list'] > *:nth-child(3n + 1) {
max-width: 47.25rem;
}
[fs-list-element='list'] > *:nth-child(3n + 1) [data-post-img-link] {
height: 30.5rem;
}
/** small cards **/
[fs-list-element='list'] > *:nth-child(3n + 2) {
flex: none;
width: auto;
max-width: 29.75rem;
}
/** large cards **/
[fs-list-element='list'] > *:nth-child(3n) {
flex: none;
width: 100%;
max-width: 67.5rem;
margin: auto;
}
[fs-list-element='list'] > *:nth-child(3n) [data-post-img-link] {
height: 41.5rem;
}
[fs-list-element='list'] > *:nth-child(3n) .ai-projects-card__description {
display: block;
}
}
@media (min-width: 768px) and (max-width: 991px) {
[fs-list-element='list'] > *:nth-child(3n) {
flex: none;
width: 100%;
}
[fs-list-element='list'] > *:nth-child(3n) [data-post-img-link] {
height: 24.375rem;
}
}
/* projects pagination */
.posts-pagination__btn.is-list-pagination-disabled {
border-color: var(--white-30) !important;
}
/* dropdown filter disable */
[data-dropdown-wrapper] {
transition: all 300ms ease;
}
[data-dropdown-wrapper].disable {
pointer-events: none;
opacity: 0.3;
}
@media (min-width: 768px) {
}  


