/* base */
html, body {
  margin: 0;
  padding: 0;
  /* font-family: ui-sans-serif, system-ui, -apple-system, Arial; */
  background: #f4f4f2;
  color: #ff0000;


  font-family: "Source Code Pro", monospace;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;

  
}

.mark {
  background-color: yellow;
}
/* frame */
.frame {
  margin: 15px;
  border: 2px solid #d1d1d1;
  background: #f4f4f2;
  box-sizing: border-box;
}

a {
  color: black;
  
}
a:hover {
  color:red;
}



/* typography */
h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
  color: #000000;
}

p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0;
  max-width: 42ch;

  
}
.black{
    color: black;
  }
  
.bold{
    font-weight: 900;
  }
  
  
/* sections */
.section {
  display: flex;
  align-items: center;
  gap: 60px;

  padding: 120px 80px;
  min-height: 95vh;

  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.col {
  flex: 1;
}

/* image treatment */
.image-stack {
  position: relative;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.image-stack img {
  width: 100%;
  display: block;
  transform: scale(1.02);
}

.image-stack .overlay {
  position: absolute;
  top: 0;
  left: 0;

  opacity: 0;
  transition: opacity 0.9s ease;
  transition-delay: 1.2s;
  pointer-events: none;
}

.section.visible .overlay {
  opacity: 1;
}

/* layout variation */
.reverse {
  flex-direction: row-reverse;
}

/* offset */
.shift-left {
  transform: translateX(-30px);
}

.shift-right {
  transform: translateX(30px);
}

/* hover subtlety (desktop) */
@media (min-width: 769px) {
  .image-stack img {
    transition: transform 1.2s ease;
  }

  .section.visible .image-stack img {
    transform: scale(1);
  }
}

/* mobile */
@media (max-width: 768px) {
  .section {
    flex-direction: column;
    padding: 60px 24px;
    min-height: auto;
    gap: 24px;
  }

.last-section {
    position:relative;
    z-index: 9999;
}

  .reverse {
    flex-direction: column;
  }

  .shift-left,
  .shift-right {
    transform: none;
  }
}