/* =========================================================
   Contact page — contact.html
   One screen: header, a giant email address, footer.
   Builds on css/scroll.css + css/project.css.
   ========================================================= */

.page-contact {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

/* ---------- middle: labels + email ---------- */
.ct {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px var(--edge) 48px;
}

.ct__labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--edge);
  margin-bottom: clamp(36px, 7vh, 72px);
}
.ct__labels p { margin: 0; line-height: 1.2; }

.ct__email-wrap {
  margin: 0;
  font-size: clamp(30px, 9.2vw, 150px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.035em;
}
.ct__email {
  display: inline-block;
  text-decoration: none;
  transition: color .35s var(--ease);
}
.ct__email span {
  display: table;               /* one underlined line each, only as wide as the text */
  text-decoration: underline;
  text-decoration-thickness: .055em;
  text-underline-offset: .09em;
}
.ct__email:hover { color: var(--mute); }

.ct__copy {
  align-self: flex-start;
  margin-top: 22px;
  color: var(--mute);
}
.ct__copy:hover, .ct__copy.is-done { color: var(--ink); }

/* footer: no "Back to top" on this one-screen page, links stay centred */
.page-contact .pj__foot { display: grid; grid-template-columns: 1fr auto 1fr; }

/* ---------- page enter ---------- */
.ct > * { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.ct__email-wrap { transition-delay: .08s; }
.ct__copy { transition-delay: .16s; }
.is-entering .ct > * { opacity: 0; transform: translateY(14px); }

/* ---------- small screens ---------- */
@media (max-width: 720px) {
  .ct { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .ct > * { transition: none; opacity: 1; transform: none; }
}
