@font-face {
  font-family: '29LTZeyn';
  src: url('/fonts/29LTZeyn-Regular.woff2') format('woff2'),
  url('/fonts/29LTZeyn-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

:root {
  --font-title: '29LTZeyn', serif;
  --font-paragraph: 'Poppins', sans-serif;

  --color-link: #212529;
  --color-link-hover: #000;

  --color-blue: #1338be;
  --color-blue-hover: #08164c;

  --content-max-width: 1600px;
  --content-max-width-narrow: 1200px;
}

html {
  font-family: var(--font-paragraph);
  font-size: 16px;
}

body {
  font-family: var(--font-paragraph);
}

header {
  position: relative;
}

h1, h2, h3 {
  font-family: var(--font-paragraph);
}

svg {
  color: var(--color-black);
  stroke: var(--color-black);
}

.logo,
.logo:hover,
.logo:active,
.logo:visited,
.logo:focus {
  flex-flow: column nowrap;
  gap: 0;
  min-width: revert;
}

.header-container,
header .header-inner {
  max-width: var(--content-max-width-narrow);
  width: 100%;
  padding: 1rem 2rem;
  margin: 0 auto 1rem;
}

footer .logo,
header .logo {
  font-family: var(--font-title);
  text-align: center;
  line-height: 1;
}

footer .logo {
  align-self: center;
}

footer .logo .first,
header .logo .first {
  text-transform: lowercase;
  font-size: 6rem;
  font-weight: 400;
  letter-spacing: -5px;
  margin-top: -1.5rem;
}

footer .logo .first {
  font-size: 8rem;
}

footer .logo .second,
header .logo .second {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.7rem;
  margin-top: -1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

footer .logo .second {
  font-size: 0.9rem;
}

.header-desktop {
  display: none;
}

.header-desktop a {
  color: var(--color-link);
  border-bottom: 1px solid transparent;
  text-decoration: none;
}

.header-desktop a:hover {
  border-bottom: 1px solid var(--color-link-hover);
}

.nav-dropdown-menu a:hover {
  background-color: var(--color-white);
}

.header-navbar-ul a.no-border,
.header-desktop a.no-border {
  text-align: right;
  min-width: 56px;
}

.header-desktop a.no-border:hover {
  color: var(--color-black);
  border-bottom: 1px solid transparent;
  text-decoration: underline;
}

.nav-dropdown-item:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.media-wrapper-fit {
  width: 100%;
  margin: 0;
  padding: 0;
  align-self: stretch;
  aspect-ratio: 4/3;
  position: relative;
}

.media-wrapper-fit figure {
  transition: opacity 2s ease;
  position: absolute;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.media-wrapper-fit img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  padding: 2rem;
  margin: -2rem 0;
}

.media-opacity-active {
  opacity: 1;
}

.media-opacity-hidden {
  opacity: 0;
}

.section-wrapper {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.section-wrapper h1 {
  font-family: var(--font-paragraph);
  font-size: clamp(2rem, 0.957rem + 5.217vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

.section-wrapper,
.section-wrapper p {
  font-size: 1.2rem;
}

.section-black {
  background-color: var(--color-black);
  color: var(--color-white);
  margin-top: 4rem;
  padding: 6rem 2rem;
}

.section-black svg {
  fill: var(--color-white);
  stroke: var(--color-white);
}

.section-black a,
.section-black a:visited,
.section-black a:active,
.section-black a:focus,
.section-black a:hover {
  color: var(--color-white);
}

.section-black .content-edit-button,
.section-black .content-edit-button:hover,
.section-black .content-edit-button:visited,
.section-black .content-edit-button:focus,
.section-black .content-edit-button:active {
  background-color: var(--color-white);
  color: var(--color-black);
}

.section-inner {
  display: flex;
  flex-flow: column-reverse wrap;
  gap: 0;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 0 0 0;
}

.section-content {
  padding: 0 2rem;
  width: 100%;
  font-weight: 300;
}

.section-content svg {
  width: 25px;
  flex-shrink: 0;
  align-self: flex-start;
}

.section-black .section-content {
  padding: 0;
}

.section-cards {
  display: flex;
  flex-flow: column wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4rem;
  line-height: 1.4;
  margin: 3rem 0 0 0;
  padding: 0;
}

.section-cards h1 {
  font-size: 1.6rem;
}

.section-cards p {
  margin-bottom: 0;
}

.home-separator {
  width: 33.3%;
  max-width: 200px;
  border-bottom: 2px solid var(--color-black);
  margin: 1rem 0;
}

.section-black .home-separator {
  border-bottom: 2px solid var(--color-white);
}

footer {
  margin: 0;
  padding: 0;
}

.footer-inner {
  display: flex;
  flex-flow: column nowrap;
  gap: 3rem;
  align-items: flex-start;
  justify-content: space-between;
  max-width: var(--content-max-width-narrow);
  margin: 0 auto;
  padding: 4rem 2rem;
}

.footer-section {
  text-align: left;
}

.footer-header {
  font-size: 1.2rem;
  font-weight: 600;
}

footer .legal {
  font-size: 0.8rem;
}

.kit-digital {
  background-color: var(--color-black);
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.kit-digital div {
  max-width: var(--content-max-width-narrow);
  margin: 0 auto;
}

.map {
  filter: grayscale(100%);
  position: relative;
  width: 100%;
  padding: 0;
  aspect-ratio: 1/1;
  margin-top: 4rem;
}

.map iframe {
  width: 100%;
  height: 100%;
}

.section-us-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-flow: column nowrap;
  gap: 5rem;
  padding-top: 4rem;
}

.section-us {
  width: 100%;
  flex-grow: 1;
}

.section-us img {
  max-width: 200px;
  filter: grayscale(100%);
}

.section-us svg {
  width: 30px;
}

.section-us .subtitle {
  margin-top: 0.25rem;
  font-weight: 400;
}

.section-us .text p {
  font-size: 1.1rem;
  line-height: 1.3;
}

.section-padding-mobile {
  padding-top: 4rem;
}

.projects-wrapper {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4rem;
  margin-top: 4rem;
  font-size: 1.1rem;
}

.projects-wrapper p {
  font-size: 1.1rem;
}

.projects-wrapper .project-item {
  width: 100%;
  flex-shrink: 0;
}

.projects-wrapper figure {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
}

.projects-wrapper .wide figure {
  aspect-ratio: 4/3;
}

.projects-wrapper figure img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.section-separator {
  width: 100%;
  border-top: 2px solid var(--color-black);
}

.section-contact {
  flex-flow: column nowrap;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.section-legal {
  max-width: var(--content-max-width-narrow);
  margin: 0 auto;
  width: 100%;
  padding: 4rem 2rem;
}

.section-legal a,
.section-legal a:visited,
.section-legal a:focus,
.section-legal a:active,
.section-legal a:hover {
  color: var(--color-blue);
}

.section-legal a:hover {
  color: var(--color-blue-hover);
}

.section-legal h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
}

.section-legal .content-edit-button,
.section-legal .content-edit-button:hover,
.section-legal .content-edit-button:visited,
.section-legal .content-edit-button:focus,
.section-legal .content-edit-button:active {
  background-color: var(--color-black);
  color: var(--color-white);
}

.section-404 {
  padding-left: 2rem;
  padding-right: 2rem;
}

@media screen and (min-width: 1000px) {
  .nav-dropdown-item:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    border-bottom: 1px solid var(--color-black);
  }

  .header-desktop {
    display: flex;
  }

  .header-mobile {
    display: none;
  }

  header .logo .first {
    font-size: 8rem;
  }

  header .logo .second {
    font-size: 0.9rem;
  }

  .section-content {
    padding: 4rem 6rem;
    width: 45%;
  }

  .section-black .section-content {
    padding: 4rem 6rem;
  }

  .section-black-inner {
    padding: 6rem;
  }

  .section-inner {
    flex-flow: row nowrap;
    gap: 1rem;
    padding: 4rem 0;
  }

  .section-cards {
    flex-flow: row nowrap;
    gap: 4rem;
  }

  .section-reverse {
    flex-flow: row-reverse nowrap;
  }

  .section-contact {
    flex-flow: row nowrap;
    padding: 6rem 0;
  }

  .media-one {
    max-width: 45%;
    padding-right: 6rem;
  }

  .media-wrapper-fit {
    width: 40%;
    margin: 0 6rem 0 0;
    aspect-ratio: revert;
    min-height: 600px;
    flex-grow: 1;
  }

  .section-reverse .media-wrapper-fit {
    margin: 0 0 0 6rem;
  }

  .media-wrapper-fit img {
    padding: 0;
    margin: 0;
  }

  .section-black {
    margin: 4rem 0;
    padding: 0;
  }

  .map {
    margin: 0 6rem 0 0;
    align-self: stretch;
    width: 640px;
    height: 640px;
  }

  .section-us-wrapper {
    flex-flow: row wrap;
  }

  .section-us {
    width: 40%;
  }

  .section-padding-mobile {
    padding-top: 0;
  }

  .projects-wrapper {
    flex-flow: row nowrap;
  }

  .projects-wrapper .project-item {
    flex-shrink: 0;
    width: 30%;
    flex-grow: 1;
  }

  .projects-wrapper .project-item.wide {
    flex-grow: 2;
    width: 60%;
  }

  .projects-wrapper figure {
    height: 600px;
    width: 100%;
    aspect-ratio: revert;
  }

  .footer-inner {
    flex-flow: row wrap;
    gap: 2rem;
  }

  footer .logo {
    align-self: revert;
  }
}
