/* ==========================================================================
   Grey Sky Capital: talk to us (schedule-call.html, served at /schedule-call)
   --------------------------------------------------------------------------
   Technical Summary
   - A slate hero under the shared nav: eyebrow, a hero-size title with the
     shared pen scribble (lime on dark), one lead line, over a moving grey sky
     (video) with a slate wash that keeps the type at full contrast. Then a
     paper section.
   - Two columns from 900px: what to expect (three numbered steps) beside the
     form. One column below that, form first on phones is not needed: the
     steps are short and stay on top.
   - The form sits on the deeper paper with square fields, mono labels and
     the shared lime button. Errors are text under the field in ember-ink.
   - Colour and type come from tokens.css only.
   ========================================================================== */

.call-hero { position: relative; overflow: hidden; background: var(--slate-900); color: var(--grey-300);
  padding: calc(var(--nav-h) + clamp(64px, 9vw, 140px)) 0 clamp(64px, 8vw, 120px); min-height: min(72svh, 720px); display: flex; align-items: flex-end; }
.call-hero__in { position: relative; z-index: 1; width: 100%; }
.call-hero__media { position: absolute; inset: 0; pointer-events: none; }
.call-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.call-hero__scrim { position: absolute; inset: 0;                     /* the sky stays visible; the type stays at full contrast */
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--slate-900) 78%, transparent) 0%, color-mix(in srgb, var(--slate-900) 45%, transparent) 55%, color-mix(in srgb, var(--slate-900) 15%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--slate-900) 70%, transparent) 0%, transparent 45%); }
.call-hero .call__head { margin-bottom: 0; }
.call-hero .call__title { color: var(--grey-100); }
.call-hero .call__sub { color: var(--grey-300); }
.call-hero .call__mark { --mk: var(--lime); }
.call { background: var(--paper-100); padding: var(--space-continue) 0 var(--space-chapter); }
.call__head { display: grid; gap: 14px; max-width: 900px; margin-bottom: clamp(40px, 5vw, 72px); }
.call__title {
  margin: 0 0 0 -0.045em; color: var(--ink-head);
  font-size: var(--hero-size); line-height: var(--hero-lh); letter-spacing: var(--hero-tr); font-weight: 700;
}
.call__sub { margin: 6px 0 0; max-width: 48ch; color: var(--ink-body); }

.call__grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 900px) { .call__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* What to expect: three numbered steps */
.call__expect { display: grid; gap: 28px; }
.call__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 3vw, 40px); }
.call__step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; }
.call__num { font-family: var(--font-mono); font-size: var(--data-size); font-weight: 500; line-height: 2; color: var(--rust); }
.call__step h2 { margin: 0 0 6px; font-size: var(--d3-size); line-height: var(--d3-lh); letter-spacing: var(--d3-tr); font-weight: 700; color: var(--ink-head); }
.call__step p { margin: 0; max-width: 40ch; color: var(--ink-body); }

/* The form */
.call__form { display: grid; gap: 22px; padding: clamp(24px, 3.4vw, 44px); background: var(--paper-200); }
.call__formhead { display: grid; gap: 6px; }
.call__formhead h2 { margin: 0; font-size: var(--d2-size); line-height: var(--d2-lh); letter-spacing: var(--d2-tr); font-weight: 700; color: var(--ink-head); }
.call__formhead p { margin: 0; color: var(--ink-muted); }
.call__row { display: grid; gap: 22px; }
@media (min-width: 560px) { .call__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.call__field { display: grid; gap: 8px; }
.call__label {
  font-family: var(--font-mono); font-size: var(--eyebrow-size); font-weight: 500;
  letter-spacing: var(--eyebrow-tr); text-transform: uppercase; color: var(--ink-body);
}
.call__req { color: var(--rust); }
.call__opt { margin-left: 6px; letter-spacing: 0; text-transform: none; color: var(--ink-muted); }
.call__input {
  width: 100%; min-height: 52px; padding: 0 14px; border-radius: 0;
  font-family: var(--font-sans); font-size: var(--body-size); color: var(--ink-head);
  background: var(--paper-100); border: 1px solid var(--grey-500);
  transition: border-color .2s;
}
.call__input:hover { border-color: var(--ink-head); }
.call__input:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; border-color: var(--ink-head); }
.call__input[aria-invalid="true"] { border-color: var(--ember-ink); border-width: 2px; }
.call__err { font-size: 14px; line-height: 1.4; color: var(--ember-ink); }
.call__err:empty { display: none; }
.call__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.call__captcha:not(:empty) { min-height: 78px; margin-top: 4px; }   /* Google's reCAPTCHA box, drawn once the reader starts on the form */
.call__send { width: 100%; margin-top: 6px; cursor: pointer; }
.call__send[disabled] { opacity: .6; cursor: default; }
.call__status { margin: 0; font-weight: 600; color: var(--ink-head); }
.call__status:empty { display: none; }
.call__status a, .call__done a { color: var(--rust); }
.call__note { margin: 0; }

/* After a successful send the fields make way for one message */
.call__done { display: grid; gap: 10px; }
.call__done h2 { margin: 0; font-size: var(--d2-size); line-height: var(--d2-lh); letter-spacing: var(--d2-tr); font-weight: 700; color: var(--ink-head); }
.call__done p { margin: 0; color: var(--ink-body); }

@media (max-width: 620px) {
  .call { padding-top: calc(var(--nav-h) + 40px); }
  .call__head { margin-bottom: 32px; }
}

/* The two columns rise in once on load; none under reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .js .call__expect, .js .call__form { animation: call-in .7s var(--ease) both; }
  .js .call__form { animation-delay: 90ms; }
}
@keyframes call-in { from { opacity: 0; transform: translateY(14px); } }
