/* Contact page */
.ct { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: 56px 0 120px; align-items: start; }
.ct-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.ct-card { padding: 22px; border-radius: 6px; background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--rule); }
.ct-card ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.ct-card li { font-size: 14px; line-height: 1.55; color: var(--muted); }
.ct-card li b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.ct-card a, .ct-foot a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--signal); }
.ct-card code { font: 400 12px/1 var(--mono); background: var(--ink-3); padding: 2px 5px; border-radius: 3px; color: var(--text); }
.ct-note { margin: 0; font: 400 12px/1.6 var(--mono); color: var(--dim); }

.ct-form { display: grid; gap: 20px; max-width: 760px; }
.ct-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ct-field { display: grid; gap: 9px; position: relative; }
.ct-field > span { font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ct-field em { font-style: normal; color: var(--dim); text-transform: none; letter-spacing: 0.02em; margin-left: 6px; }
.ct-input { width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-radius: 4px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--text); font: 400 15px/1.5 var(--body); transition: box-shadow 0.15s; }
.ct-input::placeholder { color: var(--dim); }
.ct-input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--signal), 0 0 0 3px rgba(255, 74, 28, 0.15); }
.ct-input.bad { box-shadow: inset 0 0 0 1px var(--signal); }
textarea.ct-input { resize: vertical; min-height: 180px; }
.ct-select { position: relative; display: block; }
.ct-select select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; }
.ct-select::after { content: ''; position: absolute; right: 17px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.ct-count { justify-self: end; font: 400 11px/1 var(--mono); color: var(--dim); }
.ct-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ct-who { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 4px; background: rgba(53, 208, 127, 0.07); box-shadow: inset 0 0 0 1px rgba(53, 208, 127, 0.25); font-size: 13.5px; color: var(--muted); }
.ct-who img { width: 24px; height: 24px; border-radius: 50%; }
.ct-who b { color: var(--text); }
.ts-box { min-height: 65px; }
.ct-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ct-foot small { color: var(--dim); font-size: 12.5px; }
.ct-err { margin: 0; padding: 12px 14px; border-radius: 4px; background: rgba(255, 74, 28, 0.08); box-shadow: inset 3px 0 0 var(--signal); color: #ffc7b8; font-size: 14px; }
.ct-done { max-width: 620px; padding: 36px; border-radius: 6px; background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--rule); }
.ct-done h2 { margin: 22px 0 12px; font-size: clamp(30px, 4vw, 46px); font-weight: 900; font-stretch: 125%; text-transform: uppercase; }
.ct-done p { color: var(--muted); margin-bottom: 26px; }
.ct-done b { color: var(--text); font-family: var(--mono); font-weight: 500; }

@media (max-width: 860px) {
  .ct { grid-template-columns: 1fr; }
  .ct-side { position: static; order: 2; }
  .ct-row.two { grid-template-columns: 1fr; }
}
