/* ============================================================
   KIR portal artifacts — premium material pass.
   Milled, lit, hairlined. Matches the main site record pages.
   Token-agnostic (literal colors). Loaded AFTER each file's <style>
   so it wins on source order. Dark artifacts only; the paper-style
   vendor database carries its own treatment.
   ============================================================ */

/* 1. De-banded radial depth — a warm espresso light source from the top,
      replacing the flat #0E0C0A field. Fixed so it stays put on scroll. */
body{
  background:radial-gradient(135% 78% at 50% -12%, #241a12 0%, #16100b 42%, #0E0C0A 78%) no-repeat fixed, #0E0C0A;
}

/* 2. Film grain — the texture that separates "premium" from "flat dark page". */
.grain{
  position:fixed;inset:0;z-index:300;pointer-events:none;opacity:.05;mix-blend-mode:overlay;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 3. Milled metallic champagne on display accents (headline italics + stat numerals),
      replacing flat gold. Light at the top edge, deepening toward the base. */
.hero-h1 em,.hero-h em,.sec-h em,.cover-h em,.sect-h em,.hero-meta-val{
  background:linear-gradient(176deg,#F4DDA6 0%,#E3BB72 32%,#DBAD5C 56%,#BC8E40 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
}

/* 4. A soft champagne aura behind each hero — light, not a glow blob. */
.hero{position:relative}
.hero::before{
  content:"";position:absolute;left:50%;top:5%;width:min(680px,92%);height:300px;transform:translateX(-50%);
  background:radial-gradient(60% 60% at 50% 40%,rgba(219,173,92,.11),transparent 70%);pointer-events:none;z-index:0;
}
.hero>*{position:relative;z-index:1}

/* 5. Panels lift off the field with a deep, soft shadow. Unmatched selectors
      simply no-op per file, so this list is a safe superset across templates. */
.ba-table,.sub-track,.sub-panel,.step-grid,.step-detail,.compare-grid,.compare-card,
.psn-grid,.tl-track,.deep,.os-cards,.story,.pgroup,.origin,.persona,.matrix,.cal-grid,
.sched,.gaps-board,.report-sheet,.framework,.canon-grid{
  box-shadow:0 30px 72px -54px rgba(0,0,0,.82);
}
