/* Contact page (contact/): the topics that open an email with the subject filled in, the contact card as a drawing's
   title block, what helps us answer quickly, and how a project starts. Builds on solution.css (the opening, sections,
   title-block, ways, split); only what is new for this page lives here. */

.ct-hero .sol-hero-head { padding-bottom: clamp(20px, 3vw, 36px); }
.ct-hero h1 { max-width: 10ch; }
.ct-hero .sol-hero-side p { max-width: 50ch; }

/* ---------- the topics beside the card ---------- */
.ct-main { padding-top: clamp(40px, 6vw, 72px); }
.ct-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); align-items: start; }
.ct-topics .sec-head { margin-bottom: var(--s-6); }
.topics { border-top: 1px solid var(--ink); }
.topic { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) 20px; gap: var(--s-3); align-items: center; padding: var(--s-5) 0; border-bottom: 1px solid var(--line);
  color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
.topic .data { color: var(--blue); align-self: start; padding-top: 4px; }
.topic-text { display: grid; gap: var(--s-1); }
.topic-text b { font-size: 1.25rem; font-weight: 600; font-stretch: 106%; letter-spacing: -0.01em; line-height: 1.2; transition: color var(--t-fast) var(--ease); }
.topic-text span { color: var(--steel); font-size: var(--fs-sm); line-height: 1.5; max-width: 54ch; }
.topic .arrow { width: 20px; height: 20px; color: var(--steel-soft); transition: transform var(--t-base) var(--ease), color var(--t-fast) var(--ease); }
.topic:hover b, .topic:focus-visible b { color: var(--blue); }
.topic:hover .arrow, .topic:focus-visible .arrow { color: var(--blue); transform: translateX(4px); }
.topic:focus-visible { outline-offset: 0; }
.topics-note { margin-top: var(--s-5); color: var(--steel); font-size: var(--fs-sm); line-height: 1.5; }
.topics-note a { color: var(--ink); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.topics-note a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

/* the card: the title block from the cell pages, sticky beside the topics on wide screens */
.ct-card { display: grid; gap: var(--s-4); position: sticky; top: calc(var(--header-h) + var(--s-6)); }
.ct-card h2 { color: var(--steel); font-weight: 500; letter-spacing: 0.01em; }
.ct-card .title-block { background: var(--paper); }
.ct-card .title-block dd { font-weight: 500; line-height: 1.4; }
.ct-card .title-block a { color: inherit; text-decoration: none; }
.ct-card .title-block a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.ct-card address { font-style: normal; }
.ct-card-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); }
.ct-card-links .btn .ext-icon { color: currentColor; width: 14px; height: 14px; opacity: .8; }
.ct-social { display: flex; gap: var(--s-5); }

/* ---------- what helps: four points in a row, numbered like the ways ---------- */
.helps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.helps li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--s-3); padding: var(--s-5) var(--s-6) var(--s-5) 0; }
.helps li + li { padding-left: var(--s-6); border-left: 1px solid var(--line); }
.helps .data { color: var(--blue); padding-top: 4px; }
.helps h3 { font-size: 1.25rem; line-height: 1.2; margin-bottom: var(--s-2); }
.helps p { color: var(--steel); font-size: var(--fs-sm); line-height: 1.5; }
.helps-note { margin-top: var(--s-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); color: var(--steel); }

@media (max-width: 1099px) {
  .helps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .helps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .helps li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 899px) {
  .ct-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .ct-card { position: static; }
  .ct-card .title-block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-card .title-block div:nth-child(odd) { border-right: 1px solid var(--line-strong); }
  .ct-card .title-block div.wide { border-right: 0; }
}
@media (max-width: 599px) {
  .helps { grid-template-columns: minmax(0, 1fr); }
  .helps li, .helps li + li { padding: var(--s-4) 0; border-left: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .ct-card .title-block { grid-template-columns: minmax(0, 1fr); }
  .ct-card .title-block div:nth-child(odd) { border-right: 0; }
  .topic { grid-template-columns: 2rem minmax(0, 1fr) 16px; }
  .topic .arrow { width: 16px; height: 16px; }
}
