/* BRMSTE truth plane · Brand Guidelines v1.0 · flat gold #C9A94E on #0A0A0A
   Dark brand theme 2026-07-02 — all legacy selectors preserved. */
@import url("/brmste.css");

:root {
  /* brand constants */
  --paper: #0A0A0A;
  --paper-dim: #111111;
  --ink: #F5F2EB;
  --white: #F5F2EB;
  --muted: #888888;
  --grey: #888888;
  --gold: #C9A94E;
  --gold-light: #E8D48B;
  --gold-dim: #8C7632;
  --gold-fill: rgba(201, 169, 78, 0.10);
  --line: rgba(201, 169, 78, 0.18);
  --border: rgba(201, 169, 78, 0.18);
  --panel: #1A1A1A;
  --ok: #C9A94E;
  --bad: #888888;
  --glasswing-green: #C9A94E;
  --font: "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font);
  font-weight: 300;
  background: var(--paper);
  color: var(--ink);
}

a { color: var(--gold); }
a:hover { color: var(--gold-light); }

.truth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

.brand-mark {
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.3rem 0.55rem;
  border-radius: 0;
}

.brand-with-logo {
  gap: 0.5rem;
  text-transform: none;
  letter-spacing: 0.06em;
}

.brand-logo {
  display: block;
  flex-shrink: 0;
  border-radius: 0;
}

.brand-logo.wordmark {
  height: 24px;
  width: auto;
  max-width: 9rem;
}

.logo-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  background: var(--gold-fill);
  border: 1px solid var(--gold-dim);
  border-radius: 0;
}

.logo-banner img.wordmark {
  height: 36px;
  width: auto;
}

.logo-banner .meta {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.live {
  font-family: var(--font);
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.truth-main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3.25rem 1.5rem 4rem;
  line-height: 1.7;
  font-size: 0.98rem;
}

.kicker {
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
}

h1 {
  font-family: var(--font);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.operator {
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--muted);
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.25rem;
}

section {
  margin-bottom: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line);
}

section:last-of-type { border-bottom: none; }

h2 {
  font-family: var(--font);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.truth-main section > h2:first-child {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.45rem;
  margin-bottom: 0.9rem;
}

.commitment {
  border-left: 2px solid var(--gold);
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: var(--gold-fill);
  border-radius: 0;
}

.commitment h2 { color: var(--gold); }

.lead { font-size: 1.05rem; margin-bottom: 1rem; line-height: 1.7; }

.doctrine {
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}

.glasswing ul { margin: 1rem 0 0 1.25rem; font-size: 0.95rem; }
.glasswing li { margin-bottom: 0.5rem; }

code {
  font-family: var(--brm-mono, ui-monospace, Menlo, monospace);
  font-size: 0.85em;
  background: #0D0D0D;
  color: var(--gold);
  padding: 0.12em 0.4em;
  border-radius: 0;
}

.truth-main p { margin-bottom: 1.05rem; }
.truth-main > p + p { margin-top: 0; }

.truth-main p a,
.truth-main li a,
.honest a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(201, 169, 78, 0.4);
  text-underline-offset: 0.15em;
  transition: text-decoration-color 0.2s, color 0.2s;
}
.truth-main p a:hover,
.truth-main li a:hover,
.honest a:hover {
  color: var(--gold-light);
  text-decoration-color: var(--gold-light);
}

.truth-main ul { margin: 0.9rem 0 0 1.35rem; }
.truth-main li { margin-bottom: 0.55rem; line-height: 1.65; }
.truth-main li::marker { color: var(--gold); }

.truth-links { display: grid; gap: 0.5rem; }

@media (min-width: 480px) {
  .truth-links { grid-template-columns: 1fr 1fr; }
}

.truth-links a {
  display: block;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0;
  text-decoration: none;
  color: var(--gold);
  font-family: var(--brm-mono, ui-monospace, Menlo, monospace);
  font-size: 0.78rem;
  background: var(--panel);
  transition: border-color 0.3s;
}

.truth-links a:hover {
  border-color: var(--gold);
  background: var(--panel);
}

.honest { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }
.note { margin-top: 1rem; font-size: 0.82rem; color: var(--muted); }

.truth-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--paper-dim);
}

/* BRMSTE-INTELLIGENCE — enforced on all glass / truth surfaces */
.brmste-intelligence-strip {
  text-align: center;
  padding: 0.55rem 1rem;
  font-family: var(--font);
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  background: var(--paper-dim);
  border-bottom: 1px solid var(--line);
}

.intel-glass-grid {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0;
}

@media (min-width: 640px) {
  .intel-glass-grid { grid-template-columns: 1fr 1fr; }
}

.intel-glass {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.75rem 0.9rem;
  background: var(--panel);
}

.intel-glass .intel-mark {
  font-family: var(--font);
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.intel-glass .intel-label {
  font-size: 0.88rem;
  margin: 0.2rem 0;
}

.intel-glass .tag {
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 0;
  display: inline-block;
  margin-top: 0.35rem;
}

.intel-glass .tag.wired { color: var(--gold); background: var(--gold-fill); }
.intel-glass .tag.needs { color: var(--muted); background: rgba(136, 136, 136, 0.12); }

/* shared site nav on inner pages */
.truth-nav {
  display: flex;
  gap: 0.15rem;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: 1rem;
}

.truth-nav a {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 0;
}

.truth-nav a:hover {
  color: var(--gold);
  background: none;
}

@media (max-width: 720px) {
  .truth-nav { display: none; }
}

/* tables — spec-doc discipline on dark */
.truth-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.1rem 0;
  font-size: 0.9rem;
}
.truth-main th, .truth-main td {
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.truth-main th {
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
}
.truth-main tr:hover td { background: var(--gold-fill); }

pre {
  background: #0D0D0D;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: 0;
  padding: 0.9rem 1.1rem;
  overflow-x: auto;
  font-family: var(--brm-mono, ui-monospace, Menlo, monospace);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 1.1rem 0;
  color: var(--ink);
}
pre code { background: none; padding: 0; }

/* accessibility */
a:focus-visible, .truth-nav a:focus-visible, .truth-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 0;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--paper);
  padding: 0.5rem 0.9rem;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.75rem;
  z-index: 200;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* print */
@media print {
  .truth-header, .truth-nav, .brmste-intelligence-strip, .live { display: none; }
  body { background: #fff; color: #000; }
  .truth-main { max-width: none; }
  a { color: #000; text-decoration: underline; }
}
