::selection {
  background: #1e1d1b;
  color: #f4f1ea;
}

html {
  scrollbar-color: #1e1d1b #f4f1ea;
}

body {
  overflow-x: hidden;
}

.layout {
  max-width: none;
  padding: clamp(1rem, 1.55vw, 1.85rem);
}

.layout-grid {
  align-items: start;
  display: grid;
  gap: clamp(1.5rem, 2.4vw, 3rem);
  grid-template-columns: clamp(13.75rem, 18vw, 20rem) minmax(0, 1fr);
}

.nav {
  min-width: 0;
}

.nav-brand-logo {
  width: clamp(4.75rem, 5vw, 6.5rem);
}

.nav-item-title p {
  display: none;
}

.layout-content {
  gap: clamp(4rem, 8vw, 9rem);
  min-width: 0;
}

.projects-list {
  display: grid;
  gap: clamp(0.75rem, 1vw, 1.2rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.projects-list > .w-dyn-item:first-child,
.projects-list > .w-dyn-item:nth-child(5n) {
  grid-column: span 2;
}

.project-card {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  min-height: clamp(21rem, 33vw, 41rem);
}

.projects-list > .w-dyn-item:first-child .project-card,
.projects-list > .w-dyn-item:nth-child(5n) .project-card {
  aspect-ratio: 16 / 7;
  min-height: clamp(24rem, 36vw, 44rem);
}

.project-card-image {
  height: 100%;
  width: 100%;
}

.project-card::after {
  background: linear-gradient(180deg, rgb(0 0 0 / 0.34), rgb(0 0 0 / 0.04) 42%, rgb(0 0 0 / 0.42));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.project-card-content,
.project-card-content-secondary {
  color: #fff;
  max-width: min(36rem, calc(100% - 3rem));
  text-shadow: 0 0.08em 0.7em rgb(0 0 0 / 0.42);
  z-index: 5;
}

.project-card-content-line,
.project-card-content-meta {
  flex-wrap: wrap;
}

.content-section {
  gap: clamp(4rem, 7vw, 8rem);
  max-width: 92rem;
  padding-right: clamp(1rem, 3vw, 4rem);
}

.about-title {
  max-width: 76rem;
}

.services {
  max-width: 76rem;
}

.grid-services {
  align-items: start;
  display: grid;
  gap: clamp(1.5rem, 3vw, 4rem);
  grid-template-columns: minmax(3rem, 0.18fr) minmax(0, 1fr);
}

.services-body {
  max-width: 58rem;
}

.service-hero {
  aspect-ratio: 16 / 8;
  background: var(--color--shade-2);
  min-height: clamp(28rem, 44vw, 52rem);
  overflow: hidden;
  position: relative;
}

.service-hero::after {
  background: linear-gradient(180deg, rgb(0 0 0 / 0.2), rgb(0 0 0 / 0.08) 42%, rgb(0 0 0 / 0.5));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 2;
}

.service-hero-image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.service-hero-overlay {
  bottom: clamp(1.2rem, 2.5vw, 2.5rem);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  left: clamp(1.2rem, 2.5vw, 2.5rem);
  max-width: min(54rem, calc(100% - 3rem));
  position: absolute;
  text-shadow: 0 0.08em 0.8em rgb(0 0 0 / 0.45);
  z-index: 3;
}

.content-section-service {
  gap: clamp(3rem, 5vw, 5.5rem);
}

.content-section-contact {
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 76rem;
}

.contact-page-panel {
  border-top: 1px solid var(--color--shade-3);
  display: grid;
  gap: clamp(2rem, 4vw, 5rem);
  grid-template-columns: minmax(13rem, 0.42fr) minmax(0, 1fr);
  padding-top: clamp(2rem, 4vw, 4rem);
}

.contact-page-intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 24rem;
}

.contact-page-form {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-page-form .form-text-field-message,
.contact-page-form .button {
  grid-column: 1 / -1;
}

.section-footer-fixed-contact {
  background-color: var(--color--shade-2);
}

.eventure-nav-toggle {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 0.42rem;
  justify-content: center;
  padding: 0;
}

.eventure-nav-toggle span {
  background: currentColor;
  display: block;
  height: 1px;
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 320ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 1.9rem;
}

.eventure-nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(0.24rem) rotate(18deg);
}

.eventure-nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-0.24rem) rotate(-18deg);
}

.nav-link,
.display-link-l,
.project-card,
.button {
  outline-offset: 0.35rem;
}

.nav-link:focus-visible,
.display-link-l:focus-visible,
.project-card:focus-visible,
.button:focus-visible,
.form-text-field:focus-visible {
  outline: 1px solid currentColor;
}

.project-card-image,
.project-card-marquee-item-image,
.footer-image-marquee-line-item-image,
.testimonials-tabs-button-portrait,
.about-modal-image {
  filter: saturate(0.92) contrast(1.04);
}

.project-card {
  transition:
    transform 650ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover {
  filter: brightness(1.02);
  transform: translateY(-0.35rem);
}

.footer-content-bottom > .display-l {
  line-height: 0.82;
  text-transform: lowercase;
}

.footer-logo-link {
  display: inline-flex;
  width: min(42rem, 72vw);
}

.footer-logo-image {
  display: block;
  height: auto;
  width: 100%;
}

@media (max-width: 767px) {
  .layout {
    padding: 1rem;
  }

  .layout-grid {
    gap: 2.25rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .layout-content {
    gap: 3rem;
  }

  .nav {
    position: static;
  }

  .nav-item-title p {
    display: none;
  }

  .nav-brand-logo {
    width: 5.75rem;
  }

  .nav-item-menu {
    display: none;
  }

  .nav-item-menu.eventure-open {
    display: block;
  }

  .eventure-nav-toggle {
    display: flex;
  }

  .projects-list {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .projects-list > .w-dyn-item:first-child,
  .projects-list > .w-dyn-item:nth-child(5n) {
    grid-column: auto;
  }

  .project-card,
  .projects-list > .w-dyn-item:first-child .project-card,
  .projects-list > .w-dyn-item:nth-child(5n) .project-card {
    aspect-ratio: 4 / 5;
    background-color: var(--color--shade-2);
    color: #fff;
    display: block;
    min-height: 23rem;
  }

  .project-card-content {
    left: 1rem;
    position: absolute;
    top: 1rem;
  }

  .project-card-content-secondary {
    bottom: 1rem;
    display: flex;
    left: 1rem;
    position: absolute;
  }

  .project-card-image {
    height: 100%;
    position: absolute;
  }

  .content-section {
    gap: 3rem;
    max-width: none;
    padding-right: 0;
  }

  .grid-services {
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .service-hero {
    aspect-ratio: 4 / 5;
    min-height: 26rem;
  }

  .contact-page-panel,
  .contact-page-form {
    grid-template-columns: minmax(0, 1fr);
  }
}
