/* =========================================================
   Part 6 · Contact, form, footer
   ========================================================= */

.contact {
  padding-top: clamp(56px, 6vw, 92px);
  padding-bottom: 0;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(120, 16, 28, .14), transparent 65%),
    linear-gradient(120deg, #0d0a0a, var(--bg) 55%);
}
.contact-top {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: end;
}
.contact-intro .eyebrow { margin-bottom: 20px; }
.contact-intro h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 5.8vw, 94px);
  line-height: .94;
  letter-spacing: -.015em;
  margin-bottom: 24px;
}
.contact-intro > p {
  max-width: 450px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}
.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 46px;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
  transition: color .25s;
}
.contact-cta:hover { color: var(--accent); }
.round-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #6b1b24;
  border-radius: 50%;
  transition: background .3s;
}
.round-arrow svg { width: 14px; height: 14px; color: var(--accent); transition: transform .3s, color .3s; }
.contact-cta:hover .round-arrow { background: #59111c; }
.contact-cta:hover .round-arrow svg { color: #fff; transform: translate(2px, -2px); }

.contact-links { border-top: 1px solid var(--line); }
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: color .25s, padding .3s var(--ease);
}
.contact-link:hover { color: var(--accent); padding-left: 6px; }
.contact-link-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border: 1px solid #61222a;
  border-radius: 50%;
  color: var(--accent);
}
.contact-link-icon svg { width: 15px; height: 15px; }
.contact-link-main { flex: 1; min-width: 0; }
.contact-link small {
  display: block;
  margin-bottom: 2px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-value {
  display: block;
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.contact-link > svg { width: 14px; height: 14px; color: var(--muted); flex-shrink: 0; }

/* ---------- Form ---------- */
.project-form {
  display: grid;
  grid-template-columns: minmax(0, .52fr) minmax(0, 1.48fr);
  gap: clamp(28px, 4vw, 60px);
  margin-top: clamp(44px, 5vw, 68px);
  padding-top: clamp(30px, 3vw, 42px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.form-head .eyebrow { margin-bottom: 16px; }
.form-head p {
  max-width: 290px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: #0e0b0b;
  border: 1px solid #302829;
  border-radius: 0;
  color: var(--ink);
  font-size: 12px;
  transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder,
.field textarea::placeholder { color: #6f6664; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a09c9a' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #120d0e;
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: #ff5d6b; }
.field-message { grid-column: 1 / -1; }
.field-submit {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.project-form .solid-button:disabled {
  opacity: .65;
  cursor: wait;
}
.form-note {
  font-size: 10px;
  color: var(--muted);
}
.form-note a { color: var(--ink); border-bottom: 1px solid #4e3a3c; }
.form-note a:hover { color: var(--accent); }
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
  background: #070606;
  border-top: 1px solid var(--line);
}
.footer-ghost {
  padding-top: 26px;
  font-family: var(--display);
  font-size: clamp(80px, 17.6vw, 300px);
  line-height: .78;
  text-align: center;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 235, .07);
  user-select: none;
  pointer-events: none;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr .65fr .7fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 44px var(--gutter) 50px;
}
.footer-brand .wordmark { margin-bottom: 18px; }
.footer-brand p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.footer-nav,
.footer-socials { display: flex; flex-direction: column; gap: 8px; }
.footer-nav .eyebrow,
.footer-socials .eyebrow { margin-bottom: 6px; }
.footer-nav a,
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  font-size: 11px;
  color: var(--muted);
  transition: color .25s;
}
.footer-nav a:hover,
.footer-socials a:hover { color: var(--accent); }
.footer-socials a svg { width: 13px; height: 13px; }
.footer-meta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-meta .availability { font-size: 8px; }
.footer-meta > a { font-size: 11px; color: var(--muted); transition: color .25s; }
.footer-meta > a:hover { color: var(--ink); }
.footer-top {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-top svg { width: 13px; height: 13px; color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line-soft);
  font-size: 8px;
  letter-spacing: .04em;
  color: #6f6968;
}
.footer-version { color: #4f4a49; }

/* ---------- No-script ---------- */
.noscript {
  max-width: 640px;
  margin: 40px auto;
  padding: 24px;
  border: 1px solid var(--line);
  font-size: 13px;
}
.noscript h2 { font-size: 20px; margin-bottom: 10px; }
.noscript a { color: var(--accent); }
