/* ==========================================================================
   Monolith — Contact page (dark theme)
   Relies on /css/site.css for @font-face, resets, nav/footer, keyframes.
   ========================================================================== */

.lime { color: #D6FE99; }
.blink { animation: blink 1.2s steps(1) infinite; }
.dim { color: #565656; }
.ok { color: #BCFF56; }

/* ============ intro ============ */
.ct-intro {
  max-width: 1440px; margin: 0 auto; padding: 120px 80px 48px; box-sizing: border-box;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
}
.ct-tag {
  font-family: 'VCR OSD Mono', monospace; font-size: 12px; letter-spacing: 0.12em;
  color: #747474; text-transform: uppercase; animation: fadein 0.8s ease 0.1s both;
}
.ct-h1 {
  margin: 28px 0 0; font-weight: 400;
  font-size: clamp(44px, 6vw, 88px); line-height: 1.03; letter-spacing: -0.035em;
  color: #FFFFFF; animation: fadein 0.9s ease 0.25s both;
}
.ct-lead {
  max-width: 560px; margin: 40px 0 0; font-size: 20px; line-height: 1.45;
  color: #9C9C9C; animation: fadein 0.9s ease 0.5s both;
}

/* ============ form terminal ============ */
.ct-form-section { max-width: 1440px; margin: 0 auto; padding: 24px 80px 140px; box-sizing: border-box; }

.ct-term {
  max-width: 860px; background: #161616;
  border: 1px solid #2A2A2A; box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.ct-term-bar {
  display: flex; align-items: center; gap: 8px; padding: 13px 18px;
  border-bottom: 1px solid #2A2A2A; background: #1D1D1D;
}
.ct-dot { width: 10px; height: 10px; border-radius: 50%; background: #3A3A3A; }
.ct-term-path {
  margin-left: 12px; font-family: 'VCR OSD Mono', monospace; font-size: 11px;
  letter-spacing: 0.08em; color: #565656;
}
.ct-term-body { padding: 36px; box-sizing: border-box; }

.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 32px; }
.ct-field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ct-field-wide { grid-column: 1 / -1; }

.ct-label {
  font-family: 'VCR OSD Mono', monospace; font-size: 11px; letter-spacing: 0.14em;
  color: #747474; text-transform: uppercase;
}
.ct-label .req { color: #BCFF56; font-style: normal; }

.ct-input {
  appearance: none; -webkit-appearance: none; border-radius: 0;
  background: transparent; border: none; border-bottom: 1px solid #2E2E2E;
  padding: 6px 2px 12px; font-family: Inter, -apple-system, sans-serif;
  font-size: 16px; color: #FFFFFF; caret-color: #BCFF56;
  transition: border-color 0.25s ease;
}
.ct-input:focus { outline: none; border-bottom-color: #BCFF56; }
.ct-input::placeholder { color: #4A4A4A; }
.ct-input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #161616 inset; -webkit-text-fill-color: #FFFFFF; }

.ct-select {
  cursor: pointer; color: #9C9C9C;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23565656'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; padding-right: 22px;
}
.ct-select option { background: #1D1D1D; color: #FFFFFF; }

.ct-textarea { resize: vertical; min-height: 120px; line-height: 1.5; }

/* honeypot: off-screen rather than display:none/hidden, since those are
   exactly what unsophisticated bots check for and skip */
.ct-hp {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

.ct-error {
  margin: 26px 0 0; font-family: 'VCR OSD Mono', monospace; font-size: 12px;
  letter-spacing: 0.06em; color: #FF6B6B;
}

.ct-actions { display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap; margin-top: 40px; }
.ct-submit {
  appearance: none; border: 1px solid #BCFF56; background: transparent; cursor: pointer;
  padding: 14px 26px; font-family: 'VCR OSD Mono', monospace; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase; color: #BCFF56;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.ct-submit:hover { background: #BCFF56; color: #1A1A1A; box-shadow: 0 0 24px rgba(188,255,86,0.35); }
.ct-submit:focus-visible { outline: 1px solid #BCFF56; outline-offset: 3px; }
.ct-alt { font-size: 14px; color: #565656; }
.ct-alt a { color: #9C9C9C; text-decoration: none; transition: color 0.2s ease; }
.ct-alt a:hover { color: #BCFF56; }

/* reCAPTCHA runs invisibly; hide its floating badge and carry the
   required attribution as a line of the terminal's own small print */
.grecaptcha-badge { visibility: hidden; }
.ct-recaptcha-note {
  margin: 16px 0 0; font-family: 'VCR OSD Mono', monospace;
  font-size: 11px; letter-spacing: 0.06em; color: #565656;
}
.ct-recaptcha-note a { color: #9C9C9C; text-decoration: none; transition: color 0.2s ease; }
.ct-recaptcha-note a:hover { color: #BCFF56; }

/* ============ sent state ============ */
.ct-done { display: flex; flex-direction: column; gap: 14px; }
/* display:flex above would defeat the hidden attribute's UA display:none */
.ct-done[hidden] { display: none; }
.ct-done-line {
  margin: 0; font-family: 'VCR OSD Mono', monospace; font-size: 15px;
  letter-spacing: 0.04em; color: #D1D1D1;
}
.ct-done-link { color: #BCFF56; text-decoration: none; }
.ct-done-link:hover { text-shadow: 0 0 12px rgba(188,255,86,0.6); }

/* ============ mobile ============ */
@media (max-width: 760px) {
  .ct-intro { padding: 96px 22px 32px; }
  .ct-form-section { padding: 12px 22px 90px; }
  .ct-term-body { padding: 26px 20px; }
  .ct-grid { grid-template-columns: 1fr; gap: 26px; }
  .ct-actions { gap: 18px; }
  .ct-submit { width: 100%; text-align: center; }
}
