/* ═══════════════════════════════════════════════
   CONNECT.CSS — Section 9: Contact Form
   Edit: form input underline color, layout split,
         QR block, floating label animation
═══════════════════════════════════════════════ */

#connect {
  background: var(--ink);
  padding: var(--section-v) var(--section-h);
  position: relative;
  overflow: hidden;
}

/* Soft glow on the right */
.connect-glow {
  position: absolute;
  right: -120px; top: 50%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,164,107,.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Two-column layout */
.connect-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── Left column ── */
.connect-left h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin: 12px 0 28px;
}
.connect-left h2 em { font-style: italic; color: var(--gold-light); }
.connect-left p {
  font-family: var(--f-elegant);
  font-size: 1.08rem;
  color: rgba(255,255,255,.62);
  line-height: 1.85;
  margin-bottom: 14px;
}
.connect-divider {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 28px 0;
}
.connect-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(201,164,107,.28);
  padding-bottom: 4px;
  transition: border-color .22s;
}
.connect-email:hover { border-color: var(--gold-light); }

/* QR block */
.qr-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.qr-wrap img {
  border: 1px solid rgba(201,164,107,.18);
  border-radius: var(--radius);
  padding: 6px;
  background: rgba(255,255,255,.03);
  flex-shrink: 0;
}
.qr-text {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  line-height: 1.7;
}
.qr-text strong {
  display: block;
  color: rgba(255,255,255,.48);
  font-weight: 400;
  margin-bottom: 4px;
}

/* ── Floating-label form ── */
.frow { position: relative; margin-bottom: 28px; }
.frow label {
  position: absolute;
  left: 0; top: 16px;
  font-size: .73rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  transition: top .22s ease, font-size .22s ease, color .22s ease;
  pointer-events: none;
}
/* Lift label when input has value or is focused */
.frow input:focus      ~ label,
.frow textarea:focus   ~ label,
.frow select:focus     ~ label,
.frow input:not(:placeholder-shown)    ~ label,
.frow textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  font-size: .62rem;
  color: var(--gold);
}

.frow input,
.frow textarea,
.frow select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.14);
  padding: 16px 0 12px;
  color: #fff;
  font-family: var(--f-body);
  font-size: .95rem;
  outline: none;
  transition: border-color .22s;
  appearance: none;
}
.frow input::placeholder,
.frow textarea::placeholder { color: transparent; }
.frow input:focus,
.frow textarea:focus,
.frow select:focus { border-color: var(--gold); }
.frow select option { background: var(--ink); color: #fff; }
.frow textarea      { height: 96px; resize: none; padding-top: 20px; }

/* Two inputs side by side */
.frow-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

/* Submit button */
.btn-form-submit {
  width: 100%;
  padding: 18px;
  font-size: .8rem;
  letter-spacing: .14em;
  margin-top: 12px;
}
.form-footer-note {
  font-family: var(--f-elegant);
  font-style: italic;
  font-size: .88rem;
  color: rgba(255,255,255,.28);
  text-align: center;
  margin-top: 16px;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 900px) {
  .connect-layout { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 480px) {
  .frow-2 { grid-template-columns: 1fr; gap: 0; }
}
