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

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: "Inter", "Montserrat Alternates", "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: #ffffff;
  color: #000;
}

/* NAVIGATION  */
.navbar {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  font-family: "Inter", sans-serif;
}
#menu-toggle {
  display: none;
}
.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 2000;
  position: relative;
}
.menu-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background: rgb(0, 0, 0);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu {
  list-style: none;
  position: fixed;
  top: 0;
  right: -250px;
  height: 100vh;
  width: 250px;
  background: rgba(0, 0, 0, 0.95);
  padding: 100px 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: right 0.3s ease;
  z-index: 1500;
}
.menu li a {
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}
.menu li a:hover {
  color: #433843;
}
#menu-toggle:checked ~ .menu {
  right: 0;
}
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}


/* HEADER  */

.work-intro {
  max-width: 1200px;
  margin: 100px auto 40px;
  padding: 0 40px;
}

.work-intro h1 {
  font-family: inherit;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #000;
}

@media (max-width: 700px) {
  .work-intro {
    padding: 0 20px;
  }
}




/* TRI-IT ON FEATURED PROJECT */

.featured-project {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 40px;
}

.featured-project-link {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: stretch;
  background: rgb(0, 0, 0);
  border: 10px solid #81a79f;
  border-radius: 8px;
  overflow: hidden;
  color: #f9fafa;
  text-decoration: none;
  transition: box-shadow 0.1s ease;
}

/* LOGO PREVIEW */

.featured-project .project-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 40px;
  background: #fff;
}

.featured-project .project-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* PROJECT TEXT */

.featured-project .project-details {
  align-self: center;
  min-width: 0;
  padding: 40px;
  font-family: inherit;
}

.featured-project .project-label {
  margin-bottom: 14px;
  color: #f7f4f7;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.featured-project .project-title {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.featured-project .project-description {
  margin: 0;
  color: #9b9999;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* SUBJECTS */

.featured-project .project-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: #f5f4f5;
  font-size: 0.75rem;
  line-height: 1.6;
}

.featured-project .project-subjects li:not(:last-child)::after {
  content: "·";
  margin: 0 8px;
}

/* VIEW PROJECT LINK */

.featured-project .project-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: #e5d9e5;
  font-size: 0.9rem;
}

/* HOVER AND KEYBOARD FOCUS */

.featured-project-link:hover {
  box-shadow: 0 6px 20px rgba(67, 56, 67, 0.12);
}

.featured-project-link:hover .project-cta {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.featured-project-link:focus-visible {
  outline: 3px solid #3e3d06;
  outline-offset: 5px;
}

/* MOBILE */

@media (max-width: 700px) {
  .featured-project {
    padding: 0 20px;
  }

  .featured-project-link {
    grid-template-columns: 1fr;
  }

  .featured-project .project-preview {
    padding: 24px;
  }

  .featured-project .project-details {
    padding: 28px;
  }



}


  /* PROJECT GRID */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 30px;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 40px;
}

.work-card {
  min-width: 0;
}

.work-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: rgb(0, 0, 0);
  border: 5px solid #81a79f;
  border-radius: 8px;
  color: #eeeaea;
  text-decoration: none;
  transition: box-shadow 0.3s ease;
}




/* PREVIEW IMAGES */

/* PREVIEW IMAGES */

.work-card-preview,
.smsc-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 280px;
  flex: 0 0 280px;
  aspect-ratio: auto;
  overflow: hidden;
  background: #fff;
}

.work-card-preview img,
.smsc-preview img,
.work-card-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 24px;
  object-fit: contain;
  object-position: center;
}

/* PROJECT INFORMATION */

.work-card-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
  font-family: inherit;
}

.work-card-title {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.work-card-description {
  margin: 0;
  color: #a2a0a0;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* SUBJECTS */

.work-card-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #f8f4f8;
  font-size: 0.75rem;
  line-height: 1.6;
}

.work-card-subjects li:not(:last-child)::after {
  content: "·";
  margin: 0 8px;
}

/* VIEW PROJECT LINKS */

.work-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
  color: #d4d8d8;
  font-size: 0.9rem;
}

/* HOVER AND KEYBOARD FOCUS */

.work-card-link:hover {
  box-shadow: 0 6px 20px rgba(67, 56, 67, 0.12);
}

.work-card-link:hover .work-card-cta {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.work-card-link:focus-visible {
  outline: 3px solid #433843;
  outline-offset: 5px;
}

/* MOBILE */

@media (max-width: 700px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }

  .work-card-details {
    padding: 24px;
  }
}