/* ---- kit: backgrounds, linework and product-illustration components shared by the solutions/company/resource pages.
 * Copied verbatim into each of those page stylesheets at build time; page-specific rules follow it. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- end kit */

/* /contact mockup: split layout. Emblem and value proposition on one side, an accessible form on the other.
 * The form is not connected to any backend: submitting ends in a visible "not connected" state, never a success. */

/* No emblem above the heading at any width: the header lockup is enough (design review 3, B11). */
.ct-form { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-md); background: color-mix(in srgb, var(--navy-900) 70%, transparent); box-shadow: var(--e1); }
.ct-form { max-width: 640px; display: grid; gap: 18px; }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font: 500 var(--fs-sm)/1.3 var(--display); color: var(--ink-50); letter-spacing: var(--tr-label); }
.field .opt { color: var(--ink-400); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--navy-950) 70%, transparent); color: var(--ink-50);
  font: 400 var(--fs-md)/1.4 var(--display); transition: border-color var(--dur-base), box-shadow var(--dur-base); }
.field textarea { resize: vertical; min-height: 130px; }
.field textarea::placeholder { color: var(--ink-400); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-400); box-shadow: 0 0 0 3px var(--teal-a24); }
.select { position: relative; }
.select select { appearance: none; padding-right: 40px; cursor: pointer; }
.select::after { content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-200); border-bottom: 1.5px solid var(--ink-200); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select option { background: var(--navy-850); }
[aria-invalid="true"] { border-color: var(--red-300) !important; }
.err { min-height: 0; font-size: var(--fs-sm); color: color-mix(in srgb, var(--red-300) 65%, var(--white)); }
.err:empty { display: none; }
.check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal-400); }
.check label { font-weight: 400; color: var(--ink-200); font-size: var(--fs-md); }
.check label a { color: var(--teal-300); }
.check .err { grid-column: 1 / -1; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.err-summary { padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--red-300) 50%, transparent); border-radius: var(--r-md); background: color-mix(in srgb, var(--red-500) 12%, transparent); color: color-mix(in srgb, var(--red-300) 35%, var(--white)); font-size: var(--fs-sm); }
.err-summary ul { margin-top: 6px; padding-left: 18px; list-style: disc; }
.err-summary a { color: color-mix(in srgb, var(--red-300) 35%, var(--white)); }

.ct-form .actions { margin-top: 6px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
/* Active-incident note on /contact/ (20 Nov 2026): crimson marks the incident, the link leads to /incident-response/. */
.submit { border: 0; cursor: pointer; padding: 15px 24px; font-size: var(--fs-md); }
.submit[disabled] { cursor: progress; opacity: 0.8; }
.spinner { display: none; width: 15px; height: 15px; border-radius: var(--r-full); border: 2px solid color-mix(in srgb, var(--navy-950) 30%, transparent); border-top-color: var(--navy-950); animation: spin 0.8s linear infinite; }
.submit[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; border-color: var(--navy-950); } }

.form-status:empty { display: none; }
.form-status { padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line-strong); border-left: 3px solid var(--ink-200); background: var(--grid); color: var(--ink-50); }
.form-status b { display: block; font-size: var(--fs-md); color: var(--ink-50); margin-bottom: 4px; }
.form-status p { font-size: var(--fs-sm); color: var(--ink-200); }
.form-status.success { border-color: var(--teal-a60); border-left-color: var(--teal-400); background: var(--teal-a06); }
.form-status.error { border-color: color-mix(in srgb, var(--red-300) 45%, transparent); border-left-color: var(--red-300); background: color-mix(in srgb, var(--red-500) 10%, transparent); }
.form-status a { color: var(--teal-300); }

@media (max-width: 479px) { .row.two { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ /contact/ (owner, 24 Nov 2026: "so much dead space", "flat
   bgs"). The hero and grounds come from assets/css/company.css. What happens next beside the hero copy; the incident
   route, the email address and the topics as cards beside the form. */
.ct-next { padding: var(--sp-6); border-radius: var(--r-md); border: 1px solid var(--line); max-width: 520px; margin-left: auto;
  background: radial-gradient(80% 60% at 100% 0%, var(--teal-a12), transparent 70%), linear-gradient(180deg, var(--navy-825), var(--navy-900)); box-shadow: var(--edge-hi), var(--e2); }
.ct-next-h { margin: 0 0 var(--sp-5); font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--teal-300); }
.ct-next ol { position: relative; display: grid; gap: var(--sp-5); margin: 0; padding: 0; list-style: none; counter-reset: n; }
.ct-next ol::before { content: ''; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: linear-gradient(180deg, var(--teal-400), var(--teal-a24)); }
.ct-next li { position: relative; display: grid; gap: 2px; padding-left: 48px; counter-increment: n; }
.ct-next li::before { content: counter(n); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-full);
  background: var(--navy-950); border: 2px solid var(--teal-400); font: 600 var(--fs-sm)/1 var(--mono); color: var(--teal-300); }
.ct-next li:first-child::before { background: var(--teal-400); color: var(--navy-950); box-shadow: 0 0 0 6px var(--teal-a12); }
.ct-next li b { font: 600 var(--fs-md)/1.3 var(--display); color: var(--ink-50); }
.ct-next li span { font-size: var(--fs-sm); color: var(--ink-200); }
.ct-sec { padding-top: var(--sp-8); }
.ct-sec .ct-form { box-shadow: 0 1px 2px color-mix(in srgb, var(--navy-950) 6%, transparent), 0 24px 56px -28px color-mix(in srgb, var(--navy-950) 36%, transparent); }
.ct-aside { display: grid; gap: var(--sp-4); }
.ct-card { position: relative; display: grid; gap: var(--sp-2); padding: var(--sp-5) var(--sp-6); border-radius: var(--r-md); color: inherit; text-decoration: none; overflow: hidden;
  background: var(--white); border: 1px solid var(--paper-line); box-shadow: 0 1px 2px color-mix(in srgb, var(--navy-950) 6%, transparent), 0 16px 36px -22px color-mix(in srgb, var(--navy-950) 30%, transparent);
  transition: transform var(--dur-slow) var(--ease-standard), border-color var(--dur-base) var(--ease-standard); }
a.ct-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--teal-ink) 45%, transparent); }
a.ct-card:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; }
.ct-card-k { display: inline-flex; align-items: center; gap: var(--sp-2); font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--teal-ink); }
.ct-card b { font: 600 var(--fs-lg)/1.35 var(--display); color: var(--paper-ink); }
.ct-card .lnk { margin-top: var(--sp-2); }
.ct-card.ir { color: var(--ink-200); border-color: color-mix(in srgb, var(--red-500) 35%, transparent);
  background: radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--red-500) 16%, transparent), transparent 70%), linear-gradient(160deg, var(--navy-825), var(--navy-950)); }
.ct-card.ir .ct-card-k { color: var(--red-300); }
.ct-card.ir b { color: var(--ink-50); }
.ct-card.ir .lnk { color: var(--teal-300); }
.ct-card.ir .ct-card-k i { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--red-500); animation: ct-alert 2s var(--ease-standard) infinite; }
@keyframes ct-alert { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--red-500) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.ct-card .ct-sub { font-size: var(--fs-sm); color: var(--paper-ink-2); }   /* the card sub-line (the client-portal note) */
.ct-card.topics ul { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-2) 0 0; padding: 0; list-style: none; }
.ct-card.topics li { padding: 6px 10px; border-radius: var(--r-full); border: 1px solid var(--paper-line-strong); font-size: var(--fs-sm); color: var(--paper-ink); }
@media (max-width: 1023px) { .ct-next { margin: 0; max-width: none; } }
@media (max-width: 767px) { .ct-next, .ct-card { padding: var(--sp-5); } }
@media (prefers-reduced-motion: reduce) { .ct-card.ir .ct-card-k i { animation: none; } .ct-card { transition: none; } a.ct-card:hover { transform: none; } }
