/* Contact page (contact.html): the page every "Work With Us", "Let's Grow" and "Start Your Mission" leads to. On the
   left, the title and the three steps (the current one in white, its brackets in the accent, as the roster's picked
   name is), sticky beside the form on desktop. On the right, the lead form, one step at a time (contact.js): what you
   need (the services, each opening its own screening questions), about you, then pick a time. Every control is at
   least 44px tall and every input's text 18px, so phones neither miss a tap nor zoom in on a field. */
.contact-body .page-header-cta,.contact-body .site-bar-cta{display:none!important}  /* this is where they lead */
.contact-page{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:16px;align-items:start;padding:clamp(96px,14vh,160px) 0 clamp(120px,16vh,200px)}
.contact-intro{grid-column:1/5;position:sticky;top:120px}
.contact-intro h1{margin-top:16px;font:400 clamp(44px,4.4vw,64px)/1 var(--sans);letter-spacing:-.035em}
.contact-lead{max-width:420px;margin-top:20px;font-size:20px;line-height:1.45;color:var(--body);text-wrap:pretty}
.contact-steps{margin:40px 0 0;padding:0;list-style:none;border-bottom:1px solid var(--line)}
.contact-steps li{position:relative;padding:14px 0 15px;border-top:1px solid var(--line);font:500 14px/1.5 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--muted);transition:color .25s}
.contact-steps li span{margin-right:10px}
.contact-steps li[aria-current]{color:var(--white)}
.contact-steps li[aria-current]::after{content:"〔 〕";position:absolute;right:0;color:var(--green);letter-spacing:.6em}
.contact-steps li.is-done{color:var(--body)}

.lead-form{grid-column:6/-1;min-width:0}
.lead-progress{min-height:0;margin:0;font-size:16px;font-weight:700}  /* the dot type thins out at 14px; heavier dots keep it legible */
.lead-step{min-width:0;margin:0;padding:0;border:0}
.lead-step[hidden]{display:none}
.lead-step-title{margin-top:20px;font-size:clamp(28px,2.78vw,40px);font-weight:500;line-height:1.05;letter-spacing:-.03em;outline:none}
.lead-step-hint{margin-top:10px;font-size:16px;color:var(--muted)}
.lead-group{min-width:0;margin:32px 0 0;padding:0;border:0}
.lead-legend{padding:0;font-size:18px;line-height:1.35;color:var(--white)}
.lead-hint,.lead-optional{color:var(--muted)}
.lead-optional{margin-left:6px;font:500 12px/1 var(--mono);letter-spacing:.05em;text-transform:uppercase}

/* Services: cards that take the whole tap. A picked one turns white-edged and fills its check in the accent. */
.lead-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
.lead-group#services{margin-top:0}
.lead-card{position:relative;display:flex;flex-direction:column;gap:8px;min-height:112px;padding:20px 56px 22px 20px;border:1px solid var(--line);border-radius:6px;background:#1b1b18;cursor:pointer;transition:border-color .2s,background-color .2s}
.lead-card input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.lead-card-title{font-size:20px;font-weight:500;line-height:1.2;letter-spacing:-.015em;color:var(--white)}
.lead-card-text{font-size:16px;line-height:1.4;color:var(--body)}
.lead-card-check{position:absolute;top:20px;right:20px;width:22px;height:22px;border:1px solid #6a6a66;border-radius:4px;transition:background-color .2s,border-color .2s}
.lead-card:has(input:checked){border-color:var(--white);background:#20201d}
.lead-card:has(input:checked) .lead-card-check{border-color:var(--green);background:var(--green)}
.lead-card:has(input:checked) .lead-card-check::after{content:"";position:absolute;left:7px;top:3px;width:6px;height:11px;border:solid var(--bg);border-width:0 2px 2px 0;transform:rotate(45deg)}
.lead-card:has(input:focus-visible){outline:2px solid var(--green);outline-offset:3px}

/* The screening questions for a picked service, under its name. */
.lead-follow{margin-top:40px;padding-top:24px;border-top:1px solid var(--line)}
.lead-follow[hidden]{display:none}
.lead-follow-title{font:500 14px/1.5 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.lead-follow .lead-group:first-of-type{margin-top:16px}

/* Choices as chips: the whole chip is the tap, filled white once chosen. */
.lead-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.lead-chip{position:relative;display:inline-flex}
.lead-chip input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.lead-chip span{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:30px;font-size:16px;line-height:1.2;color:var(--body);transition:background-color .2s,border-color .2s,color .2s}
.lead-chip input:checked+span{border-color:var(--white);background:var(--white);color:var(--bg)}
.lead-chip input:focus-visible+span{outline:2px solid var(--green);outline-offset:3px}

/* About you: labels in the mono, fields two to a row on desktop. */
.lead-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;margin-top:32px}
.lead-field{min-width:0}
.lead-field--wide{margin-top:32px}
.lead-field label{display:block;font:500 14px/1.5 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.lead-field input,.lead-field select,.lead-field textarea{display:block;width:100%;min-height:52px;margin-top:8px;padding:13px 16px;border:1px solid var(--line);border-radius:6px;background:#1b1b18;color:var(--white);font:400 18px/1.3 var(--sans);letter-spacing:-.01em;transition:border-color .2s}
.lead-field textarea{min-height:128px;resize:vertical}
.lead-field :is(input,select,textarea):focus{border-color:var(--white);outline:none}
.lead-field :is(input,select,textarea):focus-visible{outline:2px solid var(--green);outline-offset:2px}
.lead-select{position:relative}
.lead-select select{appearance:none;padding-right:44px;cursor:pointer}
.lead-select::after{content:"";position:absolute;right:18px;top:50%;width:8px;height:8px;margin-top:-2px;border:solid var(--muted);border-width:0 1.5px 1.5px 0;transform:translateY(-50%) rotate(45deg);pointer-events:none}
.lead-select select:invalid,.lead-select select:has(option[value=""]:checked){color:var(--muted)}

.lead-error{margin-top:10px;font-size:16px;line-height:1.4;color:#ff8f7f}
.lead-error a{color:inherit;text-decoration:underline}
[data-required].is-invalid :is(input[type=text],input[type=email],input:not([type]),select,textarea){border-color:#ff8f7f}
[data-required].is-invalid .lead-card,[data-required].is-invalid .lead-chip span{border-color:#ff8f7f}
.lead-legal{margin-top:24px;font-size:16px;color:var(--muted)}
.lead-legal a{color:var(--white);text-decoration:underline;text-decoration-color:var(--muted);text-underline-offset:3px}
.lead-send-error{margin-top:16px}

.lead-actions{display:flex;justify-content:flex-end;align-items:center;gap:24px;margin-top:40px}
.lead-actions .pill{min-height:44px;padding:9px 12px 9px 20px}
.lead-back{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-right:auto;font:500 14px/1.5 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.lead-back img{transform:rotate(180deg)}
@media(hover:hover){.lead-back:hover{color:var(--white)}}
.lead-form.is-sending .lead-submit{opacity:.6;pointer-events:none}

/* Next steps: by ad spend, Calendly's scheduler (until it's connected, a placeholder of the same size), or word that
   the team will email them, with the address set in white so a typo stands out. */
.lead-book-text{max-width:560px;margin-top:14px;font-size:20px;line-height:1.45;color:var(--body)}
.lead-email{color:var(--white);overflow-wrap:anywhere}
.lead-outcome>.lead-prototype{margin-top:24px}
.lead-calendar{position:relative;min-height:680px;margin-top:32px;border:1px solid var(--line);border-radius:6px;background:#1b1b18;overflow:hidden}
.lead-calendar-placeholder,.lead-calendar-status{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:680px;padding:32px;text-align:center;font-size:18px;color:var(--body);background-image:linear-gradient(#ffffff0d 1px,transparent 1px),linear-gradient(90deg,#ffffff0d 1px,transparent 1px);background-size:48px 48px}
.lead-calendar-placeholder .eyebrow,.lead-calendar-loading{color:var(--muted)}
/* Live: Calendly's booking page is at most 680px wide (wider, it sits in white margins), so the slot is too; its
   height follows Calendly's page_height messages (contact.js), from a first guess that fits the calendar view. */
.lead-calendar.is-live{max-width:680px;height:920px;min-height:0;transition:height .3s}
.lead-calendar-status{position:absolute;inset:0;min-height:0}
.lead-calendar-stalled,.lead-calendar.is-stalled .lead-calendar-loading,.lead-calendar.is-ready .lead-calendar-status{display:none}
.lead-calendar.is-stalled .lead-calendar-stalled{display:block}
.lead-calendar.is-live.is-stalled{height:auto;min-height:280px}  /* just the link, not an empty calendar-sized box */
.lead-calendar-stalled a{color:var(--white);text-decoration:underline;text-decoration-color:var(--muted);text-underline-offset:3px}
.lead-calendar-frame{position:absolute;inset:0}
.lead-calendar-frame iframe{display:block;opacity:0;transition:opacity .4s}
.lead-calendar.is-ready .lead-calendar-frame iframe{opacity:1}
.lead-calendar-frame .calendly-spinner{display:none}  /* the widget's own dots need its stylesheet; the slot has its own line */
.lead-prototype{font:500 12px/1.5 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--green)}
.lead-noscript{margin-top:24px;font-size:18px;color:var(--body)}

@media(max-width:1100px){
 .contact-intro{grid-column:1/-1;position:static}
 .contact-steps{display:none}
 .lead-form{grid-column:1/-1;margin-top:48px}
}
@media(max-width:800px),(max-height:500px){
 .contact-page{padding-top:96px}
 .contact-lead{font-size:18px}
 .lead-cards,.lead-fields{grid-template-columns:1fr}
 .lead-card{min-height:0}
 .lead-calendar,.lead-calendar-placeholder{min-height:560px}
 .lead-book-text{font-size:18px}
}
@media(prefers-reduced-motion:reduce){.lead-card,.lead-card-check,.lead-chip span,.contact-steps li,.lead-calendar.is-live,.lead-calendar-frame iframe{transition:none}}
