/* ==========================================================================
   Northwatch website: company, contact, privacy and 404 pages only
   (company.html, contact.html, privacy.html, 404.html)
   Loaded after css/site.css. Uses the shared tokens and nothing else:
   no new colors, hairlines only, 4px radius at most, no shadows.
   ========================================================================== */

/* ---------- Place list (company.html) ------------------------------------
   The six kinds of place the mission names. A mono label and one short line
   each, divided by hairlines. One column on phones, two from 600px, three
   from 900px.

   <ul class="place-list">
     <li class="place-list__item">
       <h3 class="place-list__name">Power</h3>
       <p class="place-list__text">One short line.</p>
     </li>
   </ul>
   ------------------------------------------------------------------------ */

.place-list {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--nw-hairline);
}
.place-list.mt-8 { margin-top: var(--sp-8); }
.place-list__item { padding: var(--sp-5) 0; border-bottom: var(--nw-hairline); }
.place-list__name {
  color: var(--nw-white);
  font-family: var(--nw-mono);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.place-list__text { margin-top: var(--sp-2); max-width: 22rem; color: var(--nw-white); }

@media (min-width: 600px) {
  .place-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--grid-gap); }
}
@media (min-width: 900px) {
  .place-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .place-list__item { padding: var(--sp-6) 0; }
}

/* ---------- Plain list with a small heading (company.html) ---------------
   Two of these sit side by side: "What exists today" and "What does not
   exist yet". Hairline between items, no bullets.

   <h3 class="list-head">What exists today</h3>
   <ul class="plain-list"><li>One plain statement.</li></ul>
   ------------------------------------------------------------------------ */

.list-head {
  padding-bottom: var(--sp-4);
  color: var(--nw-quiet);
  font-family: var(--nw-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.plain-list { margin: 0; padding: 0; list-style: none; border-top: var(--nw-hairline); }
.plain-list li { padding: var(--sp-4) 0; border-bottom: var(--nw-hairline); color: var(--nw-white); max-width: 36rem; }
@media (max-width: 899.98px) {
  .grid > * + * > .list-head { margin-top: var(--sp-6); }
}

/* A row of text links (the shared .btn-row holding .text-link items) */
.btn-row > .text-link { align-self: center; }
.btn-row:has(> .text-link) { gap: var(--sp-4) var(--sp-6); }

/* ---------- Note list (contact.html) -------------------------------------
   Short label and answer pairs beside the form. Quieter and narrower than
   the shared .def-list, which is made for full-width sections.

   <dl class="note-list">
     <div class="note-list__row"><dt>Label</dt><dd>Text.</dd></div>
   </dl>
   ------------------------------------------------------------------------ */

.note-list { margin: 0; border-top: var(--nw-hairline); max-width: 30rem; }
.stack > .note-list { margin-top: var(--sp-7); }
.note-list__row { padding: var(--sp-4) 0; border-bottom: var(--nw-hairline); }
.note-list dt {
  color: var(--nw-quiet);
  font-family: var(--nw-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.note-list dd { margin: var(--sp-2) 0 0; color: var(--nw-white); font-size: var(--fs-small); line-height: 1.55; }
.note-list a { color: var(--nw-white); }

/* ---------- Required marker (contact.html) -------------------------------
   A small mono word after the label of a field that must be filled in.
   It also carries the shared class .field__optional so that js/site.js
   leaves it out of error messages and of the email text.

   <label class="field__label" for="f-name">Your name
     <span class="field__optional field__required">Required</span></label>
   ------------------------------------------------------------------------ */

.field__required {
  margin-left: var(--sp-2);
  color: var(--nw-quiet);
  font-family: var(--nw-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.form__legend { color: var(--nw-quiet); font-size: var(--fs-small); }
.form__legend .field__required { margin-left: 0; }
@media (min-width: 900px) {
  .form { margin-left: auto; }
}

/* ---------- Page not found (404.html) ------------------------------------ */

.not-found { min-height: 60vh; }
.not-found__links { margin-top: var(--sp-9); padding-top: var(--sp-6); border-top: var(--nw-hairline); }
.not-found__heading {
  color: var(--nw-quiet);
  font-family: var(--nw-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.not-found__links ul { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-6); margin: var(--sp-5) 0 0; padding: 0; list-style: none; }

/* ---------- Privacy note (privacy.html) ----------------------------------
   Long text reads better with smaller section headings than a marketing page. */

.prose > h2 { font-size: var(--fs-h3); line-height: 1.25; }
