/* CJ Kemble - Contact page
   Page-specific rules only; shell (tokens, header, footer, grain,
   .about-imdb, reveal) comes from ../css/cinematic.css */

/* ---------- page head ---------- */

.page-head {
  position: relative;
  text-align: center;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3.5rem) clamp(3rem, 6.5vw, 5.5rem);
  background: #000;
  border-bottom: 1px solid rgba(201, 162, 39, 0.28);
}

.page-kicker {
  font-size: clamp(0.62rem, 1vw, 0.74rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(1rem, 2.4vw, 1.6rem);
}

.page-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0.035em;
  text-wrap: balance;
}

.page-head .corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold-dim);
}
.page-head .corner.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.page-head .corner.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }

@media (prefers-reduced-motion: no-preference) {
  .page-kicker, .page-head h1 {
    opacity: 0;
    transform: translateY(14px);
    animation: head-rise 1s var(--ease-slow) forwards;
  }
  .page-head h1 { animation-delay: 0.2s; }
  @keyframes head-rise {
    to { opacity: 1; transform: none; }
  }
}

/* ---------- container ---------- */

.container {
  max-width: 78rem;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 3.5rem);
  padding-right: clamp(1.25rem, 4vw, 3.5rem);
}

.contact-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  padding-top: clamp(4rem, 9vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 10vw, 8.5rem);
}

.contact-lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.5;
  letter-spacing: 0.01em;
  max-width: 34ch;
}

.contact-mailto {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  padding: clamp(1rem, 2.5vw, 1.6rem) clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--gold-dim);
  transition: border-color 0.35s ease, color 0.35s ease, background 0.35s ease;
  word-break: break-word;
  max-width: 26ch;
}

.contact-mailto:hover,
.contact-mailto:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 39, 0.06);
}

.contact-imdb { margin-top: 0.25rem; }

.contact-body .corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold-dim);
}
.contact-body .corner.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.contact-body .corner.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }

@media (max-width: 640px) {
  .contact-body .corner { display: none; }
}
