/* Origin Epping: contact and thank-you pages. */

.chero {
  position: relative; overflow: clip;
  padding: calc(var(--header-h) + 2.5rem) 0 var(--section-y);
  background: linear-gradient(to bottom, color-mix(in srgb, var(--color-sky) 40%, var(--color-paper)) 0%, var(--color-paper) 60%);
}
.chero__leaf { display: none; top: -1rem; left: -8vw; width: min(40vw, 560px); opacity: 0.5; }
.chero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
.chero__copy .label { --hd: 0ms; }
.chero h1 { --hd: calc(var(--motion-stagger) * 1.5); margin-bottom: 1rem; }
.chero__lead { --hd: calc(var(--motion-stagger) * 3); }
.steps { --hd: calc(var(--motion-stagger) * 4); margin: 2rem 0 2.5rem; border-bottom: 1px solid var(--hairline); }
.steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--hairline); }
.steps__n { font-family: var(--font-heading); font-size: 2rem; line-height: 1; color: var(--color-forest); font-variant-numeric: tabular-nums; }
.steps__t { margin: 0 0 0.2rem; font-size: 1.3rem; line-height: 1.25; }
.steps p { margin: 0; color: var(--color-muted); }
.chero__fig { aspect-ratio: 2.84 / 1; }
.chero__brochure { margin: 0 0 2.5rem; color: var(--color-forest); }
.chero__card {
  --hd: calc(var(--motion-stagger) * 5); --hero-rise: 16px;
  padding: 1.5rem 1.25rem; background: var(--color-forest); color: var(--color-dark-ink);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
@media (min-width: 640px) {
  .chero__leaf { display: block; }
  .chero__card { padding: 2rem; }
}
@media (min-width: 960px) {
  .chero { padding-top: calc(var(--header-h) + 4rem); }
  .chero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .chero__copy { grid-column: 1 / 7; }
  .chero__card { grid-column: 8 / 13; position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* thank you */
.thanks {
  position: relative; overflow: clip; display: flex; align-items: center; justify-content: center;
  min-height: 70svh; padding: calc(var(--header-h) + 3rem) 0 var(--section-y); text-align: center;
}
.thanks__leaf { right: -4rem; top: 4rem; width: min(40vw, 420px); opacity: 0.45; }
.thanks__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.thanks h1 { --hd: 0ms; max-width: 16ch; }
.thanks__lead { --hd: calc(var(--motion-stagger) * 2); margin-inline: auto; }
.thanks .link-arrow { --hd: calc(var(--motion-stagger) * 3.5); }

/* under 960px: heading, then the form card, then steps, brochure button and figure */
@media (max-width: 959px) {
  .chero__grid { display: flex; flex-direction: column; gap: 0; }
  .chero__copy { display: contents; }
  .chero__card { order: 1; margin: 1.5rem 0 2.5rem; }
  .steps { order: 2; margin-top: 0; }
  .chero__brochure { order: 3; align-self: flex-start; }
  .chero__fig { order: 4; }
}

.suite { margin: 0 0 2rem; padding: 1.25rem 1.5rem; border: 1px solid var(--hairline); border-radius: var(--radius); }
.suite p { margin: 0 0 0.25rem; }
.suite__label { margin-bottom: 0.5rem; font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-forest); }
.suite a { color: var(--color-brass-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 959px) { .suite { order: 2; } }
