/* contact.css: the Contact page (plan.md, "Contact"): the header with reply-card over the owner at her laptop, the
   call beside the form. */

/* Header: the owner at her laptop by the window, full bleed and graded from the left; the words at the left, her
   request and its answer in glass at the right. Under 1024 px: the words on the ground, the photo under them with the
   cards over its lower part. */
.ct-hero { box-sizing: border-box; min-height: min(44rem, 86vh); display: grid; align-content: center; padding-block: clamp(4rem, 2.5rem + 4vw, 7rem); }
.ct-hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ct-hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 55% 30%; filter: brightness(0.62) saturate(0.88); }
.ct-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--c-ink) 88%, transparent) 0%, color-mix(in srgb, var(--c-ink) 60%, transparent) 36%, transparent 55%, transparent 66%, color-mix(in srgb, var(--c-ink) 45%, transparent) 100%), linear-gradient(180deg, transparent 70%, var(--c-ink) 100%); }
.ct-hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 23.75rem); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.ct-hero__copy { display: grid; justify-items: start; gap: var(--space-4); max-width: 32rem; }
.ct-hero__title { max-width: 13ch; }
.ct-hero__scene { position: relative; }
.ct-hero__stop { top: -3rem; right: 0; bottom: auto; left: auto; }

/* The call and the facts at the left, the form at the right. */
.ct-main__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.ct-side { display: grid; gap: var(--space-5); position: sticky; top: 6rem; }
.ct-call { display: grid; justify-items: start; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius-l); background: radial-gradient(ellipse 80% 70% at 0% 0%, var(--c-glow-soft), transparent 70%), var(--c-ink-soft); border: 1px solid color-mix(in srgb, var(--c-brand) 40%, var(--c-line-strong)); box-shadow: var(--shadow-m); }
.ct-call__ic { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: var(--grad-brand); color: var(--c-on-brand); }
.ct-call__ic svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-call__title { font-size: var(--fs-h3); }
.ct-call p { margin: 0; color: var(--c-muted); line-height: 1.6; }
.ct-facts { display: grid; gap: var(--space-4); margin: 0; padding: 0 var(--space-2); }
.ct-facts dt { display: flex; align-items: center; gap: 0.5rem; font: 600 var(--fs-eyebrow)/1 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); }
.ct-facts dt svg { width: 1rem; height: 1rem; fill: none; stroke: var(--c-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ct-facts dd { margin: 0.4rem 0 0; color: var(--c-paper); font-weight: 600; }
.ct-facts a { color: var(--c-paper); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--c-brand) 70%, transparent); text-underline-offset: 0.3em; }
.ct-form { display: grid; gap: var(--space-4); padding: clamp(1.25rem, 0.75rem + 2vw, 2.5rem); border-radius: var(--radius-l); background: var(--c-ink-soft); border: 1px solid var(--c-line-strong); box-shadow: var(--shadow-l); }
.ct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.ct-field { display: grid; gap: 0.45rem; align-content: start; }
.ct-field label, .ct-chips legend { font: 600 var(--fs-small)/1.3 var(--font-text); color: var(--c-paper); }
.ct-field label span { color: var(--c-brand-on-ink); }
.ct-field input, .ct-field textarea { box-sizing: border-box; width: 100%; min-height: 3rem; padding: 0.7rem 0.95rem; border-radius: var(--radius-m); background: var(--c-ink); border: 1px solid var(--c-line-strong); color: var(--c-paper); font: inherit; }
.ct-field textarea { resize: vertical; min-height: 7.5rem; }
.ct-field input:focus-visible, .ct-field textarea:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-color: var(--c-brand); }
.ct-field[data-kit-invalid] input, .ct-field[data-kit-invalid] textarea { border-color: var(--c-brand); }
.ct-error { margin: 0; font-size: var(--fs-small); color: var(--c-brand-on-ink); }
.ct-chips { margin: 0; padding: 0; border: 0; min-width: 0; }
.ct-chips legend { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.6rem; padding: 0; }
.ct-hint { font-weight: 400; color: var(--c-muted); }
.ct-chips__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ct-chip { position: relative; display: inline-flex; cursor: pointer; }
.ct-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ct-chip span { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.5rem; padding: 0.45rem 0.95rem; border-radius: var(--radius-full); background: var(--c-ink); border: 1px solid var(--c-line-strong); font: 600 0.9375rem/1 var(--font-text); color: var(--c-paper); transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s; }
.ct-chip:hover span { border-color: color-mix(in srgb, var(--c-brand) 60%, var(--c-line-strong)); }
.ct-chip input:checked + span { background: color-mix(in srgb, var(--c-brand) 26%, var(--c-ink-3)); border-color: var(--c-brand); box-shadow: 0 0 18px -6px var(--c-glow); }
.ct-chip input:checked + span::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 8px var(--c-accent); }
.ct-chip input:focus-visible + span { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.ct-submit { justify-self: start; }
.ct-form[data-kit-sending] .ct-submit { opacity: 0.7; }

@media (max-width: 1023px) {
  .ct-hero { min-height: 0; padding-bottom: var(--space-5); }
  .ct-hero__in { grid-template-columns: minmax(0, 1fr); gap: 15rem; }
  .ct-hero__media { inset: auto 0 0 0; height: 41rem; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%); mask-image: linear-gradient(180deg, transparent 0, #000 14%); }
  .ct-hero__media > img { object-position: 56% 18%; }
  .ct-hero__media::after { background: linear-gradient(180deg, transparent 0%, transparent 30%, color-mix(in srgb, var(--c-ink) 55%, transparent) 60%, color-mix(in srgb, var(--c-ink) 80%, transparent) 100%); }
  .ct-hero__scene { width: min(100%, 23.75rem); }
  .ct-main__in { grid-template-columns: minmax(0, 1fr); }
  .ct-side { position: static; }
}
@media (max-width: 599px) {
  .ct-grid { grid-template-columns: minmax(0, 1fr); }
}
