/* ============================================================
   Robert J Shaker II — personal brand site
   Shared brand layer. Cross-Functional Product Process system.
   Purple analyst-report aesthetic · Arial · flat · typographic.
   ============================================================ */

/* ---- Tokens ---- */
:root {
  --midnight-plum: #2B1B4D;
  --royal-violet:  #6C3FC5;
  --orchid:        #9D7BE0;
  --lavender-mist: #EFEAF8;
  --ink:           #221A33;
  --slate:         #6F6A7D;
  --white:         #FFFFFF;
  --code-fill:     #F5F3FA;
  --hairline:      #DDDADF;
  --orchid-soft:   #C9BCE8;
  --lavender-deep: #E2D8F2;

  --font-sans: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;
  --font-mono: Consolas, "SFMono-Regular", Menlo, monospace;

  --ls-eyebrow: 0.08em;
  --ls-caps:    0.06em;

  --shadow-card: 0 1px 2px rgba(34, 26, 51, 0.06), 0 8px 24px rgba(34, 26, 51, 0.06);
  --shadow-panel: 0 12px 40px rgba(43, 27, 77, 0.18);

  --maxw: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--royal-violet); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0; }

/* ---- Brand atoms ---- */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--orchid);
  margin: 0;
}
.eyebrow--on-dark { color: var(--orchid); }

.accent-rule {
  width: 56px;
  height: 4px;
  background: var(--royal-violet);
  border: 0;
  margin: 0;
}
.accent-rule--orchid { background: var(--orchid); }

.dotsep { color: var(--orchid); padding: 0 0.5em; }

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--royal-violet);
  background: var(--lavender-mist);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}
.badge--on-dark {
  color: var(--orchid);
  background: rgba(157, 123, 224, 0.16);
}

/* Square-bullet list — the one and only list marker */
.sq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sq-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}
.sq-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--royal-violet);
  font-size: 14px;
}
.sq-list--orchid li::before { color: var(--orchid); }
.sq-list--on-dark li::before { color: var(--orchid); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn--primary {
  background: var(--royal-violet);
  color: var(--white);
}
.btn--primary:hover { background: #5a31ab; }
.btn--on-dark {
  background: var(--white);
  color: var(--midnight-plum);
}
.btn--on-dark:hover { background: var(--lavender-mist); }
.btn--ghost {
  background: transparent;
  color: var(--royal-violet);
  border-color: var(--royal-violet);
}
.btn--ghost:hover { background: var(--lavender-mist); }
.btn--ghost-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn .arrow { font-size: 1.1em; line-height: 0; }

/* Cards — Lavender fill, thick Royal Violet edge rule */
.card {
  background: var(--lavender-mist);
  border-radius: 4px;
  padding: 28px 30px;
  border-top: 4px solid var(--royal-violet);
}
.card--left { border-top: 0; border-left: 4px solid var(--royal-violet); }

.numeral {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--orchid);
  font-variant-numeric: tabular-nums;
}

/* Stat */
.stat-num {
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--royal-violet);
  font-variant-numeric: tabular-nums;
}
.stat-num--on-dark { color: var(--white); }
.stat-label {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.4;
  margin-top: 8px;
}
.stat-label--on-dark { color: var(--orchid-soft); }

/* Section scaffolding */
.section { padding: 96px 32px; }
.section__inner { max-width: var(--maxw); margin: 0 auto; }
.section--plum { background: var(--midnight-plum); color: var(--white); }
.section--lav { background: var(--lavender-mist); }

.section--plum .eyebrow { color: var(--orchid); }
.section--plum h2, .section--plum h3 { color: var(--white); }

.lead { font-size: 20px; line-height: 1.5; color: var(--ink); }
.section--plum .lead { color: var(--orchid-soft); }

.muted { color: var(--slate); }

/* anchor offset for sticky nav */
[id] { scroll-margin-top: 84px; }

/* Reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}
