/* ============================================================
   AI PRACTICE BROKER — BRAND SYSTEM (2026-07-29 redesign)
   "The small firm that operates like the big house."
   Lazard tombstone, not SaaS landing page.
   ============================================================ */

:root {
  /* Surfaces */
  --navy-deep:   #0B1D33;
  --navy-mid:    #16345C;
  --navy:        #16345C;    /* alias used by legacy pages */
  --bronze:      #0B1D33;    /* alias used by legacy pages (dark surface, not literal bronze) */
  --ink:         #0B1D33;
  --paper:       #F4F6F9;
  --ivory:       #F4F6F9;    /* alias used by legacy pages */
  --card-bg:     #FFFFFF;

  /* Accents */
  --silver-blue: #AFC2D6;
  --silver-blue-dim: rgba(175,194,214,0.18);
  --gold:        #B08A3E;
  --gold-lit:    #C7A968;
  --gold-dim:    rgba(176,138,62,0.16);
  --sand:        #D9C3A3;
  --sand-dim:    rgba(217,195,163,0.24);

  /* Text */
  --muted:       #5A6472;
  --warm-rule:   #D7DCE3;
  --text-dim:    #8A93A0;

  /* Type */
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono:  'SF Mono', 'IBM Plex Mono', Menlo, Consolas, monospace;

  --shadow-sm: 0 2px 14px rgba(11,29,51,0.08);
  --shadow:    0 12px 48px rgba(11,29,51,0.16);
}

/* ── Kill legacy green accents wherever brand.css is linked ── */
:root {
  --green: #AFC2D6;
  --green-bg: rgba(175,194,214,0.16);
}

/* ── Masthead / shared header ── */
.brand-masthead {
  padding: 18px 0;
  border-bottom: 1px solid var(--warm-rule);
  background: rgba(244,246,249,0.96);
  backdrop-filter: blur(10px);
}
.brand-masthead .container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-wordmark {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-deep);
}
.brand-wordmark small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}

/* ── Gold hairline rule, prospectus-style ── */
.gold-rule {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(176,138,62,0.15) 60%, transparent 100%);
  margin: 24px 0;
}
.small-caps-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Shared footer ── */
.brand-footer {
  border-top: 1px solid var(--warm-rule);
  padding: 40px 0 56px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  background: var(--paper);
}
.brand-footer a { color: var(--gold); text-decoration: none; }
.brand-footer a:hover { text-decoration: underline; }
.brand-footer .brand-sig {
  font-family: var(--serif);
  color: var(--navy-deep);
  font-size: 13.5px;
  margin-bottom: 6px;
}
.brand-footer .brand-sig .dre { color: var(--muted); font-family: var(--sans); }

/* ── Hero gradient (subtle, blues/silvers) ── */
.brand-hero-gradient {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-mid) 55%, #23486f 100%);
}

/* ── Sand surface (secondary tone, coastal not corporate) ── */
.sand-surface { background: var(--sand-dim); }
.sand-panel { background: var(--sand-dim); border: 1px solid rgba(217,195,163,0.5); }

/* ── Tabular numerals for financials ── */
.tnum, .num { font-variant-numeric: tabular-nums; }

/* ── Reveal-on-scroll (CSS transition, IntersectionObserver toggles .is-visible) ── */
.reveal-init { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-init.is-visible { opacity: 1; transform: translateY(0); }
