/* Contact overlay for inner story pages (About, WorkDrive, Zebronics).
   Sits inside the rounded card, never the black page chrome. */

.contact-light-container {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: calc(132 * var(--u)) calc(80 * var(--u)) calc(48 * var(--u));
  background-color: #F5F5F7;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.contact-light-container.is-active,
.contact-light-container[style*="visibility: inherit"] {
  pointer-events: auto;
}

.wd-header,
.zb-header {
  z-index: 20;
}

.contact-light-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(1180 * var(--u));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: calc(28 * var(--u));
}

.contact-light-intro {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
  font-size: calc(28 * var(--u));
  font-weight: 400;
  line-height: 1.45;
  color: #333333;
  max-width: calc(760 * var(--u));
  margin: 0 0 calc(48 * var(--u)) 0;
  letter-spacing: calc(-0.4 * var(--u));
}

.contact-light-headline {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
  font-size: calc(48 * var(--u));
  font-weight: 600;
  line-height: 1.45;
  color: #1D1D1F;
  max-width: calc(1100 * var(--u));
  margin: 0;
  letter-spacing: calc(-1.2 * var(--u));
}

.contact-light-link {
  display: inline;
  text-decoration: none;
  color: #1D1D1F;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 100% calc(3 * var(--u));
  padding-bottom: calc(2 * var(--u));
  transition: opacity 0.2s ease;
}

.contact-light-container.is-active .contact-light-link {
  background-size: 100% calc(3 * var(--u));
}

.contact-light-link:hover {
  opacity: 0.72;
}

.contact-light-link.linkedin {
  color: #0A66C2;
}

img.contact-light-icon {
  display: inline-block;
  width: calc(36 * var(--u));
  max-width: none;
  height: auto;
  vertical-align: middle;
  position: relative;
  top: calc(-4 * var(--u));
  margin: 0 calc(6 * var(--u)) 0 calc(4 * var(--u));
}

.contact-light-bg-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-18 * var(--u));
  width: 100%;
  text-align: center;
  font-family: 'Funnel Display', sans-serif;
  font-size: 14.5vw;
  font-weight: 800;
  color: rgba(29, 29, 31, 0.055);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.04em;
  line-height: 0.82;
  z-index: 1;
  overflow: hidden;
}

@media (max-width: 900px) {
  .contact-light-container {
    padding: calc(120 * var(--u)) calc(48 * var(--u)) calc(40 * var(--u));
  }

  .contact-light-intro {
    font-size: calc(22 * var(--u));
    margin-bottom: calc(32 * var(--u));
  }

  .contact-light-headline {
    font-size: calc(32 * var(--u));
  }

  .contact-light-icon {
    width: calc(28 * var(--u));
  }

  .contact-light-bg-text {
    font-size: 16vw;
  }
}
