/* Page module "contact" (#491): the Contact page (page-contact.php), on top of pages.css (the help page's navy band
   .hp-top/.hp-hd, its quick-answer cards .hp-cards, and the story's consult pair .st-split). Breakpoints match
   shell.css: 960 and 560. */

.cu{padding-bottom:0}
.cu-hd{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:end}
.cu-hd h1{max-width:16ch}

/* the Email us card in the band */
.cu-mail{background:var(--white);color:var(--ink);border-radius:6px;border-top:4px double var(--brick);padding:22px 24px 24px;box-shadow:0 22px 40px -24px rgba(0,0,0,.6);display:grid;gap:10px;justify-items:start}
.cu-mail h2{display:flex;align-items:center;gap:10px;font-size:1.3rem}
.cu-mail h2 .ic{width:22px;height:22px;color:var(--brick)}
.cu-addrs{display:grid;gap:8px;width:100%}
.cu-addrs li{display:grid;gap:2px}
.cu-al{font-size:.84rem;font-weight:700;color:var(--muted)}
.cu-addr{font:400 clamp(1.05rem,2.1vw,1.45rem)/1.25 var(--serif);color:var(--roof);overflow-wrap:break-word;text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:4px}
.cu-addr:hover{text-decoration-color:currentColor}
.cu-mail .note{margin:0;color:var(--muted);font-size:.92rem}
.cu-mail .btn{margin-top:4px}
.cu-post{font-style:normal;line-height:1.5;color:var(--navy);font-weight:600}

/* How we can help + the facts beside it */
.cu-body{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:40px 64px;padding:52px 0 8px;align-items:start}
.cu-help h2{font-size:1.9rem;margin-bottom:14px}
.cu-prose{max-width:66ch}
.cu-prose ul li::marker{color:var(--brick)}
.cu-none{color:var(--muted);max-width:56ch}
.cu-facts ul{display:grid;border-top:1px solid var(--line)}
.cu-facts li{display:flex;gap:14px;padding:20px 0;border-bottom:1px solid var(--line)}
.cu-facts h3{font:700 1.05rem/1.3 var(--sans);color:var(--navy)}
.cu-facts p{font-size:.95rem;color:var(--muted);line-height:1.5;margin-top:2px}
.cu-facts .cu-post{margin-top:6px}
.cu-facts a{text-decoration:underline;text-underline-offset:3px}
.cu-soc{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px!important}
.cu-soc a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px 0 12px;border:1px solid var(--line);border-radius:999px;background:var(--white);color:var(--navy);font-weight:600;text-decoration:none}
.cu-soc a:hover{border-color:var(--roof);text-decoration:none}
.cu-soc .ic{width:20px;height:20px}

/* The guided contact form (#587): the body's first column, with the page's own words under it. Fields copy the shared
   form values (brand guide, Forms: label above, 1.5px --field border, roof focus, brick on a tint when invalid). */
.cu-main{display:grid;grid-template-columns:minmax(0,1fr);gap:44px;min-width:0}
.cu-form{scroll-margin-top:calc(var(--hdr-h) + 16px)}
.cu-form h2{font-size:1.9rem;margin-bottom:6px}
.cu-form-lede{color:var(--muted);max-width:56ch;margin-bottom:18px}
.cf-card{background:var(--white);border:1px solid var(--line);border-top:4px solid var(--roof);border-radius:8px;padding:26px 28px 28px;box-shadow:0 22px 44px -30px rgba(20,30,50,.6)}
.cf-form, .cf-group{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;min-width:0}
.cf-topics{border:0;margin:0;padding:0;min-width:0}
.cf-topics legend{font:400 1.25rem/1.3 var(--serif);color:var(--navy);padding:0;margin-bottom:12px}
.cf-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:10px}
.cf-tile{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 14px;border:1.5px solid var(--field);border-radius:6px;background:var(--white);color:var(--navy);font-weight:600;line-height:1.25;cursor:pointer}
.cf-tile:hover{border-color:var(--roof)}
.cf-tile input{width:20px;height:20px;margin:0;flex:none;accent-color:var(--roof)}
.cf-tile:has(input:checked){border-color:var(--roof);background:var(--mist);box-shadow:inset 0 0 0 1px var(--roof)}
.cf-tile:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.cf-row{display:grid;gap:6px;min-width:0}
.cf-row > label{font-weight:600;font-size:.95rem;color:var(--navy);line-height:1.3}
.cf-opt{font-weight:400;color:var(--muted);font-size:.88rem}
.cf-hint{font-size:.88rem;color:var(--muted);margin-top:-2px}
.cf-in{width:100%;min-width:0;height:48px;padding:0 12px;border:1.5px solid var(--field);border-radius:4px;background:var(--white);color:var(--ink);font-size:1rem;line-height:1.3}
select.cf-in{padding-right:8px}
textarea.cf-in{height:auto;min-height:150px;padding:10px 12px;line-height:1.45;resize:vertical}
.cf-in::placeholder{color:var(--muted);opacity:1}
.cf-in:focus{border-color:var(--roof);box-shadow:0 0 0 3px rgba(62,123,224,.22);outline:0}
.cf-in:focus-visible{outline:3px solid var(--focus);outline-offset:1px}
.cf-in[aria-invalid="true"]{border-color:var(--brick);background-color:var(--brick-t)}
.cf-err{display:flex;gap:7px;align-items:flex-start;color:var(--brick);font-size:.9rem;font-weight:600;line-height:1.35}
.cf-err::before{content:"!";flex:none;width:18px;height:18px;border-radius:50%;margin-top:1px;display:grid;place-items:center;background:var(--brick);color:var(--white);font-size:.74rem;font-weight:700}
.cf-topics .cf-err{margin-top:10px}
.cf-common{padding-top:18px;border-top:1px solid var(--line)}
/* the honeypot: off screen, out of the tab order and hidden from assistive tech (people never fill it) */
.cf-hp{position:absolute!important;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.cf-status{padding:12px 14px;border-radius:6px;border:1px solid var(--brick);border-left-width:4px;background:var(--brick-t);color:var(--brick);font-weight:600}
.cf-status:focus{outline:3px solid var(--focus);outline-offset:2px}
.cf-send{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}
.cf-send .btn{min-width:180px}
.cf-send .btn[aria-busy="true"]{background:var(--navy)}
.cf-send .note{margin:0}
.cf-nojs{font-size:.95rem;color:var(--ink);background:var(--mist);border-radius:6px;padding:14px 16px;max-width:60ch}
.cf-nojs a{font-weight:700;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.cf-done{display:grid;justify-items:start;gap:10px}
.cf-done:focus{outline:0}
.cf-done:focus-visible{outline:3px solid var(--focus);outline-offset:6px}
.cf-done svg{width:72px;height:66px;--win:var(--lit)}
.cf-done h3{font:400 1.6rem/1.2 var(--serif);color:var(--navy)}
.cf-done p{font-size:1.05rem;max-width:48ch}
.cf-done b{overflow-wrap:anywhere}

.cu-pair{padding-top:40px}
.cu-pair .st-consult{scroll-margin-top:calc(var(--hdr-h) + 24px)}
.cu-pair .st-consult p, .cu-pair .st-conv p{max-width:52ch}
.cu-more{padding-bottom:56px}
.cu-more .hp-cards{grid-template-columns:repeat(4,minmax(0,1fr))}

@media (max-width:960px){
.cu-more .hp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.cu-hd{grid-template-columns:minmax(0,1fr);align-items:start}
.cu-mail{max-width:560px}
.cu-body{grid-template-columns:minmax(0,1fr);gap:28px;padding-top:36px}
}

@media (max-width:560px){
.cu-mail{padding:18px 16px 20px}
.cu-mail .btn{width:100%}
.cu-form h2{font-size:1.55rem}
.cf-card{padding:20px 16px 22px;margin-inline:calc(-1*var(--gutter) + 4px)}
.cf-send .btn{width:100%}
.cu-help h2{font-size:1.55rem}
.cu-pair{padding-top:24px}
.cu-pair .btn{width:100%}
.cu-more .hp-cards{grid-template-columns:minmax(0,1fr)}
.cu-more{padding-bottom:40px}
}
