/* ==========================================================================
   Assist — contact: a form you fill in like a sentence
   ========================================================================== */
.chero { display: grid; gap: clamp(20px, 2.4vw, 32px); padding-top: calc(var(--header-h) + 50px); padding-bottom: clamp(50px, 6vw, 90px); }
.chero__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; font-size: 14px; }
.chero__meta > span:not(.chip) { opacity: .7; }
.chero__title { font-size: clamp(76px, 16.5vw, 330px); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.chero__sub { max-width: 38ch; opacity: .75; }

/* Two ways in: WhatsApp for a quick chat, email for the details */
.channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); padding-bottom: clamp(80px, 9vw, 140px); }
.channel {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: clamp(320px, 30vw, 440px);
  padding: clamp(24px, 2.6vw, 38px); border-radius: 18px; overflow: hidden; isolation: isolate;
  background: color-mix(in srgb, var(--c) 9%, #121214); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 28%, transparent);
  transition: background .6s var(--ease), box-shadow .6s var(--ease);
}
.channel::before {
  content: ""; position: absolute; z-index: -1; right: -18%; bottom: -55%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 42%, transparent), transparent 66%); transition: transform 1.2s var(--ease);
}
.channel:hover { background: color-mix(in srgb, var(--c) 15%, #121214); box-shadow: inset 0 0 0 1px var(--c); }
.channel:hover::before { transform: scale(1.3); }
.channel__top { display: flex; align-items: center; gap: 14px; }
.channel__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--c); color: var(--on); }
.channel__icon svg { width: 28px; height: 28px; }
.channel__kind { font-size: 14px; font-weight: 500; opacity: .7; }
.channel__title { margin-top: auto; padding-top: 36px; font-size: clamp(36px, 4vw, 66px); font-weight: 600; line-height: .95; letter-spacing: -.045em; }
.channel__text { max-width: 42ch; font-size: 16px; opacity: .72; }
.channel__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; margin-top: 12px; }
.channel:hover .btn::before { transform: none; }
.channel:hover .btn { color: var(--on); }
.channel:hover .btn__arrow svg:first-child { transform: translateX(150%); }
.channel:hover .btn__arrow svg + svg { transform: none; }

.cform { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr); gap: clamp(40px, 6vw, 110px); align-items: start; padding-bottom: clamp(110px, 12vw, 190px); }
.cform__main { display: grid; gap: clamp(36px, 4.4vw, 64px); }
.cform__head { display: grid; gap: 18px; justify-items: start; }
.madlib { display: grid; gap: clamp(28px, 3.4vw, 48px); }
.madlib__line { font-size: clamp(26px, 3.2vw, 52px); font-weight: 500; line-height: 1.35; letter-spacing: -.035em; }
.madlib__group { display: grid; gap: 18px; }
.field { position: relative; display: inline-block; }
.field input {
  width: 9ch; min-width: 6ch; max-width: 100%; padding: 0 .1em 2px; border: 0; border-bottom: 2px solid color-mix(in srgb, var(--fg) 30%, transparent);
  background: transparent; color: var(--accent); font: inherit; letter-spacing: inherit; outline: none; transition: border-color .4s;
}
.field--wide input { width: 13ch; }
.field input::placeholder { color: color-mix(in srgb, var(--fg) 32%, transparent); }
.field input:focus { border-bottom-color: var(--accent); }
.field.is-invalid input { border-bottom-color: #FF4A3D; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-in { position: relative; cursor: pointer; }
.chip-in input { position: absolute; opacity: 0; pointer-events: none; }
.chip-in span {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border-radius: 999px;
  font-size: 16px; font-weight: 500; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 24%, transparent);
  transition: background .35s, color .35s, box-shadow .35s, transform .35s var(--ease);
}
.chip-in span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.chip-in:hover span { box-shadow: inset 0 0 0 1px var(--fg); }
.chip-in input:checked + span { background: var(--fg); color: var(--bg); box-shadow: none; }
.chip-in input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.chip-in input:checked + span::before { background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); }

.madlib__text {
  width: 100%; min-height: 150px; padding: 18px 20px; border: 0; border-radius: 14px; resize: vertical;
  background: var(--soft); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line);
  font: inherit; font-size: 18px; line-height: 1.55; outline: none; transition: box-shadow .4s;
}
.madlib__text:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.madlib__send { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.madlib__btn { --c: var(--accent); }
.madlib__btn:hover { color: #fff; }
.madlib__btn[disabled] { opacity: .5; pointer-events: none; }
.madlib__status { font-size: 15px; max-width: 44ch; }
.madlib__status.is-error { color: #FF6B5E; }
.madlib__status.is-ok { color: #3BE08F; }

.cside { display: grid; gap: 32px; }
.madlib__thanks { display: grid; gap: 18px; align-content: start; }
.cside__frame { aspect-ratio: 4 / 5; }
.cside__next { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cside__next li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.cside__next b { font-size: 12px; font-weight: 500; opacity: .5; padding-top: 3px; }

@media (max-width: 960px) {
  .channels { grid-template-columns: 1fr; }
  .channel { min-height: 0; }
  .cform { grid-template-columns: 1fr; }
  .cside__frame { aspect-ratio: 16 / 10; }
  .chero__title { white-space: normal; }
}
