/* connect.html — page styles (moved from an inline <style> block). Loads after styles.css. */

/* Connect-page specific overrides */
.connect-page-hero {
  position: relative;
  overflow: hidden;
  background: var(--pitch-black);
  border-bottom: 0.5px solid var(--gray-mid);
  padding: calc(var(--nav-h) + 100px) var(--pad-x) 100px;
}
#topo-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.connect-page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    110deg,
    rgba(10,10,10,0.88) 0%,
    rgba(10,10,10,0.60) 40%,
    rgba(10,10,10,0.10) 100%
  );
}
.connect-page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
}
.connect-page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 200px);
  line-height: 0.88;
  color: var(--warm-white);
  margin-bottom: 32px;
}
.connect-page-hero__title em {
  font-style: normal;
  color: var(--blaze-orange);
}
.connect-page-hero__sub {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  color: rgba(245,243,238,0.55);
  max-width: 480px;
  line-height: 1.75;
}

/* ---------- Project intake form ---------- */
.connect-info__desc { margin-bottom: 40px; }

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lead-form[hidden] { display: none; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.form-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blaze-orange);
  padding: 0;
}
.form-optional {
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: none;
  color: var(--text-muted);
}
.form-input {
  width: 100%;
  background: var(--surface-darker);
  border: 0.5px solid var(--gray-mid);
  border-radius: 1px;
  color: var(--warm-white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.form-input:focus,
.form-input:focus-visible { border-color: var(--blaze-orange); }
.form-input::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23C8C6C0' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-select option { background: var(--surface-dark); color: var(--warm-white); }

/* Engagement type: radio pills */
.form-choices { border: 0; margin: 0; padding: 0; }
.form-choices legend { margin-bottom: 8px; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  position: relative;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.choice span {
  display: inline-block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--warm-white);
  background: var(--surface-darker);
  border: 0.5px solid var(--gray-mid);
  border-radius: 1px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.choice:hover span { border-color: var(--graphite); }
.choice input:checked + span {
  border-color: var(--blaze-orange);
  background: var(--orange-tint);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--blaze-orange);
  outline-offset: 2px;
}

.lead-form__submit { align-self: flex-start; margin-top: 8px; }
.lead-form__submit:disabled { opacity: 0.6; cursor: wait; }
.lead-form__success:focus { outline: none; }

/* Right column: call card + direct links */
.connect-aside {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}
.connect-link--static { cursor: default; }
.connect-link--static:hover { border-bottom-color: var(--gray-mid); }

@media (max-width: 1024px) {
  .connect-aside { position: static; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}
