/* Work With Us page (/work-with-us/). Uses blog.css tokens and header/footer. */
/* This page only: the background matches the hero illustration's cream (#faeedf,
   sampled from its left side), so the image sits in the page without a seam. */
:root:has(body.wwu-page), body.wwu-page { background: #faeedf; }
.wwu [hidden] { display: none !important; }

main.wwu { max-width: 860px; }

.wwu-hero { text-align: center; padding: 8px 0 8px; }
/* Hero illustration: the full composition at every width (never cropped), with
   no border, shadow or card. A soft mask fades all four edges into the page cream
   (left 3%, right 7%, top 4%, bottom 5%); the image text starts about 5% in and
   the people sit well inside, so neither is faded. */
.wwu-hero-figure { margin: 0 0 18px; }
.wwu-hero-figure img {
  display: block; width: 100%; height: auto; aspect-ratio: 1733 / 907; background: #faeedf;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 4%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 4%, #000 95%, transparent 100%);
  mask-composite: intersect;
}
.wwu-hero .badge { margin-bottom: 16px; }
.wwu-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--navy);
}
.wwu-intro {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(13, 34, 61, 0.85);
}

.wwu-ways { margin: 40px 0 8px; }
.wwu-ways h2, .wwu-form-card h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  margin: 0 0 16px;
  color: var(--teal);
}
.wwu-ways h2 { text-align: center; }
.wwu-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.wwu-card {
  background: var(--white);
  border: 1px solid rgba(28, 111, 120, 0.18);
  border-radius: 14px;
  padding: 20px 20px 18px;
  box-shadow: 0 6px 18px rgba(13, 34, 61, 0.06);
}
.wwu-icon { font-size: 1.5rem; display: block; margin-bottom: 8px; }
.wwu-card h3 { margin: 0 0 6px; font-size: 1.08rem; color: var(--navy); }
.wwu-card p { margin: 0; line-height: 1.6; color: rgba(13, 34, 61, 0.8); }

.wwu-form-card {
  margin-top: 40px;
  background: var(--white);
  border: 1px solid rgba(28, 111, 120, 0.2);
  border-top: 4px solid var(--coral);
  border-radius: 14px;
  padding: 28px 28px 24px;
  box-shadow: 0 8px 24px rgba(13, 34, 61, 0.08);
  scroll-margin-top: 16px;
}
.wwu-form-card:focus { outline: none; }
.wwu-form-desc { margin: -6px 0 18px; color: rgba(13, 34, 61, 0.8); line-height: 1.6; }
.wwu-required-note { margin: 0 0 14px; font-size: 0.88rem; color: rgba(13, 34, 61, 0.75); }
.wwu-req { color: #b3261e; font-weight: 700; margin-left: 2px; }

.wwu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.wwu-field { margin-bottom: 16px; }
.wwu-field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; color: var(--navy); }
.wwu-optional { font-weight: 400; color: rgba(13, 34, 61, 0.6); }
.wwu-field input, .wwu-field select, .wwu-field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem; /* 16px: no zoom on iOS */
  padding: 11px 13px;
  border: 1px solid rgba(13, 34, 61, 0.3);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  min-height: 44px;
}
.wwu-field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.wwu-field input:disabled { background: #f1eee6; color: rgba(13, 34, 61, 0.5); border-color: rgba(13, 34, 61, 0.15); cursor: not-allowed; }
.wwu-field input:focus-visible, .wwu-field select:focus-visible, .wwu-field textarea:focus-visible,
.wwu-submit:focus-visible, .wwu-form-card a:focus-visible, .wwu-alert a:focus-visible {
  outline: 3px solid var(--coral-deep);
  outline-offset: 2px;
}
.wwu-field [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.wwu-check { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.wwu-check input { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--teal); }
.wwu-check label { margin: 0; font-weight: 500; }
.wwu-check input:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 2px; }
.wwu-hint { margin: 6px 0 0; font-size: 0.85rem; color: rgba(13, 34, 61, 0.62); }
.wwu-error { margin: 6px 0 0; font-size: 0.88rem; font-weight: 600; color: #b3261e; }
.wwu-error::before { content: "⚠ "; }

.wwu-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.wwu-alert {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(179, 38, 30, 0.35);
  background: #fdf1ef;
  color: #6d1d17;
}
.wwu-alert:focus { outline: 3px solid var(--coral-deep); outline-offset: 2px; }
.wwu-alert p { margin: 0; font-weight: 600; }
.wwu-alert ul { margin: 8px 0 0; padding-left: 20px; }
.wwu-alert a { color: #6d1d17; }

.wwu-note {
  margin: 4px 0 14px;
  padding: 12px 14px;
  background: rgba(28, 111, 120, 0.06);
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(13, 34, 61, 0.85);
}
.wwu-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 30px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.wwu-submit:hover { filter: brightness(1.04); }
.wwu-submit:disabled { opacity: 0.7; cursor: progress; }
.wwu-privacy { margin: 14px 0 0; font-size: 0.85rem; color: rgba(13, 34, 61, 0.65); }

.wwu-success {
  padding: 22px 20px;
  border-radius: 10px;
  background: rgba(28, 111, 120, 0.08);
  border: 1px solid rgba(28, 111, 120, 0.3);
  text-align: center;
}
.wwu-success:focus { outline: 3px solid var(--teal); outline-offset: 2px; }
.wwu-success-title { margin: 0; font-weight: 700; font-size: 1.08rem; color: var(--teal); }

@media (max-width: 639px) {
  /* Phones: the hero runs edge to edge (as large as possible, so its text stays
     readable); its right side meets the screen edge, so only top/bottom fade. */
  .wwu-hero-figure { margin: -8px -20px 14px; }
  .wwu-hero-figure img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 95%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 95%, transparent 100%);
  }
  .wwu-cards, .wwu-grid { grid-template-columns: 1fr; }
  .wwu-form-card { padding: 22px 16px 20px; }
  .wwu-submit { width: 100%; }
}
@media (forced-colors: active) {
  .wwu-field [aria-invalid="true"] { border: 2px solid CanvasText; }
  .wwu-submit { border: 1px solid ButtonText; }
}
