/* ============================================================
   CAMELOT — The Roundtable (direction 1B) brand layer
   Loads after core.css on /camelot/ only.
   Source of truth: assets/brand/camelot/BRAND_GUIDE.md
   ============================================================ */

body[data-brand="camelot"]{
  /* Camelot tokens */
  --camelot-midnight:#0B0F28;
  --camelot-midnight-raised:#0E1432;
  --camelot-midnight-deep:#070A1B;
  --camelot-gold:#C8A45D;
  --camelot-gilt:#E2C886;
  --camelot-gold-deep:#B98E45;
  --camelot-parchment:#ECE6D8;
  --camelot-text:#E7DDC3;
  --camelot-text-muted:#9098BC;
  --camelot-hairline:rgba(200,164,93,.18);

  /* remap core.css system onto the Camelot palette */
  --ink:var(--camelot-midnight);
  --panel:var(--camelot-midnight-raised);
  --gray:var(--camelot-parchment);
  --ice:var(--camelot-text);
  --paper:var(--camelot-parchment);
  --blue:var(--camelot-midnight);
  --brass:var(--camelot-gold);
  --green:var(--camelot-gold);
  --muted:var(--camelot-text-muted);
  --line:var(--camelot-hairline);
  --line-dark:rgba(11,15,40,.16);
  --accent:var(--camelot-gold);
  --accent-ink:var(--camelot-midnight); /* on parchment, midnight text only */
  --accent-soft:rgba(200,164,93,.14);
  --accent-line:rgba(200,164,93,.4);

  --disp:'Marcellus',Georgia,serif;
  --body:'Outfit',system-ui,sans-serif;
  --mono:'Outfit',system-ui,sans-serif;
  --shadow-card:0 8px 32px rgba(11,15,40,.08);
}

/* surfaces core.css hardcodes */
body[data-brand="camelot"].dark-page{background:var(--camelot-midnight-deep)}
body[data-brand="camelot"] .dark{
  background:linear-gradient(165deg,var(--camelot-midnight-deep) 0%,var(--camelot-midnight) 45%,var(--camelot-midnight-raised) 100%);
}
body[data-brand="camelot"] .cta-band{
  background:linear-gradient(165deg,var(--camelot-midnight-deep) 0%,var(--camelot-midnight) 60%,var(--camelot-midnight-raised) 100%);
}
body[data-brand="camelot"] header.site{background:rgba(11,15,40,.92)}
body[data-brand="camelot"] .hero-veil{
  background:
    radial-gradient(58% 44% at 78% 30%,rgba(200,164,93,.16),transparent 70%),
    radial-gradient(42% 38% at 18% 78%,rgba(14,20,50,.85),transparent 70%);
}

/* wordmark + overline labels (Outfit, tracked, gold) */
body[data-brand="camelot"] .brand-text .tag.sub{color:var(--camelot-gold);letter-spacing:.24em;font-weight:500}
body[data-brand="camelot"] .eyebrow{font-weight:500;letter-spacing:.24em}

/* gold is precious: gilt-gradient primary buttons carry midnight ink */
body[data-brand="camelot"] .btn-accent,
body[data-brand="camelot"] .btn-brass{
  background:linear-gradient(135deg,var(--camelot-gilt),var(--camelot-gold-deep));
  color:var(--camelot-midnight);
}
body[data-brand="camelot"] .skip-link{color:var(--camelot-midnight)}
body[data-brand="camelot"] a:hover{color:var(--camelot-gold-deep)}
body[data-brand="camelot"] .dark a:hover,
body[data-brand="camelot"] footer.site a:hover{color:var(--camelot-gilt)}

/* light (parchment) surfaces: cards read as parchment, not white */
body[data-brand="camelot"] .card,
body[data-brand="camelot"] .feat,
body[data-brand="camelot"] .step{background:#F7F2E6;border-color:var(--line-dark)}
body[data-brand="camelot"] .ice-bg{background:#E4DCC8}
body[data-brand="camelot"] .badge-dev{background:rgba(200,164,93,.18);border-color:rgba(185,142,69,.5)}
body[data-brand="camelot"] .dark .badge-dev{color:var(--camelot-gilt)}
