/* Contact page (4 Nov 2026 round). The ways to reach us as cards, call first; the form beside the map.
   The open-or-closed line and the copy button come from the small inline script on the page. */

/* Hero: a drawing (two vans outside a unit at dusk) on the right, text on the left; no photo, no veil */
.ct-hero{display:flex;align-items:center;min-height:clamp(380px,31vw,470px);background:var(--deep)}
.ct-hero::after{display:none}
.ct-hero .wrap{width:100%}
.ct-hero .wrap>*{max-width:min(40em,46%)}
.ct-art{position:absolute;right:0;bottom:0;z-index:1;width:min(58%,860px);height:auto;aspect-ratio:960/490;-webkit-mask-image:linear-gradient(90deg,transparent,#000 24%);mask-image:linear-gradient(90deg,transparent,#000 24%)}
@media (prefers-reduced-motion:no-preference){.ct-art{animation:ct-in 1s var(--ease) both}}
@keyframes ct-in{from{opacity:0;translate:0 10px}to{opacity:1;translate:none}}
@media (max-width:900px){
  .ct-hero{display:block;min-height:0}
  .ct-hero .wrap{padding-bottom:20px}
  .ct-hero .wrap>*{max-width:none}
  .ct-art{position:relative;display:block;width:min(100%,620px);margin-left:auto;-webkit-mask-image:none;mask-image:none}
}

/* Head row: heading left, office hours right */
.ct-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:24px 56px;align-items:end;margin-bottom:clamp(24px,3vw,40px)}
.ct-hours{display:grid;grid-template-columns:40px minmax(0,1fr);gap:4px 14px;padding:18px 20px;border:1px solid var(--line);border-radius:4px;background:var(--ground)}
.ct-hours .ct-ico{grid-row:span 2;width:40px;height:40px;margin:0;background:#fff}
.ct-hours p{color:var(--navy);font-weight:600}
.ct-hours .ct-ooh{color:var(--muted);font-size:14px;font-weight:400}
.ct-now{display:flex;align-items:center;gap:8px;width:fit-content;margin:8px 0 4px;padding:3px 11px 3px 9px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--navy);font-size:13.5px;font-weight:600}
.ct-now[hidden]{display:none}
.ct-now::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#8d97a9}
.ct-now.is-open::before{background:#17914a}

/* Cards */
.ct-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ct-card{position:relative;display:flex;flex-direction:column;padding:24px;border:1px solid var(--line);border-radius:4px;background:#fff;transition:translate .25s var(--ease),box-shadow .25s,border-color .25s}
.ct-card::before{content:"";position:absolute;left:-1px;right:-1px;top:-1px;height:3px;border-radius:4px 4px 0 0;background:var(--orange);transform:scaleX(0);transform-origin:left;transition:transform .35s var(--ease)}
.ct-card:hover{translate:0 -4px;border-color:#c9d1de;box-shadow:0 22px 44px -30px rgba(0,34,91,.55)}
.ct-card:hover::before,.ct-card:focus-within::before{transform:none}
.ct-ico{display:grid;place-items:center;flex:none;width:48px;height:48px;margin-bottom:18px;border-radius:50%;background:var(--ground);color:var(--navy);transition:background .25s,color .25s}
.ct-ico svg{width:22px;height:22px}
.ct-card:hover .ct-ico{background:var(--orange);color:#fff}
.ct-k{display:block;color:var(--muted);font-size:14px;font-weight:600}
.ct-v{display:block;margin-top:3px;color:var(--navy);font-size:clamp(18px,.3vw + 16.5px,21px);font-weight:600;line-height:1.25;text-decoration:none}
.ct-go::after{content:"";position:absolute;inset:0;z-index:1;border-radius:4px}
.ct-go:focus-visible{outline:none}
.ct-go:focus-visible::after{outline:3px solid var(--orange);outline-offset:2px}
.ct-note{margin-top:8px;font-size:15px;line-height:1.5}
.ct-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:18px}
.ct-body{margin-bottom:18px}
.ct-act{display:inline-flex;align-items:center;gap:8px;color:var(--navy);font-size:15px;font-weight:600}
.ct-act .arrow{width:14px;height:14px;transition:translate .25s var(--ease)}
.ct-card:hover .ct-act .arrow{translate:3px -3px}
.ct-alt{position:relative;z-index:2;padding:10px 0;border:0;background:none;color:var(--muted);font:inherit;font-size:14px;font-weight:500;text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:nowrap}
.ct-alt:hover{color:var(--navy)}
.ct-alt.is-done{color:#17914a;text-decoration:none}

/* The call card leads: navy, orange icon */
.ct-main{background:var(--navy);border-color:var(--navy);color:#e8edf6}
.ct-main:hover{border-color:var(--navy)}
.ct-main .ct-k{color:var(--on-navy)}
.ct-main .ct-v,.ct-main .ct-act{color:#fff}
.ct-main .ct-ico{background:var(--orange);color:#fff}
.ct-main:hover .ct-ico{background:#fff;color:var(--orange)}

/* Quick answers above the form: three links into the FAQ, heading and "All help topics" on the left */
.ct-faq{display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:20px 40px;align-items:center;margin-bottom:clamp(24px,3vw,40px);padding-bottom:clamp(24px,3vw,40px);border-bottom:1px solid #d5dce8}
.ct-faq-head .label{margin-bottom:8px}
.ct-faq-head h2{margin-bottom:6px}
.ct-faq-all{position:relative;display:inline-flex;align-items:center;gap:8px;padding:6px 0;color:var(--navy);font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.ct-faq-all .arrow,.ct-faq-list .arrow{flex:none;width:14px;height:14px;transition:translate .25s var(--ease)}
.ct-faq-all:hover .arrow,.ct-faq-list a:hover .arrow{translate:3px -3px}
.ct-faq-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.ct-faq-list a{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;height:100%;padding:18px 20px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--navy);font-weight:600;line-height:1.35;text-decoration:none;transition:border-color .25s,box-shadow .25s}
.ct-faq-list a:hover{border-color:#c9d1de;box-shadow:0 18px 36px -28px rgba(0,34,91,.55)}
.ct-faq-list a:hover span{text-decoration:underline;text-underline-offset:3px}
.ct-faq-list a:focus-visible,.ct-faq-all:focus-visible{outline:3px solid var(--orange);outline-offset:2px}

/* Form beside the map */
.ct-grid{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:clamp(20px,3vw,40px);align-items:start}
.ct-form{border:1px solid var(--line);border-radius:4px}
.ct-form h3{margin-bottom:20px}
.ct-visit{overflow:hidden;border:1px solid var(--line);border-radius:4px;background:#fff}
.ct-map{display:block;aspect-ratio:16/10;overflow:hidden}
.ct-map img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.ct-map:hover img{transform:scale(1.04)}
.ct-addr{display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;padding:clamp(20px,2.4vw,32px)}
.ct-addr .ct-ico{margin:0}
.ct-addr h3{margin-bottom:8px}
.ct-addr p a{color:var(--ink);text-decoration:none}
.ct-addr p a:hover{text-decoration:underline}
.ct-addr .btn{margin-top:18px}
.ct-addr .btn .arrow{width:14px;height:14px}

/* Tablet: two cards a row; the form above the map */
@media (max-width:1179px){.ct-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:1179px){.ct-faq{grid-template-columns:1fr}}
@media (max-width:900px){.ct-head,.ct-grid{grid-template-columns:1fr}.ct-hours{max-width:520px}}
@media (max-width:760px){.ct-faq{row-gap:14px}.ct-faq-list{grid-template-columns:1fr;gap:8px}.ct-faq-list a{align-items:center;padding:14px 16px}}

/* Phones: each card a single tappable row, icon left, arrow right */
@media (max-width:640px){
  .ct-cards{grid-template-columns:1fr;gap:10px}
  .ct-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;column-gap:14px;align-items:center;padding:16px}
  .ct-card:hover{translate:none}
  .ct-ico{width:44px;height:44px;margin:0}
  .ct-card>.ct-ico{grid-row:1/3;align-self:start}
  .ct-body{margin:0}
  .ct-v{font-size:18px}
  .ct-note{margin-top:4px;font-size:14px}
  .ct-foot{display:contents}
  .ct-act{grid-column:3;grid-row:1;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--ground)}
  .ct-main .ct-act{background:rgba(255,255,255,.12)}
  .ct-act-l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .ct-alt{grid-column:2/-1;grid-row:2;justify-self:start;padding:8px 0 0;min-height:32px}
  .ct-addr{grid-template-columns:1fr}
  .ct-addr .ct-ico{display:none}
  .ct-addr .btn{width:100%}
}

/* Motion: cards rise in as they scroll into view; the open dot breathes. Off for reduced motion. */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .ct-card,.ct-faq-list li,.ct-form,.ct-visit{animation:rise linear both;animation-timeline:view();animation-range:entry 0% entry 40%}
  }
}
@media (prefers-reduced-motion:no-preference){.ct-now.is-open::before{animation:ct-pulse 2s ease-out infinite}}
@keyframes ct-pulse{from{box-shadow:0 0 0 0 rgba(23,145,74,.5)}to{box-shadow:0 0 0 7px rgba(23,145,74,0)}}
@media (prefers-reduced-motion:reduce){*{animation:none!important}}
