* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #000;
  color: #f7f5e8;
  font-family: "Questrial", sans-serif;
}


/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  width: 100%;
  padding: 38px 55px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  pointer-events: none;
}

.logo {
  display: block;
  pointer-events: auto;
}

.logo img {
  display: block;
  width: auto;
  height: 160px;
}


/* MENU */

.menu-wrapper {
  position: relative;
  pointer-events: auto;

  transform: translateY(20px);
}

.menu-button {
  position: relative;
  display: block;

  width: 110px;
  height: 110px;

  padding: 0;
  border: 0;

  background: transparent;
  cursor: pointer;
}

.menu-icon,
.menu-icon::after {
  position: absolute;
  display: block;

  width: 90px;
  height: 12px;

  background-color: #f7f5e8;

  transition:
    transform 300ms ease,
    opacity 300ms ease;
}

.menu-icon {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu-icon::after {
  content: "";
  top: 0;
  left: 0;
  transform: rotate(90deg);
}

.menu-wrapper.is-open .menu-icon::after {
  opacity: 0;
  transform: rotate(0deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;

  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 250ms ease,
    visibility 250ms ease;
}

body.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* DROPDOWN */

.dropdown-menu {
  position: absolute;
  top: 140px;
  right: 0;

  display: flex;
  flex-direction: column;
  align-items: flex-end;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(-12px);

  transition:
    opacity 250ms ease,
    transform 250ms ease,
    visibility 250ms ease;
}

.menu-wrapper.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  color: #f7f5e8;

  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 2.4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.05;

  text-align: right;
  text-transform: uppercase;
  text-decoration: none;

  transition: opacity 200ms ease;
}

.dropdown-menu a:hover {
  opacity: 0.6;
}


/* PROJECT GRID */

.project-grid {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 58px 64px;

  padding:
    130px
    clamp(35px, 5.8vw, 105px)
    80px;
}

.project-card {
  position: relative;
  display: block;

  width: 100%;
  aspect-ratio: 1 / 1;

  overflow: hidden;

  background-color: #111;
  color: #f7f5e8;
  text-decoration: none;
}

.project-card img,
.project-card video {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 600ms ease;
}

.project-card:hover img,
.project-card:hover video {
  transform: scale(1.025);
  filter: brightness(0.82);
}

.project-card::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;

  width: 100%;
  height: 30%;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.45),
    transparent
  );

  pointer-events: none;
}

.project-info {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;

  width: calc(100% - 40px);

  transform: translateX(-50%);

  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.project-info h2 {
  font-size: clamp(0.9rem, 1vw, 1.1rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.05em;
  -webkit-text-stroke: 0.2px currentColor;
}

.project-info p {
  margin-top: 3px;

  font-size: clamp(0.65rem, 0.7vw, 0.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.08em;
}


/* ABOUT */

.about-page {
  min-height: 100vh;

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: clamp(50px, 8vw, 150px);

  padding:
    28px
    clamp(24px, 4vw, 50px)
    40px;
}

.about-image {
  width: 80%;
  min-height: auto;
  aspect-ratio: 4 / 5;

  margin-top: 100px;
  overflow: hidden;
  background-color: #111;
}

.about-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.about-content {
  min-height: calc(100vh - 68px);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding:
    clamp(140px, 16vh, 190px)
    clamp(30px, 5vw, 100px)
    35px;

  text-align: center;
}

.about-text {
  width: 100%;
  max-width: 480px;

  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.35;
}

.about-text p + p {
  margin-top: 32px;
}

.about-bottom {
  width: 100%;
  max-width: 480px;

  margin-top: auto;
}

.contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;

  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  line-height: 1.15;
}

.contact-block p {
  margin-bottom: 4px;
}

.contact-block a {
  color: #f7f5e8;
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

.availability {
  margin-top: 36px;

  font-size: clamp(0.8rem, 0.95vw, 1rem);
  font-style: italic;
}


/* CONTACT */

.contact-page {
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 160px 30px 60px;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
  font-size: clamp(1.4rem, 3vw, 3rem);
  line-height: 1.2;
}

.contact-content p {
  margin-bottom: 30px;
}

.contact-content a {
  color: #f7f5e8;
  text-decoration: none;
}

.contact-content a:hover {
  text-decoration: underline;
}

/* WORKED WITH */

.worked-with {
  width: 100%;

  padding: 0 clamp(35px, 5.8vw, 105px) 70px;

  text-align: center;
}

.worked-with h3 {
  margin-bottom: 34px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;

  color: rgba(247, 245, 232, 0.6);
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;

  gap: clamp(28px, 4vw, 60px);
}

.logo-strip img {
  display: block;

  height: clamp(28px, 3vw, 42px);
  width: auto;

  filter: grayscale(1) brightness(2);
  opacity: 0.55;

  transition:
    opacity 250ms ease,
    filter 250ms ease;
}

.logo-strip img:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 120px;
  height: 42px;

  border: 1px solid rgba(247, 245, 232, 0.25);

  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: rgba(247, 245, 232, 0.45);
}

.worked-with-note {
  margin-top: 30px;

  font-size: clamp(0.75rem, 0.9vw, 0.9rem);
  font-style: italic;

  color: rgba(247, 245, 232, 0.5);
}


/* FOOTER */

.site-footer {
  width: 100%;

  padding:
    60px
    clamp(30px, 4vw, 80px)
    35px;

  background-color: #000;
  color: #f7f5e8;
  border-top: 2px solid rgba(255, 255, 255, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns:
    minmax(170px, 1.05fr)
    minmax(170px, 0.8fr)
    minmax(190px, 0.95fr)
    minmax(280px, 1.65fr)
    minmax(180px, 0.9fr);

  gap: clamp(35px, 4vw, 90px);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  font-size: clamp(0.9rem, 1vw, 1.15rem);
  line-height: 1.25;
}

.footer-column h3 {
  margin-bottom: 3px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.35rem);
  font-weight: 700;
  line-height: 1.1;
}

.footer-column a,
.footer-column p {
  color: #f7f5e8;
  text-decoration: none;
}

.footer-column a {
  transition: opacity 200ms ease;
}

.footer-column a:hover {
  opacity: 0.55;
}

.footer-group {
  margin-top: 42px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-more {
  margin-top: 30px;
}

.experience-list {
  margin-top: 28px;

  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-right {
  align-items: flex-end;
  text-align: right;
}

.footer-right > div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-right .footer-group {
  align-items: flex-end;
}

.footer-bottom {
  margin-top: 70px;

  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  font-size: 0.85rem;
}

.footer-bottom a {
  color: #f7f5e8;
  text-decoration: none;
}

.footer-bottom a:hover {
  opacity: 0.55;
}

/* PROJECT DETAIL PAGE */

.single-project {
  width: 100%;
  padding:
    230px
    clamp(18px, 1.4vw, 28px)
    80px;
}

.project-header {
  margin-top: 60px;
  margin-bottom: 60px;
  padding: 0 clamp(5px, 1vw, 18px);

  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;

  text-transform: uppercase;
}

.project-header h1 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.03em;
}

.project-meta {
  display: flex;
  gap: 25px;

  font-size: clamp(0.75rem, 0.9vw, 1rem);
  line-height: 1.2;
  text-align: right;
}


/* PHOTO GRID */

.photo-gallery {
  columns: 3;
  column-gap: 14px;
}

.gallery-item {
  display: block;
  width: 100%;

  margin: 0 0 14px;
  padding: 0;
  border: 0;

  break-inside: avoid;
  overflow: hidden;

  background-color: #111;
  cursor: zoom-in;
}

.gallery-item img,
.gallery-item video {
  display: block;
  width: 100%;
  height: auto;

  transition:
    transform 500ms ease,
    filter 500ms ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.012);
  filter: brightness(0.88);
}

.gallery-item--video {
  column-span: all;

  width: 100%;
  max-width: 900px;

  margin: 0 auto 14px;
}


/* PROJECT NAVIGATION */

.project-navigation {
  margin-top: 75px;
  padding:
    35px
    clamp(5px, 1vw, 18px)
    0;

  border-top: 1px solid rgba(247, 245, 232, 0.65);

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-navigation a {
  display: flex;
  align-items: center;
  gap: 12px;

  color: #f7f5e8;
  font-size: clamp(0.9rem, 1.2vw, 1.25rem);
  text-decoration: none;
  text-transform: uppercase;

  transition: opacity 200ms ease;
}

.project-navigation a:hover {
  opacity: 0.55;
}


/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 35px;

  background-color: rgba(0, 0, 0, 0.96);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 250ms ease,
    visibility 250ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.lightbox-content img,
.lightbox-content video {
  display: block;

  max-width: 88vw;
  max-height: 85vh;

  object-fit: contain;
}

.lightbox-content figcaption {
  margin-top: 14px;

  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.lightbox-close,
.lightbox-previous,
.lightbox-next {
  position: absolute;
  z-index: 2;

  border: 0;
  padding: 10px;

  background: transparent;
  color: #f7f5e8;

  font-family: "Questrial", sans-serif;

  cursor: pointer;
  transition: opacity 200ms ease;
}

.lightbox-close:hover,
.lightbox-previous:hover,
.lightbox-next:hover {
  opacity: 0.55;
}

.lightbox-close {
  top: 20px;
  right: 25px;

  font-size: 3.5rem;
  line-height: 1;
}

.lightbox-previous,
.lightbox-next {
  top: 50%;

  transform: translateY(-50%);
  font-size: 2.5rem;
}

.lightbox-previous {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

body.lightbox-open {
  overflow: hidden;
}


/* PROJECT TABLET */

@media (max-width: 1000px) {
  .single-project {
    padding-top: 150px;
  }

  .photo-gallery {
    columns: 2;
    column-gap: 12px;
  }
  
  .gallery-item {
    margin-bottom: 12px;
  }

  .project-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-meta {
    text-align: left;
  }
}

/* PROJECT MOBILE */

@media (max-width: 700px) {
  .single-project {
    padding:
      120px
      12px
      55px;
  }

  .project-header {
    margin-bottom: 32px;
    padding: 0 6px;
  }

  .project-header h1 {
    font-size: 1.4rem;
  }

  .project-meta {
    flex-wrap: wrap;
    gap: 7px 18px;
    font-size: 0.75rem;
  }

  .photo-gallery {
    columns: 1;
  }
  
  .gallery-item {
    margin-bottom: 12px;
  }

  .project-navigation {
    margin-top: 45px;
    padding-top: 25px;
  }

  .project-navigation-label {
    display: none;
  }

  .project-navigation a {
    font-size: 1.4rem;
  }

  .lightbox {
    padding: 15px;
  }

  .lightbox-content img {
    max-width: 100%;
    max-height: 78vh;
  }

  .lightbox-close {
    top: 10px;
    right: 12px;
    font-size: 2.7rem;
  }

  .lightbox-previous {
    left: 5px;
  }

  .lightbox-next {
    right: 5px;
  }

  .lightbox-previous,
  .lightbox-next {
    top: auto;
    bottom: 18px;

    transform: none;
    font-size: 2rem;
  }
}

/* FOOTER TABLET */

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-right {
    align-items: flex-start;
    text-align: left;
  }

  .footer-right > div,
  .footer-right .footer-group {
    align-items: flex-start;
  }
}


/* FOOTER MOBILE */

@media (max-width: 700px) {
  .site-footer {
    padding:
      45px
      18px
      25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-column {
    font-size: 1rem;
  }

  .footer-column h3 {
    font-size: 1.15rem;
  }

  .footer-group {
    margin-top: 28px;
  }

  .footer-more {
    margin-top: 22px;
  }

  .footer-bottom {
    margin-top: 55px;

    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* TABLET */

@media (max-width: 900px) {
  .site-header {
    padding: 28px 25px;
  }

  .logo img {
    height: 75px;
  }

  .project-grid {
    gap: 25px;
    padding: 115px 25px 40px;
  }

  .project-info {
    bottom: 20px;
  }

  .about-page {
    gap: 35px;
  }

  .about-content {
    padding: 130px 20px 30px;
  }

  .about-text p + p {
    margin-top: 24px;
  }
}


/* MOBILE */

@media (max-width: 700px) {
  .site-header {
    padding: 22px 18px;
  }

  .logo img {
    height: 65px;
  }

  .menu-wrapper {
    transform: translateY(8px);
  }

  .menu-button {
    width: 55px;
    height: 55px;
  }

  .menu-icon,
  .menu-icon::after {
    width: 50px;
    height: 7px;
  }

  .dropdown-menu {
    top: 65px;
  }

  .dropdown-menu a {
    font-size: 1.8rem;
  }

  .project-grid {
    grid-template-columns: 1fr;

    gap: 24px;

    padding:
      105px
      18px
      35px;
  }

  .project-card {
    aspect-ratio: 4 / 5;
  }

  .project-info {
    bottom: 20px;
  }

  .project-info h2 {
    font-size: 0.9rem;
  }

  .project-info p {
    font-size: 0.6rem;
  }

  .about-page {
    display: flex;
    flex-direction: column;

    gap: 0;

    padding:
      95px
      18px
      30px;
  }

  .about-image {
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

  .about-content {
    min-height: auto;
    padding: 55px 10px 20px;
  }

  .about-text {
    max-width: 430px;
    font-size: 1rem;
  }

  .about-text p + p {
    margin-top: 25px;
  }

  .about-bottom {
    margin-top: 70px;
  }

  .availability {
    margin-top: 35px;
  }

  .contact-page {
    padding: 130px 20px 50px;
  }
}