/*
Theme Name: Twenty Twenty-One Child
Template: twentytwentyone
*/

/* =========================================================
   GLOBAL
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: oklch(0.47 0 0);
  background-color: #fff;
  font-family: "proxima-nova", sans-serif;
}

.site .button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
.wp-block-search .wp-block-search__button:focus,
.wp-block-button .wp-block-button__link:focus,
.wp-block-file a.wp-block-file__button:focus,
.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
  outline: none !important;
  outline-width: 0 !important;
  outline-color: transparent !important;
  text-decoration: none !important;
  outline-style: none !important;
  box-shadow: none !important;
}

button:focus,
a:focus,
button:focus-visible,
a:focus-visible {
  outline: none !important;
  outline-width: 0 !important;
  outline-color: transparent !important;
  text-decoration: none !important;
  outline-style: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

.elementor-element {
  font-family: "proxima-nova", sans-serif !important;
}

body {
  overflow-x: hidden;
}

.home .nm-header,
.home .nm-footer {
  display: none;
}

/* body:not(.home) .nm-header {
  background-color: #0f0f0f !important;
} */

.logo img {
  width: 80px;
}

a {
  text-decoration: none;
}

h1 {
  font-size: 20px !important;
  font-weight: 600 !important;
}

h2 {
  font-size: 20px !important;
  font-weight: 600 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  color: #0f0f0f;
  font-weight: 500 !important;
  overflow-wrap: break-word;
  hyphens: auto;
  font-family: "proxima-nova", sans-serif !important;
}

button {
  font-family: inherit;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #000;

  opacity: 1;
  visibility: visible;

  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.site-preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.site-preloader-line {
  display: block;
  width: 100px;
  height: 1px;
  background: #fff;

  transform-origin: left center;
  animation: site-preloader-line 1.5s ease-in-out infinite;
}

.site-preloader-text {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #fff;
}

.site-preloader.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes site-preloader-line {
  0% {
    transform: scaleX(0);
  }

  50% {
    transform: scaleX(1);
  }

  100% {
    transform: scaleX(0);
    transform-origin: right center;
  }
}

/* =========================================================
   WORDPRESS
========================================================= */

.wp-block-post-title {
  display: none;
}

header.entry-header {
  display: none;
}

.home main,
.page main {
  margin: 0 !important;
  padding: 0 !important;
}

:root :where(.is-layout-constrained) > * {
  margin-block-start: 0 !important;
}

/* =========================================================
   PROJECT SLIDER
========================================================= */

.project-slider {
  position: relative;

  width: 100vw;
  max-width: none;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  height: 100vh;
  height: 100svh;

  overflow: hidden;

  background: #fff;

  box-sizing: border-box;
}

/* =========================================================
   IMAGE CONTAINER
========================================================= */

.project-slides {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;
  z-index: 1;
}

/* =========================================================
   SLIDES
========================================================= */

.project-slide {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.9s ease,
    visibility 0.9s ease;
}

.project-slide.is-active {
  opacity: 1;
  visibility: visible;
}

/* =========================================================
   IMAGES
========================================================= */

.project-slide-image,
.project-slide img {
  display: block;

  width: 100% !important;
  height: 100% !important;

  max-width: none !important;
  max-height: none !important;

  object-fit: cover;

  object-position: center center;

  aspect-ratio: auto !important;
}

/* =========================================================
   WHITE BOTTOM GRADIENT
========================================================= */

.project-slider::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 20;

  pointer-events: none;

  /* background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 42%,
    rgba(255, 255, 255, 0.03) 52%,
    rgba(255, 255, 255, 0.2) 62%,
    rgba(255, 255, 255, 0.52) 74%,
    rgba(255, 255, 255, 0.86) 88%,
    #ffffff 100%
  ); */
}

/* =========================================================
   PROJECT UI
========================================================= */

.project-ui {
  position: absolute;

  inset: 0;

  z-index: 40;

  padding: 22px 48px;

  color: #0f0f0f;

  pointer-events: none;

  text-shadow: none;
}

/* =========================================================
   HEADER
========================================================= */

.project-header {
  position: absolute;

  top: 28px;
  left: 48px;

  display: flex;

  align-items: center;

  width: auto;

  z-index: 45;
}

/* =========================================================
   LOGO
========================================================= */

.project-logo {
  display: flex;

  align-items: center;

  min-height: 30px;

  color: #111111;

  font-size: 11px;

  line-height: 1;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.project-logo .custom-logo-link {
  display: flex;

  align-items: center;
}

.project-logo img {
  display: block;

  width: auto;

  max-width: 180px;

  max-height: 42px;
}

/* =========================================================
   FOOTER
========================================================= */

.project-footer {
  position: absolute;

  left: 48px;
  right: 48px;
  bottom: 40px;

  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  z-index: 45;
}

/* =========================================================
   PROJECT INFORMATION
========================================================= */

.project-info {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
  width: 65%;
}

/* =========================================================
   PROJECT META
========================================================= */

.project-meta {
  display: flex;

  align-items: center;

  gap: 15px;

  margin-bottom: 10px;

  color: #fff;

  font-size: 10px;

  line-height: 1;

  letter-spacing: 0.28em;

  text-transform: uppercase;
}

/* =========================================================
   YEAR
========================================================= */

.project-year {
  color: #fff;

  font-size: 14px;

  line-height: 1;

  font-variant-numeric: tabular-nums;

  letter-spacing: 0.28em;

  opacity: 1;

  transition: opacity 0.25s ease;
}

/* =========================================================
   PARTNER
========================================================= */

.project-partner {
  padding: 0;

  color: #fff;

  font-size: 12px;

  line-height: 1;

  letter-spacing: 0.28em;

  text-align: left;

  text-transform: uppercase;

  opacity: 0.62;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

/* =========================================================
   PROJECT TITLE
========================================================= */

.project-name {
  margin: 0;

  color: #fff;

  font-size: 24px;

  font-weight: 400;

  line-height: 0.82;

  /* letter-spacing: -0.055em; */
  letter-spacing: 0.06em;

  text-transform: none;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.footer-logo-container {
  position: relative;
}

.footer-logo-container .footer-logo {
  position: absolute;
  bottom: 0;
  right: -48px;
  z-index: 9999999999999999999999;
  cursor: pointer;
  pointer-events: auto;
}

.footer-logo-container .footer-logo img {
  width: 200px;
}

.footer-logo-container .footer-logo:focus {
  outline: none;
  background-color: transparent !important;
}

/* =========================================================
   PROJECT INFO TRANSITION
========================================================= */

.project-info-changing .project-name {
  opacity: 0;

  transform: translateY(8px);
}

.project-info-changing .project-partner {
  opacity: 0;

  transform: translateY(5px);
}

.project-info-changing .project-year {
  opacity: 0;
}

.project-info-changing .divider-line {
  opacity: 0;
}

.divider-line {
  position: relative;
  width: 35px;
  height: 1px;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.divider-line::before {
  content: "";
  position: absolute;

  top: 50%;
  left: 0;

  width: 100%;
  height: 0.5px;

  background-color: #4e4e4e;

  transform: translateY(-50%);
}

/* =========================================================
   PROJECT COUNTER
========================================================= */

.project-index {
  position: absolute;

  right: 250px;
  bottom: 2px;

  display: flex;

  align-items: center;

  gap: 13px;

  color: #fff;

  font-size: 10px;

  line-height: 1;

  letter-spacing: 0.12em;

  font-variant-numeric: tabular-nums;
}

.current-slide,
.project-total {
  display: inline-block;
}

.project-progress-line {
  display: block;

  width: 72px;

  height: 1px;

  background: rgba(255, 255, 255, 0.35);
}

/* =========================================================
   NAVIGATION
========================================================= */

.project-prev,
.project-next {
  position: absolute;

  bottom: 42px;

  z-index: 50;

  width: auto;
  height: auto;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;

  color: #fff !important;

  font-size: 10px;

  font-weight: 500;

  line-height: 1;

  letter-spacing: 0.25em;

  cursor: pointer;

  box-shadow: none !important;

  appearance: none;
  -webkit-appearance: none;

  transition: opacity 0.25s ease;
}

.project-prev {
  right: 315px;
}

.project-next {
  right: 240px;
}

.project-prev:hover,
.project-next:hover,
.project-prev:focus,
.project-next:focus,
.project-prev:active,
.project-next:active {
  color: #fff !important;

  background: transparent !important;

  border: 0 !important;

  box-shadow: none !important;

  outline: none !important;

  opacity: 0.45;
}

/* =========================================================
   MENU TOGGLE
========================================================= */

.project-menu-toggle {
  appearance: none;
  -webkit-appearance: none;

  /* position: absolute; */
  /* 
  top: 20px;
  right: 48px; */

  /* z-index: 200; */

  width: 120px;
  height: 58px;

  margin: 0 !important;
  padding: 0 !important;

  display: flex;

  align-items: center;

  justify-content: flex-start;

  border: 0 !important;

  border-radius: 999px !important;

  background: rgba(255, 255, 255, 0.94) !important;

  color: #111111 !important;

  box-shadow: none !important;

  cursor: pointer;

  pointer-events: auto;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

/* =========================================================
   MENU CIRCLE
========================================================= */

.project-menu-toggle::before {
  content: "";

  position: absolute;

  left: 8px;
  top: 9px;

  width: 40px;
  height: 40px;

  border-radius: 50%;

  background: #111111;
}

/* =========================================================
   MENU TEXT
========================================================= */

.project-menu-toggle::after {
  content: "MENÜ";

  position: absolute;

  right: 18px;
  top: 50%;

  transform: translateY(-50%);

  color: #111111;

  font-size: 10px;

  font-weight: 500;

  line-height: 1;

  letter-spacing: 0.25em;
}

/* =========================================================
   HAMBURGER
========================================================= */

.menu-line {
  position: absolute;

  left: 22px;

  width: 12px;
  height: 1px;

  background: #ffffff !important;

  z-index: 2;

  transition:
    transform 0.4s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.25s ease;
}

.menu-line:first-child {
  top: 27px;
}

.menu-line:last-child {
  top: 31px;
}

/* =========================================================
   HAMBURGER → X
========================================================= */

body.menu-open .project-menu-toggle .menu-line:first-child {
  transform: translateY(2px) rotate(45deg);
}

body.menu-open .project-menu-toggle .menu-line:last-child {
  transform: translateY(-2px) rotate(-45deg);
}

/* =========================================================
   MENU HOVER
========================================================= */

.project-menu-toggle:hover,
.project-menu-toggle:focus,
.project-menu-toggle:active {
  background: rgba(255, 255, 255, 0.98) !important;

  color: #0f0f0f !important;

  border: 0 !important;

  box-shadow: none !important;

  outline: none !important;
}

/* =========================================================
   SIDE PANEL
========================================================= */

.project-panel {
  position: fixed;

  top: 0;
  right: 0;
  bottom: 0;

  z-index: 100;

  width: min(520px, 90vw);

  box-sizing: border-box;

  background: #111111;

  color: #ffffff;

  transform: translateX(100%);

  visibility: visible;

  transition:
    transform 0.65s cubic-bezier(0.77, 0, 0.175, 1),
    visibility 0s linear 0.65s;
}

/* =========================================================
   OPEN PANEL
========================================================= */
body.menu-open .project-panel {
  transform: translateX(0);

  visibility: visible;

  transition:
    transform 0.65s cubic-bezier(0.77, 0, 0.175, 1),
    visibility 0s;
}

/* =========================================================
   PANEL INNER
========================================================= */

.project-panel-inner {
  position: relative;

  width: 100%;
  height: 100%;

  box-sizing: border-box;

  padding: 30px 38px;

  display: flex;

  flex-direction: column;

  overflow-y: auto;

  scrollbar-width: none;
}

.project-panel-inner::-webkit-scrollbar {
  display: none;
}

/* =========================================================
   PANEL HEADER
========================================================= */

.project-panel-header {
  flex: 0 0 auto;

  display: flex;

  justify-content: space-between;

  align-items: center;

  width: 100%;

  padding-bottom: 22px;

  /* border-bottom: 1px solid rgba(255, 255, 255, 0.18); */
}

/* =========================================================
   PANEL LOGO
========================================================= */

.project-panel-logo {
  display: flex;

  align-items: center;

  min-height: 32px;

  font-size: 11px;

  line-height: 1;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.project-panel-logo .custom-logo-link {
  display: flex;

  align-items: center;
}

.project-panel-logo img {
  display: block;

  width: auto;

  max-width: 150px;

  max-height: 34px;

  filter: brightness(0) invert(1);
}

/* =========================================================
   PANEL CLOSE BUTTON
========================================================= */

.project-panel-close {
  position: relative;

  width: 42px;
  height: 42px;

  margin: 0;
  padding: 0;

  border: 0 !important;
  border-radius: 50% !important;

  background: transparent !important;

  color: #ffffff !important;

  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;

  box-shadow: none !important;

  transition:
    opacity 0.25s ease,
    transform 0.35s ease;
}

/* =========================================================
   CLOSE LINES
========================================================= */

.close-line {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 18px;
  height: 1px;

  background: #ffffff;

  transform-origin: center;

  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

/* X */

.close-line:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-line:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* =========================================================
   HOVER
========================================================= */

.project-panel-close:hover {
  opacity: 0.5;

  transform: rotate(90deg);
}

.project-panel-close:focus,
.project-panel-close:active {
  outline: none !important;

  border: 0 !important;

  background: transparent !important;

  box-shadow: none !important;
}

/* =========================================================
   PANEL NAVIGATION
========================================================= */

.project-panel-navigation {
  flex: 0 0 auto;

  padding-top: 55px;

  padding-bottom: 45px;
}

/* =========================================================
   WORDPRESS MENU RESET
========================================================= */

.project-panel-navigation ul,
.project-panel-navigation li {
  margin: 0;
  padding: 0;

  list-style: none;
}

.project-primary-menu {
  width: 100%;

  margin: 0;
  padding: 0;
}

/* =========================================================
   MENU ITEMS
========================================================= */

.project-primary-menu li {
  position: relative;

  margin: 0;

  padding: 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* =========================================================
   MENU LINKS
========================================================= */

.project-primary-menu li a {
  position: relative;

  display: flex;

  align-items: center;

  width: 100%;

  box-sizing: border-box;

  padding: 17px 0;

  color: #ffffff !important;

  font-size: clamp(28px, 3.5vw, 42px);

  font-weight: 400 !important;

  line-height: 1;

  letter-spacing: -0.04em;

  text-decoration: none !important;

  transition:
    opacity 0.3s ease,
    padding-left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

/* =========================================================
   MENU HOVER
========================================================= */

.project-primary-menu:hover li a {
  opacity: 0.3;
}

.project-primary-menu li:hover a {
  opacity: 1;

  padding-left: 18px;
}

/* =========================================================
   HOVER DOT
========================================================= */

/* .project-primary-menu li a::before {
  content: "";

  position: absolute;

  left: 0;
  top: 50%;

  width: 5px;
  height: 5px;

  background: #ffffff;

  border-radius: 50%;

  opacity: 0;

  transform: translate(-10px, -50%) scale(0);

  transition:
    opacity 0.25s ease,
    transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

.project-primary-menu li:hover a::before {
  opacity: 1;

  transform: translate(0, -50%) scale(1);
} */

.project-primary-menu li a:focus {
  background-color: transparent;
}

/* =========================================================
   CURRENT PAGE
========================================================= */

.project-primary-menu .current-menu-item > a {
  opacity: 1;
}

.project-primary-menu .current-menu-item > a::after {
  content: "";

  position: absolute;

  right: 0;
  top: 50%;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: #ffffff;

  transform: translateY(-50%);
}

/* =========================================================
   PANEL FOOTER
========================================================= */

.project-panel-footer {
  margin-top: auto;

  padding-top: 30px;

  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  gap: 30px;
}

/* =========================================================
   CONTACT
========================================================= */

.project-panel-contact {
  flex: 0 0 auto;
}

/* =========================================================
   CONTACT LABEL
========================================================= */

.contact-label {
  margin-bottom: 14px;

  color: rgba(255, 255, 255, 0.38);

  font-size: 14px;

  line-height: 1;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}

/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details {
  color: rgba(255, 255, 255, 0.68);

  font-size: 16px;

  line-height: 1.6;

  letter-spacing: 0.02em;
}

.contact-details p {
  margin: 0 0 14px;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   CONTACT LINKS
========================================================= */

.contact-details a {
  color: #ffffff !important;

  text-decoration: none !important;

  transition: opacity 0.25s ease;
}

.contact-details a:hover {
  opacity: 0.5;
}

.contact-details a:focus {
  background-color: transparent;
}

/* =========================================================
   SOCIAL
========================================================= */

.project-panel-social {
  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 8px;
}

.project-panel-social a {
  color: #ffffff;

  font-size: 13px;

  line-height: 1;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  transition: opacity 0.25s ease;
}

.project-panel-social a:hover {
  opacity: 0.5;
}

/* =========================================================
   PANEL OPEN ANIMATION
========================================================= */

body.menu-open .project-primary-menu li {
  animation: projectMenuItemIn 0.6s cubic-bezier(0.77, 0, 0.175, 1) both;
}

body.menu-open .project-primary-menu li:focus {
  background-color: transparent !important;
}

body.menu-open .project-primary-menu li:nth-child(1) {
  animation-delay: 0.12s;
}

body.menu-open .project-primary-menu li:nth-child(2) {
  animation-delay: 0.18s;
}

body.menu-open .project-primary-menu li:nth-child(3) {
  animation-delay: 0.24s;
}

body.menu-open .project-primary-menu li:nth-child(4) {
  animation-delay: 0.3s;
}

body.menu-open .project-primary-menu li:nth-child(5) {
  animation-delay: 0.36s;
}

@keyframes projectMenuItemIn {
  from {
    opacity: 0;

    transform: translateX(25px);
  }

  to {
    opacity: 1;

    transform: translateX(0);
  }
}

/* =========================================================
   OPTIONAL PROJECT LIST
========================================================= */

.project-list {
  display: flex;

  flex-direction: column;

  margin-top: 30px;

  overflow-y: auto;
}

.project-list-item {
  display: grid;

  grid-template-columns:
    35px
    1fr
    auto;

  align-items: baseline;

  gap: 12px;

  width: 100%;

  margin: 0;

  padding: 14px 0;

  border: 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 0;

  background: transparent;

  color: #ffffff;

  text-align: left;

  cursor: pointer;

  transition: opacity 0.25s ease;
}

.project-list-item:hover {
  background: transparent;

  opacity: 0.55;
}

.project-list-number {
  font-size: 9px;

  letter-spacing: 0.1em;

  opacity: 0.4;
}

.project-list-title {
  font-size: 18px;

  font-weight: 400;

  letter-spacing: -0.02em;
}

.project-list-year {
  font-size: 9px;

  letter-spacing: 0.1em;

  opacity: 0.5;
}

.project-list-item.is-current {
  opacity: 1;
}

.project-list-item.is-current .project-list-title {
  text-decoration: underline;

  text-decoration-thickness: 1px;

  text-underline-offset: 5px;
}

.projects-list .projects-year:not(:last-child) {
  margin-bottom: 16px;
}

.projects-list {
  width: 100%;
}

.projects-year-number {
  font-size: 14px;
  letter-spacing: 0.35em;
  margin-bottom: 5px;
}

.projects-items {
  display: flex;
  flex-direction: column;
  /* gap: 18px; */
}

.project-item {
  /* display: grid; */
  /* grid-template-columns: 68% 32%; */
  align-items: center;
  padding: 4px 0;
  transition: 0.25s ease;
}

/* .project-item:hover {
  background-color: #e7e4e0;
  padding-left: 12px;
  padding-right: 12px;
} */

.project-item .project-title {
  font-size: 18px;
  /* line-height: 1.15; */
  color: #0f0f0f;
  text-decoration: none;
}

.project-item .project-partner {
  font-size: 14px;
  line-height: 1.4;
  color: #555;
  letter-spacing: 0.02em;
  /* text-align: right; */
  /* margin-top: 5px; */
}

/* .project-item .project-title:hover {
  text-decoration: underline;
} */

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .project-ui {
    padding-left: 30px;
    padding-right: 30px;
  }

  .project-header {
    left: 30px;
  }

  .project-footer {
    left: 30px;
    right: 30px;
  }

  .project-menu-toggle {
    right: 30px;
  }

  /* .project-prev {
    right: 285px;
  } */

  .project-next {
    display: none;
  }

  .project-index {
    display: none;
  }

  /* .project-index {
    right: 105px;
  } */

  .footer-logo-container .footer-logo {
    right: -30px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {
  .footer-logo-container .footer-logo {
    right: -20px;
  }

  .footer-logo-container .footer-logo img,
  .nm-footer-logo img {
    width: 100px !important;
  }

  .project-slider {
    width: 100vw;

    height: 100vh;
    height: 100svh;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  /* IMAGE */

  .project-slide img {
    object-position: center center;
  }

  /* UI */

  .project-ui {
    padding: 20px;
  }

  /* LOGO */

  .project-header {
    top: 20px;
    left: 20px;
  }

  .project-logo img {
    max-width: 130px;
    max-height: 30px;
  }

  /* FOOTER */

  .project-footer {
    left: 20px;
    right: 20px;
    bottom: 45px;

    display: block;
  }

  /* META */

  .project-meta {
    gap: 12px;

    margin-bottom: 12px;

    font-size: 8px;

    letter-spacing: 0.18em;
  }

  .project-year,
  .project-partner {
    font-size: 12px;

    letter-spacing: 0.18em;
  }

  .project-info {
    width: 100%;
    display: none;
  }

  .divider-line {
    width: 20px;
  }

  /* TITLE */

  .project-name {
    font-size: clamp(48px, 14vw, 68px);

    line-height: 0.86;
  }

  /* COUNTER */

  .project-index {
    display: none;
  }

  /* MENU */

  .project-menu-toggle {
    top: 12px;
    right: 12px;

    width: 110px;
    height: 52px;
  }

  .project-menu-toggle::before {
    left: 8px;
    top: 8px;

    width: 36px;
    height: 36px;
  }

  .project-menu-toggle::after {
    right: 17px;

    font-size: 9px;
  }

  .menu-line {
    left: 20px;
  }

  .menu-line:first-child {
    top: 24px;
  }

  .menu-line:last-child {
    top: 28px;
  }

  /* NAVIGATION */

  .project-prev,
  .project-next {
    bottom: 20px;

    font-size: 8px;

    letter-spacing: 0.18em;
  }

  .project-prev {
    /* left: 20px;
    right: auto; */
    display: none;
  }

  .project-next {
    /* right: 20px;
     */
    display: none;
  }

  /* PANEL */

  .project-panel {
    width: 100vw;

    max-width: none;
  }

  .project-panel-inner {
    padding: 22px 20px;
  }

  /* PANEL HEADER */

  .project-panel-header {
    padding-bottom: 18px;
  }

  /* PANEL NAVIGATION */

  .project-panel-navigation {
    padding-top: 38px;

    padding-bottom: 30px;
  }

  /* MENU LINKS */

  .project-primary-menu li a {
    padding: 15px 0;

    font-size: clamp(30px, 9vw, 43px);
  }

  /* PANEL FOOTER */

  .project-panel-footer {
    display: block;

    padding-top: 25px;
  }

  .project-panel-social {
    margin-top: 25px;

    align-items: flex-start;

    flex-direction: row;

    gap: 20px;
  }
}

@media (max-width: 767px) {
  /* .projects-year {
    margin-bottom: 70px;
  } */

  .projects-year-number {
    margin-bottom: 0px;
  }

  /* .projects-items {
    gap: 28px;
  } */

  /* .project-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 6px 0;
  } */

  .project-title {
    font-size: 24px;
  }

  /* .project-item .project-partner {
    text-align: left;
  } */
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {
  .divider-line {
    width: 10px;
  }

  .project-meta {
    gap: 8px;
  }

  .project-name {
    font-size: 38px;
  }

  .project-panel-inner {
    padding: 18px;
  }

  .project-panel-navigation {
    padding-top: 30px;

    padding-bottom: 25px;
  }

  .project-primary-menu li a {
    font-size: 30px;

    padding: 13px 0;
  }

  .contact-details {
    font-size: 14px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .project-slide {
    transition: none;
  }

  .project-name,
  .project-partner,
  .project-year {
    transition: none;
  }

  .project-panel {
    transition: none;
  }

  .project-primary-menu li {
    animation: none !important;
  }

  .project-primary-menu a {
    transition: none;
  }

  .project-menu-toggle .menu-line {
    transition: none;
  }
}

/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section-padding {
  padding-top: 20px;

  padding-bottom: 20px;
}

/* =========================
   Gallery Button
   ========================= */

.view-gallery {
  border: 0;
  background: none;
  padding: 5px;
  background: #eaeaea !important;
  color: inherit !important;
  font-size: 14px !important;
  font-family: "proxima-nova", sans-serif;
  cursor: pointer;
}

.view-gallery:hover {
  opacity: 0.6;
}

/* =========================
   Hidden Gallery Data
   ========================= */

.project-gallery-data {
  display: none;
}

/* =========================
   Lightbox
   ========================= */

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.95);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.project-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Image */

.lightbox-content {
  position: relative;

  width: min(85vw, 1400px);
  height: min(85vh, 900px);

  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  display: block;

  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  object-fit: contain;
}

/* Buttons */

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;

  border: 0;
  background: none;

  color: #fff;

  cursor: pointer;

  z-index: 2;

  font-family: Arial, sans-serif;

  transition: opacity 0.2s ease;
}

/* Close */

.lightbox-close {
  top: 25px;
  right: 30px;

  font-size: 40px;
  line-height: 1;
}

/* Previous */

.lightbox-prev {
  left: 10px;

  top: 50%;
  transform: translateY(-50%);

  font-size: 45px;
}

/* Next */

.lightbox-next {
  right: 10px;

  top: 50%;
  transform: translateY(-50%);

  font-size: 45px;
}

/* Counter */

.lightbox-counter {
  position: absolute;

  bottom: -35px;
  left: 50%;

  transform: translateX(-50%);

  color: #fff;

  font-size: 14px;
}

/* Mobile */

@media (max-width: 768px) {
  .lightbox-content {
    width: 90vw;
    height: 80vh;
  }

  .lightbox-prev {
    left: 10px;
    font-size: 30px;

    padding: 5px 10px;
  }

  .lightbox-next {
    right: 10px;
    font-size: 30px;
    padding: 5px 10px;
  }

  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 32px;

    padding: 5px 10px;
  }
}

/* Remove focus styling from project links/buttons */
.projects-list a:focus,
.projects-list a:focus-visible,
.projects-list button:focus,
.projects-list button:focus-visible,
.projects-list a:active,
.projects-list button:active {
  outline: none !important;
  outline-style: none !important;
  outline-width: 0 !important;
  box-shadow: none !important;
  border: none !important;
  text-decoration: none !important;
}

.hfe-site-logo a,
.hfe-site-logo a:focus,
.hfe-site-logo a:focus-visible,
.hfe-site-logo a:-moz-focusring {
  outline: 0 !important;
  outline-style: none !important;
  box-shadow: none !important;
}

a:focus,
a:focus-visible,
button:focus,
button:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
  outline-style: none !important;
}

.site .button:hover,
.site .button:active,
button:hover,
button:active,
input[type="submit"]:hover,
input[type="submit"]:active,
input[type="reset"]:hover,
input[type="reset"]:active,
.wp-block-search .wp-block-search__button:hover,
.wp-block-search .wp-block-search__button:active,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:active,
.wp-block-file a.wp-block-file__button:hover,
.wp-block-file a.wp-block-file__button:active {
  background-color: inherit !important;
  border-color: inherit !important;
  color: inherit !important;
}

.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) img {
  outline: none !important;
}

/* =========================================
   404 Page – Modern Minimal
   ========================================= */

.error-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  box-sizing: border-box;
}

/* Large 404 number */
.error-404::before {
  content: "404";
  display: block;
  font-size: clamp(7rem, 20vw, 14rem);
  line-height: 0.8;
  font-weight: 700;
  letter-spacing: -0.08em;
  color: #eeeeee;
  margin-bottom: 40px;
}

/* Heading */
.error-404 .page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #111111;
}

/* Text */
.error-404 .page-content {
  max-width: 560px;
  margin: 0 auto;
}

.error-404 .page-content p {
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #666666;
}

/* Homepage button */
.error-404 .page-content a {
  display: inline-block;
  margin-top: 20px;
  padding: 13px 24px;
  background: #111111;
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

/* Button hover */
.error-404 .page-content a:hover {
  background: #333333;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Keyboard accessibility */
.error-404 .page-content a:focus {
  outline: 2px solid #111111;
  outline-offset: 4px;
}

/* Mobile */
@media (max-width: 600px) {
  .error-404 {
    min-height: 65vh;
    padding: 60px 20px;
  }

  .error-404::before {
    margin-bottom: 30px;
  }

  .error-404 .page-title {
    font-size: 2rem;
  }

  .error-404 .page-content p {
    font-size: 1rem;
  }
}
