/* Main Site Enhancements: True Focus (#about) + Gradual Blur (fades before footer, zero noise) */

.about {
  align-items: end;
}
.about-brand p {
  margin: 16px 0 0;
  font-size: 20px;
  max-width: 26ch;
  color: #a6aba3;
}
.about-brand .about-contact {
  margin-top: 14px;
  font-size: 15px;
  color: var(--paper, #f3f4f0);
}
.about-brand .about-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid rgba(243, 244, 240, 0.25);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.about-brand .about-contact a:hover {
  opacity: 0.78;
  border-color: var(--paper, #f3f4f0);
}

.about-focus {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  padding: 12px 6px;
  align-items: baseline;
  justify-self: end;
}
.about-focus .tf-word {
  position: relative;
  display: inline-block;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--paper, #f3f4f0);
  opacity: 0.36;
  filter: blur(3.6px);
  cursor: pointer;
  user-select: none;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-focus .tf-word.is-active {
  opacity: 1;
  filter: blur(0px);
}
.about-focus .tf-reticle {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
}
.about-focus .tf-reticle.is-ready {
  opacity: 1;
}
.about-focus .tf-reticle i {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1.8px solid var(--accent, #832b20);
}
.about-focus .tf-reticle i:nth-child(1) { top: -5px; left: -8px; border-right: 0; border-bottom: 0; }
.about-focus .tf-reticle i:nth-child(2) { top: -5px; right: -8px; border-left: 0; border-bottom: 0; }
.about-focus .tf-reticle i:nth-child(3) { bottom: -5px; left: -8px; border-right: 0; border-top: 0; }
.about-focus .tf-reticle i:nth-child(4) { bottom: -5px; right: -8px; border-left: 0; border-top: 0; }

/* Gradual Blur at bottom viewport edge (fades out smoothly over footer so ATOMIC LEAP stays sharp) */
.gradual-blur-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  z-index: 14;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.gradual-blur-bottom.is-hidden {
  opacity: 0;
}
.gradual-blur-bottom i {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  pointer-events: none;
}
.gradual-blur-bottom i:nth-child(1) {
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 35%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%);
}
.gradual-blur-bottom i:nth-child(2) {
  backdrop-filter: blur(3.5px);
  -webkit-backdrop-filter: blur(3.5px);
  mask-image: linear-gradient(to bottom, transparent 35%, #000 72%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 35%, #000 72%);
}
.gradual-blur-bottom i:nth-child(3) {
  backdrop-filter: blur(6.5px);
  -webkit-backdrop-filter: blur(6.5px);
  mask-image: linear-gradient(to bottom, transparent 62%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 62%, #000 100%);
}

@media (max-width: 700px) {
  .about-brand p {
    font-size: 18px;
  }
  .about-focus {
    justify-self: start;
    padding: 8px 4px;
    gap: 10px 20px;
  }
  .about-focus .tf-word {
    font-size: clamp(22px, 6vw, 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-focus .tf-word {
    opacity: 1;
    filter: none;
    transition: none;
  }
  .about-focus .tf-reticle { display: none; }
  .gradual-blur-bottom { display: none; }
}
