/* Info-request form (/info) and its thank-you page. Uses the tokens from styles.css. */

/* Shorter header than the other pages: people arrive from an event QR code and should reach the form fast. */
.hero-compact { padding: 44px 0 44px; }
.hero-compact h1 { font-size: clamp(36px, 4.6vw, 64px); }
.hero-compact .hero-intro { margin-top: 16px; }
.hero-compact .hero-intro p { margin-bottom: 0; }

.info-form, .ty { max-width: 780px; }

.info-form fieldset { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.info-form legend { display: block; width: 100%; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); border-bottom: 1px solid var(--line); padding: 0 0 10px; margin-bottom: 20px; }

.field { margin-bottom: 20px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.info-form label, .info-form .label { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin: 0 0 7px; }
.optional { font-weight: 400; color: var(--muted); }

.info-form input[type="text"], .info-form input[type="email"], .info-form input[type="tel"], .info-form select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid #c9c1b0; border-radius: 0; padding: 11px 12px; min-height: 46px;
}
/* Safari ignores height/padding on a native select: draw it as a plain box so it matches the text fields. */
.info-form select { -webkit-appearance: none; appearance: none; padding-right: 38px; background: var(--white) url("assets/select-arrow.svg") no-repeat right 14px center / 12px 8px; }
.info-form input:focus-visible, .info-form select:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.info-form [aria-invalid="true"] { border-color: #a4262c; }

.info-form .check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 400; color: var(--ink); margin: 0; cursor: pointer; line-height: 1.5; }
.info-form .check { margin-bottom: 14px; }
.info-form input[type="radio"], .info-form input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.info-form .check.is-invalid span { color: #a4262c; }

.note { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 6px 0 0; }
.submit-note { margin: 0 0 18px; }
.field-error { font-size: 13px; color: #a4262c; margin: 6px 0 0; }
.form-alert { border-left: 3px solid #a4262c; background: #fbf3f2; color: #6b1a1d; font-size: 14px; padding: 12px 16px; margin-bottom: 28px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.info-form button.btn { border: 0; cursor: pointer; font-family: var(--sans); }

.ty-block { border-top: 1px solid var(--line); padding: 26px 0; }
.ty-block:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.ty-title { font-size: 28px; color: var(--navy); margin-bottom: 10px; }
.ty-block p { margin: 0; }
.ty-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.btn-outline-navy { border: 1px solid var(--navy); color: var(--navy); }
.btn-outline-navy:hover, .btn-outline-navy:focus-visible { background: var(--navy); color: var(--white); }

@media (max-width: 760px) {
  .field-grid { grid-template-columns: 1fr; }
  .hero-compact { padding: 28px 0 28px; }
  .hero-compact .hero-intro p { font-size: 16px; }
  .ty-actions .btn { width: 100%; justify-content: center; }
  .info-form button.btn { width: 100%; justify-content: center; }
}
