/**
 * Corporate & Events page — PDF p.22. (Distinct from corporate.css, the
 * homepage Corporate teaser — different composition, own namespace.)
 *
 * RTL: logical properties + DOM-order grid throughout.
 */

.corporate-page {
  background: var(--color-noir-temp);
  min-height: var(--section-min-height-flow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--section-pad-y-lg);
}
.corporate-page__header {
  text-align: center;
  margin-bottom: var(--space-8);
}
.corporate-page__eyebrow {
  font-family: var(--font-ui);
  font-size: var(--fs-00);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-paper-on-dark-soft);
  margin: 0 0 var(--space-4);
}
.corporate-page__heading {
  font-size: clamp(2rem, 4.4vw, var(--fs-5));
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-paper-on-dark);
  max-width: 46rem;
  margin-inline: auto;
}

.corporate-page__panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}
.corporate-page__panel-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: var(--space-5);
}
.corporate-page__panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.corporate-page__panel-title {
  font-size: clamp(1.5rem, 2.4vw, var(--fs-3));
  color: var(--color-paper-on-dark);
  margin: 0 0 var(--space-3);
}
.corporate-page__panel-rule {
  width: 32px;
  height: 0;
  margin-inline: 0;
  border: none;
  border-block-start: 2px solid var(--color-copper-temp);
  margin-block-end: var(--space-3);
}
.corporate-page__panel-body {
  /* No artificial max-width: PDF p.22 lets this run nearly the full column
     width (matching the image above it) so each blurb reads as 2 broad
     lines, not 3 narrow ones. */
  color: var(--color-paper-on-dark-soft);
  font-size: var(--fs-1);
  line-height: 1.7;
  max-width: 100%;
  margin: 0;
}

/* Now rendered directly after the quote form (page-corporate-events.php),
 * which shares this exact cream background — no margin-block-start needed
 * to separate them; the form's own bottom padding plus this section's own
 * padding-block already give the contact line comfortable breathing room
 * without stacking into the "excessive dead space on a phone" the old
 * above-the-form position (a differently-colored section right before it)
 * used to need a large top margin to avoid looking cramped against. */
.corporate-page__bottom {
  background: var(--color-cream);
  padding-block: var(--space-8);
  text-align: center;
}
@media (max-width: 640px) {
  .corporate-page__bottom {
    padding-block: var(--space-6);
  }
}
.corporate-page__contact {
  font-family: var(--font-ui);
  font-size: var(--fs-00);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cherry-temp);
  margin: var(--space-4) 0 0;
}
.corporate-page__contact a {
  color: var(--color-cherry-temp);
  border-bottom: 1px solid currentColor;
}

@media (max-width: 900px) {
  .corporate-page__panels {
    grid-template-columns: 1fr;
  }
}

/* ---- Request A Quote form — Phase 4 addition. Cream background, same tone
   as .corporate-page__bottom immediately below it (moved there 2026-09-01
   — see corporate-bottom.php), so the two read as one continuous closing
   band rather than a visual seam. Reuses the shared .partner-field /
   .partner-btn form language (see corporate-quote-form.php docblock)
   rather than inventing new form styling. ---- */
.corporate-quote {
  background: var(--color-cream);
  padding-block: var(--section-pad-y-lg);
}
.corporate-quote__inner {
  max-width: 46rem;
  margin-inline: auto;
}
.corporate-quote__header {
  text-align: center;
  margin-bottom: var(--space-7);
}
.corporate-quote__heading {
  font-size: clamp(1.75rem, 3vw, var(--fs-4));
  color: var(--color-ink);
  margin: 0 0 var(--space-3);
}
.corporate-quote__intro {
  color: var(--color-ink-soft);
  font-size: var(--fs-1);
  line-height: 1.7;
  max-width: 34rem;
  margin-inline: auto;
}

/* This section sits on a light background — the shared .partner-field/
   .partner-btn components default to dark-on-dark styling (their native
   context is the Partner/Careers pages), so their tokens are remapped to
   the light palette locally rather than forking the components. */
.corporate-quote .partner-field__label {
  color: var(--color-ink-soft);
}
.corporate-quote .partner-field__input,
.corporate-quote .partner-field__textarea {
  background: var(--color-paper-on-dark, #fff);
  border-color: var(--color-line);
  color: var(--color-ink);
}
.corporate-quote .partner-option {
  color: var(--color-ink-soft);
}
.corporate-quote .partner-btn--primary {
  color: var(--color-paper-on-dark);
}

.corporate-quote__actions {
  margin-top: var(--space-6);
  text-align: center;
}

.corporate-quote__success {
  display: none;
  text-align: center;
  padding-block: var(--space-7);
}
.corporate-quote__success.is-visible {
  display: block;
}
.corporate-quote__success-heading {
  font-size: clamp(1.5rem, 2.6vw, var(--fs-3));
  color: var(--color-ink);
  margin: 0 0 var(--space-3);
}
.corporate-quote__success-body {
  color: var(--color-ink-soft);
  font-size: var(--fs-1);
  line-height: 1.7;
  margin: 0;
}
.corporate-quote__form.is-submitted {
  display: none;
}

/* Client feedback: mobile typography still slightly large site-wide — this
   page didn't get the earlier heading-tightening pass other pages did
   (see about.css/catering-page.css/etc. for the matching precedent), so it
   gets the same one-step ~5% reduction here, on the same kind of heading
   selectors. Desktop (the var(--fs-X) ceiling) is untouched either way. */
@media (max-width: 640px) {
  .corporate-page__heading {
    font-size: clamp(1.9rem, 4.4vw, var(--fs-5));
  }
  .corporate-page__panel-title {
    font-size: clamp(1.4rem, 2.4vw, var(--fs-3));
  }
  .corporate-quote__heading {
    font-size: clamp(1.66rem, 3vw, var(--fs-4));
  }
  .corporate-quote__success-heading {
    font-size: clamp(1.4rem, 2.6vw, var(--fs-3));
  }
}
