/* ============================================================
   ENGAGE.CSS — Engage page styles
   v2.0 — "6 Website Engage" redesign
   Blocks: Banner + headline · Ways to engage · Contact form ·
   Closing (captain in fog)
   ============================================================ */

/* Shared pieces — .page-banner, .feature-visual, .fh-form,
   .form-field and the divider live in global.css. */

/* ============================================================
   SECTION 1 — Banner + headline
   ============================================================ */

.engage-hero {
  /* Clears the fixed nav so the banner never sits behind it. */
  padding-block: calc(72px + var(--space-lg)) var(--space-lg);
  text-align: center;
}

.engage-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--space-xl);
}

.engage-hero h1 {
  font-size: var(--text-4xl);
  max-width: 20ch;
}

.engage-hero-cta {
  margin-top: var(--space-xl);
}

/* The divider closes each block, so the sections below the hero sit
   tighter than the global default. */
.engage-ways,
.engage-contact,
.engage-closing {
  padding-block: var(--space-xl);
}

/* ============================================================
   SECTION 3 — Contact form
   ============================================================ */

.engage-contact {
  background: var(--color-surface-alpha);
}

.engage-contact h2 {
  margin-bottom: var(--space-md);
}

.engage-contact-sub {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 50ch;
  margin-inline: auto;
}

/* The form itself is .fh-form from global.css; these are the two
   controls that page does not already cover. */
.engage-form select,
.engage-form textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--color-surface);
  border: 1px solid rgba(184, 150, 12, 0.3);
  border-radius: var(--border-radius);
  transition: border-color var(--transition-fast);
}

.engage-form textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: var(--leading-normal);
}

/* The native arrow is drawn in the OS's own colour and disappears on
   the dark surface, so it is replaced with a gold chevron. */
.engage-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: var(--space-xl);
  background-image: linear-gradient(45deg, transparent 50%, var(--color-accent-gold) 50%),
                    linear-gradient(135deg, var(--color-accent-gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px),
                       calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.engage-form select:hover,
.engage-form textarea:hover {
  border-color: rgba(184, 150, 12, 0.55);
}

.engage-form select:focus-visible,
.engage-form textarea:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 2px;
}

/* Placeholder option reads as a prompt, not a value. */
.engage-form select:invalid {
  color: var(--color-text-secondary);
}

.fh-form-note {
  margin-top: var(--space-md);
}

/* ============================================================
   SECTION 4 — Closing
   ============================================================ */

.engage-closing {
  padding-bottom: var(--space-3xl);
}

.engage-closing-line {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  line-height: var(--leading-snug);
  color: var(--color-gold-bright);
  text-align: center;
  max-width: 28ch;
  margin: var(--space-xl) auto 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .engage-hero {
    padding-block: calc(64px + var(--space-md)) var(--space-xl);
  }

  .engage-hero-content {
    margin-top: var(--space-xl);
  }

  .engage-hero h1 {
    font-size: var(--text-3xl);
  }
}
