/* ════════════════════════════════════════════════════════════════
   WIELE GROUP · v19 THREE-DOORS · DOOR-CLASS STYLESHEET (DESKTOP)
   Loaded ONLY on /catalyst/*, /enterprise/*, and the / gateway.
   Sovereign + cross-door + legal pages do NOT load this file.
   2026-04-29 · cache stamp: ?v=20260429-three-doors-r1
   Doctrine: closed visual system (4 fonts, 10 colors), no gradients,
   no drop-shadows on type. Iron Law #1 (canonical Linen Paper) preserved.
   ════════════════════════════════════════════════════════════════ */


/* ═══════════════ GATEWAY ( / ) ═══════════════ */

body.wiele-root.gateway main { padding-bottom: clamp(80px, 12vw, 200px); }

body.wiele-root.gateway .gateway-hero {
  padding: clamp(80px, 12vw, 180px) var(--edge) clamp(40px, 6vw, 80px);
  text-align: center;
}
body.wiele-root.gateway .hero-prelude {
  font-family: var(--marginalia);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 32px;
}
body.wiele-root.gateway .hero-monumental { display: block; margin: 0 auto 32px; }
body.wiele-root.gateway .hero-monumental .cinzel-h1 {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 120px);
  letter-spacing: 0.018em;
  line-height: 0.95;
  color: var(--ink);
  text-transform: uppercase;
}
body.wiele-root.gateway .hero-monumental .gilt-rule {
  color: var(--accent);
  font-style: italic;
}
body.wiele-root.gateway .hero-sub {
  max-width: 56ch;
  margin: 32px auto 64px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-2);
  text-align: center;
}


/* ── Three-door grid ── */
.three-doors {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--edge);
}
@media (max-width: 960px) {
  .three-doors { grid-template-columns: 1fr; gap: 20px; max-width: 480px; }
}

.door-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 48px 32px;
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  box-shadow:
    0 1px 0 rgba(184, 157, 94, 0.08),
    0 2px 4px rgba(36, 28, 16, 0.06);
}
.door-card:hover,
.door-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow:
    0 1px 0 rgba(184, 157, 94, 0.16),
    0 2px 4px rgba(36, 28, 16, 0.10),
    0 14px 28px -8px rgba(36, 28, 16, 0.18);
  outline: none;
}

.door-card .door-tag {
  font-family: var(--marginalia);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.door-card .door-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
  margin: 8px 0 0;
}
.door-card .door-pricepoint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-2);
  margin: 12px 0 0;
}
.door-card .door-cta {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--paper-3);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Door variants — visual differentiation within closed system */
.door-card.door-catalyst {
  background: #EFE7CE; /* lighter parchment · modern editorial register */
}
.door-card.door-catalyst .door-name { letter-spacing: 0.015em; }

.door-card.door-enterprise { background: var(--paper-2); border-color: var(--paper-4); }
.door-card.door-enterprise .micro-stat {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.door-card.door-sovereign { background: var(--paper); border-color: var(--accent); }
.door-card.door-sovereign .door-pricepoint {
  font-family: var(--marginalia);
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--accent);
}
.door-card.door-sovereign::before {
  /* gilt seal · Iron Law §3 — never animated */
  content: '';
  position: absolute;
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* Gateway oath (institutional close) */
body.wiele-root.gateway .oath {
  margin-top: clamp(80px, 10vw, 160px);
  padding: clamp(60px, 8vw, 120px) var(--edge);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
body.wiele-root.gateway .oath .oath-monumental .cinzel-h2 {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: 0.018em;
  line-height: 1;
  color: var(--paper);
  text-transform: uppercase;
}
body.wiele-root.gateway .oath .oath-monumental .gilt-rule {
  color: var(--accent);
  font-style: italic;
}


/* ═══════════════ CATALYST ( /catalyst/* ) ═══════════════ */

body.wiele-root.catalyst .page-hero h1 {
  font-size: clamp(44px, 7vw, 68px);
  letter-spacing: 0.01em;
  line-height: 0.98;
}
body.wiele-root.catalyst .page-hero .lede,
body.wiele-root.catalyst .lede {
  font-size: 21px;
  line-height: 1.45;
  max-width: 52ch;
}
body.wiele-root.catalyst .room { padding-block: clamp(40px, 6vw, 80px); }
body.wiele-root.catalyst .service-detail { padding-block: clamp(40px, 6vw, 80px); }
body.wiele-root.catalyst h2 { font-size: clamp(36px, 6vw, 56px); letter-spacing: 0.012em; }
body.wiele-root.catalyst h3 { font-size: clamp(24px, 3vw, 36px); letter-spacing: 0.012em; }

body.wiele-root.catalyst .wg-btn--primary {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 16px 28px;
  border: 1px solid var(--ink);
  text-decoration: none;
  display: inline-block;
  transition: background 200ms ease;
}
body.wiele-root.catalyst .wg-btn--primary:hover { background: var(--ink-2); }

body.wiele-root.catalyst .wg-btn--secondary {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--accent);
  padding: 16px 28px;
  text-decoration: none;
  display: inline-block;
}

/* Catalyst pricing block */
body.wiele-root.catalyst .pricing-block {
  display: grid;
  gap: 16px;
  padding: 32px;
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
}
body.wiele-root.catalyst .pricing-block .price-figure {
  font-family: var(--display);
  font-weight: 500;
  font-size: 40px;
  color: var(--ink);
  margin: 0;
}
body.wiele-root.catalyst .pricing-block .price-label {
  font-family: var(--marginalia);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
body.wiele-root.catalyst .pricing-block .price-includes {
  list-style: none; margin: 16px 0 0; padding: 0;
  font-family: var(--serif); font-size: 15px; line-height: 1.55; color: var(--ink-2);
}
body.wiele-root.catalyst .pricing-block .price-includes li::before {
  content: '◦  '; color: var(--accent);
}

/* Catalyst division-card grid (used on /catalyst/ home + /catalyst/pricing) */
body.wiele-root.catalyst .division-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-block: clamp(40px, 6vw, 80px);
}
@media (max-width: 880px) {
  body.wiele-root.catalyst .division-grid { grid-template-columns: 1fr; }
}
body.wiele-root.catalyst .division-card {
  display: flex; flex-direction: column;
  padding: 32px 24px;
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 200ms ease, transform 200ms ease;
}
body.wiele-root.catalyst .division-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}


/* ═══════════════ ENTERPRISE ( /enterprise/* ) ═══════════════ */

body.wiele-root.enterprise .page-hero h1 {
  font-size: clamp(52px, 8vw, 84px);
  letter-spacing: 0.015em;
  line-height: 0.98;
}
body.wiele-root.enterprise .page-hero .lede,
body.wiele-root.enterprise .lede {
  font-size: 22px;
  line-height: 1.5;
  max-width: 54ch;
}
body.wiele-root.enterprise .room { padding-block: clamp(60px, 7vw, 100px); }
body.wiele-root.enterprise h2 { font-size: clamp(40px, 7vw, 64px); letter-spacing: 0.014em; }

/* Enterprise proof-grid */
body.wiele-root.enterprise .proof-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px;
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
}
@media (max-width: 880px) {
  body.wiele-root.enterprise .proof-block { grid-template-columns: 1fr; }
}
body.wiele-root.enterprise .proof-block .stat {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--paper-3);
}
body.wiele-root.enterprise .proof-block .stat-figure {
  font-family: var(--display);
  font-weight: 500;
  font-size: 36px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
body.wiele-root.enterprise .micro-stat {
  font-family: var(--marginalia);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 8px;
}

body.wiele-root.enterprise .wg-btn--primary {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 18px 32px;
  border: 1px solid var(--ink);
  text-decoration: none;
  display: inline-block;
}

body.wiele-root.enterprise .engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-block: clamp(40px, 6vw, 80px);
}
@media (max-width: 880px) {
  body.wiele-root.enterprise .engagement-grid { grid-template-columns: 1fr; }
}
body.wiele-root.enterprise .engagement-card {
  padding: 32px 24px;
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
}


/* Sovereign Hearing dual-CTA rules deferred to site.css (next-session refactor) —
   /sovereign/audit loads site.css only per Cowork Decision #2. Until ready,
   the migrated /sovereign/audit page reuses existing .cta + form classes. */


/* ═══════════════ ACCESSIBILITY · prefers-reduced-motion ═══════════════ */

@media (prefers-reduced-motion: reduce) {
  .door-card,
  .door-card:hover,
  .door-card:focus-visible,
  body.wiele-root.catalyst .division-card,
  body.wiele-root.catalyst .division-card:hover { transform: none; transition: none; }
  body.wiele-root.catalyst .wg-btn--primary,
  body.wiele-root.enterprise .wg-btn--primary { transition: none; }
}

/* === END SITE-DOORS · v19 THREE-DOORS · 2026-04-29 === */
