/* contact.css: Contact. Its opening is its own: the headline over a pair, the owner's photo that moves (scene ct-hero
   on the wall beside her) and the full kit form in its own box, on the paper with the slate blueprint grid; then the
   quicker ways on the navy designed ground. Tokens only. */

/* ---------- hero ---------- */
.ct-hero { position: relative; padding: calc(var(--header-top) + var(--header-h) + clamp(40px, 5vw, 64px)) 0 clamp(64px, 7vw, 96px);
  background-color: var(--c-paper-alt);
  background-image: linear-gradient(color-mix(in srgb, var(--c-slate) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--c-slate) 7%, transparent) 1px, transparent 1px);
  background-size: 44px 44px; background-position: center -1px; }
.ct-hero__in { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); grid-template-areas: "words words" "frame box"; gap: 36px 32px; align-items: stretch; }
.ct-hero__words { grid-area: words; display: grid; gap: 14px; max-width: 780px; }
.ct-hero__words .h1 { font-size: clamp(2.4rem, 1.3rem + 2.6vw, 3.6rem); text-wrap: balance; }
/* the photo (3:2, her face at 34 to 42 % across) held by its right edge: as the frame grows with the form's second
   step, her face moves left, never under the two cards over the white wall and the clothes rack at the right */
.ct-hero__frame { grid-area: frame; position: relative; overflow: hidden; isolation: isolate; min-height: 500px; border-radius: var(--radius-l); background: var(--c-brand); box-shadow: var(--shadow-l); }
.ct-hero__img { position: absolute; inset: -1px; z-index: -1; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 100% 30%; }
.ct-hero__frame::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(200deg, color-mix(in srgb, var(--c-brand) 30%, transparent) 0%, transparent 46%); }
.ct-hero__stage { position: absolute; right: 4px; top: 4px; width: min(360px, 52%); height: 400px; }
.ct-hero__frame > .stop { top: 414px; right: 14px; bottom: auto; } /* under the cards it pauses */

/* the full form in its own box: a white card with a slate outline */
.ct-hero__box { grid-area: box; box-sizing: border-box; padding: 28px 28px 30px; border-radius: var(--radius-l); background: var(--c-paper); border: 1px solid color-mix(in srgb, var(--c-line) 20%, transparent); box-shadow: var(--shadow-m); }
.ct-form { display: grid; gap: 16px; }
/* the steps' markers: a progress track across the box's top in two halves, gold once reached (step 12, row 103) */
.ct-form__marks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 0 4px; padding: 0; list-style: none; }
.ct-form__marks li { height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--c-slate) 16%, transparent); transition: background-color var(--dur-med) var(--ease-out); }
.ct-form__marks li[aria-current="step"], .ct-form__marks li[data-kit-past] { background: var(--c-accent); }
.ct-form__step { display: grid; gap: 18px; min-width: 0; margin: 0; padding: 0; border: 0; }
/* a fieldset's legend sits outside its grid, so its own margin keeps it off what follows (row 104) */
.ct-form__q { padding: 0; margin: 0 0 16px; font: 700 22px/1.25 var(--font-display); letter-spacing: -0.015em; color: var(--c-ink); }
.ct-form__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ct-form__choices > .field__error { grid-column: 1 / -1; }
/* step 1's choices show what they mean: a small picture each, which fills gold when it is chosen */
.choice-card { position: relative; display: grid; justify-items: start; gap: 12px; padding: 18px 16px 16px; border-radius: var(--radius-m); background: var(--c-paper); border: 1.5px solid color-mix(in srgb, var(--c-line) 22%, transparent); cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.choice-card:hover { border-color: color-mix(in srgb, var(--c-line) 46%, transparent); transform: translateY(-1px); }
.choice-card input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice-card:has(input:focus-visible) { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.choice-card:has(input:checked) { border-color: var(--c-accent-deep); background: var(--c-accent-tint); }
.choice-card__pic { width: 72px; height: 50px; overflow: visible; }
.choice-card__pic .cc-l { fill: none; stroke: var(--c-slate); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.choice-card__pic .cc-g { fill: none; stroke: var(--c-accent-deep); stroke-width: 2.2; stroke-linecap: round; }
.choice-card__pic .cc-f { fill: var(--c-accent); }
.choice-card__pic .cc-s { fill: color-mix(in srgb, var(--c-slate) 22%, transparent); transition: fill var(--dur-med) var(--ease-out); }
.choice-card:has(input:checked) .cc-s { fill: var(--c-accent); }
.choice-card__name { font: 650 15.5px/1.25 var(--font-ui); color: var(--c-ink); }
.ct-form__go { justify-self: start; }
/* step 2: the details */
.ct-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; align-items: start; } /* a field whose error wraps never stretches its neighbor (row 124) */
.ct-form__fields > .field:nth-child(n + 5) { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; min-width: 0; }
.field__label { font: 600 14px/1.3 var(--font-ui); color: var(--c-ink); }
.field__opt { font-weight: 450; color: var(--c-ink-soft); }
.field__input { box-sizing: border-box; width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--radius-s); background: var(--c-paper); border: 1.5px solid color-mix(in srgb, var(--c-line) 26%, transparent); font: 450 16px/1.3 var(--font-text); color: var(--c-ink); }
.field__input::placeholder { color: color-mix(in srgb, var(--c-ink-soft) 70%, transparent); }
.field__input:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-brand) 14%, transparent); }
.field__input--area { min-height: 84px; resize: vertical; }
.field__input[aria-invalid="true"] { border-color: var(--c-accent-deep); box-shadow: 0 0 0 3px var(--c-accent-tint); }
.field__error { margin: 0; font: 600 13.5px/1.35 var(--font-ui); color: var(--c-accent-text); }
.ct-form__agree { display: flex; align-items: flex-start; gap: 10px; font: 450 14.5px/1.45 var(--font-text); color: var(--c-ink-soft); cursor: pointer; }
.ct-form__agree input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--c-brand); }
.ct-form__agree a { color: var(--c-brand-text); text-decoration: underline; text-underline-offset: 2px; }
.ct-form__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.ct-form__back { color: var(--c-ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c-line) 40%, transparent); }
.ct-form__back:hover { background: var(--c-paper-alt); }
.ct-form__assure { justify-content: flex-start; margin: 0; }

/* ---------- faster: the quicker ways, on the navy designed ground (its guide lines and a soft gold light behind the
   cards, gone well before the section's foot: row 98) ---------- */
.ct-faster { position: relative; color: var(--c-on-brand); background:
    linear-gradient(90deg, transparent calc(50% - var(--max-w) / 2 - 1px), var(--c-navy-line) calc(50% - var(--max-w) / 2 - 1px), var(--c-navy-line) calc(50% - var(--max-w) / 2), transparent calc(50% - var(--max-w) / 2), transparent calc(50% + var(--max-w) / 2), var(--c-navy-line) calc(50% + var(--max-w) / 2), var(--c-navy-line) calc(50% + var(--max-w) / 2 + 1px), transparent calc(50% + var(--max-w) / 2 + 1px)),
    radial-gradient(640px 280px at 50% 56%, color-mix(in srgb, var(--c-accent) 7%, transparent), transparent 70%),
    radial-gradient(900px 560px at 86% -10%, var(--c-navy-raise), transparent 70%), var(--c-brand); }
.ct-faster__head { margin-inline: auto; text-align: center; max-width: 720px; }
.ct-faster .section__line { color: var(--c-on-brand-soft); }
/* the analysis (its numbers as the site's rising steps) beside the call (its booking sheet), two cards of one height,
   each with its own picture, its own action and its own stop icon on its name's line */
.ct-faster__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 28px; max-width: 1080px; margin: 0 auto; }
.ct-card { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; align-content: start; gap: 20px; padding: 28px; border-radius: var(--radius-l); background: var(--c-slate); border: 1px solid var(--glass-line); box-shadow: var(--shadow-l); }
.ct-card--plan { grid-template-rows: auto minmax(0, 1fr) auto auto; }
.ct-card__name { margin: 0; padding-right: 52px; font: 700 21px/1.25 var(--font-display); letter-spacing: -0.01em; }
.ct-numbers__stage { position: relative; min-height: 250px; }
.ct-call__stage { position: relative; height: 282px; }
.ct-card > .stop { top: 23px; right: 24px; bottom: auto; }
.ct-card__go { justify-self: start; color: var(--c-on-brand); }
.ct-card--plan .ct-card__go { color: var(--c-brand); }
.ct-card__assure { justify-content: flex-start; margin: -6px 0 0; color: var(--c-on-brand-soft); }
.ct-card__assure span::before { background: var(--c-accent); }

@media (max-width: 1100px) and (min-width: 901px) {
  .ct-hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .ct-hero__img { object-position: 88% 30%; }
  .ct-hero__stage { width: 340px; }
}

@media (max-width: 900px) {
  .ct-hero { padding: calc(var(--header-top) + var(--header-h) + 28px) 0 56px; }
  .ct-hero__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "words" "frame" "box"; gap: 22px; }
  .ct-hero__words .h1 { font-size: 2.15rem; }
  /* the photo whole (3:2): on a tablet the cards on the wall at its right, as on a computer */
  .ct-hero__frame { min-height: 0; aspect-ratio: 3 / 2; }
  .ct-hero__img { object-position: 50% 30%; }
  .ct-hero__stage { width: min(340px, 48%); }
  .ct-card > .stop { top: 17px; right: 14px; }
  .ct-hero__box { padding: 22px 18px 24px; }
  .ct-form__q { font-size: 20px; }
  .ct-form__choices { gap: 10px; }
  .choice-card { padding: 12px; }
  .ct-form__fields { grid-template-columns: minmax(0, 1fr); }
  .ct-faster__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ct-card { padding: 22px 18px; }
}

@media (max-width: 600px) {
  /* a band about 256 px tall (step 12's short look, row 123): her face in its upper third, the reply at its foot
     about 15 px clear of her chin, the stop icon on the white wall; the choices as slim rows, so the question, its
     four choices and Next show on the first screen */
  .ct-hero__in { gap: 16px; }
  .ct-hero__frame { aspect-ratio: auto; height: 256px; }
  .ct-hero__stage { left: 4px; right: 4px; top: auto; bottom: 4px; width: auto; height: 160px; }
  .ct-hero__frame > .stop { top: 12px; right: 12px; }
  .choice-card { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 9px; padding: 10px 11px; }
  .choice-card__pic { width: 44px; height: 30px; }
  .choice-card__name { font-size: 14.5px; }
  .ct-card__name { font-size: 19px; }
}

@media (max-width: 400px) {
  /* the headline in two lines and the line in one, so the form's four choices and Next stay on a 375 x 812 first screen */
  .ct-hero__words .h1 { font-size: 2rem; }
  .ct-hero__words .lead { font-size: 1.0625rem; }
}
