/* Contact (Figma 106:1994, 1440 × 735) — single screen with intro animation */

.contact-stage {
  position: relative;
  max-width: var(--page);
  height: 100vh;
  min-height: 600px;
  margin: 0 auto;
  overflow: hidden;
}

/* ---------- Grey half-circles ---------- */
.contact-arc {
  position: absolute;
  top: 0;
  width: 18.09%;
  height: 100%;
  max-width: none;
  animation: arc-in 1.5s var(--ease) both;
}
.contact-arc--1 { left: 15.69%; }
.contact-arc--2 { left: 40.07%; animation-delay: .18s; }

@keyframes arc-in {
  from { transform: translateX(-110vw); opacity: 0; }
  30%  { opacity: 1; }
  to   { transform: none; opacity: 1; }
}

/* ---------- Content (vertically centred, x from Figma) ---------- */
.contact-row {
  position: absolute;
  inset: 0;
}
.contact-col { position: absolute; top: 50%; }

.contact-col--brand { left: 10.28%; width: 18.06%; transform: translateY(-63.5px); }
.contact-wordmark { width: 100%; height: auto; }
.contact-cv { display: inline-block; margin: 18px 0 0 7.7%; line-height: 20px; }

.contact-col--info { left: 38.68%; transform: translateY(-64.5px); }
.contact-name { font-size: 24px; line-height: 26px; letter-spacing: -0.72px; }
.contact-links { margin-top: 41px; font-weight: 200; line-height: 18px; }
.contact-links a { transition: opacity .2s; }
.contact-links a:hover { opacity: .55; text-decoration: underline; }

.contact-col--form { left: 61.32%; min-height: 166px; transform: translateY(-78.5px); }

/* ---------- Reveal left → right ---------- */
.reveal {
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  animation: reveal 1.1s var(--ease) var(--delay, 0s) forwards;
}
@keyframes reveal {
  from { clip-path: inset(0 100% 0 0); opacity: 0; }
  to   { clip-path: inset(0 0 0 0);    opacity: 1; }
}
/* the inputs' focus line can grow a little outside the box; drop the clip once revealed */
.contact-col--form.reveal { animation-name: reveal-form; }
@keyframes reveal-form {
  from { clip-path: inset(0 100% 0 0); opacity: 0; }
  99%  { clip-path: inset(0 0 0 0); }
  to   { clip-path: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-arc, .reveal { animation: none; clip-path: none; opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .contact-col--form { left: auto; right: var(--edge); }
  .contact-col--info { left: 36%; }
}
@media (max-width: 900px) {
  .contact-stage { height: auto; min-height: 100vh; padding: calc(var(--nav-h) + 48px) var(--edge) 64px; }
  .contact-arc { width: 34%; }
  .contact-arc--1 { left: 4%; }
  .contact-arc--2 { left: 44%; }
  .contact-row { position: relative; display: flex; flex-direction: column; gap: 48px; }
  .contact-col, .contact-col--brand, .contact-col--info, .contact-col--form {
    position: relative; left: auto; right: auto; top: auto; transform: none;
  }
  .contact-col--brand { width: min(260px, 60%); }
  .contact-col--form { width: 100%; max-width: 451px; }
}
