/* Contact: the page's own layout (plan.md, Contact). Colors, type, corners and timing come from design\system.css; the
   components from design\components.css. */

/* the header: the owner in her salon, her question answered beside her; the words low on the left, her face clear of both */
.chero { position: relative; box-sizing: border-box; display: flex; align-items: flex-end; min-height: min(780px, calc(100svh - 73px)); padding-block: 44px; overflow: hidden; isolation: isolate; background: var(--c-ink); }
.chero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.chero__media > img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 50% 30%; }
.chero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(11 6 19 / 0.94) 0%, rgb(11 6 19 / 0.78) 30%, rgb(11 6 19 / 0.08) 50%, transparent 66%, rgb(11 6 19 / 0.5) 100%), linear-gradient(0deg, var(--c-ink) 0%, rgb(11 6 19 / 0.5) 20%, transparent 44%); }
.chero__in { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; width: 100%; }
.chero__words { width: min(620px, 50%); }
.chero__words h1 { font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); }
.chero__words > p { margin-top: 16px; color: var(--c-on-ink-soft); font-size: 1.1875rem; line-height: 1.5; }
.chero__go { margin-top: 24px; }
.chero__pic { position: relative; flex: none; align-self: center; width: min(380px, 31%); }
.chero__pic .stop { top: -52px; right: 0; }
.chero__scene { min-height: 280px; }
@media (max-width: 1000px) {
  .chero { display: block; min-height: 0; padding-block: 36px 24px; }
  .chero__in { display: block; }
  .chero__words { width: auto; }
  .chero__media { inset: auto 0 0; height: 590px; }
  .chero__media > img { object-position: 57% 0; }
  .chero__media::after { background: linear-gradient(180deg, var(--c-ink) 0%, transparent 16%, transparent 60%, rgb(11 6 19 / 0.7) 100%); }
  .chero__pic { width: min(400px, 100%); margin: 310px auto 0; }
  .chero__pic .stop { top: -56px; }
}

/* the form, with the phone and the email beside it */
.cform { padding-block: var(--section-y); background: var(--c-ink-2); border-top: 1px solid var(--c-hair); }
.cform__in { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.creach { display: grid; gap: 12px; list-style: none; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; }
.creach a { display: block; padding: 16px 18px; border-radius: var(--radius-m); border: 1px solid var(--c-hair-strong); color: var(--c-on-ink); text-decoration: none; transition: border-color var(--dur-med), background var(--dur-med); }
.creach a:hover, .creach a:focus-visible { border-color: var(--c-brand-light); background: rgb(88 0 255 / 0.16); }
.creach span { display: block; color: var(--c-on-ink-soft); font-size: var(--fs-small); }
.creach b { display: block; margin-top: 4px; font: 650 1.0625rem/1.3 var(--font-ui); overflow-wrap: anywhere; }
@media (max-width: 900px) { .cform__in { grid-template-columns: minmax(0, 1fr); } }

/* the quicker way: the words beside a framed florist, what's yours and what's ours on the side clear of her face */
.cskip { padding-block: var(--section-y); }
.cskip__in { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cskip__words > p { margin-top: 14px; color: var(--c-on-ink-soft); font-size: 1.1875rem; line-height: 1.5; }
.cskip__words .action { margin-top: 24px; }
.cskip__pic { position: relative; height: clamp(500px, 42vw, 560px); }
.cskip__pic > .stop { top: 14px; right: 14px; }
.cskip__frame { position: absolute; inset: 0; }
.cskip__frame > img { object-position: 70% 30%; }
.cskip__scene { position: absolute; z-index: 2; left: clamp(10px, 1.6vw, 20px); top: 50%; translate: 0 -50%; width: min(400px, 56%); }
@media (max-width: 899.98px) {
  .cskip__in { grid-template-columns: minmax(0, 1fr); }
  .cskip__pic { height: auto; }
  .cskip__frame { position: relative; inset: auto; height: 560px; }
  .cskip__frame > img { object-position: 72% 0; }
  .cskip__scene { position: relative; left: auto; top: auto; translate: none; width: min(400px, calc(100% - 20px)); margin: -320px auto 0; }
}
