/* ============================================================================
   about.css — About page on the Dawn Compass design system.
   Extends /css/village-apps.css: consumes its tokens (--bg, --ink, --ink-soft,
   --line, --bg-raise, --c-connect/-decide/-work/-know/-ground + -soft variants,
   the type/space/radius scale) and its shared chrome (header.site, .wrap,
   footer.site, .skip-link, .btn, .mesh). This file defines ONLY the about-page
   components. NO raw colours — tokens only, so light and dark both hold without
   a second stylesheet (village-apps.css is present, so theme.js does NOT inject
   the slate landing-dark-theme.css; the dawn-dark palette applies).

   Section wayfinding: each band is mapped to one compass category by class
   (connect / decide / work / know) — amber people, violet deliberation,
   green trade/growth, blue knowledge. The accent shows only in a short heading
   rule and in card border-tops, so bands stay calm and readable.
   Register: Atkinson Hyperlegible (accessibility default; matches the landing).
   ============================================================================ */

/* ---- Self-hosted Atkinson Hyperlegible (body) — matches ecosystem.css / mysy-landing ---- */
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal; font-weight: 400; font-display: swap;
  src: local('Atkinson Hyperlegible'),
       url('/fonts/atkinson/atkinson-hyperlegible-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal; font-weight: 700; font-display: swap;
  src: local('Atkinson Hyperlegible Bold'),
       url('/fonts/atkinson/atkinson-hyperlegible-bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: italic; font-weight: 400; font-display: swap;
  src: local('Atkinson Hyperlegible Italic'),
       url('/fonts/atkinson/atkinson-hyperlegible-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: italic; font-weight: 700; font-display: swap;
  src: local('Atkinson Hyperlegible Bold Italic'),
       url('/fonts/atkinson/atkinson-hyperlegible-bold-italic.woff2') format('woff2');
}

/* Body register override (village-apps.css sets system-ui). */
body { font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif; }

/* ---------- global manners ---------- */
html { scroll-padding-top: 4.5rem; }  /* sticky header must not eat anchors */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--c-know); outline-offset: 2px;
}
:lang(de) p, :lang(de) h2, :lang(de) h3, :lang(de) li { hyphens: auto; }

/* ---------- header CTAs (shared chrome extras) ---------- */
.hdr-cta { display: flex; gap: var(--s2); align-items: center; margin-left: auto; }
@media (max-width: 56rem) { nav.top { margin-left: 0; } }

/* ---------- te reo provisional notice (script-driven, hidden until shown) ---------- */
.provisional-note { display: none; margin: var(--s4) auto 0; max-width: 72rem; padding: .75rem var(--s4);
  background: var(--c-connect-soft); border: 1px solid var(--c-connect); border-radius: var(--r-s);
  font-size: var(--t-xs); color: var(--ink); line-height: 1.6; }

/* ---------- hero (dawn ivory — same mesh as the landing) ---------- */
.about-hero { position: relative; overflow: hidden; }
.about-hero .wrap { position: relative; z-index: 1; padding-block: var(--s12); text-align: center; }
.about-hero h1 { font-size: var(--t-hero); line-height: 1.06; letter-spacing: -.02em; font-weight: 800;
  max-width: 20ch; margin: 0 auto; }
.about-hero .tagline { font-size: var(--t-l); line-height: 1.45; color: var(--ink-soft);
  max-width: 60ch; margin: var(--s4) auto 0; }

/* ---------- band scaffolding ---------- */
section.about-band { --c: var(--c-ground); padding-block: var(--s12); }
section.about-band.tint { background: linear-gradient(hsl(var(--hue-ground) 30% 50% / .07),
  hsl(var(--hue-ground) 30% 50% / .07)); border-block: 1px solid var(--line); }
section.about-band.connect { --c: var(--c-connect); }
section.about-band.decide  { --c: var(--c-decide); }
section.about-band.work    { --c: var(--c-work); }
section.about-band.know    { --c: var(--c-know); }

.about-band .wrap { max-width: 74rem; }
.about-inner { max-width: 70ch; margin: 0 auto; }

/* section heading with a short compass-coloured rule */
.about-band h2 { font-size: var(--t-xl); letter-spacing: -.01em; line-height: 1.15; }
.about-band h2::after { content: ""; display: block; width: 2.5rem; height: 4px; border-radius: 2px;
  background: var(--c); margin-top: var(--s3); }

/* ---------- prose ---------- */
.about-prose { margin-top: var(--s6); }
.about-prose p { color: var(--ink-soft); line-height: 1.75; margin-top: var(--s4); }
.about-prose p:first-child { margin-top: 0; }
.about-prose strong { color: var(--ink); font-weight: 700; }
.about-prose a { color: var(--c); font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.about-prose ul { list-style: none; padding: 0; margin: var(--s4) 0 0; }
.about-prose ul li { color: var(--ink-soft); line-height: 1.7; padding-left: 1.4em; position: relative;
  margin-top: var(--s3); }
.about-prose ul li::before { content: "·"; position: absolute; left: .3em; color: var(--c); font-weight: 700; }
.about-prose ul li strong { color: var(--ink); }

/* ---------- emphasis / feature panel (replaces the old gradient boxes) ---------- */
.about-feature { background: var(--c-connect-soft); border: 1px solid var(--line);
  border-left: 4px solid var(--c); border-radius: var(--r-m); padding: var(--s6); margin-top: var(--s6); }
.about-feature .quote { font-size: var(--t-l); font-weight: 700; color: var(--ink); line-height: 1.3; }
.about-feature p { color: var(--ink); margin-top: var(--s3); line-height: 1.7; }
.about-feature h3 { font-size: var(--t-l); color: var(--ink); margin-bottom: var(--s2); }
.about-feature ul { list-style: none; padding: 0; margin: var(--s3) 0 0; }
.about-feature ul li { color: var(--ink); line-height: 1.7; padding-left: 1.4em; position: relative;
  margin-top: var(--s3); }
.about-feature ul li::before { content: "→"; position: absolute; left: 0; color: var(--c); font-weight: 700; }
.about-feature ul li strong { color: var(--ink); }

/* ---------- callout card (bordered, compass-accented) ---------- */
.about-callout { --c: var(--c-ground); background: var(--bg-raise); border: 1px solid var(--line);
  border-top: 4px solid var(--c); border-radius: var(--r-m); padding: var(--s6); margin-top: var(--s6); }
.about-callout.connect { --c: var(--c-connect); }
.about-callout.decide  { --c: var(--c-decide); }
.about-callout.work    { --c: var(--c-work); }
.about-callout.know    { --c: var(--c-know); }
.about-callout h3 { font-size: var(--t-m); color: var(--ink); margin-bottom: var(--s2); }
.about-callout p { color: var(--ink-soft); line-height: 1.7; margin: 0; }
.about-callout ul { list-style: none; padding: 0; margin: 0; }
.about-callout ul li { color: var(--ink-soft); line-height: 1.7; padding-left: 1.4em; position: relative;
  margin-top: var(--s3); }
.about-callout ul li:first-child { margin-top: 0; }
.about-callout ul li::before { content: "·"; position: absolute; left: .3em; color: var(--c); font-weight: 700; }
.about-callout ul li strong { color: var(--ink); }

/* ---------- fit grid (for / not-for) ---------- */
.about-fit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); margin-top: var(--s6); }
@media (max-width: 40rem) { .about-fit { grid-template-columns: 1fr; } }
.about-fit .col { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: var(--s6); }
.about-fit .col.for { border-top: 4px solid var(--c-work); }
.about-fit .col.not-for { border-top: 4px solid var(--c-ground); }
.about-fit h3 { font-size: var(--t-m); color: var(--ink); margin-bottom: var(--s3); }
.about-fit ul { list-style: none; padding: 0; margin: 0; }
.about-fit li { color: var(--ink-soft); line-height: 1.6; padding-left: 1.6em; position: relative;
  margin-top: var(--s3); }
.about-fit li:first-child { margin-top: 0; }
.about-fit .col.for li::before { content: "✓"; position: absolute; left: 0; color: var(--c-work); font-weight: 700; }
.about-fit .col.not-for li::before { content: "✕"; position: absolute; left: 0; color: var(--ink-soft); font-weight: 700; }
.about-mismatch { margin-top: var(--s6); color: var(--ink-soft); font-style: italic; line-height: 1.7; }

/* ---------- pricing rows ---------- */
.about-prose ul.price-list li { padding-left: 0; }
.about-prose ul.price-list li::before { content: none; }

/* ---------- primary CTA button ---------- */
/* a.about-cta-btn (0,1,1) beats/ties .about-prose a and comes later → wins the colour cascade */
a.about-cta-btn { display: inline-block; margin-top: var(--s6); border-radius: 999px; padding: .8em 1.7em;
  font-weight: 700; font-size: var(--t-s); text-decoration: none; background: var(--ink); color: var(--bg);
  border: 1px solid var(--ink); transition: transform .25s var(--ease); }
a.about-cta-btn:hover { transform: translateY(-2px); }

/* ---------- closing CTA band ---------- */
.about-close { text-align: center; padding-block: var(--s12);
  background: linear-gradient(hsl(var(--hue-ground) 30% 50% / .08), hsl(var(--hue-ground) 30% 50% / .08));
  border-block: 1px solid var(--line); }
.about-close h2 { font-size: var(--t-xl); }
.about-close p { color: var(--ink-soft); max-width: 60ch; margin: var(--s4) auto 0; line-height: 1.7; }
.about-close a { color: var(--c-know); font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .about-cta-btn, .btn { transition: none !important; transform: none !important; }
}
