@font-face {
  font-family: "Arrows";
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/OpenArrow-Regular.woff2") format("woff2"), url("/fonts/OpenArrow-Regular.woff") format("woff");
}
@font-face {
  font-family: "Rauha-Light";
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/Rauha-Light.woff2") format("woff2"), url("/fonts/Rauha-Light.woff") format("woff");
}
@font-face {
  font-family: "Rauha-Regular";
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/Rauha-Regular.woff2") format("woff2"), url("/fonts/Rauha-Regular.woff") format("woff");
}
@font-face {
  font-family: "Rauha-Medium";
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/Rauha-Medium.woff2") format("woff2"), url("/fonts/Rauha-Medium.woff") format("woff");
}
.html_content p a,
.html_content li a,
.html_content h1 a,
.html_content h2 a,
.html_content h3 a,
.html_content h4 a,
.html_content h5 a,
.html_content h6 a,
#Form_ContactForm a,
.links_table_file a,
.cta a,
.project_details a,
.hover-link a {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: all 0.2s linear;
  cursor: pointer;
}
.html_content p a:hover,
.html_content li a:hover,
.html_content h1 a:hover,
.html_content h2 a:hover,
.html_content h3 a:hover,
.html_content h4 a:hover,
.html_content h5 a:hover,
.html_content h6 a:hover,
#Form_ContactForm a:hover,
.links_table_file a:hover,
.cta a:hover,
.project_details a:hover,
.hover-link a:hover {
  opacity: 0.6;
}

footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: all 0.2s linear;
  cursor: pointer;
}

.fh-img {
  height: 100%;
  z-index: 1;
}
.fh-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.google-map-wrapper iframe {
  aspect-ratio: 16/9;
  filter: grayscale(1);
}
@media (min-width: 960px) {
  .google-map-wrapper iframe {
    aspect-ratio: 16/5;
  }
}

[data-theme=dark] .google-map-wrapper iframe {
  filter: invert(1) hue-rotate(180deg);
}

.contact-details .opening-hours strong {
  display: inline-block;
  width: 190px;
}

.staff-article {
  height: 55vh;
  overflow-y: scroll;
  padding-right: 1.5rem;
}
@media (min-width: 640px) {
  .staff-article {
    height: auto;
  }
}

/* Ultra-smooth, subtle animation */
@keyframes myAnim {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Apply a softer easing */
.animate-effect-in {
  animation: myAnim 1s cubic-bezier(0.24, 1, 0.5, 1) 1 normal forwards;
}

.alert {
  margin-bottom: 0.3rem;
  border: 1px solid transparent;
  padding: 17px 30px 17px 17px;
  color: var(--constblack);
}
.alert svg {
  width: 12px;
  margin: 12px;
}
.alert.warning {
  background-color: rgb(243, 219, 219);
  border-color: rgb(168, 49, 49);
}
.alert.info {
  background-color: rgb(230, 249, 253);
  border-color: rgb(220, 244, 250);
}

.jumplinks {
  transition: all 0.2s linear;
  margin-top: -85px;
  height: 85px;
}
.jumplinks li {
  transition: all 0.2s linear;
  opacity: 0.5;
}
.jumplinks li:hover, .jumplinks li.active {
  opacity: 1;
}

.scrolling-up .jumplinks,
.scrolling-down .jumplinks {
  opacity: 1;
  margin-top: 0;
}

.base-cta {
  overflow: hidden;
  background: radial-gradient(100% 100% at var(--6-x-position) var(--6-y-position), #ffffff 0%, transparent), radial-gradient(100% 100% at var(--7-x-position) var(--7-y-position), #00FAA7 0%, transparent), #ffffff;
  animation-name: main;
  animation-iteration-count: infinite;
  animation-duration: 3s;
  transition-timing-function: ease-in;
}
.base-cta .tint {
  height: 104%;
  width: 104%;
}

.parallax-image img {
  object-fit: cover !important;
  height: 130% !important;
}

.award-table {
  transition: all 0.2s linear;
}
.award-table:last-child {
  border-bottom: none;
}
.award-table img.award-img {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  top: -2rem;
  left: 1rem;
  width: 140px;
}
@media (min-width: 960px) {
  .award-table img.award-img {
    top: -5rem;
    left: 1.5rem;
    width: 340px;
  }
}

.TextReveal {
  visibility: hidden;
}

.parallax-content {
  will-change: transform;
}

.transition-container {
  transition: none;
  will-change: transform, opacity;
}

.fade-slide-out {
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-slide-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.Page_Filters li {
  transition: all 0.2s linear;
}

.shadow {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.animate-text span {
  display: inline-block;
  will-change: transform, opacity;
}

.parallax-img {
  height: 100%;
  overflow: hidden;
}
.parallax-img img {
  height: 110% !important;
  object-fit: cover;
  will-change: transform;
}

.avatar {
  background-color: white;
  width: 80px;
  height: 80px;
  overflow: hidden;
}
@media (min-width: 960px) {
  .avatar {
    width: 110px;
    height: 110px;
  }
}
.avatar img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hide-filters .Page_Filters {
  display: none;
}

.footer-share a:hover {
  color: var(--brand-primary);
}
.footer-share svg {
  height: fit-content;
  width: 14px;
  height: 14px;
  margin-top: -3px;
}
@media (min-width: 960px) {
  .footer-share svg {
    width: 22px;
    height: 22px;
    margin-top: -4.5px;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
.animate-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 380s linear infinite;
}

.image-trail .content__img {
  max-width: 40vw;
  position: absolute;
  object-fit: cover;
  opacity: 0;
  border-radius: 1vw;
  box-shadow: rgba(26, 26, 26, 0.1) 0px 7px 29px 0px;
}
@media (min-width: 640px) {
  .image-trail .content__img {
    max-width: 20vw;
  }
}

.page-link-card figure {
  border: 1px solid var(--grey-tint);
  border-radius: 9px;
}
.page-link-card figure:hover .chrome {
  background-color: var(--white);
}

.chrome {
  background-color: var(--grey-tint);
  height: 23px;
  padding: 8px;
  transition: all 0.2s linear;
}
@media (min-width: 640px) {
  .chrome {
    height: 28px;
    padding: 10px;
  }
}
.chrome .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
  transition: all 0.2s linear;
}
@media (min-width: 640px) {
  .chrome .dot {
    width: 10px;
    height: 10px;
  }
}
.chrome .dot.dot-1 {
  background-color: #ed6a5e;
}
.chrome .dot.dot-2 {
  background-color: #f4bf4f;
}
.chrome .dot.dot-3 {
  background-color: #61c554;
}

.page-link-card figure {
  border-bottom-right-radius: 9px;
  border-bottom-left-radius: 9px;
  overflow: hidden;
}
.page-link-card figure img {
  transform: scale(1.01);
}

#project-hero .chrome {
  height: 30px;
  padding: 10px;
}
#project-hero .chrome .dot {
  width: 12px;
  height: 12px;
  margin-right: 7px;
}
#project-hero .chrome .url {
  position: absolute;
  top: 0px;
  left: 80px;
  font-size: 11px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.filters-scroll-track {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filters-scroll-track::-webkit-scrollbar {
  display: none;
}
@media (max-width: 767px) {
  .filters-scroll-track {
    -webkit-overflow-scrolling: touch;
  }
}

.filter-pill.active, .filter-pill:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  opacity: 1;
}

.filter-children {
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
}
.filter-children.show {
  opacity: 1;
  pointer-events: auto;
}
.filter-children.hide {
  opacity: 0;
  pointer-events: none;
}
.filter-children.expanded {
  opacity: 1;
  max-height: 100px; /* Set high enough for expected child height */
  transform: translateY(0);
  pointer-events: auto;
}

.child-filters-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.child-filters-scroll::-webkit-scrollbar {
  display: none;
}
@media (max-width: 767px) {
  .child-filters-scroll {
    -webkit-overflow-scrolling: touch;
  }
}

.fade-slide-out {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fade-slide-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Project Navigation Styles */
.nav-link {
  transition: all 0.3s ease;
}
.nav-link:hover {
  transform: translateY(-4px);
}

.swish-reveal {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.swish-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.swish-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.featured-post img, .post-item img {
  transition: all 0.2s linear;
  filter: brightness(0.8);
}
.featured-post:hover img, .post-item:hover img {
  filter: brightness(0.6);
}

.ai-section video {
  filter: grayscale(1) contrast(4.8) brightness(0.3);
}

.dark-card {
  background-color: hsla(0, 0%, 14%, 0.686) !important;
  backdrop-filter: blur(10px) !important;
}
.dark-card ul {
  margin-bottom: 0;
}

.ai-image svg {
  width: 65%;
  margin: auto;
  fill: var(--black);
}
