/* This site's styles. The shared layout (header, buttons, hero, sections, cards, footer…) is
   sbs-pkg's base.css, which every page loads first; add what this site does differently below.
   Colors and fonts are theme variables: the owner changes them in the CMS ("Look & feel", which
   writes theme.css); these are the defaults. */
:root {
  --abyss: #1c1917;
  --deep: #292524;
  --sea: #44403c;
  --teal: #b91c1c;
  --teal-ink: #b91c1c;
  --glow: #fca5a5;
  --sand: #fafaf9;
  --paper: #ffffff;
  --ink: #292524;
  --muted: #57534e;
  --line: #e7e5e4;
  --orange: #b91c1c;
  --radius: 8px;
  --shadow: none;
  --display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-tracking: -0.025em;
}

/* This site's own styles go here. */

/* 25United demo (25united.org's colors: blush pink, charcoal; Questrial headings) */
:root {
  --sand: #faebef;
  --line: #e6d5db;
  --radius: 16px;
}
/* the demo banner on every page: hard to miss */
.announce {
  background: #2d2a2b;
  color: #ffffff;
  font-weight: 600;
}
/* the logo already says "25United": show it wide, keep the name for screen readers */
.brand-mark {
  width: auto;
  height: 40px;
}
.brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* mission dates are only for ordering (the source gives a year for most); the kicker carries
   the label. shortcut: the " · " separator before the hidden date stays visible; a dateLabel
   field in sbs-pkg would remove it */
.post-card-date,
.article-head .eyebrow time {
  display: none;
}
/* the newest mission is the current one: the live site's "Now:" label */
#highlights .post-card:first-child .post-card-title::before {
  content: "Now: ";
}
/* live site has no "More from the logbook" under a mission */
.more-posts {
  display: none;
}
.gallery {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery-note {
  color: var(--muted);
  font-size: 0.95rem;
}
/* proposals that aren't on the live site */
.demo-new {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e8a1b5;
  color: #2d2a2b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}
.demo-new-block,
.demo-note {
  padding: 12px 16px;
  border: 2px dashed #e8a1b5;
  border-radius: 12px;
  background: var(--sand);
}
.trust-strip {
  margin-top: 12px;
  font-size: 0.9rem;
  opacity: 0.85;
}
.partner-slot {
  color: var(--muted);
  font-style: italic;
}
.about-stats strong {
  color: var(--muted);
}
.mock-form {
  display: grid;
  gap: 12px;
  max-width: 32rem;
  padding: 20px;
  border: 2px dashed #e8a1b5;
  border-radius: 12px;
}
.mock-form label {
  display: grid;
  gap: 4px;
  font-weight: 600;
}
.mock-form input,
.mock-form textarea,
.mock-form select {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.mock-label {
  margin: 0;
  font-weight: 700;
}
.foot-about {
  max-width: 40rem;
  opacity: 0.85;
}
/* the live site's light blush hero and header, charcoal text */
.hero {
  background: #f6dae2;
  color: #0a0a0a;
}
.hero .btn-ghost {
  color: #0a0a0a;
  border-color: #0a0a0a;
}
.btn {
  border-radius: 999px;
}
/* partner logos (from each partner's site): each card is one link, the logo only; the name stays
   for screen readers (the card heading, visually hidden) and in the image's alt. White artwork
   sits on a dark tile. */
#services .card:has(.partner-logo) { position: relative; display: flex; padding: 0; overflow: hidden; }
#services .card:has(.partner-logo) h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#services .card .partner-logo { display: flex; flex: 1; margin: 0; }
.partner-logo a { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 140px; padding: 20px; background: #ffffff; transition: transform 150ms ease, box-shadow 150ms ease; }
.partner-logo a:hover { transform: scale(1.03); box-shadow: 0 6px 18px rgb(0 0 0 / 0.12); }
.partner-logo a:focus-visible { outline: 3px solid #e8a1b5; outline-offset: -3px; }
.partner-logo img { max-width: 100%; max-height: 84px; width: auto; height: auto; }
.partner-logo-dark a { background: #2d2a2b; }
@media (prefers-reduced-motion: reduce) { .partner-logo a { transition: none; } .partner-logo a:hover { transform: none; } }
#services .card:has(.partner-logo-dark) { border-color: #2d2a2b; }
