/* contact · the Contact page. The page is a Floating Forms workspace: one browser tab (site.css .desk/.tab/.tabbar) holding
   six ProBuilt windows (parts/fw.css). Window chrome and desk behaviour follow the home hero (parts/hero.css); every class
   here is prefixed ct-. Phones (900px and below) drop the absolute layout and stack the windows in one column. */

/* ---------- hero type: same scale and rhythm as the home hero ---------- */
.ct-hero{position:relative;z-index:2;padding:112px 0 0}
.ct-type{position:relative;z-index:3;text-align:center;display:flex;flex-direction:column;align-items:center;gap:22px}
.ct-claim{margin:0;font-family:var(--display);font-weight:300;font-size:clamp(22px,2.2vw,32px);line-height:1.2;letter-spacing:-.01em;color:var(--blue);text-wrap:balance}
.ct-hero h1{font-size:clamp(46px,8.4vw,124px);letter-spacing:-.05em}
.ct-hero .lede{text-align:center;text-wrap:balance;max-width:60ch}
.ct-stage{position:relative;margin-top:56px}

/* ---------- the desk: one browser tab ---------- */
.ct-desk.desk{position:relative;height:740px;margin:0;z-index:2}
.ct-desk.desk .tab{inset:0 0 52px 0}
.ct-desk .counter button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}

/* windows: .win is the draggable shell from site.css, .fw draws the chrome (no Mac buttons on windows) */
.ct-desk.desk .win{width:var(--w,30%);background:none;border:0;border-radius:9px;box-shadow:none;overflow:visible;color:#1d2433;scroll-margin-top:96px}
.ct-desk.desk .win.top,.ct-desk.desk .win.dragging{box-shadow:none}
.ct-desk .win .fw{transition:box-shadow .25s,transform .25s var(--ease)}
.ct-desk .win.top .fw{box-shadow:0 50px 110px rgba(0,0,0,.6),0 4px 14px rgba(0,0,0,.3),0 0 0 1px rgba(25,165,255,.45)}
.ct-desk .win.dragging .fw{box-shadow:0 70px 140px rgba(0,0,0,.7),0 6px 18px rgba(0,0,0,.35),0 0 0 2px rgba(25,165,255,.7);transform:scale(1.012)}
.ct-desk .win:focus{outline:none}
.ct-desk .win:focus-visible .fw{box-shadow:0 0 0 3px var(--blue),0 40px 90px rgba(0,0,0,.55)}
.ct-desk .fw-in{font-size:13px;line-height:1.4}
.ct-desk .fw-bar{cursor:grab}
/* entrance: the hero's, eased in from a little low */
.ct-desk.desk .win{opacity:0;transform:translateY(24px) scale(.975)}
.ct-desk.desk .win.in{animation:ct-in .9s var(--ease-soft) both}
@keyframes ct-in{to{opacity:1;transform:none}}
/* the short blue glow when a topic brings its window forward */
.ct-desk .win::after{content:"";position:absolute;inset:0;border-radius:9px;pointer-events:none;opacity:0;box-shadow:0 0 0 2px var(--blue),0 0 44px 6px rgba(25,165,255,.55)}
.ct-desk .win.ct-glow::after{animation:ct-glow 1.4s var(--ease-soft)}
@keyframes ct-glow{0%{opacity:0}18%{opacity:1}100%{opacity:0}}
.ct-desk .win.ct-glow-static::after{opacity:1}

/* close control: the window's x, a real button (as on the home hero) */
.ct-desk .fw-ctl{opacity:1;gap:.75em}
.ct-desk .fw-ctl i{opacity:.55}
.ct-desk .fw-ctl .c{appearance:none;-webkit-appearance:none;display:block;position:relative;width:1.7em;height:1.7em;margin:0 -.45em 0 -.2em;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;opacity:.6;cursor:pointer;font:inherit}
.ct-desk .fw-ctl .c::before,.ct-desk .fw-ctl .c::after{content:"";position:absolute;left:50%;top:50%;width:.95em;height:2px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg)}
.ct-desk .fw-ctl .c::after{transform:translate(-50%,-50%) rotate(-45deg)}
.ct-desk .fw-ctl .c:hover{opacity:1;background:#ff5f57;color:#fff}
.ct-desk .fw-ctl .c:focus-visible{opacity:1;outline:2px solid var(--blue);outline-offset:1px}

/* the windows are white, so they are always light themed (a dark page theme must not hand them a white text cursor),
   and the fields get a dark I-beam with a white outline that shows on white in every browser and OS theme */
.ct-desk .win{color-scheme:light}
.ct-desk .win :is(input:not([type=radio]),textarea){caret-color:#1565c0;cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='24' viewBox='0 0 16 24'%3E%3Cpath d='M4.5 2.5h7M4.5 21.5h7M8 2.5v19' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M4.5 2.5h7M4.5 21.5h7M8 2.5v19' fill='none' stroke='%230A0F1F' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 8 12,text}
/* text people may want to copy by hand stays selectable */
.ct-desk .win :is(input,textarea,.ct-mail,.ct-tel,.ct-addr){user-select:text;-webkit-user-select:text}
.ct-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* ---------- a · New message ---------- */
.ct-body{display:grid;padding:20px 18px 18px}
.ct-body > .ct-form,.ct-body > .ct-sent{grid-area:1/1;min-width:0}
.ct-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 12px;align-content:start;transition:opacity .35s var(--ease-io),visibility 0s linear}
.ct-full{grid-column:1/-1}
/* fields: the ProBuilt outlined field with its label riding the top border */
.ct-f{position:relative;min-width:0}
.ct-f input,.ct-f textarea{display:block;width:100%;margin:0;font:400 14px/1.35 var(--body);color:#1d2433;background:#fff;border:1px solid #c7cfdb;border-radius:4px;padding:12px 11px 9px;transition:border-color .15s,box-shadow .15s}
.ct-f input{height:44px}
.ct-f textarea{min-height:104px;resize:vertical}
.ct-f input:hover,.ct-f textarea:hover{border-color:#9aa5b8}
.ct-f input:focus,.ct-f textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(25,165,255,.25)}
.ct-f input:focus-visible,.ct-f textarea:focus-visible{outline:none}
.ct-f label{position:absolute;left:8px;top:-.62em;max-width:calc(100% - 16px);padding:0 4px;background:#fff;font:400 12px/1.2 var(--body);color:#5a6478;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.ct-f input:focus + label,.ct-f textarea:focus + label{color:#1565c0}
.ct-req{color:#C9372C}
.ct-f input::-webkit-outer-spin-button,.ct-f input::-webkit-inner-spin-button{opacity:.6}
/* inline validation: the message sits in the row gap (20px, with the next row's label riding its top border), so the
   window never changes size when it appears */
.ct-err{position:absolute;left:2px;top:calc(100% + 2px);margin:0;font:600 11px/1.15 var(--body);color:#C9372C;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.ct-f [aria-invalid="true"]{border-color:#C9372C}
.ct-f [aria-invalid="true"]:focus{box-shadow:0 0 0 3px rgba(201,55,44,.18)}

/* what's it about: a real radio group drawn as chips */
.ct-topic{margin:0;padding:0;border:0;min-width:0}
.ct-topic legend{padding:0;margin:0 0 9px;font:600 13px/1.3 var(--body);color:#2b3445}
.ct-chips{display:flex;flex-wrap:wrap;gap:7px}
.ct-chip{position:relative;display:block;cursor:pointer}
.ct-chip input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.ct-chip span{display:flex;align-items:center;height:32px;padding:0 13px;border-radius:999px;border:1px solid #c7cfdb;background:#fff;color:#2b3445;font:600 13px/1 var(--body);white-space:nowrap;transition:background .2s,border-color .2s,color .2s}
.ct-chip:hover span{border-color:#8a94a6;background:#f4f6fa}
.ct-chip input:checked + span{background:var(--navy);border-color:var(--navy);color:#fff}
.ct-chip input:focus-visible + span{outline:2px solid var(--blue);outline-offset:2px}
/* How many trucks: opens under the chips when ProBuilt TMS is picked */
.ct-trucks{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s var(--ease-io)}
.ct-trucks.on{grid-template-rows:1fr}
.ct-trucks-clip{min-height:0;overflow:hidden;margin:0 -5px;padding:0 5px}
.ct-trucks-in{padding:20px 0 4px;width:calc(50% - 6px);opacity:0;transition:opacity .3s var(--ease-io)}
.ct-trucks.on .ct-trucks-in{opacity:1;transition-delay:.12s}

.ct-actions{display:flex;align-items:center;gap:14px}
.ct-desk .fw-btn.ct-send{height:42px;padding:0 22px;border:0;border-radius:4px;background:#1565c0;color:#fff;font:600 14px/1 var(--body);letter-spacing:.01em;cursor:pointer;transition:background .2s,transform .15s}
.ct-desk .fw-btn.ct-send:hover{background:#0d4ea6}
.ct-desk .fw-btn.ct-send:active{transform:scale(.97)}
.ct-desk .fw-btn.ct-send:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.ct-desk .fw-btn.ct-send[disabled]{opacity:.6;cursor:default;transform:none}
/* the reCAPTCHA checkbox above the button (304 x 78 px; scaled down on the narrowest phones), and the send error
   beside the button, which may wrap onto its own line */
.ct-captcha{position:relative;min-height:78px}
.ct-captcha-box{min-height:78px}
.ct-send-err{position:static;flex:1 1 160px;white-space:normal;overflow:visible}
@media (max-width:360px){ .ct-captcha-box{transform:scale(.86);transform-origin:0 0} }

/* sent: the body crossfades in place; the form keeps the window's size underneath */
.ct-sent{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;padding:0 6px 24px;opacity:0;visibility:hidden;transition:opacity .45s var(--ease-io),visibility 0s linear .45s}
.ct-body.is-sent .ct-form{opacity:0;visibility:hidden;transition:opacity .35s var(--ease-io),visibility 0s linear .35s}
.ct-body.is-sent .ct-sent{opacity:1;visibility:visible;transition:opacity .5s var(--ease-io) .2s,visibility 0s linear}
.ct-sent-ic{width:46px;height:46px;fill:none;stroke:#1565c0;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.ct-sent-ic circle{fill:rgba(25,165,255,.1);stroke:rgba(21,101,192,.35);stroke-width:1.5}
.ct-sent-h{font-family:var(--display);font-weight:300;font-size:52px;line-height:1;letter-spacing:-.04em;color:#0A0F1F}
.ct-sent-h:focus{outline:none}
.ct-sent-h:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.ct-sent-p{max-width:34em;font-size:15px;line-height:1.55;color:#3b4456}
.ct-again{appearance:none;margin-top:4px;padding:6px 0;border:0;background:none;color:#1565c0;font:600 14px var(--body);cursor:pointer;text-decoration:underline;text-decoration-color:rgba(21,101,192,.35);text-underline-offset:4px}
.ct-again:hover{text-decoration-color:currentColor}
.ct-again:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:2px}

/* ---------- b to e · contact cards ---------- */
.ct-pad{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;min-width:0}
.ct-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:28px}
.ct-lbl{margin:0;font:600 12.5px/1.3 var(--body);color:#5a6478;min-width:0}
.ct-big{font-family:var(--display);font-weight:300;letter-spacing:-.02em;line-height:1.15;color:#0A0F1F;text-decoration:none;overflow-wrap:anywhere}
/* big blue address: the brand's electric blue, one step deeper so it reads on white */
.ct-mail{color:#0A78C8;font-size:clamp(14px,calc((100cqw - 34px) / 13.6),26px);transition:color .2s}
.ct-mail:hover{color:#1565c0;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em}
.ct-tel{font-size:clamp(17px,calc((100cqw - 34px) / 8.2),32px);white-space:nowrap;font-variant-numeric:tabular-nums}
.ct-tel:hover{color:#1565c0}
.ct-mail:focus-visible,.ct-tel:focus-visible,.ct-dir:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:2px}
.ct-small{margin:0;font-size:13px;color:#5a6478}
.ct-copy{flex:none;display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;border:1px solid #c7cfdb;background:#fff;color:var(--navy);font:600 12px/1 var(--body);cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.ct-copy:hover{background:#f4f6fa;border-color:#9aa5b8}
.ct-copy:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.ct-copy.is-done{background:var(--navy);border-color:var(--navy);color:#fff}

/* ---------- f · Visit: a small map tile, pure CSS ---------- */
.ct-visit{display:grid;grid-template-columns:minmax(0,1fr)}
@container (min-width:380px){
  .ct-visit{grid-template-columns:42% minmax(0,1fr)}
  .ct-visit .ct-map{height:auto;min-height:150px}
}
.ct-map{position:relative;height:112px;overflow:hidden;background:
  radial-gradient(55% 65% at 56% 46%,rgba(25,165,255,.26),rgba(25,165,255,0) 72%),
  linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px) 0 0/20px 20px,
  linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px) 0 0/20px 20px,
  linear-gradient(160deg,#0B2B66,#071D47)}
.ct-road{position:absolute;display:block;background:rgba(255,255,255,.2);border-radius:2px}
.ct-road.r1{left:-20%;right:-20%;top:56%;height:4px;transform:rotate(-12deg)}
.ct-road.r2{top:-20%;bottom:-20%;left:38%;width:3px;transform:rotate(16deg);background:rgba(255,255,255,.14)}
.ct-road.r3{left:-10%;width:70%;top:24%;height:2px;transform:rotate(8deg);background:rgba(255,255,255,.1)}
.ct-road.r4{top:-10%;height:80%;left:78%;width:2px;transform:rotate(-24deg);background:rgba(255,255,255,.1)}
.ct-pin{position:absolute;left:56%;top:46%;width:18px;height:18px;margin:-20px 0 0 -9px;border-radius:50% 50% 50% 0;background:var(--coral);transform:rotate(-45deg);box-shadow:-1px 1px 0 1px rgba(0,0,0,.18)}
.ct-pin::after{content:"";position:absolute;left:5px;top:5px;width:8px;height:8px;border-radius:50%;background:#fff}
.ct-map::after{content:"";position:absolute;left:56%;top:46%;width:14px;height:6px;margin:-1px 0 0 -7px;border-radius:50%;background:rgba(255,107,91,.45);box-shadow:0 0 0 6px rgba(255,107,91,.14);animation:ct-ping 2.6s ease-out infinite}
@keyframes ct-ping{0%{box-shadow:0 0 0 0 rgba(255,107,91,.32)}100%{box-shadow:0 0 0 18px rgba(255,107,91,0)}}
.ct-addr{margin:0;font-size:15px;line-height:1.45;color:#1d2433}
.ct-nw{white-space:nowrap}
@container (max-width:280px){.ct-addr{font-size:14px}}
.ct-dir{align-self:flex-start;margin-top:2px;color:#1565c0;font-weight:600;font-size:13.5px}
.ct-dir:hover{text-decoration:underline;text-underline-offset:3px}

/* ---------- three cells ---------- */
.ct-cells{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;padding-block:clamp(88px,10vw,140px) 0}
.ct-cell{border-top:1px solid var(--line);padding-top:24px;display:flex;flex-direction:column;gap:14px}
.ct-cell h2{font-size:clamp(28px,2.7vw,40px);line-height:1.08;letter-spacing:-.03em}
.ct-cell p{color:var(--dim);font-size:16px;line-height:1.6;max-width:36ch;text-wrap:pretty}

/* ---------- product sites ---------- */
.ct-sites{position:relative;z-index:2;padding-block:clamp(96px,11vw,160px) clamp(96px,11vw,160px)}
.ct-sites-h{text-align:center;font-size:clamp(36px,4.6vw,66px);margin-bottom:clamp(32px,4vw,52px)}
.ct-site-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.ct-site{position:relative;isolation:isolate;height:260px;border-radius:20px;overflow:hidden;border:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between;padding:28px 32px 30px;color:#fff;background:var(--black)}
.ct-site-ph{position:absolute;inset:0;z-index:-2;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 42%;transform:scale(1.03);transition:transform 1.2s var(--ease)}
.ct-site-ph-tms{object-position:38% 55%}
.ct-site:hover .ct-site-ph{transform:scale(1)}
.ct-site::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(0deg,rgba(2,5,15,.94) 0%,rgba(2,5,15,.62) 38%,rgba(2,5,15,.22) 72%,rgba(2,5,15,.38) 100%),linear-gradient(90deg,rgba(2,5,15,.55),rgba(2,5,15,0) 62%)}
.ct-site::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(11,43,102,.28),rgba(11,43,102,0) 45%);mix-blend-mode:multiply}
.ct-site-tag{margin:0;font-family:var(--display);font-weight:300;font-size:clamp(22px,2.2vw,32px);line-height:1.15;letter-spacing:-.01em;text-shadow:0 2px 18px rgba(2,5,15,.55)}
.ct-site-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:16px 24px;flex-wrap:wrap}
.ct-site-logo{height:34px;width:auto}
/* the whole card is the link: the button stretches its hit area over the card */
.ct-site .btn.ct-site-link{height:46px;padding:0 22px;position:static}
.ct-site .btn.ct-site-link:hover{transform:none}
.ct-site .ct-site-link::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
.ct-site:hover .ct-site-link{background:#eaf4ff}
.ct-site .ct-site-link:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.ct-site:has(.ct-site-link:focus-visible){border-color:rgba(25,165,255,.6)}

/* ---------- 1100 and below: windows re-composed by contact.js (taller tab, three rows on the right) ---------- */
@media (max-width:1100px){
  .ct-desk.desk{height:780px}
}
/* laptop heights: the desk starts a little higher so the form is in view sooner */
@media (min-width:901px) and (max-height:1000px){
  .ct-hero{padding-top:100px}
  .ct-type{gap:18px}
  .ct-hero h1{font-size:clamp(46px,min(8.4vw,13.5vh),124px)}
  .ct-stage{margin-top:44px}
}

/* ---------- phones and small tablets: one column, form first, no dragging ---------- */
@media (max-width:900px){
  .ct-hero{padding-top:110px}
  .ct-stage{margin-top:44px}
  .ct-desk.desk{height:auto;padding:calc(var(--tb-strip,32px) + var(--tb-tool,34px) + 12px) 12px 0;display:flex;flex-direction:column}
  .ct-desk.desk .win{position:relative;left:auto!important;top:auto!important;width:100%!important;margin:0 0 12px;cursor:default;flex:none}
  .ct-desk.desk .win.dragging .fw{transform:none}
  .ct-desk.desk .win .fw-bar{cursor:default;touch-action:pan-y}
  /* stacked, a window's shadow would fall across the next one: keep it short */
  .ct-desk .win .fw,.ct-desk .win.top .fw,.ct-desk .win.dragging .fw{box-shadow:0 8px 24px rgba(0,0,0,.32)}
  .ct-desk .win:focus-visible .fw{box-shadow:0 0 0 3px var(--blue),0 8px 24px rgba(0,0,0,.32)}
  .ct-desk .counter{position:relative;left:auto;bottom:auto;transform:none;align-self:center;flex:none}
  .ct-f input,.ct-f textarea{font-size:16px}
  /* stacked, the sent message replaces the form and the window shrinks to fit it */
  .ct-body.is-sent .ct-form{display:none}
  .ct-sent{padding:8px 4px 12px}
  .ct-cells{grid-template-columns:1fr;gap:28px}
  .ct-site-grid{grid-template-columns:1fr}
}
@media (max-width:600px){
  .ct-desk{--tb-strip:28px;--tb-tool:30px}
  .ct-desk.desk{padding-inline:8px}
  .ct-desk .tb-tab{flex-basis:170px;font-size:11px}
  .ct-desk .tb-omni{font-size:11px;padding:0 10px}
  .ct-desk .counter{gap:12px;font-size:12px}
  .ct-desk .counter button{padding:0 12px}
  .ct-body{padding:20px 14px 16px}
  .ct-form{grid-template-columns:minmax(0,1fr)}
  .ct-trucks-in{width:100%}
  .ct-sent-h{font-size:44px}
  .ct-site{height:220px;padding:22px 22px 24px}
  .ct-site-logo{height:28px}
  .ct-site .btn.ct-site-link{height:42px;padding:0 18px;font-size:14px}
}

@media (prefers-reduced-motion:reduce){
  .ct-desk .win .fw{transition:none}
  .ct-desk.desk .win,.ct-desk.desk .win.in{opacity:1;transform:none;animation:none}
  .ct-desk .win.ct-glow::after,.ct-map::after{animation:none}
  .ct-site-ph,.ct-site:hover .ct-site-ph{transform:none}
  .ct-form,.ct-sent,.ct-trucks,.ct-trucks-in{transition:none!important}
}
