/* contact.css: Contact's own look (plan.md, "Contact"). Not a page that sells: a person answers, the form, the chat. */

/* ---- hero: the salon's clips taking turns in the left half to the page's edge (rounded on its inner corners), the
   owner smiling at her phone, then a stylist at work; her note answered in glass below her hands; the words at the
   right on charcoal (on a phone, the clips on top and the words under them) ---- */
.contact-hero { display: grid; background: radial-gradient(42% 55% at 90% 0%, var(--c-glow) 0%, rgba(0, 85, 255, 0) 70%), var(--c-ink); color: var(--c-on-ink); }
.contact-hero__media { --pos: 54% 50%; position: relative; height: 34rem; overflow: hidden; isolation: isolate; border-radius: 0 0 var(--radius-xl) var(--radius-xl); background: var(--c-raised); }
.contact-hero__video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: var(--pos); }
/* The two clips take turns (kit.md, "The header that changes its field", with no word): the kit's rules for its
   slides, kept as they are, under the one still grade (the media's ::after) and the card; each slide its own crop. */
.contact-hero__stage { position: absolute; inset: 0; z-index: 0; }
.contact-hero__stage[data-kit-scene="rotate"] [data-kit-slide] { position: absolute; inset: 0; margin: 0; visibility: hidden; overflow: hidden; }
.contact-hero__stage[data-kit-scene="rotate"] [data-kit-slide][data-kit-on] { visibility: visible; z-index: 2; opacity: var(--kit-move, 1); transform: translateX(var(--kit-glide, calc((1 - var(--kit-move, 1)) * 4%))); }
.contact-hero__stage[data-kit-scene="rotate"]:not(:has([data-kit-slide][data-prev])) [data-kit-slide][data-kit-on] { transform: none; opacity: 1; }
.contact-hero__stage[data-kit-scene="rotate"] [data-kit-slide][data-prev] { visibility: visible; z-index: 1; }
.contact-hero__stage[data-kit-scene="rotate"] [data-kit-slide] video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-hero__stage[data-kit-scene="rotate"]:not(:has([data-kit-slide][data-kit-on])) [data-kit-slide]:not([data-kit-slide] ~ [data-kit-slide]) { visibility: visible; }
.contact-hero__stage[data-kit-scene="rotate"] [data-kit-slide] video { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; clip-path: inset(2px); }
.contact-hero__stage[data-kit-scene="rotate"] [data-kit-slide] video[data-kit-shown] { clip-path: none; }
.contact-hero__stage[data-kit-scene="rotate"] [data-kit-slide][data-prev] { opacity: clamp(0, (1 - var(--kit-move, 0)) * 1000, 1); }
.contact-hero__slide--owner { --pos: 58% 50%; } /* her face and her phone in a phone's narrow crop */
.contact-hero__slide--blowdry { --pos: 40% 50%; } /* the curls, the hand and the diffuser */
.contact-hero__media::after { content: ''; position: absolute; inset: 0 0 auto; z-index: 1; height: 9rem; pointer-events: none; background: linear-gradient(180deg, rgba(13, 13, 13, 0.62) 0%, rgba(13, 13, 13, 0) 100%); } /* the menu reads over the bright salon */
.contact-hero__stop { top: calc(var(--header-h) + 0.75rem); right: 0.75rem; }
.contact-hero__seq { position: absolute; z-index: 2; left: 50%; bottom: 0.75rem; width: min(22rem, calc(100% - 1.5rem)); transform: translateX(-50%); display: grid; gap: 0.6rem; padding: 0.9rem; border-radius: var(--radius-l); background: var(--c-glass-ink); border: 1px solid var(--c-glass-edge); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 24px 60px -24px rgba(13, 13, 13, 0.7); font-family: var(--font-ui); color: var(--c-on-ink); }
/* Each message rises in as it lands (data-kit-on) and, as the loop turns, all three fade out together, with no motion,
   while the card's head holds (the kit's hold keeps its first item): the story starts again, nothing is taken back. */
.contact-hero__seq [data-kit-at] { opacity: var(--kit-in, 1); transform: translateY(12px); transition: transform 0.6s var(--ease-out); }
.contact-hero__seq [data-kit-on] { transform: none; }
.cs-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.15rem 0.75rem; margin: 0; padding: 0 0.15rem 0.6rem; border-bottom: 1px solid var(--c-glass-edge); font-size: 0.875rem; }
.cs-head b { font-weight: 600; }
.cs-head small { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.02em; color: rgba(249, 249, 251, 0.8); }
.cs-note { justify-self: end; display: grid; gap: 0.2rem; max-width: 88%; margin: 0; padding: 0.65rem 0.85rem; border-radius: 1rem 1rem 0.35rem 1rem; background: var(--c-brand); color: var(--c-on-brand); font-size: 0.9375rem; line-height: 1.35; font-weight: 600; }
.cs-note small { justify-self: end; font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 400; letter-spacing: 0.02em; }
.cs-status { display: flex; align-items: center; gap: 0.55rem; margin: 0; font-size: 0.9375rem; font-weight: 600; }
.cs-status__mark { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 0.45rem; background: var(--c-brand); }
.cs-status__mark svg { width: 1rem; height: 1rem; fill: var(--c-on-brand); }
.cs-reply { justify-self: start; max-width: 94%; margin: 0; padding: 0.7rem 0.9rem; border-radius: 1rem 1rem 1rem 0.35rem; background: rgba(249, 249, 251, 0.12); border: 1px solid var(--c-glass-edge); font-size: 0.9375rem; line-height: 1.4; }
.contact-hero__words { display: grid; gap: var(--space-3); align-content: center; justify-items: start; max-width: 40rem; padding: clamp(2.25rem, 1.25rem + 3vw, 4rem) var(--gutter) clamp(3.5rem, 2rem + 4vw, 5rem); }
.contact-hero__title { margin: 0; max-width: 18ch; font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1.02; font-weight: 600; letter-spacing: var(--track-display); text-wrap: balance; }
.contact-hero__lede { margin: 0; max-width: 30rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; color: var(--c-soft-on-ink); }
.contact-hero__ways { display: grid; gap: 0.55rem; margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.contact-hero__ways li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.9rem; font-size: 1rem; }
.contact-hero__ways span { min-width: 4.25rem; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: var(--track-mono); text-transform: uppercase; color: var(--c-soft-on-ink); }
.contact-hero__ways a { color: var(--c-on-ink); text-decoration: underline; text-decoration-color: var(--c-brand-on-ink); text-underline-offset: 4px; }
.contact-hero .cta-row { margin-top: var(--space-3); }
.contact-hero .cta-row__note { color: var(--c-soft-on-ink); }
@media (min-width: 960px) {
  .contact-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(52rem, 100svh); }
  .contact-hero__media { height: auto; border-radius: 0 var(--radius-xl) var(--radius-xl) 0; }
  .contact-hero__seq { bottom: 1.5rem; }
  .contact-hero__words { padding: calc(var(--header-h) + 3rem) var(--gutter) 4rem clamp(2.5rem, 1rem + 4vw, 6rem); }
  .contact-hero__slide--owner { --pos: 56% 50%; }
  .contact-hero__slide--blowdry { --pos: 45% 50%; }
}

/* ---- form: the words at the left (how a person answers, and when); the kit's form in its own box, one question a
   screen, its progress a tick ruler with its count in Geist Mono ---- */
.contact-form__grid { display: grid; gap: var(--space-5); }
.contact-form__head { display: grid; gap: var(--space-3); align-content: start; }
.contact-form__reply { display: flex; align-items: flex-start; gap: 0.8rem; max-width: 26rem; margin: var(--space-2) 0 0; padding: 1rem 1.1rem; border-radius: var(--radius-l); background: var(--c-paper-alt); }
.contact-form__mark { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px; background: var(--c-brand); }
.contact-form__mark svg { width: 1.3rem; height: 1.3rem; fill: var(--c-on-brand); }
.contact-form__reply b { display: block; font-size: 1rem; line-height: 1.3; }
.contact-form__reply small { display: block; margin-top: 0.2rem; font-size: 0.9375rem; line-height: 1.45; color: var(--c-ink-soft); }
@media (min-width: 960px) {
  .contact-form__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-6); align-items: start; }
  .contact-form__head { position: sticky; top: calc(var(--header-h) + var(--space-5)); }
}
.cf { display: grid; gap: var(--space-4); padding: clamp(1.25rem, 0.75rem + 2vw, 2.5rem); border-radius: var(--radius-xl); border: 1px solid var(--c-line); background: var(--c-paper); box-shadow: var(--shadow-m); }
.cf__progress { display: flex; align-items: center; gap: 1rem; }
.cf__count { flex: none; font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: var(--track-mono); color: var(--c-ink-soft); }
.cf__count b { display: none; font-weight: 500; color: var(--c-ink); }
.cf__count b[aria-current="step"] { display: inline; }
.cf__ruler { position: relative; flex: 1; height: 14px; background: linear-gradient(to right, var(--c-tick-paper) 0 1px, transparent 1px) 0 100% / 12px 7px repeat-x, linear-gradient(to right, var(--c-tick-paper) 0 1px, transparent 1px) 0 100% / 60px 14px repeat-x; }
.cf__fill { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--kit-at, 1) / var(--kit-steps, 3) * 100%); border-radius: 2px; background: var(--c-brand); transition: width var(--dur-med) var(--ease-out); }
.cf__step { min-width: 0; margin: 0; padding: 0; border: 0; }
.cf__q { float: left; width: 100%; margin: 0 0 var(--space-4); padding: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--c-ink); }
.cf__q + * { clear: both; }
.cf__choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11.5rem), 1fr)); gap: 0.75rem; }
.cf__choice { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius-l); border: 1px solid var(--c-line); background: var(--c-paper); cursor: pointer; transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.cf__choice input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cf__choice:hover { border-color: var(--c-ink-soft); transform: translateY(-2px); }
.cf__choice[data-kit-on] { border-color: var(--c-brand); box-shadow: 0 0 0 1px var(--c-brand), 0 14px 30px -18px rgba(0, 85, 255, 0.6); }
.cf__choice:has(input:focus-visible) { outline: 3px solid var(--c-brand); outline-offset: 3px; }
.cf__pic { display: grid; place-items: center; height: 6.25rem; padding: 0.75rem; background: var(--c-ink); }
.cf__label { padding: 0.8rem 0.9rem 0.95rem; font-weight: 600; font-size: 1rem; line-height: 1.3; color: var(--c-ink); }
.cf__error { grid-column: 1 / -1; margin: 0; font-size: 0.9375rem; color: #B42318; }
.cf__fields { display: grid; gap: 1rem; }
@media (min-width: 600px) { .cf__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cf__field { display: grid; gap: 0.4rem; align-content: start; }
.cf__field label { font-weight: 600; font-size: 0.9375rem; color: var(--c-ink); }
.cf__opt { font-weight: 400; color: var(--c-ink-soft); }
.cf__field input, .cf__field textarea { width: 100%; min-height: 3.25rem; padding: 0.75rem 1rem; border-radius: var(--radius-m); border: 1px solid var(--c-line); background: var(--c-paper); color: var(--c-ink); font: 400 1rem/1.4 var(--font-text); }
.cf__field textarea { min-height: 9rem; resize: vertical; }
.cf__field input::placeholder, .cf__field textarea::placeholder { color: var(--c-ink-soft); opacity: 1; }
.cf__field input:focus-visible, .cf__field textarea:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 1px; border-color: var(--c-brand); }
.cf__field [aria-invalid="true"] { border-color: #B42318; }
.cf__nav { display: flex; align-items: center; gap: 1rem; margin-top: var(--space-4); }
.cf__nav .btn { margin-left: auto; }
.cf__back { min-height: 2.75rem; padding: 0 1.1rem; border-radius: var(--radius-pill); border: 1px solid var(--c-line); background: transparent; color: var(--c-ink); font: 600 0.9375rem/1 var(--font-ui); cursor: pointer; }
.cf__back:hover { border-color: var(--c-ink-soft); }
.cf__back:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; }
.cf[data-kit-sending] .btn { opacity: 0.7; pointer-events: none; }
@media (max-width: 599px) {
  .cf__choices { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .cf__choice { grid-template-columns: 9.5rem minmax(0, 1fr); grid-template-rows: auto; align-items: center; }
  .cf__pic { height: 100%; min-height: 5.25rem; padding: 0.5rem; }
  .cf__label { padding: 0.75rem 0.9rem; }
}
@media (prefers-reduced-motion: reduce) { .cf__choice, .cf__fill, .contact-hero__seq [data-kit-at] { transition: none; } .cf__choice:hover { transform: none; } }

/* the choices' small pictures, on charcoal in the site's look */
.cfp { position: relative; display: grid; gap: 0.4rem; width: 100%; max-width: 10.5rem; color: var(--c-on-ink); font-family: var(--font-ui); }
.cfp__card { display: flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.65rem; border-radius: 0.7rem; background: rgba(249, 249, 251, 0.1); border: 1px solid var(--c-glass-edge); }
.cfp__card b { display: block; font-size: 0.875rem; line-height: 1.2; }
.cfp__card small { display: block; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--c-soft-on-ink); }
.cfp__search { display: block; padding: 0.3rem 0.7rem; border-radius: var(--radius-pill); background: var(--c-paper); color: var(--c-ink); font-size: 0.8125rem; line-height: 1.3; }
.cfp__row { display: flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.55rem; border-radius: 0.6rem; background: rgba(61, 123, 255, 0.16); border: 1px solid rgba(61, 123, 255, 0.55); }
.cfp__row b { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--c-on-ink); }
.cfp__pin { display: grid; width: 1rem; height: 1rem; color: var(--c-brand-on-ink); }
.cfp__pin svg { width: 100%; height: 100%; }
.cfp__lines { display: grid; flex: 1; gap: 4px; }
.cfp__lines i { display: block; height: 4px; border-radius: 2px; background: rgba(249, 249, 251, 0.38); }
.cfp__lines i + i { width: 60%; background: rgba(249, 249, 251, 0.2); }
.cfp--lead .cfp__card { display: grid; gap: 0.1rem; border-left: 3px solid var(--c-brand-on-ink); }
.cfp__icon { flex: none; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand); }
.cfp__icon svg { width: 0.95rem; height: 0.95rem; }
.cfp--stars { display: flex; justify-content: center; gap: 0.2rem; color: #fbbc04; }
.cfp--stars svg { width: 1.35rem; height: 1.35rem; }
.cfp--plan .cfp__card { display: grid; gap: 0.45rem; }
.cfp__bars { display: flex; align-items: flex-end; gap: 4px; height: 1.6rem; }
.cfp__bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 2px 2px 0 0; background: var(--c-brand-on-ink); }

/* ---- skip: the chat is faster; a landscaper still at work at sunset. The words in one column at the left, the sky
   behind them darkened to a deep amber so they read; the figure at the right stays clear ---- */
.contact-skip .close-band__inner { grid-template-columns: minmax(0, 36rem); gap: var(--space-4); }
.contact-skip .close-band__media video { object-position: 50% 62%; }
.contact-skip .close-band__media::after { background: linear-gradient(90deg, rgba(13, 13, 13, 0.84) 0%, rgba(13, 13, 13, 0.62) 40%, rgba(13, 13, 13, 0.12) 72%), linear-gradient(180deg, var(--c-ink) 0%, rgba(13, 13, 13, 0) 22%, rgba(13, 13, 13, 0) 70%, var(--c-ink) 100%); }
@media (max-width: 759px) {
  .contact-skip .close-band__media video { object-position: 58% 62%; }
  .contact-skip .close-band__media::after { background: linear-gradient(180deg, var(--c-ink) 0%, rgba(13, 13, 13, 0.62) 16%, rgba(13, 13, 13, 0.66) 62%, var(--c-ink) 100%); }
}
