.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-nav {
  backdrop-filter: blur(20px);
}

body.menu-open {
  overflow: hidden;
}

.mobile-menu-toggle-lines {
  position: relative;
  display: inline-flex;
  width: 1.25rem;
  height: 0.95rem;
}

.mobile-menu-toggle-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00162a;
  transition:
    transform 200ms ease,
    opacity 200ms ease,
    top 200ms ease;
}

.mobile-menu-toggle-line:nth-child(1) {
  top: 0;
}

.mobile-menu-toggle-line:nth-child(2) {
  top: calc(50% - 1px);
}

.mobile-menu-toggle-line:nth-child(3) {
  top: calc(100% - 2px);
}

.mobile-menu-toggle.is-open .mobile-menu-toggle-line:nth-child(1) {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}

.mobile-menu-toggle.is-open .mobile-menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-open .mobile-menu-toggle-line:nth-child(3) {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}

.architectural-mask {
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.service-icon-beige {
  filter: brightness(0) saturate(100%) invert(86%) sepia(34%) saturate(581%) hue-rotate(328deg) brightness(103%) contrast(102%);
}

.projects-slider {
  margin: 0 -0.5rem;
}

.project-slide {
  padding: 0 0.5rem;
}

.project-slide > a {
  display: block;
  height: 100%;
  border: 0;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.project-slide > a {
  box-shadow: none;
}

.project-slide > a:focus,
.project-slide > a:focus-visible,
.project-slide > a:active,
.project-slide > a:hover {
  outline: none;
  box-shadow: none;
}

.project-slider-controls {
  flex-shrink: 0;
}

.trust-tooltip-trigger {
  line-height: 1;
}

.trust-tooltip-icon {
  font-size: 0.75rem;
  line-height: 1;
}

.trust-tooltip-panel {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  max-width: calc(100vw - 2rem);
  transition: opacity 200ms ease;
}

.project-slider-arrow,
.testimonial-slider-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 0;
  color: #00162a;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.project-slider-arrow {
  background: #ffffff;
}

.testimonial-slider-arrow {
  background: #e8e8e9;
}

.project-slider-arrow:hover,
.testimonial-slider-arrow:hover {
  background: #00162a;
  color: #ffffff;
  transform: translateY(-1px);
}

.project-slider-arrow.slick-disabled,
.project-slider-arrow:disabled,
.testimonial-slider-arrow.slick-disabled,
.testimonial-slider-arrow:disabled {
  color: rgba(0, 22, 42, 0.3);
  cursor: default;
  transform: none;
}

.project-slider-arrow.slick-disabled,
.project-slider-arrow:disabled {
  background: #ffffff;
}

.testimonial-slider-arrow.slick-disabled,
.testimonial-slider-arrow:disabled {
  background: rgba(232, 232, 233, 0.8);
}

.project-slider-arrow.slick-disabled:hover,
.project-slider-arrow:disabled:hover,
.testimonial-slider-arrow.slick-disabled:hover,
.testimonial-slider-arrow:disabled:hover {
  color: rgba(0, 22, 42, 0.3);
  transform: none;
}

.project-slider-arrow.slick-disabled:hover,
.project-slider-arrow:disabled:hover {
  background: #ffffff;
}

.testimonial-slider-arrow.slick-disabled:hover,
.testimonial-slider-arrow:disabled:hover {
  background: rgba(232, 232, 233, 0.8);
}

.project-slider-arrow .material-symbols-outlined,
.testimonial-slider-arrow .material-symbols-outlined {
  font-size: 1.4rem;
}

.projects-slider .slick-list {
  overflow: hidden;
}

.projects-slider .slick-track {
  display: flex;
}

.projects-slider .slick-slide {
  height: inherit;
}

.projects-slider .slick-slide > div {
  height: 100%;
}

.fancybox__caption {
  font-family: "Inter", sans-serif;
}

.cookie-notice {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  width: min(28rem, calc(100vw - 3rem));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  background: #ffdeae;
  color: #00162a;
  box-shadow: 0 20px 50px rgba(0, 22, 42, 0.12);
  backdrop-filter: blur(14px);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    visibility 220ms ease;
}

.cookie-notice.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(1rem);
}

.cookie-notice-icon {
  width: 4.25rem;
  height: 4.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #486174;
}

.cookie-notice-icon .material-symbols-outlined {
  font-size: 2rem;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.cookie-notice-body {
  padding-right: 1.75rem;
}

.cookie-notice-text {
  margin: 0;
  color: #00162a;
  font-size: 0.875rem;
  line-height: 1.5;
}

.cookie-notice-link,
.cookie-notice-close {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}

.cookie-notice-link {
  display: inline;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-notice-link:hover {
  text-decoration: none;
}

.cookie-notice-close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #00162a;
  opacity: 0.75;
  transition:
    opacity 180ms ease,
    color 180ms ease;
}

.cookie-notice-close:hover {
  opacity: 1;
  color: #486174;
}

.cookie-notice-close .material-symbols-outlined {
  font-size: 1.15rem;
}

.privacy-policy-modal {
  width: min(100%, 64rem);
  padding: 0;
  background: transparent;
}

.privacy-policy-card {
  background: #ffffff;
  color: #1a1c1d;
  padding: 2rem;
  max-height: min(85vh, 56rem);
  overflow: auto;
}

.privacy-policy-content {
  font-family: "Inter", sans-serif;
  line-height: 1.75;
}

.privacy-policy-content h1,
.privacy-policy-content h2 {
  font-family: "Space Grotesk", sans-serif;
  color: #00162a;
  letter-spacing: -0.02em;
}

.privacy-policy-content h1 {
  font-size: 2rem;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.privacy-policy-content h2 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 2rem 0 0.875rem;
}

.privacy-policy-updated {
  margin: 0 0 1.5rem;
  color: #486174;
  font-size: 0.95rem;
  font-weight: 600;
}

.privacy-policy-content p:not(.privacy-policy-updated),
.privacy-policy-content ul {
  margin: 0 0 1rem;
  color: #486174;
  font-size: 0.875rem;
  line-height: 1.75;
}

.privacy-policy-content ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.privacy-policy-content li + li {
  margin-top: 0.5rem;
}

.privacy-policy-content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.privacy-policy-content a:hover {
  text-decoration: none;
}

.privacy-policy-content em {
  font-style: italic;
}

.privacy-policy-fancybox .fancybox__viewport,
.privacy-policy-fancybox .fancybox__viewport.is-draggable,
.privacy-policy-fancybox .f-panzoom__wrapper,
.privacy-policy-fancybox .f-panzoom__wrapper.can-drag,
.privacy-policy-fancybox .f-panzoom__wrapper.is-dragging,
.privacy-policy-fancybox .privacy-policy-modal,
.privacy-policy-fancybox .privacy-policy-card,
.privacy-policy-fancybox .privacy-policy-content {
  cursor: auto !important;
}

.privacy-policy-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.privacy-policy-content table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
  background: #f9f9fa;
}

.privacy-policy-content td {
  border: 1px solid #c3c6ce;
  padding: 0.9rem 1rem;
  vertical-align: top;
  color: #486174;
  font-size: 0.875rem;
  line-height: 1.75;
}

.privacy-policy-content strong {
  color: #00162a;
}

@media (hover: hover) and (min-width: 768px) {
  .trust-tooltip:hover .trust-tooltip-panel,
  .trust-tooltip:focus-within .trust-tooltip-panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 767px) {
  .cookie-notice {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1.25rem 1rem;
    grid-template-columns: 3.5rem 1fr;
  }

  .cookie-notice-icon {
    width: 3.5rem;
    height: 3.5rem;
  }

  .cookie-notice-body {
    padding-right: 1.25rem;
  }

  .cookie-notice-text {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .trust-tooltip.is-open .trust-tooltip-panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .architectural-mask {
    clip-path: none;
  }

  .project-slider-controls {
    align-self: flex-start;
  }

  .privacy-policy-card {
    padding: 1.25rem;
    max-height: min(88vh, 56rem);
  }

  .privacy-policy-content h1 {
    font-size: 1.7rem;
  }

  .privacy-policy-content h2 {
    font-size: 1.125rem;
  }

  .privacy-policy-content table {
    min-width: 34rem;
  }

  .privacy-policy-content td {
    padding: 0.75rem 0.85rem;
    font-size: 0.875rem;
  }
}
