/*
  1. Use a more-intuitive box-sizing model.
*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
  2. Remove default margin
*/
* {
  margin: 0;
}

ul {
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 0;
}

/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
  line-height: 1.5;
  line-height: calc(1em + 0.5rem);
  -webkit-font-smoothing: antialiased;
}

/*
  5. Improve media defaults
*/
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/*
  6. Remove built-in form typography styles
*/
input,
button,
textarea,
select {
  font: inherit;
}

/*
  7. Avoid text overflows
*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/*
  8. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

/* Styles for the overlay/transition */
#page-transition {
  /* Your CSS MUST have the transition here */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.5s ease-in-out; /* This is the CRUCIAL line */
}

.loader {
  border: 4px solid var(--secondary-color-faded);
  border-top: 4px solid var(--light-blue);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Class to trigger the fade-out */
#page-transition.transition-out {
  opacity: 0;
}

/* Hide content initially */
body.loading * {
  /* Or a more specific selector if needed */
  visibility: hidden; /* Or opacity: 0; */
}

body.loading #page-transition,
body.loading .loader {
  visibility: visible;
}

body.loading {
  overflow: hidden; /* Prevent scrolling while loading */
}

:root {
  --radius: 0.1rem;
  --primary-color: #ffffff;
  --primary-blur: rgba(5, 23, 45, 0.6);
  --secondary-color: #dca968;
  --secondary-color-faded: rgba(220, 220, 220, 0.5);
  --highlight-color: #b3cef0;
  --light-blue: #4779bd;
  --difference-color: rgba(90, 108, 118, 0.33);
  --difference-color-ring: #657159;
  --highlight-hover: rgba(255, 255, 255, 0.25);
  --highlight-blur: rgba(255, 255, 255, 0.75);
  --primary-text-color: #0e2c52;
  --primary-text-color-faded: rgba(14, 44, 82, 0.4);
  --primary-text-hover: rgb(18, 89, 134);
  --body: rgb(248, 248, 248);
  --body-transparent: rgba(241, 241, 241, 0.82);
  --separator: rgb(214, 214, 214);
  --grey-100: hsl(210, 14%, 95%);
  --grey-200: hsl(210, 14%, 87%);
  --grey-300: hsl(210, 14%, 80%);
  --grey-400: hsl(210, 13%, 65%);
  --grey-500: hsl(211, 10%, 55%);
  --grey-600: hsl(210, 8%, 45%);
  --grey-900: hsl(210, 14%, 87%);
  --svg-dark: rgb(34, 34, 34);
  --svg-light: rgb(131, 136, 142);
  --svg-body: rgb(241, 241, 241);
  --color-pink: #edadd2;
}

.dark-theme {
  --primary-color: #111111;
  --secondary-color: rgb(241, 241, 241);
  --secondary-color-faded: rgba(224, 224, 224, 0.25);
  --difference-color: rgba(174, 179, 183, 0.353);
  --difference-color-ring: rgb(18, 89, 134);
  --highlight-color: rgb(3, 27, 60);
  --highlight-hover: rgba(0, 0, 0, 0.2);
  --primary-text-color: #92a1a9;
  --primary-text-hover: #3786b7;
  --body: rgb(34, 34, 34);
  --body-transparent: rgba(34, 34, 34, 0.82);
  --separator: rgb(55, 55, 55);
  --grey-100: hsl(0, 0%, 5%);
  --grey-200: hsl(210, 3%, 16%);
  --grey-300: hsl(216, 5%, 20%);
  --grey-400: hsl(210, 7%, 44%);
  --grey-500: hsl(211, 10%, 55%);
  --grey-600: hsl(210, 10%, 58%);
  --grey-900: rgb(245, 245, 245);
  --svg-dark: rgb(241, 241, 241);
  --svg-light: rgb(161, 165, 173);
  --svg-body: rgb(34, 34, 34);
  --color-pink: #5e3f51;
}

.poppins-thin {
  font-family: "Poppins", serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: normal;
}

body {
  font-family: "Poppins", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--primary-text-color);
}

h1 {
  color: var(--primary-text-color);
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: clamp(3.5rem, 7vw, 8rem);
  line-height: 1.24;
}

h2 {
  color: var(--primary-text-color);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2rem, 2.85vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
h2 span {
  font-style: italic;
  color: var(--difference-color-ring);
}
@media (min-width: 800px) {
  h2 {
    line-height: 1.25;
  }
}
h2 a {
  transition: all 0.15s;
  text-decoration: none;
  color: var(--primary-color);
}
h2 a:hover {
  color: var(--highlight-color);
}

h3 {
  color: var(--primary-text-color);
  font-size: clamp(1.33rem, 1.25vw, 1.66rem);
  font-weight: 250;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}
h3 a {
  transition: transform 0.25s ease;
  text-decoration: none;
  color: var(--primary-text-color);
}
h3 a:hover {
  color: var(--primary-text-hover);
  text-decoration: none;
}

.link a {
  display: inline-block;
  margin-block: 2px;
  text-decoration: none;
  color: var(--primary-text-color);
  position: relative;
  /* hover underline animation */
  background-image: linear-gradient(transparent 0%, transparent 97%, var(--primary-text-hover) 97%, var(--primary-text-hover) 100%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position-x: right;
  transition: background-size 300ms;
  /* end hover underline animation */
}
.link a:hover {
  background-size: 100% 100%;
  background-position-x: left;
}

h4 {
  font-family: "NyghtSerif-Medium", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0px;
  font-size: clamp(2rem, 3.75vw, 4rem);
  line-height: 1.1;
  position: relative;
  padding-bottom: 1rem;
}
h4 span {
  font-style: italic;
  color: var(--difference-color-ring);
}
h4 a {
  text-decoration: none;
  color: var(--secondary-color);
}

h5 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: clamp(1.35rem, 2.5vw, 4rem);
  letter-spacing: 0.5px;
  line-height: 1.66;
}

h6 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: clamp(1rem, 1.1vw, 1.25rem);
  letter-spacing: 0.25px;
  line-height: 1.33;
}

p {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.5px;
}
p a {
  color: var(--primary-text-color);
  font-weight: 300;
  text-decoration: underline;
  -webkit-text-decoration-skip: objects;
          text-decoration-skip: objects;
}

.work p,
.work span {
  font-size: 1.25rem;
  font-weight: 250;
  letter-spacing: 0.5px;
}

.main-tool-bar {
  height: 3.5rem;
  z-index: 20;
  background: var(--primary-blur);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: var(--primary-color);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 96%;
  left: 2%;
  bottom: 1.5rem;
  border-radius: 0.5rem;
  margin: 0 auto;
  transition: none;
}
@media (min-width: 800px) {
  .main-tool-bar {
    transition: width 0.3s ease 0.2s, left 0.3s ease 0.2s;
  }
}
.main-tool-bar--scrolled {
  height: 3.5rem;
}
@media (min-width: 800px) {
  .main-tool-bar--scrolled {
    width: 120px !important;
    left: calc(50% - 60px) !important;
    transform: none !important;
    transition: width 0.3s ease 0.2s, left 0.3s ease 0.2s;
  }
  .main-tool-bar--scrolled:hover {
    width: 90% !important;
    left: 5% !important;
    transition: width 0.3s ease 0.2s, left 0.3s ease 0.2s;
  }
  .main-tool-bar--scrolled:hover nav .site-nav li {
    opacity: 1;
    transition: opacity 0.25s ease 0.5s;
    pointer-events: auto;
  }
  .main-tool-bar--scrolled:hover::after {
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .main-tool-bar--scrolled nav .site-nav li {
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
  }
  .main-tool-bar--scrolled::after {
    content: "Menu";
    position: absolute;
    color: var(--primary-color);
    font-weight: 500;
    opacity: 1;
    transition: opacity 0.25s ease 0.5s;
    pointer-events: none;
  }
}
.main-tool-bar:has(.sidebar__trigger:checked) {
  height: 80vh;
}
.main-tool-bar:has(.sidebar__trigger:checked) nav ul {
  flex-direction: column;
  height: 60vh;
  height: -webkit-fill-available;
}
@media (min-width: 800px) {
  .main-tool-bar:has(.sidebar__trigger:checked) nav ul {
    flex-direction: row;
    height: unset;
  }
}
.main-tool-bar:has(.sidebar__trigger:not(:checked)) {
  width: 8.5rem;
  left: calc(-8.5rem + 96%);
  height: 3.5rem;
}
.main-tool-bar:has(.sidebar__trigger:not(:checked)) nav ul {
  display: flex;
  flex-direction: row;
  height: unset;
}
@media (min-width: 800px) {
  .main-tool-bar {
    height: 3.5rem;
    width: 90%;
    bottom: 2rem;
    left: 5%;
  }
  .main-tool-bar:has(.sidebar__trigger:not(:checked)):not(.main-tool-bar--scrolled) {
    width: 90%;
    left: 5%;
  }
  .main-tool-bar:has(.sidebar__trigger:checked) {
    width: 90% !important;
    height: 3.5rem;
    left: 5% !important;
    transform: none !important;
  }
  .main-tool-bar:has(.sidebar__trigger:checked) nav ul {
    flex-direction: row;
  }
  .main-tool-bar:has(.sidebar__trigger:checked) nav .site-nav li {
    opacity: 1 !important;
  }
  .main-tool-bar:has(.sidebar__trigger:checked)::after {
    display: none !important;
  }
}

.sidebar__trigger {
  display: none;
}
.sidebar__trigger:checked + label > .sidebar__button-open {
  display: none;
}
.sidebar__trigger:checked + label > .target-menu ul.menu-wrap li.menu-items {
  transform: rotate(45deg) translateZ(0);
}
.sidebar__trigger:checked + label > .target-menu ul.menu-wrap li.menu-items:last-child {
  transform: rotate(-45deg) translateZ(0);
}
.sidebar__trigger:not(:checked) ~ nav.sidebar {
  transform: translateY(-150vh);
}
.sidebar__trigger:checked + label > .target-menu {
  right: 5vw;
  top: 2rem;
  left: unset;
}
.sidebar__trigger:checked + label > .target-menu:hover {
  cursor: pointer;
}
.sidebar__trigger:checked + label > .target-menu::before {
  content: " ";
}
.sidebar__trigger:not(:checked) + label > .target-menu:hover {
  cursor: pointer;
}
.sidebar__trigger:not(:checked) + label > .target-menu::before {
  content: "Menu";
}

@media only screen and (min-width: 800px) {
  .sidebar__trigger:not(:checked) ~ nav.sidebar,
  .sidebar__trigger:checked ~ nav.sidebar {
    transform: translateX(0%);
    top: 0;
    background: transparent;
  }
}
/* hamburger menu */
.target-menu {
  display: flex;
  gap: 0.75rem;
  position: absolute;
  left: 1.5rem;
  top: 1rem;
  transition: 0.25s;
  color: var(--primary-color);
  z-index: 999;
}
@media only screen and (min-width: 800px) {
  .target-menu {
    display: none;
  }
}

.menu-wrap {
  width: 1.625em;
  height: 1.625em;
  list-style: none;
  padding: 0;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1), color 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform: translateZ(0);
  color: var(--primary-text-color);
}
.menu-wrap .menu-items {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  position: absolute;
  top: 50%;
  margin-top: -0.75px;
  transform: translateY(-3.75px) translateZ(0);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.menu-wrap .menu-items:last-child {
  transform: translateY(3.75px) translateZ(0);
}

.langswitcher {
  margin: 1rem 0 0 0 !important;
  padding: 0.5rem 0 0 0 !important;
  width: auto !important;
  display: flex;
  flex-direction: row !important;
  height: auto !important;
}
@media only screen and (min-width: 800px) {
  .langswitcher {
    margin: 0 !important;
    padding: 0 !important;
  }
}
.langswitcher li {
  font-size: 100% !important;
  width: auto !important;
}
.langswitcher li a {
  top: 0rem;
  position: relative;
}
.langswitcher li a.active {
  display: block !important;
}
@media only screen and (min-width: 800px) {
  .langswitcher li a.active {
    display: none !important;
  }
}
.langswitcher li:has(a.active) {
  display: block !important;
}
@media only screen and (min-width: 800px) {
  .langswitcher li:has(a.active) {
    display: none !important;
  }
}

nav.dropmenu {
  display: flex;
}

/* nav */
.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  width: 98%;
  margin: auto;
}
@media (min-width: 800px) {
  .navbar {
    flex-direction: row;
  }
}
.navbar .site-nav {
  display: flex;
  padding: 5vh 0;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.navbar .site-nav li {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  list-style-type: none;
  margin: 0 10px;
  transition: opacity 0.25s ease 0.5s;
}
.navbar .site-nav li:first-of-type {
  flex-grow: 1;
  justify-content: center;
}
@media (min-width: 800px) {
  .navbar .site-nav li {
    margin: 0 10px;
  }
  .navbar .site-nav li:not(.langswitcher li):first-of-type {
    flex-grow: 10;
    justify-content: flex-start;
    margin: 0;
  }
}
.navbar .site-nav li.active a {
  color: var(--highlight-color);
}
.navbar li a {
  padding: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 140%;
  text-wrap: nowrap;
}
@media (min-width: 800px) {
  .navbar li a {
    text-transform: none;
    font-size: 90%;
  }
}
.navbar li a:hover, .navbar li a.active {
  color: var(--highlight-color);
}
.navbar .logo-header {
  width: 35vw;
  margin: 0 auto;
}
@media (min-width: 800px) {
  .navbar .logo-header {
    display: block;
    width: 100px;
  }
}

.revealContainer {
  background-color: var(--body);
}
.revealContainer img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform-origin: top center;
  border-radius: var(--radius);
}
.revealContainer .reveal-left,
.revealContainer .reveal-right {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  visibility: hidden;
}

/* Text reveal  */
#smooth-content {
  will-change: transform;
}

.split {
  margin: auto;
}

.mask {
  width: 100%;
  height: 115%;
  position: absolute;
  background: #ffffff;
  left: 0;
  top: 0;
  opacity: 0.78;
}

/* Style the video: 100% width and height to cover the entire window */
.fullscreen-bg__video {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.videoBlock {
  aspect-ratio: 16/9;
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}
@media (min-width: 800px) {
  .videoBlock {
    min-height: 50vh;
  }
}
.videoBlock .videoTitle {
  z-index: 2;
  /* opacity: 0; */
  text-align: center;
  max-width: 90%;
}
.videoBlock .videoTitle h1 {
  color: var(--primary-color);
  font-size: clamp(2.5rem, 6vw, 7.5rem);
  margin-bottom: 1rem;
}
.videoBlock .overlay {
  position: absolute;
  opacity: 0.8;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-text-color);
}

.form-form label {
  display: block;
  padding: 0.75rem 0 0.2rem 0;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  line-height: 1.75;
}

.form-form select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: relative;
}

.form-form input,
.form-form textarea,
.form-form select {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background-color: var(--body);
  border: none;
  border: 1px solid var(--grey-100);
  outline: none;
  border-radius: 0.33rem;
  color: var(--grey-600);
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.75;
}

.custom-select {
  position: relative;
}
.custom-select .form-field {
  margin-top: 1rem;
}

.custom-select::after {
  --size: 0.3rem;
  position: absolute;
  content: "";
  right: 1.5rem;
  pointer-events: none;
}

.custom-select::after {
  border-left: var(--size) solid transparent;
  border-right: var(--size) solid transparent;
  border-top: var(--size) solid black;
  top: 1.66rem;
}

.form-form input:focus,
.form-form textarea:focus {
  background-color: var(--primary-color);
  color: var(--primary-text-color);
}

.form-form input:focus:required:invalid {
  border-color: var(--color-pink);
  background-color: var(--primary-color);
}

.form-spacer {
  margin-bottom: 2rem;
}

.form-alert {
  padding: 12px;
  border-radius: 10px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 400;
  margin-top: 12px;
  display: none;
}

.form-alert.visible {
  display: block;
}

.form-alert.success {
  background: #69cf9d;
}

.form-alert.error {
  background: #de524c;
}

.dz-button {
  background-color: var(--primary-color);
  border-bottom-style: none;
  border-bottom-width: 1px;
  border-image-source: none;
  border-image-width: 1;
  border-left-style: none;
  border-left-width: 1px;
  border-right-style: none;
  border-right-width: 1px;
  border-top-style: none;
  border-top-width: 1px;
  font-size: 0.9rem;
  color: var(--primary-text-color);
  padding-inline-end: 0.75rem;
  padding-inline-start: 0.75rem;
}

.contact {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: stretch;
  align-content: stretch;
  padding-bottom: 10vh;
}
@media (min-width: 800px) {
  .contact {
    flex-direction: row;
  }
}

.contact-title {
  z-index: 2;
  margin-bottom: 0rem !important;
}

.contact-details {
  width: 100%;
  z-index: 2;
  margin-top: 10vh;
}
@media (min-width: 800px) {
  .contact-details {
    width: 47.5%;
  }
}
.contact-details h2 {
  color: var(--primary-text-color);
}
.contact-details h2:first-of-type {
  font-size: clamp(1.5rem, 2vw, 3rem);
  color: var(--secondary-color);
  font-weight: 500;
}

.contact-bg {
  z-index: -1;
  display: block;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0%;
  min-height: 100%;
}
@media (min-width: 800px) {
  .contact-bg {
    display: block;
  }
}
.contact-bg::before {
  content: "";
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.baseGrid {
  z-index: 1;
  position: relative;
  min-height: 100vh;
  background: var(--primary-color);
}

.projectGrid {
  z-index: 1;
  position: relative;
  background: var(--primary-text-color);
}

.titleOver {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position-x: 100%;
}
@media (min-width: 800px) {
  .titleOver {
    background-size: 57.5% 100%;
  }
}

.project {
  box-shadow: 0px 80px 80px 0px rgba(0, 0, 0, 0.25);
}
.project .gallery-container {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary-color);
}
@media (min-width: 800px) {
  .project .gallery-container {
    display: flex;
    height: 100vh;
  }
}
.project .gallery {
  display: flex;
  flex-direction: column;
  gap: 32px;
  will-change: transform;
}
@media (min-width: 800px) {
  .project .gallery {
    flex-direction: row;
  }
}
.project .galleryPadding {
  width: 5vw; /* Adds space before the first image and after the last image */
  flex-shrink: 0;
}
.project .imgHolder {
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 800px) {
  .project .imgHolder {
    height: 90vh;
    width: auto;
  }
}
.project .imgHolder img {
  height: auto;
  width: 90vw;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.25rem;
  max-width: none; /* Prevent unwanted resizing */
}
@media (min-width: 800px) {
  .project .imgHolder img {
    height: 90vh; /* Keep consistent height */
    width: auto; /* Ensure different widths */
  }
}

.projectsPageTitle {
  grid-column: wide;
  min-height: 40vh;
  padding: 1.5rem 0 0;
}
.projectsPageTitle h1 {
  text-transform: uppercase;
  font-size: clamp(2rem, 8vw, 8rem);
  line-height: 1;
  font-weight: 800;
  margin-bottom: 1rem;
}
.projectsPageTitle p {
  color: var(--primary-color);
}

.projects-section {
  grid-column: wide;
  position: relative;
  height: -moz-fit-content;
  height: fit-content;
  width: 100%;
}
.projects-section .projects {
  margin: 10px 0 10vh;
  scroll-snap-type: y proximity;
}
@media (min-width: 800px) {
  .projects-section .projects {
    width: 37.5%;
    margin: 10px 0 30vh;
  }
}
.projects-section .projects .rotator {
  list-style-type: none;
  padding-left: 0;
}
.projects-section .projects .rotator .rotator_item {
  scroll-snap-align: start;
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  font-size: clamp(30px, 8vw, 60px);
  border-bottom: 1px dotted var(--grey-300);
  cursor: pointer;
}
.projects-section .projects .rotator .rotator_item > a span,
.projects-section .projects .rotator .rotator_item > span {
  color: var(--primary-color);
  display: inline-block;
  font-size: clamp(1.2rem, 9.25vw, 6rem);
  line-height: 1.25;
  font-weight: 700;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  width: 100%;
  padding: 2rem 0px;
  margin: 1rem 0;
}
@media (min-width: 800px) {
  .projects-section .projects .rotator .rotator_item > a span,
  .projects-section .projects .rotator .rotator_item > span {
    color: var(--primary-text-color);
    font-size: clamp(1.25rem, 1.5vw, 3rem);
    width: 85%;
    padding: 4rem 0;
    margin: 0;
  }
}
.projects-section .projects .rotator .banner {
  position: fixed;
  height: 100vh;
  width: 100%;
  top: 0;
  right: 0;
  z-index: -1;
  transform: translate(0%, 0%);
  background-color: var(--grey-100);
}
@media (min-width: 800px) {
  .projects-section .projects .rotator .banner {
    width: 57.5%;
  }
}
.projects-section .projects .rotator .bannerImg {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100vh;
  width: 100%;
  transition: opacity 0.2s ease-in-out;
  opacity: 0.75;
}
@media (min-width: 800px) {
  .projects-section .projects .rotator .bannerImg {
    opacity: 1;
  }
}

.description {
  max-width: 1140px;
  padding: 3rem 0 1rem;
}
.description p {
  color: var(--grey-300);
}

.spec {
  color: var(--primary-color);
  border-bottom: 1px dotted var(--highlight-hover);
  padding: 0.5rem 0 1.5rem;
}
.spec:nth-child(even) {
  padding: 0rem 0 1rem;
}
.spec:nth-child(odd) {
  font-size: 85%;
  text-transform: uppercase;
  color: var(--grey-500);
  padding: 0.5rem 0 0;
  border-bottom: none;
}
@media (min-width: 800px) {
  .spec:nth-child(even) {
    padding: 0.5rem 0 1.5rem;
  }
  .spec:nth-child(odd) {
    font-size: 100%;
    color: var(--grey-400);
    padding: 0.5rem 0 1.5rem;
    border-bottom: 1px dotted var(--highlight-hover);
  }
}

.specs {
  margin: 2rem auto 0;
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 800px) {
  .specs {
    margin: 4rem auto 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Filters */
.floating-filter {
  position: sticky;
  top: 0;
  width: 100%;
  margin-top: 1rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 12px 12px;
  border-radius: 0.35rem;
  z-index: 2;
}
@media (min-width: 800px) {
  .floating-filter {
    padding: 0px 0px;
    width: -moz-fit-content;
    width: fit-content;
  }
}
.floating-filter ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0px;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.floating-filter .filter-btn {
  text-decoration: none;
  color: var(--primary-color);
  background: transparent;
  border: none;
  padding: 8px 0px;
  cursor: pointer;
  border-radius: 0.5rem;
  font-size: 90%;
  text-transform: uppercase;
  letter-spacing: 0.02rem;
  display: block;
}
@media (min-width: 800px) {
  .floating-filter .filter-btn {
    padding: 4px 0px;
    font-size: 84%;
    color: var(--grey-600);
  }
}
.floating-filter .filter-btn:not(:hover) {
  opacity: 0.7;
  transition: opacity 0.3s;
}
@media (min-width: 800px) {
  .floating-filter .filter-btn:not(:hover) {
    opacity: 0.4;
  }
}
.floating-filter .filter-btn:hover {
  background: transparent;
  color: var(--primary-color);
  opacity: 1;
  transition: opacity 0.3s;
}
@media (min-width: 800px) {
  .floating-filter .filter-btn:hover {
    background: transparent;
    color: var(--light-blue);
  }
}
.floating-filter .filter-btn.active {
  color: var(--primary-text-color);
  font-weight: 600;
  opacity: 1;
  transition: opacity 0.3s;
}
@media (min-width: 800px) {
  .floating-filter .filter-btn.active {
    color: var(--light-blue);
  }
}
.floating-filter .filter-btn.active:hover {
  background: transparent;
}

.outputs {
  display: none;
}

.careers-form {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: stretch;
  align-content: stretch;
  padding-bottom: 10vh;
}
@media (min-width: 800px) {
  .careers-form {
    flex-direction: row;
  }
}

.careers-container {
  margin-bottom: 10vh;
}

.careers-form-bg {
  z-index: -1;
  display: none;
  background: url("../images/hero-careers-form.webp?v.001");
  background-position: center;
  background-size: cover;
  width: 47.5%;
  position: fixed;
  top: 0;
  left: 52.5%;
  min-height: 100%;
}
@media (min-width: 800px) {
  .careers-form-bg {
    display: block;
  }
}

.careers-form-title {
  z-index: 2;
  margin-bottom: 0rem !important;
}

.careers-form-details {
  width: 100%;
  z-index: 2;
}
@media (min-width: 800px) {
  .careers-form-details {
    width: 47.5%;
  }
}
.careers-form-details p {
  color: var(--primary-text-color);
  margin-top: 1rem;
}

.aboutNav {
  display: flex;
  gap: 2rem;
  padding: 2rem 0 7.5vh 0;
  flex-direction: column;
}
@media (min-width: 800px) {
  .aboutNav {
    flex-direction: row;
  }
}
.aboutNav a {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
}

.aboutPageTitle {
  grid-column: wide;
  padding: 0.5rem 0 10vh;
}
.aboutPageTitle h1 {
  color: var(--primary-text-color);
  font-size: clamp(2rem, 8vw, 8rem);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  margin: 1.5rem 0 0;
}
.aboutPageTitle h3 {
  max-width: 100%;
}
@media (min-width: 800px) {
  .aboutPageTitle h3 {
    max-width: 60%;
  }
}

.about-intro-text {
  padding: 2.5vh 0;
  grid-column: wide;
}
@media (min-width: 800px) {
  .about-intro-text {
    padding: 7.5vh 0 0;
    margin: 0;
  }
}

.about-team-image {
  padding: 2rem 0 0;
  max-height: 65vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-team-image img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.team_members {
  padding: 0;
  margin: 0;
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column; /* Stack items vertically by default */
  align-items: center;
  overflow: hidden;
}
@media (min-width: 800px) {
  .team_members {
    flex-direction: row;
    height: 100vh;
  }
}

.team_members_gallery {
  display: flex;
  flex-direction: column; /* Stack items vertically on mobile */
  gap: 32px;
  will-change: transform;
}
@media (min-width: 800px) {
  .team_members_gallery {
    flex-direction: row; /* Align items horizontally on desktop */
    flex-wrap: nowrap; /* Prevent wrapping */
  }
}

.team_member {
  position: relative;
  max-width: 85vw;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  justify-content: space-between;
}
.team_member::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 1;
}
@media (min-width: 800px) {
  .team_member {
    width: 100%;
    max-width: 60vw;
    flex-direction: row;
    padding: 0;
    background-color: var(--grey-100);
  }
}
.team_member .content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: calc(100% - 4rem);
}
.team_member .team_member_image {
  position: relative;
  z-index: 0;
  width: 100%;
  max-height: 100%;
  margin-bottom: 0;
  background-color: var(--grey-100);
}
@media (min-width: 800px) {
  .team_member .team_member_image {
    width: 100%;
    margin-bottom: 0;
  }
}
.team_member img {
  max-width: none;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  aspect-ratio: 3/4;
  display: block;
}

.leaders {
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  width: 98vw;
  margin: 0 auto;
  padding-left: calc(0.5vw + 32px);
}
@media (min-width: 800px) {
  .leaders {
    width: 92vw;
    margin: 10vh 0 5vh;
    padding-left: calc(5.5vw + 32px);
  }
}

.member_names {
  line-height: 1.1;
  font-weight: 800;
  color: var(--primary-color);
  text-transform: uppercase;
  margin: 0 0 1rem;
  padding-left: 0;
}
.galleryPadding {
  width: 5.5vw;
  flex-shrink: 0;
}

.history {
  padding: 10vh 0;
}

.historyTitle {
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  width: 80vw;
  margin: 0 auto;
}
@media (min-width: 800px) {
  .historyTitle {
    width: 88vw;
    padding: 10vh 0 10vh;
  }
}

.year {
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}

.yearTitle {
  font-size: 200%;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}

.sectionPin {
  width: 100%;
  height: 100vh;
}

.wrapper_about {
  height: auto;
  display: flex;
  background-color: transparent;
}

.column {
  background-color: transparent;
}

.col_left {
  width: 80vw;
  margin: 0 auto;
  padding: 4vh 0vh 1.5rem;
  position: sticky;
  top: 0;
  align-self: start;
  background: var(--primary-color);
}
@media (min-width: 800px) {
  .col_left {
    width: 40vw;
    padding: 10vh 10vh 1.5rem;
    background: transparent;
  }
}

.col_right {
  width: 80vw;
  margin: 0 auto;
  background-color: transparent;
  padding: 0vh 0;
}
@media (min-width: 800px) {
  .col_right {
    padding: 5vh 0;
    width: 60vw;
  }
}

.years_container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.year_visual {
  width: 100%;
  height: 50vh;
  overflow: hidden;
  background-color: var(--grey-100);
  margin-bottom: 2rem;
}
.year_visual:first-child {
  height: auto;
  padding: 2vh 0vh 0vh 0;
  background-color: transparent;
}
@media (min-width: 800px) {
  .year_visual:first-child {
    padding: 6vh 10vh 0vh 0;
  }
}
.year_visual:last-child {
  margin-bottom: 10vh;
}
@media (min-width: 800px) {
  .year_visual:last-child {
    margin-bottom: 0;
  }
}
@media (min-width: 800px) {
  .year_visual {
    width: 100%;
    height: 65vh;
    background-color: var(--grey-100);
    margin-bottom: 4rem;
  }
}
.year_visual h3 {
  margin-bottom: 0;
}
.year_visual img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 50vh;
}
@media (min-width: 800px) {
  .year_visual img {
    height: 65vh;
  }
}

/* Default layout for larger screens */
.sectionPin.wrapper_about {
  display: block;
  width: 100%;
}
@media (min-width: 800px) {
  .sectionPin.wrapper_about {
    display: flex;
  }
}

.message {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--grey-100);
  padding: 1rem;
  text-align: center;
}
.message .title {
  font-weight: 500;
  margin: 0;
}

html,
body {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  position: relative;
}

html {
  height: -webkit-fill-available;
}

.stagger,
.staggerOnce {
  visibility: hidden;
}

.site-main {
  position: relative;
  min-height: 200vh;
  z-index: 10;
}

.grid {
  display: grid;
  grid-template-columns: [full-start] minmax(2rem, 1fr) [wide-start] minmax(5vw, 40px) [normal-start] minmax(auto, 1440px) [normal-end] minmax(5vw, 40px) [wide-end] minmax(2rem, 1fr) [full-end];
  grid-auto-rows: auto;
}
@media (min-width: 800px) {
  .grid {
    grid-template-columns: [full-start] minmax(4rem, 1fr) [wide-start] minmax(5vw, 40px) [normal-start] minmax(auto, 1440px) [normal-end] minmax(5vw, 40px) [wide-end] minmax(4rem, 1fr) [full-end];
  }
}
.grid.empty {
  min-height: 100dvh;
}

.grid-10 {
  display: grid;
  grid-template-columns: [full-start] minmax(2rem, 1fr) [wide-start] repeat(10, 1fr) [wide-end] minmax(2rem, 1fr) [full-end];
  grid-auto-rows: auto;
}
@media (min-width: 800px) {
  .grid-10 {
    grid-template-columns: [full-start] minmax(4rem, 1fr) [wide-start] repeat(10, 1fr) [wide-end] minmax(4rem, 1fr) [full-end];
  }
}
.grid-10.empty {
  min-height: 100dvh;
}

.header-logo {
  width: 20vw;
  margin-top: 2rem;
  grid-column: wide;
}
@media (min-width: 800px) {
  .header-logo {
    width: 7.5vw;
  }
}

.megaTitle {
  display: flex;
  flex-direction: column;
  border: none;
  overflow: hidden;
  grid-column: wide;
}
@media (min-width: 800px) {
  .megaTitle {
    grid-column: 3/11;
  }
}
.megaTitle ul {
  margin: 0;
  padding: 0;
}
.megaTitle li {
  overflow: hidden;
  align-items: center;
}
.megaTitle li .word {
  color: var(--primary-color);
  transform: translateY(125%);
}
.megaTitle li h2 {
  margin-bottom: 0;
}
.megaTitle .reveal {
  color: var(--primary-color);
  transform: translateY(135%);
}

section {
  position: relative;
  width: 100%;
  margin: auto;
  padding: 5vh 0 0;
  grid-column: full;
}
section section {
  padding: 0 0 0;
}
@media (min-width: 800px) {
  section {
    padding: 10vh 0 0;
  }
}
section.default {
  min-height: 100vh;
  grid-column: wide;
}
section.slim {
  padding: 5vh 0 0;
}
section.flush {
  padding: 0;
}
section.normal {
  grid-column: normal;
}
section.wide {
  grid-column: wide;
}
section.home {
  height: 25vh;
  grid-column: full;
  padding: 1rem 2vw 0;
  display: flex;
  align-items: center;
  max-width: 100%;
  background-color: var(--primary-color);
}
@media (min-width: 800px) {
  section.home {
    padding: 0 5vw;
    margin: 0 auto;
    height: 50vh;
  }
}
section.home .title_letters {
  display: flex;
  flex-direction: column; /* Stack letters and sub-logo */
  align-items: center; /* Center the letters */
  width: min(100vw, 100%); /* Never exceed 80vw, but fit 
smaller screens */
  /* max-width: 1440px;  Ensures container doesn't exceed 1440px */
}
@media (min-width: 800px) {
  section.home .title_letters {
    width: min(90vw, 100%);
  }
}
section.home .title_letters .letters {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping */
  justify-content: center; /* Keep letters centered */
  gap: 0.2vw; /* Space between letters */
  max-width: 100%; /* Prevents overflow */
  overflow: hidden; /* Ensures no scrolling issues */
}
section.home .title_letters .letters img {
  transform: translateY(175%);
}
section.home .title_letters .sub-logo {
  overflow: hidden; /* Ensures no scrolling issues */
  align-self: start; /* Aligns sub-logo to the left */
  width: 42%;
  max-width: 600px; /* Optional: set max-width if you want to restrict the size */
  height: auto;
}
section.home .title_letters .sub-logo img {
  align-self: flex-start; /* Aligns sub-logo to the left */
  margin-top: 4px;
  transform: translateY(175%);
}
@media (min-width: 800px) {
  section.home .title_letters .sub-logo img {
    margin-top: 10px;
  }
}
section.intro {
  grid-column: full;
  padding: 10vh 0;
}
section.intro .intro-text {
  padding: 2.5vh 0;
  grid-column: wide;
}
@media (min-width: 800px) {
  section.intro .intro-text {
    padding: 7.5vh 0 0;
    margin: 0;
  }
}
section.intro .keypoints {
  margin: 7.5vh 0;
  grid-column: wide;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: 2vw;
  list-style: none;
  /* overflow-x: hidden; */
}
@media (min-width: 800px) {
  section.intro .keypoints {
    flex-direction: row;
    padding: 0 0 7.5vh;
  }
}
section.intro .keypoints li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  width: 100%;
  min-height: 15vh;
  border: 1px solid var(--grey-200);
  background-color: transparent;
}
section.intro .keypoints li h2 {
  font-size: 625%;
  color: var(--primary-text-hover);
}
section.intro .keypoints li p {
  color: var(--primary-text-hover);
}
@media (min-width: 800px) {
  section.intro .keypoints li {
    min-height: 35vh;
  }
}
section.project_title {
  min-height: 50vh;
  grid-column: wide;
  align-items: center;
  padding-bottom: 10vh;
  width: 100%;
}
section.project_title .megaTitle {
  z-index: 2;
  grid-row: 1;
  grid-column: 2/12;
}
section.project_title ul li:nth-child(1) {
  align-self: start;
}
section.project_title ul li:nth-child(2) {
  align-self: end;
}
@media (min-width: 800px) {
  section.project_title ul li:nth-child(1) {
    align-self: start;
  }
  section.project_title ul li:nth-child(2) {
    align-self: end;
  }
}
section.project_title ul li span {
  color: var(--highlight-color);
}
section .fade-in {
  opacity: 0;
}
section .container {
  grid-column: full;
  /* border-bottom: 1px dotted var(--grey-300);
  background-color: var(--primary-color);*/
  padding: 0 0 5vh 0;
  align-items: baseline;
  background-color: var(--primary-color);
}
@media (min-width: 800px) {
  section .container {
    padding: 0 0 15vh 0;
  }
}
section .container:last-of-type {
  padding: 0;
  background-color: var(--primary-color);
}
section .container .sticky_text {
  z-index: 2;
  grid-column: wide;
  position: relative;
  top: 0;
  padding: 5vh 0 0;
  align-self: start;
  color: var(--primary-text-color);
}
@media (min-width: 800px) {
  section .container .sticky_text {
    grid-column: 8/full-end;
    grid-row: 1;
    position: sticky;
    padding: 4.25vw 5vw 5vw;
    background-color: var(--primary-color);
  }
}
section .container .sticky_text h2 {
  color: var(--primary-text-color);
}
section .container .sticky_text p {
  color: var(--primary-text-color);
  margin: 1rem 0 2rem;
}
@media (min-width: 800px) {
  section .container .sticky_text p {
    margin: 1rem 0 2rem;
  }
}
section .container .sticky_text .button {
  color: var(--primary-text-color);
  border: 1px solid var(--highlight-color);
}
section .container .sticky_text .button:hover {
  color: var(--primary-color);
}
section .container .sticky_text .megaTitle li .word {
  color: var(--primary-text-color);
}
section .container .images {
  grid-column: wide;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  grid-gap: 5vh;
}
@media (min-width: 800px) {
  section .container .images {
    grid-column: full;
    grid-row: 1;
    padding: 0 0;
  }
}
section .container .images .fade-in {
  overflow: hidden;
}
section .container .images .fade-in img {
  width: 100%;
  height: 40vh;
  /* aspect-ratio: 4/3; */
  /* aspect-ratio: 1; */
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
}
@media (min-width: 800px) {
  section .container .images .fade-in img {
    height: 90vh;
  }
}
section .container .callToAction {
  grid-column: wide;
  position: relative;
  top: 0;
  padding: 5vh 0 10vh;
  align-self: start;
  color: var(--primary-text-color);
}
@media (min-width: 800px) {
  section .container .callToAction {
    grid-column: 2/10;
    padding: 0 0 15vh 0;
  }
}
section .container .callToAction h2 {
  color: var(--primary-color);
}
section .container .callToAction h2 a {
  transition: all 0.15s;
  text-decoration: none;
  color: var(--primary-text-color);
}
section .container .callToAction h2 a:hover {
  color: var(--secondary-color);
}
section.titlePad {
  padding-bottom: 0;
}
section.services {
  padding-bottom: 15vh;
  grid-column: full;
}
section.services .intro-text {
  grid-column: wide;
}
@media (min-width: 800px) {
  section.services .intro-text {
    grid-column: wide;
  }
}
section.services .services-list {
  display: flex;
  flex-direction: column;
  border: none;
}
section.services .services-list ul {
  margin: 0;
  padding: 0;
}
section.services .services-list li {
  overflow: hidden;
  border-bottom: 1px dotted var(--highlight-hover);
  padding: 1rem 0;
}
section.services .services-list li .content {
  display: flex;
  align-items: center;
}
section.services .services-list li .content.word, section.services .services-list li .content.reveal {
  color: var(--primary-text-color);
  transform: translateY(135%);
}
section.services .services-list li .content h2 {
  color: var(--primary-color);
  margin-bottom: 0;
}
section.services .services-list li:first-child {
  border-top: 1px dotted var(--highlight-hover);
}
section.services .services-list li:nth-child(3n+1) .content {
  justify-content: start;
}
section.services .services-list li:nth-child(3n+2) .content {
  justify-content: center;
}
section.services .services-list li:nth-child(3n) .content {
  justify-content: end;
}
section.services .services-list {
  grid-column: wide;
}
@media (min-width: 800px) {
  section.services .services-list {
    grid-column: wide;
  }
}
section.services a {
  color: var(--primary-color);
}
section.services a:hover {
  color: var(--secondary-color);
}

.defaultPage {
  position: relative;
  z-index: 1;
  background-color: var(--primary-color);
}

.defaultPageTitle {
  grid-column: wide;
  padding: 1.5rem 0 0;
}
.defaultPageTitle h1 {
  color: var(--primary-text-color);
  text-transform: uppercase;
  font-size: clamp(2rem, 8vw, 8rem);
  line-height: 1;
  font-weight: 800;
  margin-bottom: 1rem;
}

.pageTitle {
  grid-column: wide;
  min-height: 60vh;
  padding: 1.5rem 0 0;
}
@media (min-width: 800px) {
  .pageTitle {
    min-height: 90vh;
  }
}
.pageTitle h1 {
  color: var(--primary-color);
  font-size: clamp(2rem, 8vw, 8rem);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.pageTitle p {
  color: var(--primary-color);
}

.pageGrid {
  z-index: 2;
  background-color: var(--primary-color);
  position: relative;
}

.projectPageTitle {
  grid-column: wide;
  min-height: 50vh;
  padding: 1.5rem 0 0;
}
.projectPageTitle h1 {
  color: var(--primary-color);
  font-size: clamp(2rem, 8vw, 8rem);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.projectPageTitle p {
  color: var(--primary-color);
}

.project-navigation img {
  position: relative;
}
.project-navigation span {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  height: auto;
  width: 70%;
}
@media (min-width: 800px) {
  .project-navigation span {
    height: 70vh;
  }
}

.next-project {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.next-project:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(0.75rem);
          backdrop-filter: blur(0.75rem);
}

.next-project-text {
  z-index: 3;
  margin-bottom: 10px;
  text-align: center;
}
.next-project-text h2,
.next-project-text h6 {
  color: var(--primary-text-color);
  max-width: 75vw;
  overflow: hidden;
  text-align: left;
}

/* careers */
.roles-details {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.roles-details > div {
  border-bottom: 1px var(--highlight-hover) dotted;
  font-size: 200%;
  width: 100%;
}
.roles-details > div:last-of-type {
  margin-bottom: 12.5vh;
}
.roles-details > div a {
  text-decoration: none;
  width: 100%;
  padding: 5vh 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: all 0.2s;
}
.roles-details > div a:hover {
  padding: 5vh 2vw;
  background-color: var(--primary-text-hover);
}
.roles-details > div:first-child {
  padding: 5vh 0 0;
}
.roles-details h3 {
  color: var(--secondary-color);
  margin: 0;
  text-transform: uppercase;
  font-weight: 800;
}
.roles-details i {
  color: var(--secondary-color);
}

.role {
  position: relative;
  min-height: 100vh;
  padding: 2.5vh 0 10vh;
}
@media (min-width: 800px) {
  .role {
    padding: 5vh 0 10vh;
  }
}
.role:last-of-type {
  padding-bottom: 10vh;
}
.role .sticky_bloc {
  grid-column: wide;
  position: relative;
  top: 0;
  padding: 5vh 0 0;
  align-self: start;
  color: var(--primary-text-color);
}
.role .sticky_bloc h2 {
  text-transform: uppercase;
  font-weight: 800;
  color: var(--secondary-color);
}
.role .sticky_bloc h2:before {
  content: "Role";
  border-bottom: 1px dotted var(--highlight-color);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: var(--primary-text-color-faded);
  position: relative;
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.05rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0rem 1.33rem;
}
@media (min-width: 800px) {
  .role .sticky_bloc {
    grid-column: wide-start/6;
    position: sticky;
    padding: 0;
    top: 15vh;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
  }
}
.role .scroll_bloc {
  grid-column: wide;
  position: relative;
  top: 0;
  padding: 5vh 0 0;
  align-self: start;
  color: var(--primary-text-color);
}
@media (min-width: 800px) {
  .role .scroll_bloc {
    grid-column: 6/wide-end;
    padding: 5vh 0 0vh 7.5vh;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 5vh;
  }
}
.role .scroll_bloc p {
  font-size: 1.1rem;
}
.role .scroll_bloc ul {
  margin: 0;
  padding: 0;
  overflow: hidden;
  padding: 0vh 0vh 5vh;
}
@media (min-width: 800px) {
  .role .scroll_bloc ul {
    padding: 0vh;
  }
}
.role .scroll_bloc li {
  overflow: hidden;
  border-bottom: 1px var(--highlight-color) dotted;
  font-size: 200%;
  padding: 5vh 0;
}
.role .scroll_bloc li:first-of-type {
  padding: 0.75rem 0 5vh 0;
}
.role .scroll_bloc li:first-of-type h3 {
  font-size: 80%;
}
@media (min-width: 800px) {
  .role .scroll_bloc li:first-of-type h3 {
    font-size: 110%;
  }
}
.role .scroll_bloc li:first-of-type p {
  font-size: 75%;
}
.role .scroll_bloc li:last-of-type {
  border-bottom: none;
  padding: 5vh 0 0;
}
.role .scroll_bloc li h3 {
  overflow: hidden;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
@media (min-width: 800px) {
  .role .scroll_bloc li h3 {
    line-height: 1.5;
  }
}
.role .scroll_bloc li i {
  color: var(--secondary-color);
}
.role .scroll_bloc li p {
  font-size: 1rem;
}
@media (min-width: 800px) {
  .role .scroll_bloc li p {
    font-size: 1.1rem;
  }
}
.role .button {
  color: var(--primary-text-color);
  border: 1px solid var(--highlight-color);
}
.role .button:hover {
  color: var(--primary-color);
}

.unsolicited {
  border-top: 1px dotted var(--primary-text-color-faded);
  display: grid;
  grid-column: wide;
  padding: 7.5vh 0 0;
  margin: 5vh auto 12.5vh;
}
.unsolicited h2 {
  text-transform: uppercase;
  font-weight: 800;
  color: var(--secondary-color);
}

/* Services */
.servicesGrid,
.splitGrid {
  z-index: 1;
  background-color: var(--primary-text-color);
  position: relative;
}

.servicesGrid.hero,
.splitGrid.hero {
  min-height: auto;
  background-color: var(--primary-text-color);
  background: url("../images/hero-services.webp?v.002");
  background-size: cover;
  background-position: center;
}
@media (min-width: 800px) {
  .servicesGrid.hero,
  .splitGrid.hero {
    min-height: 100vh;
  }
}

.splitGrid.hero {
  background: url("../images/hero-careers.webp?v.001");
  background-size: cover;
  background-position: center;
}

.services-details {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.services-details > div {
  border-bottom: 1px var(--highlight-hover) dotted;
  font-size: 200%;
  width: 100%;
}
.services-details > div:last-of-type {
  margin-bottom: 12.5vh;
}
.services-details > div a {
  text-decoration: none;
  width: 100%;
  padding: 5vh 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: all 0.2s;
}
.services-details > div a:hover {
  padding: 5vh 2vw;
  background-color: var(--primary-text-hover);
}
.services-details > div:first-child {
  padding: 5vh 0 0;
}
.services-details h3 {
  color: var(--secondary-color);
  margin: 0;
  text-transform: uppercase;
  font-weight: 800;
}
.services-details i {
  color: var(--secondary-color);
}

.service {
  position: relative;
  min-height: 100vh;
  padding: 2.5vh 0 10vh;
  /*border-bottom: 1px var(--primary-text-color-faded) dotted;*/
}
@media (min-width: 800px) {
  .service {
    padding: 5vh 0 10vh;
  }
}
.service:last-of-type {
  padding-bottom: 10vh;
}
.service .sticky_bloc {
  grid-column: wide;
  position: relative;
  top: 0;
  padding: 5vh 0 0;
  align-self: start;
  color: var(--primary-text-color);
}
.service .sticky_bloc h2 {
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 0;
  color: var(--secondary-color);
}
.service .sticky_bloc h2:before {
  content: "Service";
  border-bottom: 1px dotted var(--highlight-color);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: var(--primary-text-color-faded);
  position: relative;
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.05rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0rem 1.33rem;
}
@media (min-width: 800px) {
  .service .sticky_bloc {
    grid-column: wide-start/5;
    position: sticky;
    padding: 0;
    top: 20vh;
  }
}
.service .scroll_bloc {
  grid-column: wide;
  position: relative;
  top: 0;
  padding: 5vh 0 0;
  align-self: start;
  color: var(--primary-text-color);
}
@media (min-width: 800px) {
  .service .scroll_bloc {
    grid-column: 6/wide-end;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 5vh;
  }
}
.service .scroll_bloc p {
  font-size: 1.1rem;
}
.service .scroll_bloc ul {
  margin: 0;
  padding: 0;
  overflow: hidden;
  padding: 0vh 0vh 5vh;
}
@media (min-width: 800px) {
  .service .scroll_bloc ul {
    padding: 0vh;
  }
}
.service .scroll_bloc li {
  overflow: hidden;
  border-bottom: 1px var(--highlight-color) dotted;
  font-size: 200%;
  padding: 5vh 0;
}
.service .scroll_bloc li:first-of-type {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.service .scroll_bloc li h3 {
  overflow: hidden;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
@media (min-width: 800px) {
  .service .scroll_bloc li h3 {
    line-height: 1.5;
  }
}
.service .scroll_bloc li i {
  color: var(--secondary-color);
}
.service .scroll_bloc li p {
  font-size: 1rem;
}
@media (min-width: 800px) {
  .service .scroll_bloc li p {
    font-size: 1.3rem;
  }
}

.titleHighlight {
  text-transform: uppercase;
  font-weight: 800;
  color: var(--secondary-color);
}

.line {
  overflow: hidden;
  position: relative;
  grid-column: full;
}

.logo {
  position: absolute;
  overflow: hidden;
  right: 2rem;
  bottom: 2rem;
}
.logo img {
  max-width: 30vw;
  min-width: 125px;
}
@media (min-width: 800px) {
  .logo img {
    max-width: 175px;
  }
}
@media (min-width: 800px) {
  .logo {
    right: 8rem;
    bottom: 6rem;
  }
}

.pre-footer {
  padding: 0;
  position: relative;
  height: 85vh;
  background: url("../images/pre-footer.webp");
  background-size: cover;
  background-position: center;
  box-shadow: 0px 80px 80px 0px rgba(0, 0, 0, 0.25);
}
@media (min-width: 800px) {
  .pre-footer {
    height: 150vh;
  }
}
.pre-footer .pre-footer-logo {
  position: sticky;
  top: 1rem;
  padding: 1rem;
}
@media (min-width: 800px) {
  .pre-footer .pre-footer-logo {
    padding: 4rem;
  }
}

footer,
.footer {
  z-index: 0;
  position: relative;
  background-color: var(--primary-text-color);
  color: var(--primary-color);
  padding: 5vh 0 7.5vh;
  display: grid;
  min-height: 90vh;
  flex-direction: row;
  /*
    &.light {
      background-color: var(--primary-color);
      color: var(--primary-text-color);
      .footer-cta {
        p {
          color: var(--highlight-color);
        }
        a {
          color: var(--primary-text-color);
        }
      }

      .footer-address {
        p {
          font-weight: 400;
          color: var(--primary-text-color);
          a {
            color: var(--primary-text-color);
          }
          &.copyright {
            font-size: 90%;
          }
        }
      }
    }
  */
}
@media (min-width: 800px) {
  footer,
  .footer {
    padding: 10vh 0 15vh;
  }
}
footer .footer-cta,
.footer .footer-cta {
  list-style: none;
  grid-column: wide;
  grid-row: 1;
}
footer .footer-cta p,
.footer .footer-cta p {
  font-size: clamp(3.5rem, 7vw, 8rem);
  line-height: 1.24;
  color: var(--primary-color);
}
footer .footer-cta a,
.footer .footer-cta a {
  font-size: clamp(3.5rem, 7vw, 8rem);
  line-height: 1.24;
  font-weight: 400;
  text-decoration: none;
  color: var(--highlight-color);
  transition: all 0.15s;
}
footer .footer-cta a:hover,
.footer .footer-cta a:hover {
  text-decoration: underline;
}
footer .footer-address,
.footer .footer-address {
  grid-column: wide;
  grid-row: 2;
  align-self: end;
}
footer .footer-address p,
.footer .footer-address p {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.5px;
}
@media (min-width: 800px) {
  footer .footer-address p,
  .footer .footer-address p {
    font-size: 1.25rem;
  }
}
footer .footer-address p.copyright,
.footer .footer-address p.copyright {
  font-size: 90%;
}
@media (min-width: 800px) {
  footer .footer-address,
  .footer .footer-address {
    grid-column: wide-start/9;
  }
}
footer .logo-footer,
.footer .logo-footer {
  grid-column: wide;
  align-self: end;
  grid-row: 3;
  max-width: 10vw;
  min-width: 125px;
}
@media (min-width: 800px) {
  footer .logo-footer,
  .footer .logo-footer {
    grid-column: 11/wide-end;
    align-self: end;
    grid-row: 2;
  }
}
footer .social,
.footer .social {
  margin: 0 0 2rem;
}
footer .social a,
.footer .social a {
  color: var(--highlight-color);
  text-decoration: none;
  font-size: 90%;
  padding: 0.25rem 0.5rem 0.25rem 0;
}
footer .social a:hover,
.footer .social a:hover {
  text-decoration: underline;
}

.footerScroll {
  z-index: 3;
  margin-top: auto;
  position: relative;
  background-color: var(--primary-text-color);
  color: var(--primary-color);
  padding: 5vh 0 7.5vh;
  display: grid;
  min-height: 90vh;
  flex-direction: row;
}
@media (min-width: 800px) {
  .footerScroll {
    padding: 10vh 0 15vh;
  }
}

.button {
  cursor: pointer;
  display: inline-block;
  color: var(--primary-text-color);
  text-decoration: none;
  border: 1px solid var(--primary-text-hover);
  border-radius: 0.2rem;
  background-color: transparent;
  padding: 1.2rem 1.5rem;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  margin: 1.5rem 0;
  font-weight: 300;
  font-style: normal;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  line-height: 1.75;
  transition: all 0.15s;
  text-align: center;
}
@media (min-width: 800px) {
  .button {
    margin: 1.5rem 0 0;
  }
}
.button:hover {
  color: var(--primary-color);
  background-color: var(--primary-text-hover);
}
.button.sticky {
  width: 100%;
  grid-column: main;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem;
  margin-top: 1.125rem;
  background-color: var(--primary-color);
  border: solid 1px var(--grey-200);
  color: var(--primary-text-color);
}
@media (min-width: 800px) {
  .button.sticky {
    padding: 1.25rem 1.25rem;
    align-items: center;
  }
}
.button.sticky svg {
  width: 32px;
}
.button.sticky p {
  margin: 0 0 0rem 0 !important;
}
@media (min-width: 800px) {
  .button.sticky p {
    margin: 0 0 0 0 !important;
  }
}
.button.sticky:hover {
  background-color: var(--difference-color-ring);
  border: solid 1px var(--difference-color-ring);
  color: var(--primary-color);
}
.button.sticky:hover .icon-arrow-right {
  stroke: var(--primary-color);
  stroke-width: 1.5;
}
.button.sticky .icon-arrow-right {
  stroke: var(--primary-text-color);
  stroke-width: 1.5;
}
.button.secondary {
  grid-column: main;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem 1.5rem;
  background-color: var(--primary-text-hover);
  border: solid 1px var(--primary-text-hover);
  color: var(--primary-color);
}
@media (min-width: 800px) {
  .button.secondary {
    flex-direction: row;
    padding: 1.5rem 2rem;
    align-items: center;
  }
}
.button.secondary p {
  margin: 0 0 1rem 0 !important;
}
@media (min-width: 800px) {
  .button.secondary p {
    margin: 0 0 0 0 !important;
  }
}
.button.secondary:hover {
  background-color: var(--primary-text-color);
  border: solid 1px var(--primary-text-color);
  color: var(--primary-color);
  padding: 1.5rem 1.5rem;
}
@media (min-width: 800px) {
  .button.secondary:hover {
    padding: 1.5rem 2.5rem;
  }
}
.button.secondary .icon-arrow-right {
  stroke: var(--primary-color);
  stroke-width: 1.5;
}

.form-feedback {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: 10vh auto;
}

.end {
  height: 1px;
  color: transparent;
}