
    :root {
      --bg: #0b0b0d;
      --panel: #121216;
      --panel-2: #17171c;
      --line: #2a2a31;
      --text: #d8d2c4;
      --muted: #948d7f;
      --brass: #c9a227;
      --brass-dim: #8a6f1c;
      --blood: #8b1e1e;
      --serif: Georgia, "Times New Roman", "PT Serif", serif;
      --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }

    a { color: var(--brass); text-decoration: none; }
    a:hover { color: #e6c14a; }

    img, svg { max-width: 100%; display: block; }

    .wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

    /* ---------- header ---------- */

    .site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(11, 11, 13, .88);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--line);
    }

    .header-inner {
      display: flex;
      align-items: center;
      gap: 28px;
      min-height: 72px;
      flex-wrap: wrap;
      padding: 10px 0;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--text);
      flex: 0 0 auto;
    }

    .brand:hover { color: var(--text); }

    .brand-mark {
      width: 38px;
      height: 38px;
      flex: 0 0 auto;
    }

    .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
    .brand-title {
      font-family: var(--serif);
      font-size: 18px;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--brass);
    }
    .brand-sub {
      font-size: 11px;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .nav {
      display: flex;
      gap: 22px;
      flex-wrap: wrap;
      margin-left: auto;
      font-size: 14px;
      letter-spacing: .04em;
    }
    .nav a { color: var(--muted); }
    .nav a:hover { color: var(--text); }

    /* ---------- hero ---------- */

    .hero {
      position: relative;
      overflow: hidden;
      border-bottom: 1px solid var(--line);
      background:
        radial-gradient(900px 420px at 15% -10%, rgba(201, 162, 39, .12), transparent 65%),
        radial-gradient(700px 380px at 95% 10%, rgba(139, 30, 30, .16), transparent 60%),
        linear-gradient(180deg, #101014 0%, #0b0b0d 100%);
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
      background-size: 56px 56px;
      mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 80%);
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      z-index: 1;
      padding: 92px 0 78px;
      max-width: 820px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 12px;
      letter-spacing: .26em;
      text-transform: uppercase;
      color: var(--brass);
      margin-bottom: 22px;
    }
    .eyebrow::before {
      content: "";
      width: 34px;
      height: 1px;
      background: var(--brass-dim);
    }

    h1 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(30px, 5vw, 54px);
      line-height: 1.12;
      letter-spacing: .01em;
      margin: 0 0 22px;
      color: #efe9db;
    }

    .hero p {
      font-size: clamp(16px, 2vw, 19px);
      color: var(--muted);
      max-width: 640px;
      margin: 0 0 34px;
    }

    .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

    .btn {
      display: inline-block;
      padding: 12px 24px;
      border: 1px solid var(--brass-dim);
      color: var(--brass);
      font-size: 14px;
      letter-spacing: .1em;
      text-transform: uppercase;
      transition: background .18s ease, color .18s ease, border-color .18s ease;
    }
    .btn:hover { background: var(--brass); color: #14110a; border-color: var(--brass); }
    .btn-ghost { border-color: var(--line); color: var(--text); }
    .btn-ghost:hover { background: var(--panel-2); color: var(--text); border-color: var(--muted); }

    /* ---------- stats ---------- */

    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border-bottom: 1px solid var(--line);
    }
    .stat {
      padding: 26px 24px;
      border-right: 1px solid var(--line);
    }
    .stat:last-child { border-right: 0; }
    .stat b {
      display: block;
      font-family: var(--serif);
      font-weight: 400;
      font-size: 26px;
      color: var(--brass);
      line-height: 1.2;
    }
    .stat span { font-size: 13px; color: var(--muted); letter-spacing: .04em; }

    /* ---------- sections ---------- */

    section { padding: 74px 0; border-bottom: 1px solid var(--line); }
    section:last-of-type { border-bottom: 0; }

    .section-head { margin-bottom: 38px; max-width: 720px; }
    .section-head .kicker {
      font-size: 12px;
      letter-spacing: .24em;
      text-transform: uppercase;
      color: var(--brass);
      margin-bottom: 10px;
    }
    h2 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(24px, 3.2vw, 34px);
      line-height: 1.2;
      margin: 0 0 12px;
      color: #ece6d8;
    }
    .section-head p { margin: 0; color: var(--muted); }

    .grid { display: grid; gap: 18px; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }

    .card {
      background: linear-gradient(180deg, var(--panel-2), var(--panel));
      border: 1px solid var(--line);
      padding: 26px;
      transition: border-color .18s ease, transform .18s ease;
    }
    .card:hover { border-color: #3b3b45; transform: translateY(-2px); }

    .card .tag {
      display: inline-block;
      font-size: 11px;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--brass);
      border: 1px solid rgba(201, 162, 39, .35);
      padding: 3px 8px;
      margin-bottom: 16px;
    }

    .card h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 21px;
      line-height: 1.3;
      margin: 0 0 10px;
      color: #e9e3d5;
    }
    .card p { margin: 0; color: var(--muted); font-size: 15px; }
    .card p + p { margin-top: 10px; }

    .card .meta {
      margin-top: 18px;
      padding-top: 14px;
      border-top: 1px solid var(--line);
      font-size: 12px;
      letter-spacing: .06em;
      color: #7d776b;
      display: flex;
      justify-content: space-between;
      gap: 10px;
    }

    /* ---------- article ---------- */

    .article {
      display: grid;
      grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
      gap: 44px;
      align-items: start;
    }
    .article h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 22px;
      color: #e9e3d5;
      margin: 28px 0 10px;
    }
    .article h3:first-child { margin-top: 0; }
    .article p { margin: 0 0 14px; color: #b9b2a3; }
    .article ul { margin: 0 0 14px; padding-left: 20px; color: #b9b2a3; }
    .article li { margin-bottom: 7px; }

    .aside {
      background: var(--panel);
      border: 1px solid var(--line);
      border-top: 2px solid var(--blood);
      padding: 26px;
    }
    .aside h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 20px;
      margin: 0 0 14px;
      color: #e9e3d5;
    }
    .aside p { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
    .aside dl { margin: 0; font-size: 14px; }
    .aside dt { color: #7d776b; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-top: 12px; }
    .aside dd { margin: 2px 0 0; color: var(--text); }

    /* ---------- factions ---------- */

    .faction {
      background: var(--panel);
      border: 1px solid var(--line);
      padding: 22px;
      border-left: 3px solid var(--line);
      transition: border-left-color .18s ease, background .18s ease;
    }
    .faction:hover { border-left-color: var(--brass); background: var(--panel-2); }
    .faction h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 19px;
      margin: 0 0 6px;
      color: #e9e3d5;
    }
    .faction .role {
      font-size: 11px;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--brass);
      margin-bottom: 10px;
    }
    .faction p { margin: 0; font-size: 14px; color: var(--muted); }

    /* ---------- books ---------- */

    .book-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
    .book {
      display: grid;
      grid-template-columns: 190px 1fr auto;
      gap: 22px;
      align-items: baseline;
      padding: 20px 4px;
      border-bottom: 1px solid var(--line);
    }
    .book .name {
      font-family: var(--serif);
      font-size: 18px;
      color: #e9e3d5;
    }
    .book .author { color: var(--muted); font-size: 14px; }
    .book .cycle { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); white-space: nowrap; }

    /* ---------- quote ---------- */

    .quote {
      border-left: 3px solid var(--blood);
      padding: 8px 0 8px 28px;
      margin: 0;
      font-family: var(--serif);
      font-size: clamp(20px, 2.6vw, 28px);
      line-height: 1.45;
      color: #e6dfd0;
    }
    .quote cite {
      display: block;
      margin-top: 14px;
      font-family: var(--sans);
      font-style: normal;
      font-size: 12px;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--muted);
    }

    /* ---------- footer ---------- */

    .site-footer {
      border-top: 1px solid var(--line);
      padding: 42px 0 54px;
      background: #09090b;
    }
    .footer-inner {
      display: flex;
      gap: 32px;
      justify-content: space-between;
      flex-wrap: wrap;
      font-size: 13px;
      color: #7d776b;
    }
    .footer-inner p { margin: 0 0 8px; max-width: 560px; }
    .footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
    .footer-links a { color: var(--muted); }
    .footer-links a:hover { color: var(--text); }

    @media (max-width: 900px) {
      .grid-4 { grid-template-columns: repeat(2, 1fr); }
      .grid-3 { grid-template-columns: repeat(2, 1fr); }
      .article { grid-template-columns: 1fr; gap: 32px; }
      .stats { grid-template-columns: repeat(2, 1fr); }
      .stat:nth-child(2) { border-right: 0; }
      .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
    }

    @media (max-width: 620px) {
      .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
      .hero-inner { padding: 64px 0 56px; }
      .nav { gap: 14px; font-size: 13px; }
      .book { grid-template-columns: 1fr; gap: 4px; }
      .book .cycle { justify-self: start; }
      section { padding: 54px 0; }
    }
  
    /* ---------- subpages ---------- */

    .crumbs {
      padding: 26px 0 0;
      font-size: 11px;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: #6f6a60;
    }
    .crumbs a { color: #6f6a60; }
    .crumbs a:hover { color: var(--text); }
    .crumbs .sep { margin: 0 9px; color: #45413a; }

    .page-head {
      border-bottom: 1px solid var(--line);
      background:
        radial-gradient(760px 340px at 10% -20%, rgba(201, 162, 39, .10), transparent 65%),
        linear-gradient(180deg, #101014 0%, #0b0b0d 100%);
      padding: 40px 0 52px;
    }
    .page-head h1 {
      font-size: clamp(26px, 4.4vw, 44px);
      margin: 0 0 16px;
      max-width: 900px;
    }
    .page-head .lead {
      color: var(--muted);
      font-size: clamp(15px, 1.8vw, 18px);
      max-width: 780px;
      margin: 0;
    }

    .toc {
      border: 1px solid var(--line);
      background: var(--panel);
      padding: 22px 26px;
      margin: 40px 0 0;
    }
    .toc h2 {
      font-family: var(--sans);
      font-size: 12px;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--brass);
      margin: 0 0 14px;
    }
    .toc ol {
      margin: 0;
      padding-left: 18px;
      columns: 2;
      column-gap: 34px;
      font-size: 14px;
      color: var(--muted);
    }
    .toc li { margin-bottom: 7px; break-inside: avoid; }
    .toc a { color: var(--text); }
    .toc a:hover { color: var(--brass); }

    .more { margin-top: 16px; font-size: 14px; }
    .more a { letter-spacing: .06em; }

    .timeline {
      list-style: none;
      margin: 0;
      padding: 0 0 0 28px;
      border-left: 1px solid var(--line);
    }
    .timeline li { position: relative; padding-bottom: 26px; }
    .timeline li:last-child { padding-bottom: 0; }
    .timeline li::before {
      content: "";
      position: absolute;
      left: -33px;
      top: 7px;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--brass);
      box-shadow: 0 0 0 4px rgba(201, 162, 39, .12);
    }
    .timeline .when {
      font-size: 11px;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--brass);
    }
    .timeline .what {
      font-family: var(--serif);
      font-size: 19px;
      color: #e9e3d5;
      margin: 3px 0 7px;
    }
    .timeline p { margin: 0; color: var(--muted); font-size: 15px; }

    .table-wrap {
      overflow-x: auto;
      border: 1px solid var(--line);
      background: var(--panel);
    }
    table.kv {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
      min-width: 560px;
    }
    table.kv th, table.kv td {
      padding: 13px 18px;
      text-align: left;
      vertical-align: top;
      border-bottom: 1px solid var(--line);
    }
    table.kv th {
      font-weight: 400;
      font-size: 11px;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--brass);
      white-space: nowrap;
    }
    table.kv td { color: #b9b2a3; }
    table.kv tr:last-child td { border-bottom: 0; }
    table.kv tbody tr:hover td { background: rgba(255, 255, 255, .015); }

    .note {
      border-left: 3px solid var(--brass-dim);
      background: var(--panel);
      padding: 18px 22px;
      font-size: 15px;
      color: var(--muted);
    }
    .note strong { color: var(--text); }
    .note p { margin: 0; }
    .note p + p { margin-top: 10px; }

    .faction-block {
      border: 1px solid var(--line);
      background: var(--panel);
      padding: 28px 30px;
    }
    .faction-block h2 {
      margin: 0 0 6px;
      font-size: clamp(22px, 2.6vw, 28px);
    }
    .faction-block .block-role {
      font-size: 11px;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--brass);
      margin-bottom: 16px;
    }
    .faction-block p { color: #b9b2a3; margin: 0 0 12px; }
    .faction-block ul { margin: 0; padding-left: 20px; color: #b9b2a3; }
    .faction-block li { margin-bottom: 7px; }

    .pager {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      padding-top: 8px;
    }

    @media (max-width: 620px) {
      .toc ol { columns: 1; }
      .page-head { padding: 32px 0 40px; }
      .faction-block { padding: 22px 20px; }
    }
    /* ---------- artwork ---------- */

    .hero-art {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: min(54%, 760px);
      opacity: .55;
      pointer-events: none;
      mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
    }
    .hero-art img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: right top;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }
    .gallery figure {
      margin: 0;
      border: 1px solid var(--line);
      background: var(--panel);
      overflow: hidden;
      transition: border-color .18s ease;
    }
    .gallery figure:hover { border-color: #3b3b45; }
    .gallery img {
      display: block;
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      opacity: .92;
    }
    .gallery figcaption {
      padding: 12px 15px;
      font-size: 12px;
      letter-spacing: .05em;
      color: #7d776b;
      border-top: 1px solid var(--line);
    }

    .figure {
      margin: 0 0 28px;
      border: 1px solid var(--line);
      background: var(--panel);
      overflow: hidden;
    }
    .figure img { display: block; width: 100%; height: auto; }
    .figure figcaption {
      padding: 12px 16px;
      font-size: 12px;
      letter-spacing: .04em;
      color: #7d776b;
      border-top: 1px solid var(--line);
    }

    @media (max-width: 900px) {
      .hero-art { display: none; }
      .gallery { grid-template-columns: 1fr; }
      .gallery img { aspect-ratio: 16 / 9; }
    }