/* ============================================================
   PROSPECT — contact.html page-specific styles
   ============================================================ */

/* Colours, type, spacing and the shared content patterns come from
   the Prospect Context Protocol via `brand/` (see the header of
   css/global.css). The form fields below mirror the brand library's
   .field / .field__label / .field__input treatment under this
   page's own class names, which the markup and js/contact.js
   reference.

   Responsive rules for this page live in the single RESPONSIVE
   section at the end of css/global.css — three steps, two knobs.
   Everything here is base (full-size) styling and is placed in the
   `base` cascade layer so those breakpoint rules can override it
   even though this file loads later. */
@layer base {

.page-shell { position: relative; }

/* ── Header ── */
.contact-header {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 88px var(--gutter) 40px;
}

.contact-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contact-header__text {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
}

/* Reveals once on load, the same beat as the Prospect hero animation:
   a short delay, then a single draw-on pass (a left-to-right clip-path
   wipe standing in for the pencil-stroke reveal, since this is a
   flattened raster rather than individually drawable paths) that
   freezes in place — never replays, never scroll-triggered. */
.contact-header__graphic {
  flex: 0 1 660px;
  width: 100%;
  max-width: 660px;
  height: auto;
  margin-left: -70px;
  position: relative;
  z-index: 0;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity 1000ms var(--ease-out), clip-path 1500ms var(--ease-out);
}

.contact-header__graphic.is-revealed {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.contact-header__anchor {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: var(--leading-snug);
  letter-spacing: var(--track-display);
  color: var(--text);
  max-width: 18ch;
}

/* Type comes from the shared body-text rule (--muted) in global.css. */
.contact-header__support {
  margin-top: 24px;
}

/* ── Form section ── */
.contact-body {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 44px var(--gutter) 96px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
}

.contact-body__side {
  padding-top: 4px;
}

/* Type comes from the shared body-text rule in global.css. */
.contact-body__lede {
  max-width: 40ch;
}

.contact-body__meta {
  margin-top: 40px;
}

.contact-body__meta-label {
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  font-size: var(--mono-xs);
  letter-spacing: var(--track-mono-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.contact-body__meta-value {
  font-family: var(--font-mono);
  font-weight: var(--weight-regular);
  font-size: var(--mono-md);
  letter-spacing: var(--track-mono);
  color: var(--text-secondary);
  line-height: var(--leading-mono);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__label {
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  font-size: var(--mono-xs);
  letter-spacing: var(--track-mono-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-form__input,
.contact-form__textarea {
  font-family: var(--font-mono);
  font-weight: var(--weight-regular);
  font-size: 13.5px;
  letter-spacing: var(--track-mono);
  color: var(--text);
  background: var(--bg);
  border: var(--border-1) solid var(--border);
  border-radius: var(--radius-1);
  padding: 14px 16px;
  width: 100%;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--font-body);
  font-size: var(--body-md);
  letter-spacing: var(--track-body);
  line-height: var(--leading-body);
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--border-accent);
}

.contact-form__submit {
  align-self: flex-start;
  margin-top: 8px;
}

.contact-form__note {
  font-family: var(--font-mono);
  font-size: var(--mono-xs);
  letter-spacing: var(--track-mono);
  color: var(--moss);
  margin-top: 4px;
}

}
