/* contact.css
   Contact page in the site's dark/lime look. Colors and fonts come from
   the tokens in concept-timeline.css, and the top bar reuses the .wf-bar
   rules in work-first.css, so load this after both. */

body { background: var(--bg); }

.ct {
  --ct-side: clamp(16px, 4vw, 40px);
  --ct-text-2: rgba(243, 245, 236, 0.7);

  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 var(--ct-side);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
}

.ct-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.ct a { color: inherit; }

.ct :focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* ---------- heading ---------- */

.ct-head {
  margin: 28px 0 0;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.ct-lede {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.4;
  color: var(--ct-text-2);
  text-wrap: pretty;
}

/* ---------- form + links ---------- */

.ct-grid {
  display: grid;
  gap: 48px;
  margin: 48px 0 64px;
}

.ct-form {
  display: grid;
  gap: 20px;
}

.ct-pair {
  display: grid;
  gap: 20px;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-field label {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ct-field label span {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ct-text-2);
}

.ct-field input,
.ct-field textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-soft);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease);
}

.ct-field textarea {
  min-height: 160px;
  resize: vertical;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder { color: rgba(243, 245, 236, 0.45); }

.ct-field input:hover,
.ct-field textarea:hover { border-color: rgba(243, 245, 236, 0.3); }

.ct-field input:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: var(--lime);
}

.ct-send {
  justify-self: start;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--bg);
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.ct-send:hover { background: #e6ff70; transform: translateY(-1px); }

/* Spam honeypot: off-screen rather than type="hidden", because bots skip
   hidden inputs but fill ones that are in the layout. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ct-side h2 {
  margin: 0;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ct-links {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.ct-links li { border-top: 1px solid var(--line); }
.ct-links li:last-child { border-bottom: 1px solid var(--line); }

.ct-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.ct-links a:hover { color: var(--lime); }

.ct-links small {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ct-text-2);
}

/* ---------- footer ---------- */

.ct-foot {
  margin-top: auto;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ct-text-2);
}

@media (min-width: 768px) {
  .ct-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .ct-head { margin-top: 48px; }
  .ct-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 80px;
    margin-top: 64px;
  }
}
