/* Player Analytics Group — corporate identity per PAG Brand & Style Guide v1.0
   Beige ground · Family Navy voice · PAG Gold signature. Teal retired. */

:root {
  --paper: #FDFAF0;       /* lighter, yellower beige (Andy edit #3) */
  --paper-deep: #F3ECD6;
  --card: #FFFFFF;
  --navy: #0A1C33;        /* family navy — logo, nav, headings, entity name */
  --ink: #22303F;
  --muted: #56636F;
  --line: #E7DFC5;
  --gold: #C8960C;
  --gold-bright: #F0B830;
  --gold-soft: #F6EBCB;
}

* { 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;
  color: var(--navy);
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

.pag-name { color: var(--navy); font-weight: 600; }

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

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 250, 240, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand:hover { color: inherit; }
.brand-mark { display: block; color: var(--navy); }
.brand-mark svg { width: 64px; height: 64px; display: block; }
.brand-name { font-weight: 600; font-size: 17px; white-space: nowrap; letter-spacing: 0.01em; color: var(--navy); }
.brand-name small {
  display: block; font-weight: 500; font-size: 10px; white-space: nowrap;
  color: var(--gold); letter-spacing: 0.09em; text-transform: uppercase; margin-top: 2px;
}
.site-nav { display: flex; gap: 17px; flex-wrap: nowrap; }
.site-nav a { color: var(--navy); font-size: 13px; font-weight: 500; white-space: nowrap; }
.site-nav a:hover { color: var(--gold); }

/* ============ Hero ============ */
.hero { padding: 84px 0 60px; }
.hero h1 { font-size: clamp(32px, 4.8vw, 50px); max-width: 22ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede {
  margin-top: 24px; max-width: 64ch;
  font-size: 19.5px; line-height: 1.6; color: var(--muted);
}
.hero .lede strong { color: var(--navy); font-weight: 600; }
.cta-row { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-block; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 10px;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #13294a; color: #fff; }
.btn-ghost { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ============ Hero 2 band (flagship / players) ============ */
.hero-band {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 60px;
}
.hero-band .band-kicker {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.hero-band h2 { font-size: clamp(26px, 3.6vw, 38px); max-width: 26ch; }
.hero-band h2 em { font-style: normal; color: var(--gold); }
.hero-band .lede { margin-top: 18px; max-width: 62ch; font-size: 17.5px; color: var(--muted); }
.hero-band .lede strong { color: var(--navy); }
.hero-band .cta-row { margin-top: 26px; }

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

/* ============ Brand cards (Who We Are) ============ */
.brand-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.bcard {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 24px; display: flex; flex-direction: column; gap: 8px;
}
.bcard.parent { border-top: 4px solid var(--navy); }
.bcard.product { border-top: 4px solid var(--gold); }
.bcard .mini-mark { color: var(--navy); }
.bcard .mini-mark svg { width: 44px; height: 44px; }
.bcard h3 { font-size: 19px; }
.bcard .sub { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.bcard p { font-size: 14.5px; color: var(--muted); flex-grow: 1; }
.bcard a.more { font-size: 14px; font-weight: 600; }
.endorse {
  margin-top: 22px; padding: 15px 20px; background: var(--gold-soft);
  border-radius: 10px; font-size: 14.5px; color: var(--ink); max-width: 70ch;
}

/* ============ Capabilities (What We Do) ============ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 24px; }
.pillar h3 { font-size: 18px; }
.pillar p { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.pillar .proof { margin-top: 12px; font-size: 13px; color: var(--muted); font-style: italic; border-top: 1px solid var(--line); padding-top: 10px; }

/* ============ Triptych ============ */
.triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 20px 16px; }
.panel svg { width: 100%; height: auto; display: block; }
.panel h3 { font-size: 17px; margin-top: 12px; }
.panel p { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.55; }
.panel .tag { font-size: 16px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }

/* ============ Legend (Why We're Good At It) ============ */
.legend { display: grid; grid-template-columns: 250px 1fr; gap: 44px; align-items: start; }
.legend-card {
  background: var(--navy); color: #E8E2D2; border-radius: 12px;
  padding: 28px 24px; text-align: center;
}
.legend-card .mini-mark { color: var(--gold); margin-bottom: 12px; }
.legend-card .mini-mark svg { width: 72px; height: 72px; }
.legend-card h3 { font-size: 20px; color: #fff; }
.legend-card p { font-size: 13px; color: #B7AE95; margin-top: 4px; }
.creds { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cred { border-top: 3px solid var(--gold); padding-top: 12px; }
.cred b { display: block; font-size: 15px; color: var(--navy); }
.cred span { font-size: 13.5px; color: var(--muted); }

/* ============ Commitments ============ */
.commitments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.commit { border-top: 3px solid var(--navy); padding-top: 16px; }
.commit h3 { font-size: 18px; }
.commit p { font-size: 14.5px; color: var(--muted); margin-top: 8px; }

/* ============ Streams (Who We Serve) ============ */
.streams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.stream { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; display: flex; flex-direction: column; }
.stream h3 { font-size: 20px; }
.stream .model { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 4px 0 12px; }
.stream p { font-size: 14.5px; color: var(--muted); }
.stream ul { margin: 12px 0 0; padding: 0; list-style: none; flex-grow: 1; }
.stream li { font-size: 14px; 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(--gold-bright); border: 1.5px solid var(--gold);
}

/* ============ Data Security ============ */
.security { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.facts { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 24px; }
.facts .row { padding: 13px 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(--gold); }
.facts dd { font-size: 14.5px; margin-top: 3px; color: var(--ink); }

/* ============ CTA band ============ */
.cta-band { background: var(--navy); border-top: none; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); max-width: 24ch; }
.cta-band p { color: #B7AE95; margin-top: 14px; max-width: 62ch; font-size: 16.5px; }
.cta-band .btn-gold { background: linear-gradient(135deg, #C8960C, #E0A420); color: var(--navy); margin-top: 28px; }
.cta-band .btn-gold:hover { filter: brightness(1.07); color: var(--navy); }

/* ============ 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; }
.footer-mark { color: var(--navy); margin-bottom: 10px; }
.footer-mark svg { width: 48px; height: 48px; display: block; }
.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(--navy); margin-bottom: 8px;
}
.site-footer ul { list-style: none; }
.site-footer li { font-size: 14px; padding: 2px 0; }

/* ============ Responsive ============ */
@media (max-width: 880px) {
  .brand-cards, .pillars, .triptych, .commitments, .streams { grid-template-columns: 1fr; }
  .legend { grid-template-columns: 1fr; gap: 26px; }
  .legend-card { max-width: 320px; }
  .creds { grid-template-columns: 1fr; }
  .security { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .hero { padding: 54px 0 44px; }
  section { padding: 52px 0; }
  .brand-mark svg { width: 52px; height: 52px; }
}

/* ============ Org tree (Who We Are) ============ */
.tree-parent { display: flex; justify-content: center; margin-top: 34px; }
.tree-parent .bcard { max-width: 440px; }
.tree-drop { width: 2px; height: 28px; background: var(--navy); margin: 0 auto; }
.brand-cards.five { grid-template-columns: repeat(3, 1fr); row-gap: 48px; position: relative; padding-top: 30px; }
.brand-cards.five::before {
  content: ""; position: absolute; top: 0; left: 16.66%; right: 16.66%;
  height: 2px; background: var(--navy);
}
.brand-cards.five .bcard { position: relative; }
.brand-cards.five .bcard::before {
  content: ""; position: absolute; top: -30px; left: 50%; margin-left: -1px;
  width: 2px; height: 24px; background: var(--navy);
}
.brand-cards.five .bcard::after {
  content: ""; position: absolute; top: -9px; left: 50%; margin-left: -5px;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 7px solid var(--navy);
}
.brand-cards.five .bcard:nth-child(n+4)::before { top: -46px; height: 40px; }
@media (max-width: 880px) {
  .brand-cards.five { grid-template-columns: 1fr; row-gap: 34px; padding-top: 0; }
  .brand-cards.five::before { display: none; }
  .brand-cards.five .bcard::before, .brand-cards.five .bcard::after { display: none; }
  .tree-drop { display: none; }
}
