/* /contact (cu = contact us): one welcoming page for any question. A slim bar
   (logo, phone, theme) instead of the site nav, the invitation beside one short
   form (name, email and the question; the rest optional), then the proof
   (numbers, partners, members in their own words), what happens next and a
   last way back to the form. The shared nav stays in the markup for the chrome
   sync but is not shown here. On a phone the form comes right after the title. */

body[data-page="contact"] .site-nav { display: none; }

/* The bar ------------------------------------------------------------------- */

/* The site nav's glass capsule (its scrolled look), floating from the start. */
.cu-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 8px;
  pointer-events: none;
}
.cu-bar .cu-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: calc(100% - 20px);
  height: 56px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  background: var(--nav-glass);
  box-shadow: inset 0 1px 0 var(--nav-glass-edge), var(--nav-glass-shadow);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  pointer-events: auto;
}
.cu-bar .logo-wordmark { height: 20px; }
.cu-bar .theme-toggle { width: 40px; height: 40px; }
.cu-bar .theme-toggle .icon { width: 16px; height: 16px; }
@media (min-width: 768px) {
  .cu-bar { padding-top: 12px; }
  .cu-bar .cu-bar__inner { width: min(1096px, 100% - 2 * var(--gutter)); height: 60px; padding: 0 10px 0 24px; }
}
.cu-bar__actions { display: flex; align-items: center; gap: 10px; }
.cu-bar__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.cu-bar__phone .icon { width: 16px; height: 16px; color: var(--accent); }
.cu-bar__phone:hover { color: var(--text-1); }

/* The hero: invitation and form ------------------------------------------------ */

/* The glow runs up behind the floating bar (clip-path, as on .page-hero), so no edge shows. */
.cu-hero { position: relative; overflow-x: clip; clip-path: inset(-72px 0 0); padding:clamp(40px, 20px + 3vw, 72px) 0 clamp(56px, 30px + 4vw, 96px); }
.cu-hero__glow { left: 18%; top: -260px; width: 1100px; height: 760px; translate: -50% 0; }
.cu-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  grid-template-areas: "head form" "proof form";
  grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 10px + 4vw, 88px);
  row-gap: 44px;
  align-items: start;
}
.cu-hero__head { grid-area: head; padding-top: 28px; }
.cu-form-shell { grid-area: form; scroll-margin-top: 96px; }
.cu-hero__proof { grid-area: proof; display: flex; flex-direction: column; gap: 36px; }
.cu-title { --display-size: 76px; margin-top: 18px; }
.cu-hero__lead { max-width: 520px; margin-top: 22px; }
.cu-reach { display: flex; flex-direction: column; gap: 18px; }
.cu-reach li { display: flex; align-items: center; gap: 14px; }
.cu-reach__icon { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--border); background: var(--accent-tint); color: var(--accent); }
.cu-reach__icon .icon { width: 18px; height: 18px; }
.cu-reach small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-4); }
.cu-reach a,
.cu-reach span:not(.cu-reach__icon) { display: block; margin-top: 3px; font-size: 16px; font-weight: 500; color: var(--text-1); }
.cu-reach a:hover { color: var(--accent); }
.cu-hero__quote { display: flex; flex-direction: column; gap: 16px; max-width: 520px; padding-top: 28px; border-top: 1px solid var(--hair); }
.cu-hero__quote blockquote { font-family: var(--font-serif); font-size: 22px; font-style: italic; line-height: 1.35; letter-spacing: -0.01em; color: var(--text-quote); }

/* The form */
.cu-form__head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; }
.cu-form__title { font-size: 26px; font-weight: 500; letter-spacing: -0.03em; color: var(--text-1); }
.cu-form__sub { font-size: 14.5px; color: var(--text-3); }
.cu-form .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cu-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.cu-group legend { padding: 0; margin-bottom: 8px; }
.cu-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.cu-topic { position: relative; }
.cu-topic input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cu-topic span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--fill-1); font-size: 14px; font-weight: 500; color: var(--text-2); transition: border-color 0.2s, background 0.2s, color 0.2s; }
.cu-topic:hover span { border-color: var(--border-strong); color: var(--text-1); }
.cu-topic input:checked + span { border-color: var(--accent); background: var(--accent-tint); color: var(--text-1); }
.cu-topic input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.cu-form__foot { font-size: 13.5px; text-align: center; color: var(--text-3); }
.cu-form__foot a,
.cu-done a { color: var(--accent); font-weight: 500; white-space: nowrap; }
.cu-done { padding-block: 64px; }

/* Proof ------------------------------------------------------------------------ */

.cu-quotes { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; }
.cu-quote { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(24px, 16px + 1.6vw, 36px); }
.cu-quote blockquote { font-size: 17px; line-height: 1.6; color: var(--text-2); }
.cu-quote--lead { flex-direction: row; align-items: stretch; gap: clamp(24px, 10px + 2vw, 40px); }
.cu-quote__photo { width: 200px; flex: none; align-self: stretch; height: auto; min-height: 240px; border-radius: 18px; object-fit: cover; object-position: 50% 20%; }
.cu-quote__body { display: flex; flex-direction: column; gap: 18px; }
.cu-quote__mark { font-family: var(--font-serif); font-size: 64px; line-height: 0.6; color: var(--accent); }
.cu-quote--lead blockquote { font-family: var(--font-serif); font-size: clamp(21px, 16px + 0.7vw, 26px); font-style: italic; line-height: 1.38; color: var(--text-quote); }
.cu-quote--lead blockquote em { color: var(--accent-2); }
.cu-quote figcaption { display: flex; flex-direction: column; margin-top: auto; }
.cu-quote figcaption.person { flex-direction: row; align-items: center; gap: 12px; }

/* What happens next ------------------------------------------------------------ */

.cu-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cu-step { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 16px + 1.4vw, 32px); }
.cu-step__n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent); }
.cu-step h3 { margin-top: 10px; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; color: var(--text-1); }
.cu-step p { font-size: 15px; line-height: 1.55; color: var(--text-3); }

/* Tablet and phone ----------------------------------------------------------- */

@media (max-width: 1023px) {
  .cu-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "form" "proof"; grid-template-rows: none; }
  .cu-hero__head { padding-top: 0; }
  .cu-form-shell { max-width: 640px; }
  .cu-quotes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .cu-bar__inner { height: 64px; }
  .cu-bar__phone span { display: none; }
  .cu-bar__phone { justify-content: center; width: 44px; border-radius: 50%; border: 1px solid var(--border); }
  .cu-title { --display-size: 48px; }
  .cu-hero__lead { font-size: 16.5px; }
  .cu-hero__quote blockquote { font-size: 19px; }
  .cu-quote--lead { flex-direction: column; }
  .cu-quote__photo { width: 100%; height: 240px; min-height: 0; }
  .cu-steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
