/* ============================================================
   XSYDA — Executive Briefing · Contact / Request page
   Page-specific styles. briefing.css remains the source of truth
   for the global design system; this file only adds form +
   contact-specific layout primitives.
   ============================================================ */

/* Back-to-briefing variant of the nav CTA — quieter than the
   primary "Request Executive Briefing" pill on the rest of the site. */
.nav__c--back {
  background: transparent;
  border-color: rgba(255,255,255,0.10);
}
.nav__c--back::before { display: none; }
.nav__c--back .nav__c-arr { display: none; }
.nav__c--back:hover { border-color: rgba(79,209,197,0.45); }

/* Compact contact hero — shorter than the marketing hero on /. */
.hero--contact { padding: 8rem 0 4rem; }
.hero--contact h1 {
  max-width: 22ch;
  font-size: clamp(2.2rem, 4.2vw + 0.4rem, 4rem);
}
.hero--contact .hero__lede { max-width: 56ch; }

.hero__context {
  margin-top: 2rem;
  padding: 0.85rem 1.1rem;
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cy, #4FD1C5);
  background: rgba(79,209,197,0.06);
  border: 1px solid rgba(79,209,197,0.20);
  border-radius: 2px;
}
.hero__context span { color: #eaeef4; font-weight: 600; }

/* ─── Two-column contact section ──────────────────────────── */
.contact { padding: 4rem 0 7rem; border-top: 1px solid rgba(255,255,255,0.06); }
.contact__in {
  max-width: var(--c, 1320px);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(420px, 1.4fr);
  gap: 6rem;
}
@media (max-width: 980px) {
  .contact__in { grid-template-columns: 1fr; gap: 3.5rem; }
}

/* Steps column */
.contact__steps {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact__steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.contact__step-n {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--cy, #4FD1C5);
  padding-top: 0.18rem;
  border-top: 1px solid rgba(79,209,197,0.3);
}
.contact__steps li > div { font-family: 'DM Sans', sans-serif; }
.contact__steps strong {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.005em;
  color: #eaeef4;
  margin-bottom: 0.45rem;
  line-height: 1.25;
}
.contact__steps li > div { color: rgba(234,238,244,0.65); line-height: 1.55; font-size: 0.95rem; }

/* ─── Form ─────────────────────────────────────────────────── */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem;
  background: rgba(7,10,16,0.55);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .contact__row { grid-template-columns: 1fr; }
  .contact__form { padding: 1.75rem; }
}
.contact__field { display: flex; flex-direction: column; gap: 0.5rem; }
.contact__label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234,238,244,0.65);
  font-weight: 500;
}
.contact__label .req { color: var(--cy, #4FD1C5); margin-left: 0.2rem; }
.contact__input,
.contact__textarea,
.contact__select {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: #eaeef4;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color .2s ease, background .2s ease;
  font-weight: 400;
}
.contact__input:focus,
.contact__textarea:focus,
.contact__select:focus {
  outline: none;
  border-color: rgba(79,209,197,0.55);
  background: rgba(255,255,255,0.04);
}
.contact__input::placeholder,
.contact__textarea::placeholder {
  color: rgba(234,238,244,0.30);
}
.contact__textarea { min-height: 120px; resize: vertical; font-family: 'DM Sans', sans-serif; }
.contact__select {
  appearance: none;
  -webkit-appearance: none;
  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 1l5 5 5-5' stroke='%234FD1C5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.contact__select option { background: #070a10; color: #eaeef4; }

.contact__submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.contact__legal {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: rgba(234,238,244,0.45);
  line-height: 1.5;
  flex: 1;
  min-width: 220px;
}

/* Use the existing .btn .btn--p — no override needed for the submit button. */
.contact__form button.btn { cursor: pointer; border: none; font-family: 'DM Sans', sans-serif; }

/* ─── Success state ───────────────────────────────────────── */
.contact__success {
  padding: 3.5rem 2.5rem;
  background: rgba(79,209,197,0.04);
  border: 1px solid rgba(79,209,197,0.25);
  border-radius: 4px;
  text-align: center;
}
.contact__success .eb { justify-content: center; margin-bottom: 1.5rem; }
.contact__success h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
  color: #eaeef4;
  margin: 0 0 1rem;
  line-height: 1.2;
}
.contact__success p {
  color: rgba(234,238,244,0.75);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 auto 2rem;
}
.contact__success-fb {
  font-size: 0.9rem !important;
  color: rgba(234,238,244,0.45) !important;
  margin-bottom: 2.5rem !important;
}
.contact__success-fb a {
  color: var(--cy, #4FD1C5);
  text-decoration: none;
  border-bottom: 1px solid rgba(79,209,197,0.35);
}
.contact__success-fb a:hover { border-bottom-color: var(--cy, #4FD1C5); }

/* Mobile patch — form label readability */
@media (max-width: 600px) {
  .contact__label { font-size: 0.78rem; letter-spacing: 0.12em; }
}
