/* The Contact page: its ways to reach Adam, the form beside the "Skip the wait" card, and what happens next. */

/* the header: the calm desk; the booked call in glass at the right; phone, email and hours under the buttons */
.ct-top .phead__media img { object-position: 50% 62%; }
.phead__scene.ct-card { height: 300px; }
.ct-ways { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--c-on-ink); font: 600 16px/1.3 var(--font-ui); }
.ct-ways li, .ct-ways a { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.ct-ways svg { flex: none; color: var(--c-accent); }
.ct-ways a:hover { text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: 4px; }

/* the form in its card, the navy "Skip the wait" card beside it */
.ct-form__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 4vw, 56px); align-items: start; }
.ct-form__box { max-width: 720px; }
.ct-skip { position: sticky; top: calc(var(--header-h, 76px) + 24px); margin-top: clamp(96px, 9vw, 132px); padding: 30px 28px 26px; border-radius: var(--radius-m); background: var(--c-brand); color: var(--c-on-ink); box-shadow: var(--shadow-l); }
.ct-skip__kicker { margin: 0; color: var(--c-gold-light); font: 700 14px/1.3 var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; }
.ct-skip__title { margin: 10px 0 22px; color: var(--c-on-ink); font: 800 24px/1.25 var(--font-display); letter-spacing: var(--track-display); }
.ct-skip__note { display: flex; flex-wrap: wrap; align-items: center; margin-top: 14px; color: var(--c-on-ink-soft); font: 500 14px/1.4 var(--font-ui); }
.ct-skip__note > span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 11px 3px; border-radius: 50%; background: var(--c-accent); }

/* what happens next: four steps on a gold line that draws as it comes into view */
.ct-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: step; }
.ct-steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 3px; border-radius: 2px; background: var(--sweep); transform-origin: 0 50%; animation: ct-line 1.6s var(--ease-out) both; animation-timeline: view(); animation-range: entry 40% cover 45%; }
.ct-steps li { position: relative; padding-top: 64px; counter-increment: step; }
.ct-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-ink); color: var(--c-accent-on-ink); font: 800 18px/1 var(--font-display); box-shadow: 0 0 0 6px var(--c-paper-alt); }
.ct-steps b { display: block; color: var(--c-ink); font: 700 var(--fs-h3)/1.3 var(--font-display); }
.ct-steps span { display: block; margin-top: 6px; color: var(--c-ink-soft); }
.ct-where { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: clamp(36px, 4vw, 52px); padding-top: 24px; border-top: 1px solid var(--c-line); }
.ct-where p { margin: 0; color: var(--c-ink); font: 600 16px/1.4 var(--font-ui); }
.ct-profiles { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.ct-profiles a { color: var(--c-ink); font: 600 15px/1.3 var(--font-ui); text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: 4px; }
@keyframes ct-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .ct-steps::before { animation: none; } }

@media (max-width: 1000px) {
  .ct-form__grid { grid-template-columns: minmax(0, 1fr); }
  .ct-skip { position: static; margin-top: 0; max-width: 720px; }
  .ct-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .ct-steps::before { display: none; }
}
@media (max-width: 900px) {
  .phead__scene.ct-card { height: 240px; }
  .ct-top .phead__in { padding-bottom: 60px; }
  .ct-top .phead__stop { top: auto; bottom: 12px; }
}
@media (max-width: 600px) {
  .ct-skip { padding: 24px 18px 22px; }
  .ct-skip .btn { padding-inline: 16px; font-size: 14.5px; }
  .ct-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ct-steps::before { display: block; left: 21px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; background: linear-gradient(180deg, var(--c-gold-deep), var(--c-accent) 45%, var(--c-gold-light)); transform-origin: 50% 0; animation-name: ct-line-v; }
  .ct-steps li { padding: 4px 0 0 64px; min-height: 44px; }
  @keyframes ct-line-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
