/* =========================================================================
   AccessConform — Apex stub stylesheet
   Brand direction B "Warm Clarity" — locked 2026-06-04.
   Atkinson Hyperlegible display · Inter body · JetBrains Mono mono
   Ground: #FAF7F1 (warm ivory) · Ink: #17130E · Primary: #0A5F5A (deep teal)
   WCAG 2.2 AAA minimum (dogfood — this brand must exceed the standard it sells).
   ========================================================================= */

/* ---------- Design tokens (from identity/accessconform/tokens.css) ---------- */
:root {
  --brand-ground:     #FAF7F1;
  --brand-ink:        #17130E;
  --brand-ink-soft:   #4A443B;
  --brand-primary:    #0A5F5A;
  --brand-primary-fg: #FFFFFF;
  --brand-accent:     #155E63;
  --brand-rule:       rgba(23,19,14,.14);
  --brand-surface:    #FFFFFF;

  --font-display: 'Atkinson Hyperlegible', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --ease: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
img { display: block; max-width: 100%; }

/* ---------- Skip link (WCAG 2.4.1) ---------- */
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10000;
  background: var(--brand-primary); color: var(--brand-primary-fg);
  padding: 10px 18px; border-radius: 6px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.875rem;
  text-decoration: none; transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }

/* ---------- Focus ring (AAA-grade teal ring) ---------- */
:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Body ---------- */
body {
  font-family: var(--font-body);
  background: var(--brand-ground);
  color: var(--brand-ink);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Status banner ---------- */
.status-banner {
  background: var(--brand-ground);
  border-bottom: 1px solid var(--brand-rule);
  color: var(--brand-ink-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 8px 16px;
}
.status-banner strong {
  color: var(--brand-primary);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-right: 8px;
}

/* ---------- Main / hero ---------- */
.stub-main {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 96px;
  overflow: hidden;
}

/* Hero photo + teal scrim */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  /* Teal duotone toward #0A5F5A — AAA contrast */
  filter: saturate(1.15) contrast(1.08);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 95, 90, 0.78) 0%,
    rgba(10, 95, 90, 0.68) 40%,
    rgba(10, 50, 45, 0.82) 100%
  );
}

/* ---------- Stub card ---------- */
.stub-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
}

.stub-card {
  text-align: center;
  color: #FFFFFF;
  padding: 0;
}

/* ---------- Wordmark ---------- */
.wm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}
.wm-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
.wm-text .conform {
  /* Teal tint on photo is already deep; keep Conform slightly warmer white */
  color: rgba(255,255,255,0.88);
}
.wm-rule {
  display: block;
  width: 80px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.90) 0%, rgba(255,255,255,0) 100%);
}

/* ---------- Stamp / eyebrow ---------- */
.stub-stamp {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  padding-left: 0.14em;
}

/* ---------- Headline ---------- */
.stub-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 18px;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Signature line (charter §4 verbatim) ---------- */
.stub-sig {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.90);
  max-width: 44ch;
  margin: 0 auto 22px;
}

/* ---------- Lede ---------- */
.stub-lede {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.5vw, 1rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.80);
  max-width: 50ch;
  margin: 0 auto 36px;
}

/* ---------- Contact line ---------- */
.stub-contact {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.85);
  text-align: center;
  margin: 0 auto 32px;
}
.stub-contact a {
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.stub-contact a:hover { opacity: 0.85; }

/* ---------- Standards row ---------- */
.standards {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.dot-sep {
  color: rgba(255,255,255,0.30);
  user-select: none;
}

/* ---------- Footer ---------- */
.stub-foot {
  border-top: 1px solid var(--brand-rule);
  padding: 28px 24px 24px;
}
.stub-foot-in {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.stub-foot .dba {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--brand-ink-soft);
  margin-bottom: 10px;
}
.stub-foot .legal {
  font-size: 0.78rem;
  color: var(--brand-ink-soft);
  line-height: 1.6;
  margin-bottom: 8px;
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
}
.stub-foot .copy {
  font-size: 0.75rem;
  color: var(--brand-ink-soft);
  opacity: 0.7;
}

/* ---------- Screen-reader utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .stub-main { padding: 60px 20px 72px; }
}
