/*
 * contact.broadway.org — modelled on broadway.org/contact (inspected 2026-09-16):
 * near-black header band with the centred logo and tagline, then a white
 * page with Montserrat throughout: light uppercase h1, 16px body, magenta
 * (#da1653) bold links and section labels.
 * Standalone stylesheet; not part of the Toolbox theme system.
 */
:root {
  --header-bg: #191919;
  --header-fg: #8c8c8c;
  --bg: #fcfcfc;
  --bg-raised: #f4f4f4;
  --fg: #191919;
  --fg-muted: #6b6b6b;
  --line: #d9d9d9;
  --accent: #da1653;
  --accent-hover: #b81145;
  --ok: #1e8e4e;
  --warn: #b25a00;
  --font: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); font-weight: 600; text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 2px; }

/* Header / footer ---------------------------------------------------------- */
.site-header {
  background: var(--header-bg);
  text-align: center;
  padding: 30px 24px 26px;
}
.logo { display: inline-block; line-height: 0; }
.logo img {
  width: min(440px, 82vw);
  height: auto;
  display: block;
  margin: 0 auto;
}
.tagline {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--header-fg);
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  font-size: 13px;
  text-align: center;
}
.site-footer p { margin: 4px 0; }
.site-footer a { font-weight: 500; }

/* Page -------------------------------------------------------------------- */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 24px 64px;
}

h1 {
  font-weight: 300;
  font-size: 35px;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.eyebrow {
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}

/* Rendered staff text (intro, canned answers): paragraphs, bold, links. */
.rte p { margin: 0 0 14px; }
.rte p:last-child { margin-bottom: 0; }
.rte strong { font-weight: 700; }
.rte ul, .rte ol { margin: 0 0 14px; padding-left: 22px; }
.rte li { margin: 0 0 4px; }

.intro { margin: 0 0 8px; }
.muted { color: var(--fg-muted); }
.lead { margin: -4px 0 16px; font-size: 15px; }

.step { margin-top: 36px; }
.step[hidden] { display: none; }

/* Topics ------------------------------------------------------------------- */
.topic-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.topic {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--fg);
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-align: left;
  padding: 16px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.topic-other { color: var(--fg-muted); border-style: dashed; }
.topic:hover, .topic:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  outline: none;
}

/* Answer ------------------------------------------------------------------- */
.answer {
  background: var(--bg-raised);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  border-radius: 0 4px 4px 0;
  margin: 0 0 24px;
}
.helpful-q {
  font-weight: 600;
  margin: 0 0 10px;
}

/* Buttons ------------------------------------------------------------------- */
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn-ghost { background: #fff; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover:not(:disabled) { border-color: var(--fg); }
.link-button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 14px;
  color: var(--fg-muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-button:hover { color: var(--fg); }

/* Form -------------------------------------------------------------------- */
.field { margin: 0 0 16px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%;
  background: #fff;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(218, 22, 83, 0.18);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--warn); }
.field textarea { resize: vertical; min-height: 140px; }
.counter { text-align: right; font-size: 12px; color: var(--fg-muted); margin-top: 4px; }

.turnstile { margin: 8px 0 16px; min-height: 65px; }

.status { min-height: 1.5em; margin: 12px 0 0; font-size: 14px; }
.status.ok { color: var(--ok); }
.status.warn { color: var(--warn); }

/* Honeypot: off-screen, still "visible" to naive bots. */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 520px) {
  h1 { font-size: 28px; }
  .page { padding: 28px 18px 48px; }
  .topic-list { grid-template-columns: 1fr; }
}
