/* Player Analytics Group — corporate identity
   Deliberately distinct from SpinLucki / slottracker.ai:
   light, editorial, professionally restrained. */

:root {
  --paper: #FAF6EB;       /* warm ivory (per Andy: yellow hue, not gray) */
  --card: #FFFFFF;
  --ink: #1A1D23;
  --muted: #5A6170;
  --line: #E8E1CE;
  --accent: #11616B;      /* deep teal */
  --accent-soft: #E7EEE9;
  --amber: #B97C24;       /* sparing secondary accent */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

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

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 235, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand-mark { display: block; color: var(--ink); }
.brand-mark svg { width: 48px; height: 48px; display: block; }
.footer-mark { color: var(--accent); margin-bottom: 10px; }
.footer-mark svg { width: 44px; height: 44px; display: block; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.monogram {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-family: 'Source Serif 4', serif; font-weight: 700; font-size: 15px;
  letter-spacing: 0.04em;
  border-radius: 8px;
}
.brand-name { font-weight: 600; font-size: 16px; letter-spacing: 0.01em; }
.brand-name small {
  display: block; font-weight: 400; font-size: 11.5px;
  color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase;
}
.site-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.site-nav a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.site-nav a:hover { color: var(--accent); text-decoration: none; }

/* ============ Hero ============ */
.hero { padding: 88px 0 64px; }
.kicker {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 5.2vw, 54px); max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede {
  margin-top: 26px; max-width: 62ch;
  font-size: 20px; line-height: 1.6; color: var(--muted);
}
.hero .lede strong { color: var(--ink); font-weight: 600; }

/* ============ Sections ============ */
section { padding: 72px 0; border-top: 1px solid var(--line); }
.sec-label {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 30px;
}
.sec-num {
  font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 600;
  color: var(--amber); letter-spacing: 0.14em;
}
.sec-label h2 { font-size: clamp(26px, 3.4vw, 34px); }
.prose { max-width: 68ch; }
.prose + .prose { margin-top: 18px; }
.prose .lead-in { font-weight: 600; }

/* ============ Triptych (data → perception → decision) ============ */
.triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 22px 18px;
}
.panel svg { width: 100%; height: auto; display: block; }
.panel h3 { font-size: 18px; margin-top: 14px; }
.panel p { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.55; }
.panel .tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}

/* ============ Audience / revenue cards ============ */
.streams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 10px; }
.stream {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 26px; display: flex; flex-direction: column;
}
.stream h3 { font-size: 21px; }
.stream .model {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber); margin: 4px 0 14px;
}
.stream p { font-size: 15px; color: var(--muted); }
.stream ul { margin: 14px 0 0 0; padding: 0; list-style: none; flex-grow: 1; }
.stream li {
  font-size: 14.5px; padding: 8px 0 8px 22px; position: relative;
  border-top: 1px solid var(--line);
}
.stream li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--accent-soft);
  border: 1.5px solid var(--accent);
}

/* ============ Brand architecture ============ */
.arch { margin-top: 12px; }
.arch-tier {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin: 26px 0 10px;
}
.arch-parent, .arch-child {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px;
}
.arch-parent { border-left: 4px solid var(--accent); }
.arch-children { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.arch h3 { font-size: 19px; }
.arch .arch-sub { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.arch p { font-size: 14.5px; color: var(--muted); margin-top: 10px; }
.arch .products { margin-top: 14px; font-size: 14px; }
.arch .products span {
  display: inline-block; margin: 4px 8px 0 0; padding: 4px 12px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 999px; font-weight: 500; font-size: 13px;
}
.arch .products span.future { background: #F1EFE8; color: var(--muted); }
.endorse {
  margin-top: 22px; padding: 16px 20px; background: var(--accent-soft);
  border-radius: 10px; font-size: 14.5px; color: var(--ink); max-width: 68ch;
}

/* ============ Commitments ============ */
.commitments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 10px; }
.commit { border-top: 3px solid var(--accent); padding-top: 18px; }
.commit h3 { font-size: 19px; }
.commit p { font-size: 15px; color: var(--muted); margin-top: 10px; }

/* ============ Founder ============ */
.founder { display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: start; }
.founder-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 24px; text-align: center;
}
.founder-card .monogram { width: 64px; height: 64px; font-size: 22px; margin: 0 auto 14px; border-radius: 12px; }
.founder-card h3 { font-size: 18px; }
.founder-card p { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ============ Stewardship ============ */
.stew { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.facts { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 24px; }
.facts dl { display: grid; grid-template-columns: 1fr; }
.facts .row { padding: 14px 0; border-top: 1px solid var(--line); }
.facts .row:first-child { border-top: none; }
.facts dt {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.facts dd { font-size: 15px; margin-top: 3px; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 56px; background: var(--card); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.site-footer .fine { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.site-footer h4 {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.site-footer ul { list-style: none; }
.site-footer li { font-size: 14px; padding: 2px 0; }

/* ============ Responsive ============ */
@media (max-width: 880px) {
  .triptych, .streams, .commitments { grid-template-columns: 1fr; }
  .arch-children { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; gap: 26px; }
  .founder-card { max-width: 320px; }
  .stew { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .hero { padding: 56px 0 44px; }
  section { padding: 54px 0; }
}
