/* M28 Investigates prototype v0.7.3: the Collaborate page and the pitch page (Bex's brief of 28 Nov 2026, D-200).
   Dark, live-site look, the site's type steps (--ts-*), the head of the Digital Security Lab (a red bar above the
   title). Every class starts with cl- (.co belongs to the course pages, .dl to definition lists). No form anywhere:
   every door is an e-mail address or Signal. */

.cl-page { padding-block: clamp(1.75rem, 1.2rem + 2.2vw, 3rem) clamp(2.5rem, 2rem + 2.5vw, 3.5rem); }
.cl-page--end { padding-block: 0 clamp(3rem, 2rem + 4vw, 5rem); }
.cl-page .crumbs-nav { margin-bottom: 1.25rem; }

/* the head: title with the red bar, one line */
.cl-head h1 { position: relative; padding-top: 1.125rem; font: 800 var(--ts-headline)/var(--ts-headline-lh) var(--f-text); letter-spacing: -.03em; color: var(--white); }
.cl-head h1::before { content: ""; position: absolute; left: 0; top: 0; width: 1.75rem; height: 3px; background: var(--red); }
.cl-kicker + h1 { margin-top: .25rem; }
.cl-kicker { font: 700 var(--ts-label)/1.3 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--red-t45); }
.cl-lead { max-width: 48rem; margin-top: .875rem; font: 400 var(--ts-stand)/1.45 var(--f-text); color: var(--grey); }
.cl-mt { margin-top: .625rem; font: 400 var(--ts-small)/1.4 var(--f-text); color: var(--grey-s22); }

/* six cards: 3 x 2 on a desktop, 2 x 3 on a tablet, one column on a phone */
.cl-cards { display: grid; gap: 1.25rem; margin: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem) 0 0; padding: 0; list-style: none; }
@media (min-width: 48em) { .cl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 75em) { .cl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cl-card { display: flex; flex-direction: column; padding: 1.375rem 1.375rem 1.25rem; border-top: 3px solid var(--red); background: #0F0F0F; scroll-margin-top: calc(var(--stick) + 1.25rem); }
.cl-card:target { outline: 1px solid var(--red); }
.cl-card h2 { font: 800 var(--ts-sub)/1.2 var(--f-text); letter-spacing: -.01em; color: var(--white); }
.cl-card__who { margin-top: .5rem; font: 700 var(--ts-label)/1.35 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--red-t45); }
.cl-card__text { margin-top: .875rem; }
.cl-card__text p { font: 400 1.0625rem/1.55 var(--f-text); color: var(--grey); }
.cl-card__text p + p { margin-top: .375rem; }
.cl-card__text .cl-card__more { margin-top: .25rem; }
.cl-card__go { margin-top: auto; padding-top: 1.25rem; }

/* the buttons: an outlined pill (the Lab's); the e-mail address shown as it is */
.cl-btn { display: inline-flex; align-items: center; gap: .5rem; max-width: 100%; min-height: 2.75rem; padding: .625rem 1.125rem; border: 1px solid var(--red); border-radius: 999px;
  font: 700 .9375rem/1.25 var(--f-text); color: var(--white); text-decoration: none; transition: background .2s; }
.cl-btn > span { min-width: 0; overflow-wrap: anywhere; }
.cl-btn .icon { flex: none; width: 1.125rem; height: 1.125rem; color: var(--red-t45); }
.cl-btn:hover { background: var(--red-s30); }
.cl-btn:hover .icon { color: var(--white); }
.cl-btn--red { background: var(--red-s30); }
.cl-btn--red .icon { color: var(--white); }
.cl-btn--red:hover { background: #A52020; }
.cl-more { display: inline-block; padding-block: .5rem; font: 600 .9375rem/1.4 var(--f-text); color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .2em; }
.cl-more:hover { color: var(--red-t45); }

/* the band for sources: its own dark band, framed in red */
.cl-tip { padding-block: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); border-block: 2px solid var(--red); background: #120707; scroll-margin-top: var(--stick); }
.cl-tip__in { display: grid; gap: 1.25rem 3rem; align-items: center; }
@media (min-width: 56em) { .cl-tip__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.cl-tip h2 { display: flex; align-items: flex-start; gap: .625rem; font: 800 var(--ts-section)/1.15 var(--f-text); color: var(--white); }
.cl-tip h2 .icon { flex: none; width: 1.625rem; height: 1.625rem; margin-top: .2em; color: var(--red-t45); }
.cl-tip p { max-width: 40rem; margin-top: .625rem; font: 400 1.125rem/1.5 var(--f-text); color: var(--grey); }
.cl-tip .cl-tip__go { margin-top: 1rem; }
.cl-sig { margin: 0; color: var(--white); }
.cl-sig .sig__u { font-size: 1.125rem; }

/* sections after the band */
.cl-sec { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--charcoal-t25); scroll-margin-top: calc(var(--stick) + 1rem); }
.cl-page--end .cl-sec:first-child { border-top: 0; padding-top: 0; }
.cl-sec > h2 { margin-bottom: 1.125rem; font: 800 var(--ts-section)/1.15 var(--f-text); color: var(--white); }

/* the outlets we work with: their own logo files, on white tiles (the files are dark on transparent); a frame with
   the name where M28 holds no logo file yet */
.cl-outlets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 48em) { .cl-outlets { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cl-outlet { display: flex; align-items: center; justify-content: center; height: clamp(5.75rem, 4.9rem + 2.4vw, 7.5rem); padding: .625rem 1.25rem; border: 1px solid #FFFFFF; border-radius: 4px; background: #FFFFFF; transition: border-color .2s; }
.cl-outlet img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.cl-outlet:hover { border-color: var(--red); outline: 2px solid var(--red); }
.cl-outlet--empty { border: 1px dashed var(--charcoal-t40); background: transparent; }
.cl-outlet--empty:hover { border-color: var(--red); outline: 0; }
.cl-outlet__name { font: 800 1.1875rem/1.2 var(--f-text); text-align: center; color: var(--white); }

/* four questions */
.cl-faq { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 56em) { .cl-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cl-faq h3 { font: 800 1.1875rem/1.3 var(--f-text); color: var(--white); }
.cl-faq p { max-width: 36rem; margin-top: .375rem; font: 400 1.0625rem/1.55 var(--f-text); color: var(--grey); }

/* the contact line */
.cl-contact { display: grid; gap: .5rem 2.5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
@media (min-width: 48em) { .cl-contact { grid-template-columns: repeat(3, max-content); } }
.cl-contact li { display: grid; gap: .125rem; }
.cl-contact span { font: 700 var(--ts-label)/1.35 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--grey-s22); }
.cl-contact a { display: inline-block; padding-block: .375rem; font: 700 1.0625rem/1.4 var(--f-text); color: var(--white); overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .2em; }
.cl-contact a:hover { color: var(--red-t45); }

/* the pitch page: the two sentences, the e-mail, then three columns */
.cl-terms { display: grid; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.cl-terms li { display: flex; align-items: flex-start; gap: .625rem; font: 600 1.125rem/1.45 var(--f-text); color: var(--white); }
.cl-terms .icon { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .15rem; color: var(--red-t45); }
.cl-send { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem 1rem; margin-top: 1.5rem; }
.cl-send__h { font: 800 1.1875rem/1.3 var(--f-text); color: var(--white); }
.cl-country { max-width: 48rem; margin-top: 1.5rem; padding: 1rem 1.25rem; border-left: 3px solid var(--red); background: #0F0F0F; }
.cl-country__k { font: 700 var(--ts-label)/1.3 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--red-t45); }
.cl-country .co-country__name { margin-top: .375rem; font: 800 var(--ts-sub)/1.2 var(--f-text); color: var(--white); }
.cl-country p:last-child { margin-top: .375rem; font: 400 1rem/1.5 var(--f-text); color: var(--grey); }
.cl-cols { display: grid; gap: 2rem 2.5rem; margin-top: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); padding-top: 1.5rem; border-top: 1px solid var(--charcoal-t25); }
@media (min-width: 62em) { .cl-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cl-col h2 { margin-bottom: .875rem; font: 800 var(--ts-sub)/1.2 var(--f-text); color: var(--white); }
.cl-list { display: grid; gap: .625rem; margin: 0; padding-left: 1.25rem; list-style: disc; }
.cl-list li { font: 400 1.0625rem/1.55 var(--f-text); color: var(--grey); }
.cl-list li::marker { color: var(--red-t45); }
