/* /contact/ — the form and the channel list beside it.
   The fields themselves reuse .nl-field / .nl-label / .nl-input / .nl-submit
   from components.css, so this file only adds what the newsletter block has no
   equivalent for: the topic radios, the textarea, and the side column. */

.ct-hero { max-width: 640px; margin-bottom: clamp(30px, 5vw, 46px); }
.ct-title {
  font-family: var(--f-display);
  font-size: clamp(38px, 7vw, 68px);
  font-weight: 700;
  line-height: .96;
  letter-spacing: .01em;
  margin-bottom: 16px;
}
.ct-lede {
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.6;
  text-wrap: pretty;
}

/* The form leads and the channels follow it. 300px is what holds "Instagram"
   and its "soon" chip on one line without the column dictating the layout. */
.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.ct-main {
  background: var(--panel);
  border: 1px solid rgba(232, 227, 214, .08);
  padding: clamp(22px, 3.4vw, 36px);
}
.ct-form { display: flex; flex-direction: column; gap: 20px; }
.ct-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* --- Topic radios ------------------------------------------------------- */
/* Chips, in the same selector language as the download modal's platform tabs
   and the home page's vehicle rail: a hairline box that fills with amber when
   it is the one chosen. The native radio is what carries the state and the
   keyboard behaviour — it is clipped, never display:none, which would take the
   whole group out of the tab order.

   The radio sits *before* its label in the markup so `:checked + .ct-topic`
   can style the chip. That single selector is the only thing that decides
   which chip looks selected, and the browser maintains it: there is no class
   to add, none to take off, and no way for two chips to be lit at once. */
.ct-topics { border: none; padding: 0; margin: 0; }
.ct-topics > legend { padding: 0; margin-bottom: 10px; }
.ct-topic-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}
/* Out of flow, so the four radios do not each claim a grid cell, and anchored
   to the row rather than the page so focusing one does not scroll elsewhere. */
.ct-topic-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.ct-topic {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: 'Oswald', sans-serif;
  font-size: 13.5px;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 12px 10px;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.ct-topic:hover { border-color: rgba(232, 163, 23, .5); color: var(--ink); }
.ct-topic-input:checked + .ct-topic {
  border-color: var(--amber);
  background: rgba(232, 163, 23, .14);
  color: var(--ink);
}
/* The focus ring has to come from the label: the input it belongs to is a
   1px clipped box and its own outline would land nowhere near the chip.
   :focus-visible, so a mouse click does not leave a ring behind — arrow-key
   navigation through the group still shows one. */
.ct-topic-input:focus-visible + .ct-topic {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* --- Game bugs go to the forum ------------------------------------------ */
.ct-divert {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  border-left: 2px solid rgba(232, 163, 23, .34);
  background: rgba(232, 163, 23, .05);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.ct-divert > i { color: var(--amber); }
.ct-divert a { color: var(--amber); white-space: nowrap; }
.ct-divert a:hover { color: var(--amber-bright); }

/* --- Textarea ----------------------------------------------------------- */
/* Matches .nl-input except for the left padding: there is no icon in the
   corner of a nine-row box, and the text would start at an odd inset. */
.ct-textarea {
  width: 100%;
  background: var(--panel-3);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.6;
  padding: 13px 14px;
  resize: vertical;
  min-height: 150px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.ct-textarea:hover { border-color: rgba(232, 227, 214, .18); }
.ct-textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 163, 23, .12);
}
.ct-textarea::placeholder { color: var(--muted-3); }

.nl-input.is-bad,
.ct-textarea.is-bad { border-color: #c0562f; }
.ct-fielderr { font-size: 12.5px; color: #e08a5f; line-height: 1.5; }

/* --- Sent --------------------------------------------------------------- */
.ct-done {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(232, 163, 23, .08);
  border: 1px solid rgba(232, 163, 23, .34);
  padding: 22px;
}
.ct-done:focus { outline: none; }
.ct-done-icon { font-size: 26px; color: var(--amber); flex-shrink: 0; line-height: 1; }
.ct-done-title {
  font-family: var(--f-stencil);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ct-done-msg { font-size: 13.5px; line-height: 1.65; color: var(--muted); margin-bottom: 12px; }
.ct-again {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--amber);
}
.ct-again:hover { color: var(--amber-bright); }

/* --- Channels ----------------------------------------------------------- */
.ct-side-title {
  font-family: var(--f-stencil);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.ct-side-title-2 { margin-top: 26px; }

.ct-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  padding: 13px 14px;
  margin-bottom: 8px;
  transition: border-color .18s ease, background-color .18s ease;
}
.ct-channel > i:first-child { font-size: 18px; color: var(--muted); }
.ct-channel-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ct-channel-go { font-size: 15px; color: var(--muted-3); }
a.ct-channel:hover { border-color: var(--amber-line); background: rgba(232, 163, 23, .06); }
a.ct-channel:hover > i:first-child,
a.ct-channel:hover .ct-channel-go { color: var(--amber); }

/* Dashed, like .dl-os-tab.is-soon — the site's one idiom for "not yet".
   A network with no URL keeps its row rather than disappearing, so the set
   reads as a list being filled in one at a time. */
.ct-channel.is-soon {
  border-style: dashed;
  color: var(--muted-2);
  cursor: default;
}
.ct-channel.is-soon > i:first-child { color: var(--muted-3); }
.ct-soon {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-3);
  border: 1px solid var(--line);
  padding: 3px 7px;
}

@media (max-width: 900px) {
  .ct-grid { grid-template-columns: 1fr; }
  /* The channels are a footnote to the form on a phone, not a column beside
     it, so they follow it rather than pushing it down the page. */
  .ct-side { order: 2; }
  .ct-main { order: 1; }
}
@media (max-width: 560px) {
  .ct-two { grid-template-columns: 1fr; }
}
