/* about.css — WikiMapping "About" one-pager
   Designed to fit on a single printed letter-size page.
   Brand: #177AB5 (blue)  #0b5e92 (dark blue)  #8BC441 (green)
*/

:root {
  --wm-blue: #177AB5;
  --wm-blue-dark: #0b5e92;
  --wm-green: #8BC441;
  --wm-text: #2d3748;
  --wm-muted: #64748b;
  --wm-bg-alt: #f4f7fb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--wm-text);
  background: #fff;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

a { color: var(--wm-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.about-page {
  max-width: 7.5in;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Header ──────────────────────────────────────────── */
.about-header {
  border-bottom: 3px solid var(--wm-blue);
  padding: 0.6rem 0 0.4rem;
}
.about-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.about-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.about-logo {
  height: 36px;
  width: auto;
}
.about-brand h1 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--wm-blue);
  letter-spacing: -0.02em;
}
.about-tagline {
  margin: 0;
  font-size: 0.78rem;
  color: var(--wm-muted);
  font-weight: 500;
}
.about-url {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wm-blue);
  background: var(--wm-bg-alt);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

/* ── Intro (text + photo side by side) ───────────────── */
.about-intro {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.5rem 0;
}
.about-intro-text {
  flex: 1;
}
.about-intro-text h2 {
  font-size: 1rem;
  color: var(--wm-blue-dark);
  margin: 0 0 0.3rem;
}
.about-intro-text p {
  font-size: 0.72rem;
  line-height: 1.45;
  color: #475569;
  margin: 0;
}
.about-intro-image {
  flex-shrink: 0;
  width: 160px;
}
.about-intro-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ── Main two-column section ─────────────────────────── */
.about-main {
  display: flex;
  gap: 1.25rem;
  padding: 0.5rem 0;
  border-top: 1px solid #e2e8f0;
}
.about-main-left {
  flex: 1;
}
.about-main-right {
  flex: 1;
}

.about-main h2 {
  font-size: 0.72rem;
  color: var(--wm-blue-dark);
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* ── Capabilities grid (left column) ─────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.1rem 0.75rem;
}
.cap-item {
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 0.15rem 0;
}
.cap-item i {
  color: var(--wm-blue);
  font-size: 0.6rem;
  margin-top: 0.15rem;
  width: 0.75rem;
  text-align: center;
  flex-shrink: 0;
}
.cap-item strong {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--wm-text);
  line-height: 1.15;
}
.cap-item span {
  display: block;
  font-size: 0.58rem;
  color: var(--wm-muted);
  line-height: 1.25;
}

/* ── Use cases (right column, stacked) ───────────────── */
.use-case-stack {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.use-case {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  background: var(--wm-bg-alt);
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
}
.use-case > i {
  color: var(--wm-blue);
  font-size: 0.6rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.use-case strong {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--wm-text);
  line-height: 1.15;
}
.use-case span {
  display: block;
  font-size: 0.58rem;
  color: var(--wm-muted);
  line-height: 1.25;
}

/* ── Security block (below use cases) ────────────────── */
.security-block {
  margin-top: 0.4rem;
  padding-top: 0.35rem;
  border-top: 1px solid #e2e8f0;
}
.security-block h2 {
  margin-bottom: 0.25rem !important;
}
.security-block h2 i {
  color: var(--wm-green);
}
.security-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.1rem 0.4rem;
}
.security-list span {
  font-size: 0.6rem;
  color: #475569;
  white-space: nowrap;
}
.security-list i {
  color: var(--wm-green);
  margin-right: 0.15rem;
  font-size: 0.5rem;
}

/* ── Footer ──────────────────────────────────────────── */
.about-footer {
  border-top: 3px solid var(--wm-blue);
  padding: 0.4rem 0 0.5rem;
  margin-top: 0.3rem;
}
.about-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}
.footer-who {
  font-size: 0.62rem;
  color: #475569;
  line-height: 1.4;
  flex: 1;
}
.footer-who strong {
  color: var(--wm-blue-dark);
}
.footer-contact-block {
  font-size: 0.6rem;
  color: #475569;
  text-align: right;
  white-space: nowrap;
}
.footer-contact-block strong {
  color: var(--wm-text);
}
.footer-audiences {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.aud-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.1rem 0.45rem;
  background: var(--wm-bg-alt);
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--wm-muted);
  white-space: nowrap;
}
.aud-pill i {
  font-size: 0.5rem;
  color: var(--wm-blue);
}

/* ── Responsive (screen only — mobile) ───────────────── */
@media screen and (max-width: 768px) {
  .about-intro { flex-direction: column; }
  .about-intro-image { display: none; }
  .about-main { flex-direction: column; }
  .cap-grid { grid-template-columns: 1fr; }
  .about-footer-inner { flex-direction: column; }
  .footer-contact-block { text-align: left; }
  .about-header-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── Print styles ────────────────────────────────────── */
@media print {
  /* Keep all layouts exactly as screen */
  .about-page {
    max-width: 100%;
    padding: 0;
  }
  .about-intro-image img { box-shadow: none; }
  .footer-photo { box-shadow: none; }
  a { color: var(--wm-blue) !important; }
  a[href]::after { content: none; }
}

@page {
  margin: 0.35in 0.45in;
  size: letter;
}

/* Scale up to fill the page */
@media print {
  html {
    font-size: 128%;
  }
}
