/* ==========================================================================
   /freelance/ page-local styles
   Scoped under .bench-* so nothing here leaks into other pages.
   Uses the site tokens from variables.css. No new colors introduced.

   Deliberately minimal: this page is a short description plus a form.
   If you're adding a section here, check whether it belongs on the page
   at all first.
   ========================================================================== */

.bench-wrap { --bench-gutter: clamp(1.25rem, 4vw, 2rem); }

/* ---------- shared ---------- */
.bench-section { padding: clamp(3rem, 7vw, 5rem) 0; }
.bench-container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--bench-gutter);
}

.bench-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--color-teal-soft);
  color: var(--brand-3);
}

.bench-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2vw + 1.1rem, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}
.bench-lede {
  font-size: clamp(1.02rem, 0.35vw + 0.98rem, 1.15rem);
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 1rem 0 0;
}

/* ---------- hero ---------- */
.bench-hero {
  background: var(--primary);
  color: var(--white);
  padding: calc(var(--nav-height) + clamp(2.25rem, 5vw, 3.5rem)) 0 clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
/* soft off-center glow so the navy isn't a flat slab */
.bench-hero::after {
  content: "";
  position: absolute;
  width: 40rem;
  height: 40rem;
  right: -14rem;
  top: -20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(146, 202, 205, 0.2) 0%, rgba(146, 202, 205, 0) 68%);
  pointer-events: none;
}
.bench-hero__inner { position: relative; z-index: 1; }
.bench-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw + 1rem, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0.85rem 0 0;
}
.bench-hero__sub {
  font-size: clamp(1.02rem, 0.4vw + 0.98rem, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 1.15rem 0 0;
}

/* ---------- what we're looking for ---------- */
.bench-roles {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bench-roles li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  padding-left: 1rem;
  border-left: 3px solid var(--brand-secondary);
}
.bench-roles strong {
  display: block;
  font-weight: 700;
  color: var(--primary);
}
.bench-terms-line {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 1.75rem 0 0;
}

/* ---------- form ---------- */
.bench-form-section {
  background: var(--cream);
  border-top: 1px solid var(--color-border);
}
.bench-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}
.bench-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.bench-form__field { display: block; }
.bench-form__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.bench-form__opt {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--color-text-dim);
}
.bench-form__field input,
.bench-form__field select,
.bench-form__field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.bench-form__field textarea { resize: vertical; min-height: 8rem; }
/* short values (a rate) shouldn't stretch the full form width on desktop */
.bench-form__field--short { max-width: 22rem; }
/* native select needs the arrow drawn back in once appearance is reset */
.bench-form__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f0f0f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.05rem;
  padding-right: 2.6rem;
  cursor: pointer;
}
.bench-form__field input:focus-visible,
.bench-form__field select:focus-visible,
.bench-form__field textarea:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 40, 107, 0.12);
}
.bench-form__field input::placeholder,
.bench-form__field textarea::placeholder { color: var(--color-text-dim); }
.bench-form__hint {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-text-dim);
  margin: 0.4rem 0 0;
}
.bench-form__submit { align-self: flex-start; }
.bench-form__reassure {
  font-size: var(--fs-xs);
  color: var(--color-text-dim);
  margin: 0;
}
/* honeypot */
.bench-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- responsive ---------- */
@media (max-width: 600px) {
  .bench-form__row { grid-template-columns: minmax(0, 1fr); }
  .bench-form__submit { align-self: stretch; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .bench-form__field input,
  .bench-form__field select,
  .bench-form__field textarea { transition: none; }
}
