/* Contact (site review B10, 12 October 2026): the people for each audience and the address on the left, the enquiry
   form on the right. Square, solid, the brand's colours only. */
.ct-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.ct-card { padding-block: 1.5rem 1.75rem; border-top: 1px solid var(--rule); }
.ct-card:first-child { border-top-color: var(--navy); }
.ct-card .eye { color: var(--brick-word); }
.ct-who { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.25rem; align-items: start; margin-top: 1rem; }
.ct-who img, .ct-who picture { display: block; width: 96px; height: 120px; object-fit: cover; }
.ct-n { font: 600 1.25rem/1.25 var(--sans); color: var(--navy); }
.ct-r { margin-top: .375rem; color: var(--ink-soft); }
.ct-ways { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: .75rem; }
.ct-ways a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; color: var(--navy); text-decoration: none; }
.ct-ways a:hover { color: var(--brick-word); }
.ct-ways svg { width: 16px; height: 16px; flex: none; }
.ct-addr { margin-top: .875rem; font: 600 1.25rem/1.45 var(--sans); color: var(--navy); }
.ct-dir { display: inline-flex; align-items: center; gap: .375rem; min-height: 44px; margin-top: .5rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--navy); }
.ct-dir svg { width: 14px; height: 14px; }

.ct-form { display: flex; flex-direction: column; gap: 1.25rem; background: #fff; border: 1px solid var(--rule); padding: clamp(1.5rem, 3vw, 2.25rem); }
.ct-form h2 { --serif-size: clamp(2rem, calc(3vw * var(--ts)), 2.5rem); font: 400 var(--serif-fit)/1 var(--serif); color: var(--navy); letter-spacing: var(--serif-ls); word-spacing: var(--serif-ws); }
.ct-form label, .ct-role legend { display: block; font-size: .875rem; font-weight: 600; color: var(--navy); margin-bottom: .375rem; }
.ct-form input:not([type=radio]), .ct-form textarea { width: 100%; min-height: 48px; font: var(--t-body) var(--sans); color: var(--ink); background: var(--chalk); border: 1px solid var(--rule); border-radius: 0; padding: .75rem .875rem; }
.ct-form textarea { resize: vertical; line-height: 1.55; }
.ct-form input:focus, .ct-form textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.ct-form [aria-invalid="true"] { border-color: var(--brick-word); }
.ct-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
/* with no firm (investors), the name takes the whole row and email and phone share the next, so no half row is left */
.ct-two:has(> .ct-firm[hidden]) > div:first-child { grid-column: 1 / -1; }
.ct-firm[hidden], .ct-adv[hidden] { display: none; }
.ct-role { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.ct-role legend { grid-column: 1 / -1; float: left; width: 100%; }
.ct-role label { position: relative; margin: 0; cursor: pointer; }
.ct-role input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-role span { display: flex; align-items: center; gap: .625rem; min-height: 48px; padding: .75rem .875rem; border: 1px solid var(--rule); font-weight: 600; color: var(--ink-soft); }
.ct-role span::before { content: ""; flex: none; width: 14px; height: 14px; border: 1.5px solid var(--taupe); background: #fff; }
.ct-role input:checked + span { border: 1.5px solid var(--navy); color: var(--navy); }
.ct-role input:checked + span::before { border-color: var(--brick); background: var(--brick); }
.ct-role input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.ct-priv { font-size: .875rem; color: var(--ink-soft); }
.ct-priv a { color: var(--navy); text-decoration: underline; }
.ct-err { color: var(--brick-word); font-weight: 600; font-size: var(--t-body); }
.ct-note { display: none; padding: .875rem 1rem; border: 1px solid var(--brick-word); color: var(--ink); font-size: .875rem; }
.ct-note:target, .ct-note.on { display: block; }
.ct-note a { color: var(--navy); font-weight: 600; }
.ct-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-done { border-top: 2px solid var(--brick); padding-top: 1.25rem; }
.ct-done h3 { --serif-size: 2rem; font: 400 var(--serif-fit)/1 var(--serif); color: var(--navy); letter-spacing: var(--serif-ls); word-spacing: var(--serif-ws); }
.ct-done p { margin-top: .5rem; color: var(--ink-soft); }
.ct-form.sent > :not(.ct-done, h2) { display: none; }
@media (max-width: 900px) {
  .ct-in, .ct-two { grid-template-columns: 1fr; }
}
.ct-pg .pg-lede { color: var(--chalk); font-size: var(--t-body); max-width: 52ch; margin-top: 1.375rem; }
/* the person: the photo with the name and role beside it, then the phone and email together on one line under it, from
   the photo's left edge, with no break between them (Kyle, 16 October 2026). Where the line will not fit, on a phone,
   they stack, each a full tap target. */
.ct-who { align-items: center; }
.ct-r { color: var(--ink); }
.ct-ways { margin-top: .75rem; flex-wrap: wrap; gap: 0 1.75rem; }
.ct-ways a svg { color: var(--brick-word); }
@media (max-width: 480px) { .ct-ways { flex-direction: column; align-items: flex-start; margin-top: .5rem; } .ct-ways a { min-height: 44px; } }

/* ---- back on brand (Kyle, 30 October 2026) ----
   No white box on the chalk band (site rules, Bands): the form sits on the page under a navy rule, level with the person's
   card; the inputs are white with a navy edge, as on the online forms; text is ink; rules are straight. */
.ct-pg .ct-card { border-radius: 0; }   /* a rule along the top, not a box, so its ends are straight */
.ct-form { background: transparent; border: 0; border-top: 1px solid var(--navy); border-radius: 0; padding: 1.5rem 0 0; }
.ct-form input:not([type=radio]):not([type=checkbox]), .ct-form textarea { background: #fff; border: 1px solid var(--navy); border-radius: var(--r-button); }
.ct-form input:not([type=checkbox]):focus, .ct-form textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
/* the tick box shows no ring when clicked; the ring is kept for the keyboard, so tabbing still shows where you are */
.ct-form .ct-ok input:focus { outline: none; }
.ct-form .ct-ok input:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.ct-form [aria-invalid="true"] { border-color: var(--brick-word); }
.ct-form .ct-ok { margin: 0; font-size: var(--t-body); font-weight: 400; display: flex; gap: .75rem; align-items: flex-start; color: var(--ink); line-height: 1.5; cursor: pointer; }
.ct-form .ct-ok input { flex: none; width: 20px; height: 20px; min-height: 0; margin: .125rem 0 0; padding: 0; accent-color: var(--navy); }
.ct-ok input[aria-invalid="true"] { outline: 2px solid var(--brick-word); outline-offset: 2px; }
.ct-ok a, .ct-priv a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.ct-priv { font-size: var(--t-body); color: var(--ink); }
.ct-done p { color: var(--ink); }
/* the brick key call to action: brick word with chalk type; its hover is brick a shade darker (Kyle, 30 October 2026) */
.ct-form .btn.ct-send { background: var(--brick-word); border-color: var(--brick-word); color: var(--chalk); }
.ct-form .btn.ct-send svg { color: var(--chalk); stroke: var(--chalk); }
.ct-form .btn.ct-send:not(:disabled):is(:hover, :focus-visible) { background-color: var(--brick-deep) !important; border-color: var(--brick-deep) !important; color: var(--chalk) !important; }
/* Get directions: the house text-link hover, the words and the rule under them turning brick */
.ct-dir { transition: color var(--fill), border-color var(--fill); }
.ct-dir svg { transition: color var(--fill), transform var(--fill); }
.ct-dir:is(:hover, :focus-visible) { color: var(--brick-word); border-bottom-color: var(--brick-word); }
.ct-dir:is(:hover, :focus-visible) svg { color: var(--brick-word); transform: translate(2px, -2px); }

/* Request an application (compliance, 23 November 2026): the form, with the Client Team beside it; the forms asked for as
   tick tiles in the role choice's style, two to a row */
.ar-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.ar-how { color: var(--ink); }
.ar-grid label:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; }
.ar-forms input[aria-invalid="true"] + span { border-color: var(--brick-word); }
.ar-side .ct-card { border-top-color: var(--navy); }
.ar-side .ct-r { margin-top: .75rem; }
@media (max-width: 900px) { .ar-in { grid-template-columns: 1fr; } }

/* the four forms the same size, whichever name wraps (Kyle, 24 November 2026): every row as tall as the tallest */
.ar-forms { display: block; }
.ar-grid { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: .75rem; padding-top: .75rem; }
.ar-grid label { display: flex; }
.ar-grid label > span { flex: 1; box-sizing: border-box; }
@media (max-width: 560px) { .ar-grid { grid-template-columns: minmax(0, 1fr); } }

/* the request's confirmation, word for word as the current site's, in the new brand (24 November 2026): the message in a
   panel with the trim down its side, the personalised risk warning in it, semibold; Edit form under it as a link */
.ar-done h3 { margin-bottom: 1.25rem; }
.ar-conf { background: var(--band, #F1ECE4); border-left: 3px solid var(--brick); padding: 1.25rem 1.5rem; }
.ar-conf p { margin: 0; color: var(--ink); }
.ar-conf p + p { margin-top: 1rem; }
.ar-prw { font-weight: 600; }
.ar-prw a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.ar-prw a .ext { width: 14px; height: 14px; margin: 0 -.15em 0 .3em; vertical-align: -1px; }
/* once sent, the confirmation's own title stands alone (no second heading over it) */
#appreq.sent > #ar-h { display: none; }
.ar-edit { all: unset; cursor: pointer; margin-top: 1rem; font-size: var(--t-small); font-weight: 500; color: var(--brick-word); text-decoration: underline; text-underline-offset: 2px; transition: color .5s ease; }
.ar-edit:hover { color: var(--brick-deep); }
.ar-edit:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }

/* a long email address (Colin's) breaks rather than pushing the page sideways on the smallest phones (mobile review, 27 November 2026) */
.ct-ways a { max-width: 100%; min-width: 0; }
.ct-ways .em { overflow-wrap: anywhere; min-width: 0; }
