body,
main {
  max-width: 100% !important;
}
#hero,
.hero-container {
  max-width: 100% !important;
  overflow: hidden !important;
}
.hero-container {
  position: relative;
  height: 100svh;
  eight: 100vh;
}
#hero {
  margin-top: 5vh;
  height: 80svh;
  height: 80vh;
}
#name-year {
  flex-wrap: wrap;
}
#name-year .col plug .child {
  font-family: var(--title);
  line-height: 1.25;
}
.year {
  margin-top: 3vh;
  line-height: 100%;
  font-family: var(--text);
  font-size: var(--h1);
  letter-spacing: var(--ls);
}
.markesh {
  font-family: var(--text);
  font-size: var(--h1);
  line-height: 0.8;
}
.marquee__inner {
  display: flex;
  width: fit-content;
  flex: auto;
  flex-direction: row;
}
.marquee__part {
  display:flex;
  align-items: center;
  flex-shrink: 0;
  grid-column-gap: clamp(2.62rem, 0.89vw + 2.39rem, 3.11rem);
}
.marquee__inner h1 {
  font-family: var(--text);
  text-transform: uppercase;
}
#union {
  align-self: center;
}
#union svg path{
  fill: var(--primary);
  }
#page-2 {
  margin-top: 10vh !important;
  width: 100%;
  max-width: 100rem;
  margin: auto;
}
#about{
  font-size: var(--h1-5);
  letter-spacing: var(--ls);
  line-height: 100%;
}
.l2{
  font-family: var(--title);
  margin-top: -10px;
}
.l2 em{
  line-height: 0.8 !important;
}
#cta-cluster {
  width: 100%;
  margin-top: 7.5rem;
  max-width: 40rem;
  gap: 5rem;
}
#cta-cluster h4 {
  line-height: 140%;
  white-space: normal;
  text-align: justify;
  width: 100%;
}
#work {
  width: 100%;
}
#work-title {
  opacity: 1;
  mix-blend-mode: difference;
  z-index: 3;
  pointer-events: none;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}
#work-title * {
  color: var(--diff);
}
#project-row a {
    display: block;
    overflow: hidden;
    margin-bottom: 20vh;
    opacity: 1;
    transition: 0.3s ease-in-out;
}
#project-row:has(.project:hover:hover) > .project:not(:hover){
  opacity: 0;
}
#project-img img {
    object-fit: cover !important;
    overflow: hidden !important;
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: 0.5s;
    transform: scale(1);
}
#project-img img:hover {
  transform: scale(1.15);
}
.aspect-1-1 {
  max-width: 530px;
  aspect-ratio: 1/1;
}
.aspect-1-2 {
  max-width: 530px;
  aspect-ratio: 1/2;
}
.aspect-2-3 {
  max-width: 380px;
  aspect-ratio: 2/3;
}
.aspect-3-4 {
  max-width: 380px;
  aspect-ratio: 3/5;
}
.aspect-16-10 {
  max-width: 530px;
  aspect-ratio: 3/2;
}
#project-row {
  flex-direction: column;
  width: 85%;
}
#project-cta {
  display: none;
  font-family: var(--title);
  font-size: var(--h2);
}
.image-capusle {
  display: inline-block;
  position: relative;
}
#capsule-container {
  pointer-events: none;
  opacity: 0;
  position: absolute;
  bottom: 20px;
  z-index: 2;
  padding: 0 0 20px 20px;
  transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}
capsule {
  font-size: clamp(0.85rem, 0.29vw + 0.78rem, 1.01rem);
  transform: translateY(15%);
  overflow: hidden;
  border-radius: 2em;
  padding: 5px 15px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  background-color: var(--white);
  color: var(--black);
  transition: all 0.75s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.project:hover #capsule-container {
  opacity: 1;
}
.project:hover capsule {
  transform: translateY(0%);
}
@media (max-width: 1200px) {
  section-header {
    width: 100%;
  }
}
@media (max-width: 910px) {
  section {
    flex-direction: column;
  }
  section h3 {
    padding-left: 0;
  }
}
@media (max-width: 800px) {
  body,
  main {
    overflow-x: hidden !important;
  }
  #cta-cluster {
    gap: 0;
  }
  #work-title {
    position: inherit;
    top: auto;
    height: auto;
    margin-top: 10vh;
    margin-bottom: 10vh;
  }
  #project-row {
    align-items: center;
    flex-direction: column;
    width: auto;
  }
  #project-cta {
    display: block;
  }
  #project-row > a {
    margin: 3vh 0;
  }
  .image-capusle img:hover {
    filter: grayscale(0) sepia(0) brightness(1);
    transform: scale(1);
}
#project-img img:hover {
  transform: scale(1);
}
  #project-row .self-end,
  #project-row .self-start {
    align-self: center;
  }
  .aspect-1-1,
  .aspect-1-2,
  .aspect-16-10,
  .aspect-2-3,
  .aspect-3-4 {
    max-width: 500px;
  }
  #project-row:has(.project:hover:hover) > .project:not(:hover){
    opacity: 1;
  }
  .image-capusle  img {
    aspect-ratio: 3/4 !important;
    width: 100%;
    height: auto;
  }
  #union {
    align-self: center;
    transform: scale(0.7);
  
  }
}
