/* "Start a project" form page: additions on top of the main site's site.css (same cream, ink and lime, Bebas Neue and DM Sans).
   The page is one screen: header, headline and the form card fill the viewport, and each step fits without scrolling.
   Every new class starts with pj- so nothing collides with the homepage styles. */
.pj [hidden]{display:none!important}
.pj-i{width:20px;height:20px;flex:none}

/* ---------- one-screen shell ---------- */
html:has(body.pj){height:100%;scroll-behavior:auto}
body.pj{height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:56px 56px;background-position:-1px -1px}
.pj .top{position:relative;flex:none}
.pj-solotop .wrap{height:64px}
.pj-tel{display:inline-flex;align-items:center;gap:8px;font-weight:700;text-decoration:none;font-variant-numeric:tabular-nums}
.pj-tel .pj-i{width:18px;height:18px}
.pj-solo{flex:1;min-height:0;width:100%;max-width:640px;margin:0 auto;display:flex;flex-direction:column;justify-content:center;padding:20px var(--gutter-r) calc(20px + env(safe-area-inset-bottom,0px)) var(--gutter)}
.pj-solo-h{flex:none;font-size:clamp(40px,6.4vw,72px);text-align:center;transition:opacity .3s}
.pj-solo-p{flex:none;text-align:center;color:var(--mute);font-size:17px;margin:8px auto 20px}
/* once they start, the headline folds away so the step has the whole screen */
.pj-started .pj-solo-h,.pj-started .pj-solo-p,.pj-started .pj-proof{display:none}
/* proof: real client work and the project count, right under the headline */
.pj-proof{flex:none;display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto 18px;max-width:520px}
.pj-faces{flex:none;display:flex}
.pj-faces img{width:40px;height:40px;border-radius:50%;object-fit:cover;object-position:top;border:2px solid var(--ink);background:#fff;margin-left:-12px}
.pj-faces img:first-child{margin-left:0}
.pj-proof p{font-size:13.5px;line-height:1.35;color:var(--mute);margin:0}
.pj-proof b{color:var(--ink)}

/* ---------- form card: header, progress, then the current step fills the rest ---------- */
.pj-quiz{flex:0 1 auto;min-height:0;display:flex;flex-direction:column;background:var(--paper);border:2px solid var(--ink);border-radius:24px;padding:22px;box-shadow:10px 10px 0 var(--ink);animation:pjup .6s cubic-bezier(.2,.7,.2,1) both}
@keyframes pjup{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
#ask{flex:1;min-height:0;display:flex;flex-direction:column}
#lead{flex:1;min-height:0;display:flex;flex-direction:column}
.pj-qtop{flex:none;display:flex;align-items:center;gap:12px}
.pj-qtop b{display:block;font-size:16px;line-height:1.3}
.pj-qtop small{display:block;font-size:12.5px;color:var(--mute)}
.pj-qico{flex:none;width:38px;height:38px;border-radius:11px;background:var(--lime);border:2px solid var(--ink);display:grid;place-items:center}
.pj-qbar{flex:none;height:6px;border-radius:3px;background:#E4E2DA;margin:14px 0 16px;overflow:hidden}
.pj-qbar i{display:block;height:100%;width:16.7%;background:var(--ink);transition:width .4s ease}
.pj-qs{display:none;min-height:0}
.pj-qs.on{flex:1;display:flex;flex-direction:column;animation:pjin .3s ease}
@keyframes pjin{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:none}}
/* if a very short screen still can't fit a step, only the step's middle scrolls, never the page */
.pj-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin:0 -4px;padding:0 4px 2px}
.pj-lg{font:400 32px/1 var(--display);letter-spacing:.01em;margin:0 0 6px}
.pj-qhint{font-size:14px;color:var(--mute);margin:0 0 12px}
.pj-sub{font-size:13.5px;font-weight:700;margin:2px 0 8px}
.pj-sub small{font-weight:400;color:var(--mute);font-size:12.5px}
.pj-nav{flex:none;display:flex;gap:10px;align-items:center;padding-top:14px}
.pj-back{flex:none;height:52px;padding:0 16px;border-radius:999px;border:2px solid var(--ink);background:transparent;color:var(--ink);font:700 15px var(--body);cursor:pointer}
.pj-go{flex:1;justify-content:center;height:52px;padding:0 20px;font-size:16.5px}
.pj-go .pj-i{width:18px;height:18px}
.pj-quiz .pj-go:disabled{opacity:.35;cursor:not-allowed;transform:none;box-shadow:none}
.pj-trust{flex:none;list-style:none;display:flex;flex-wrap:wrap;gap:4px 16px;justify-content:center;margin:14px 0 0;padding:12px 0 0;border-top:1px solid var(--line);font-size:13px}
.pj-trust li{display:flex;align-items:center;gap:6px}
.pj-trust .pj-i{width:16px;height:16px;background:var(--lime);border-radius:50%;padding:3px;stroke-width:3}
.pj-started .pj-trust{display:none}

/* step 1: big tiles */
.pj-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.pj-qt{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:88px;padding:10px 6px;border-radius:16px;border:1.5px solid #cfcdc4;background:#fff;color:var(--ink);font:700 15px/1.2 var(--body);text-align:center;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.pj-qt .pj-i{width:26px;height:26px}
.pj-qt:hover{border-color:var(--ink)}
.pj-qt.sel,.pj-qt:active{background:var(--lime);border-color:var(--ink);transform:scale(.97)}
/* the answer picked for them from the ad link: lit up and gently pulsing, one tap to confirm */
.pj-qt.pj-pick{transform:none;animation:pjpulse 1.6s ease-in-out infinite}
@keyframes pjpulse{50%{box-shadow:0 0 0 5px rgba(17,17,17,.12)}}

/* steps 2–4: option pills, two to a row on phones */
.pj-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.pj-ms{min-height:42px;padding:8px 14px;border-radius:999px;border:1.5px solid #cfcdc4;background:#fff;color:var(--ink);font:700 14px/1.2 var(--body);cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.pj-ms::before{content:"+";display:inline-block;width:.9em;margin-right:4px;color:var(--mute)}
.pj-ms:hover{border-color:var(--ink)}
.pj-ms[aria-pressed=true]{background:var(--lime);border-color:var(--ink)}
.pj-ms[aria-pressed=true]::before{content:"✓";color:var(--ink)}
.pj-ms:active{transform:scale(.97)}
.pj-chips[data-one] .pj-ms::before{display:none}
.pj-three{display:grid;grid-template-columns:repeat(3,1fr)}
.pj-three .pj-ms{padding:8px 6px;text-align:center}
.pj-site{border-top:1px solid var(--line);padding-top:12px}
.pj-url{margin:-4px 0 4px}
.pj-idea{display:flex;flex-direction:column;gap:6px;font-size:13.5px;font-weight:700}

/* step 5: days and times */
.pj-days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:14px}
.pj-chip{min-height:44px;padding:4px 2px;border-radius:12px;border:1.5px solid #cfcdc4;background:#fff;color:var(--ink);font:700 14.5px/1.1 var(--body);cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.pj-times{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pj-tt{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:84px;padding:8px 4px;border-radius:16px;border:1.5px solid #cfcdc4;background:#fff;color:var(--ink);font:500 13px/1.2 var(--body);cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.pj-tt b{font-size:15px}
.pj-tt small{color:var(--mute);font-size:12px}
.pj-tt .pj-i{width:24px;height:24px}
.pj-chip:hover,.pj-tt:hover{border-color:var(--ink)}
.pj-chip[aria-pressed=true],.pj-tt[aria-pressed=true]{background:var(--lime);border-color:var(--ink)}
.pj-tt[aria-pressed=true] small{color:var(--ink)}
.pj-chip:active,.pj-tt:active{transform:scale(.97)}

/* step 6: contact */
.pj-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}
.pj-quiz label{display:flex;flex-direction:column;gap:5px;font-size:13.5px;font-weight:700;min-width:0}
.pj-quiz input:not([type=checkbox]),.pj-quiz textarea{font:500 16px var(--body);color:var(--ink);background:#fff;border:1.5px solid #cfcdc4;border-radius:12px;padding:11px 13px;min-height:48px;width:100%}
.pj-quiz textarea{resize:none;min-height:84px}
.pj-quiz input:focus,.pj-quiz textarea:focus{border-color:var(--ink);outline:none;box-shadow:0 0 0 3px var(--lime)}
.pj-consent{flex-direction:row!important;gap:10px!important;align-items:flex-start;font-size:11.5px!important;font-weight:400!important;line-height:1.45;color:var(--mute);margin-top:2px}
.pj-consent input{width:20px;height:20px;flex:none;margin-top:1px;accent-color:#709b26}
.pj-err{background:#FDECEC;color:#B42318;border-radius:12px;padding:10px 12px;font-weight:600;font-size:14px;margin-top:10px}
.pj-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

/* ---------- phones ---------- */
@media (max-width:560px){
  .pj-solotop .wrap{height:56px}
  .pj-tel span{display:none}
  .pj-tel{width:42px;height:42px;justify-content:center;border:2px solid var(--ink);border-radius:50%}
  .pj-solo{justify-content:flex-start;padding-top:14px;padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}
  .pj-solo-h{font-size:clamp(34px,10vw,44px)}
  .pj-solo-p{font-size:15px;margin:6px auto 12px}
  .pj-proof{margin-bottom:14px;gap:10px;justify-content:flex-start}
  .pj-faces img{width:34px;height:34px;margin-left:-10px}
  .pj-proof p{font-size:12.5px}
  .pj-quiz{padding:16px;border-radius:20px;box-shadow:5px 5px 0 var(--ink);margin-right:5px}
  .pj-qbar{margin:12px 0 14px}
  .pj-lg{font-size:28px}
  .pj-tiles{grid-template-columns:1fr 1fr;gap:8px}
  .pj-qt{min-height:76px;font-size:14.5px;gap:6px}
  /* pills two to a row, so a full list fits on one screen */
  .pj-chips{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:12px}
  .pj-three{grid-template-columns:repeat(3,1fr)}
  .pj-ms{min-height:40px;padding:6px 10px;font-size:13.5px;text-align:left;border-radius:12px}
  .pj-three .pj-ms{text-align:center;padding:6px 4px;font-size:13px}
  .pj-chips[data-one] .pj-ms{text-align:center}
  .pj-days{grid-template-columns:repeat(6,1fr)}
  .pj-days .pj-any{grid-column:1/-1}
  .pj-row{gap:8px}
  .pj-back span{display:none}
  .pj-back{width:52px;padding:0}
}
/* short phones (iPhone SE, small Androids): tighten spacing further */
@media (max-width:560px) and (max-height:760px){
  .pj-solo-p{display:none}
  .pj-solo-h{font-size:32px;margin-bottom:8px}
  .pj-proof{margin-bottom:10px}
  .pj-faces img{width:28px;height:28px}
  .pj-proof p{font-size:12px}
  .pj-trust{display:none}
  .pj-qhint{display:none}
  .pj-lg{font-size:26px;margin-bottom:10px}
  .pj-qt{min-height:66px}
  .pj-ms{min-height:34px;padding:5px 10px}
  .pj-chips{gap:6px;margin-bottom:10px}
  .pj-site{padding-top:8px}
  .pj-sub{margin-bottom:6px}
  .pj-qbar{margin:10px 0 12px}
  .pj-chip{min-height:38px}
  .pj-tt{min-height:70px}
  .pj-quiz input:not([type=checkbox]){min-height:44px;padding:9px 12px}
  .pj-quiz textarea{min-height:70px}
  .pj-back,.pj-go{height:48px}
  .pj-nav{padding-top:10px}
}
/* short desktop windows */
@media (min-width:561px) and (max-height:760px){
  .pj-solo-p{display:none}
  .pj-solo-h{font-size:44px;margin-bottom:12px}
  .pj-proof{margin-bottom:12px}
}

/* ---------- thank-you: the check draws itself, the steps tick in one by one, then a countdown to the website ---------- */
.pj-thanks{text-align:center;padding:4px 2px;overflow-y:auto}
.pj-tick{width:96px;height:96px;display:block;margin:0 auto 10px}
.pj-ring{fill:var(--lime);stroke:var(--ink);stroke-width:4;transform-origin:50% 50%;transform:scale(0)}
.pj-mark{fill:none;stroke:var(--ink);stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:80;stroke-dashoffset:80}
.pj-thanks h2{font-size:clamp(42px,9vw,60px);opacity:0}
.pj-thanks > p{color:var(--mute);font-size:16.5px;max-width:34ch;margin:6px auto 0;opacity:0}
.pj-next{list-style:none;margin:18px auto 0;padding:0;display:grid;gap:8px;max-width:360px;text-align:left}
.pj-next li{display:flex;align-items:center;gap:12px;background:#fff;border:1.5px solid #cfcdc4;border-radius:14px;padding:10px 14px;font-weight:700;font-size:15px;opacity:0;transform:translateY(10px)}
.pj-next .pj-i{width:26px;height:26px;padding:5px;border-radius:50%;background:#E4E2DA;color:transparent;stroke-width:3}
.pj-book{margin-top:16px;display:grid;gap:8px;justify-items:center;opacity:0}
.pj-book p{font-weight:700;font-size:15px;margin:0}
.pj-book .btn{gap:8px;padding:13px 22px;font-size:16px}
.pj-book .pj-i{width:18px;height:18px}
.pj-redir{margin-top:16px;padding-top:12px;border-top:1px solid var(--line);display:grid;gap:8px;justify-items:center;opacity:0}
.pj-golink{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:14.5px;color:var(--ink)}
.pj-redir p{font-size:14.5px;color:var(--mute)}
.pj-redir b{color:var(--ink);font-variant-numeric:tabular-nums}
.pj-rbar{display:block;width:100%;max-width:360px;height:6px;border-radius:3px;background:#E4E2DA;overflow:hidden}
.pj-rbar i{display:block;height:100%;width:0;background:var(--ink);transition:width 12s linear}
.pj-redir .pj-i{width:16px;height:16px}
@media (max-height:760px){.pj-tick{width:64px;height:64px;margin-bottom:6px}.pj-next{margin-top:12px;gap:6px}.pj-next li{padding:7px 12px;font-size:14px}.pj-book{margin-top:12px}.pj-redir{margin-top:12px}}

.pj-thanks.play .pj-ring{animation:pjpop .5s cubic-bezier(.3,1.6,.5,1) forwards}
.pj-thanks.play .pj-mark{animation:pjdraw .45s ease .4s forwards}
.pj-thanks.play h2{animation:pjfade .5s ease .75s forwards}
.pj-thanks.play > p{animation:pjfade .5s ease .9s forwards}
.pj-thanks.play .pj-next li{animation:pjfade .45s ease forwards}
.pj-thanks.play .pj-next li:nth-child(1){animation-delay:1.2s}
.pj-thanks.play .pj-next li:nth-child(2){animation-delay:1.7s}
.pj-thanks.play .pj-next li:nth-child(3){animation-delay:2.2s}
.pj-thanks.play .pj-next li .pj-i{animation:pjcheck .3s ease forwards}
.pj-thanks.play .pj-next li:nth-child(1) .pj-i{animation-delay:1.5s}
.pj-thanks.play .pj-next li:nth-child(2) .pj-i{animation-delay:2s}
.pj-thanks.play .pj-next li:nth-child(3) .pj-i{animation-delay:2.5s}
.pj-thanks.play .pj-book{animation:pjfade .5s ease 2.6s forwards}
.pj-thanks.play .pj-redir{animation:pjfade .5s ease 3s forwards}
@keyframes pjpop{to{transform:scale(1)}}
@keyframes pjdraw{to{stroke-dashoffset:0}}
@keyframes pjfade{to{opacity:1;transform:none}}
@keyframes pjcheck{to{background:var(--lime);color:var(--ink)}}
@media (prefers-reduced-motion:reduce){
  .pj-ring{transform:none}.pj-mark{stroke-dashoffset:0}
  .pj-thanks h2,.pj-thanks > p,.pj-next li,.pj-book,.pj-redir{opacity:1;transform:none}
  .pj-qt.pj-pick{animation:none}
  .pj-next .pj-i{background:var(--lime);color:var(--ink)}
}

/* Keep managed verification above the final navigation at every width. */
.pj-qs[data-step="6"] .pj-nav{display:grid;grid-template-columns:auto minmax(0,1fr)}
.pj-qs[data-step="6"] .pj-nav>div{grid-column:1/-1;grid-row:1;min-width:0}
.pj-qs[data-step="6"] .pj-back,.pj-qs[data-step="6"] #send{grid-row:2}
.pj-legal{flex:none}
