/* 1xbet-casino9.info — лендинг 1xBet / 1хБет. Концепт «Икс-Печать»: медная сургучная печать официального сайта, кремовый пергамент, эспрессо-фон. */

:root {
  --bg: #140d09;
  --bg-2: #1e150d;
  --bg-3: #2a1d12;
  --line: #3a2a1a;
  --line-2: #4d3925;
  --txt: #f3ebdd;
  --txt-d: #c2b29a;
  --txt-dd: #8a7a62;
  --acc: #e08a3e;
  --acc-2: #f0b964;
  --acc-deep: #c75a26;
  --hot-a: #e88a3a;
  --hot-b: #a8451d;
  --rust: #d4562a;
  --good: #8bcf7a;
  --r: 13px;
  --r-s: 8px;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0;
  font: 16px/1.64 "Alegreya Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Arial, sans-serif;
  color: var(--txt);
  background:
    radial-gradient(960px 560px at 88% -8%, rgba(224, 138, 62, .16) 0%, transparent 60%),
    radial-gradient(760px 540px at -8% 64%, rgba(240, 185, 100, .07) 0%, transparent 62%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto }
a { color: var(--acc); text-decoration: none }
a:hover { text-decoration: underline }

h1, h2, h3, h4 {
  font-family: "Old Standard TT", Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.tomark {
  position: absolute; top: -44px; left: 8px;
  padding: 8px 13px; background: var(--acc-2); color: #1a0f06;
  border-radius: 6px; z-index: 100; font-weight: 700;
}
.tomark:focus { top: 8px }

/* ===== MASTHEAD ===== */
.masthead {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(20, 13, 9, .84);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 50;
}
.signet { display: flex; align-items: center; gap: 11px; color: var(--txt) }
.signet:hover { text-decoration: none }
.signet__svg {
  width: 32px; height: 32px; flex: none;
  filter: drop-shadow(0 0 9px rgba(224, 138, 62, .55));
}
.signet__t {
  font-family: "Old Standard TT", Georgia, serif;
  font-weight: 700; line-height: 1; letter-spacing: .2px; font-size: 19px;
}
.signet__sub {
  display: block; font-size: 10px; color: var(--txt-d);
  letter-spacing: 2.6px; font-weight: 500; margin-top: 4px;
  text-transform: uppercase; font-family: "Alegreya Sans", sans-serif;
}
.tabset { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap }
.tabset a {
  color: var(--txt-d); font-size: 14px; padding: 4px 0;
  border-bottom: 1px solid transparent; transition: color .15s, border-color .15s;
}
.tabset a:hover { color: var(--acc); border-bottom-color: var(--acc); text-decoration: none }

/* ===== PRESS (кнопки) ===== */
.press {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px; border-radius: 9px;
  font-family: "Alegreya Sans", system-ui, sans-serif;
  font-weight: 700; font-size: 14px;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .15s, box-shadow .2s, background .2s;
  cursor: pointer; letter-spacing: .1px;
}
.press:hover { text-decoration: none; transform: translateY(-1px) }
.press--mini { background: var(--bg-3); color: var(--txt); border-color: var(--line) }
.press--mini:hover { background: var(--bg-2); border-color: var(--acc) }
.press--big { padding: 15px 28px; font-size: 15px; border-radius: 11px }
.press--hot {
  background: linear-gradient(118deg, var(--hot-a) 0%, var(--hot-b) 100%);
  color: #fff4e8; border: 0;
  box-shadow: 0 13px 30px -11px rgba(224, 138, 62, .8);
}
.press--hot:hover { box-shadow: 0 17px 38px -9px rgba(224, 138, 62, .95) }
.press--ghost { background: transparent; color: var(--txt); border-color: var(--line-2) }
.press--ghost:hover { border-color: var(--acc); color: var(--acc) }

/* ===== READOUT STRIP ===== */
.readout {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; padding: 10px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(224, 138, 62, .05), rgba(240, 185, 100, .03));
  font-size: 13px;
}
.readout__cell {
  display: flex; flex-direction: column; gap: 2px;
  padding: 6px 14px;
  border-right: 1px solid var(--line);
  align-items: flex-start;
}
.readout__cell:last-child { border-right: 0 }
.readout__num {
  font-family: "Old Standard TT", Georgia, serif;
  font-weight: 700; font-size: 16px; color: var(--acc);
  letter-spacing: .2px;
}
.readout__lbl { font-size: 11px; color: var(--txt-d); letter-spacing: .6px; text-transform: uppercase }

/* ===== FRONTIS (hero) ===== */
.frontis {
  display: grid; grid-template-columns: 1.16fr 1fr; gap: 38px;
  padding: 50px 22px 34px;
  max-width: 1240px; margin: 0 auto;
  align-items: center;
}
.frontis__seal {
  display: inline-block;
  font-size: 11px; letter-spacing: 1.5px; color: var(--acc-2);
  background: rgba(240, 185, 100, .08);
  border: 1px solid rgba(240, 185, 100, .28);
  padding: 6px 13px; border-radius: 999px;
  margin: 0 0 18px;
  text-transform: uppercase; font-weight: 700; font-family: "Alegreya Sans", sans-serif;
}
h1 {
  font-size: clamp(29px, 4.2vw, 47px); line-height: 1.1;
  margin: 0 0 18px; letter-spacing: -.3px;
}
.gilt { color: var(--acc) }
.frontis__sub {
  color: var(--txt-d); font-size: 16px; margin: 0 0 14px; line-height: 1.66;
}
.frontis__btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 28px }
.frontis__plate { margin: 0 }
.frontis__plate-svg {
  display: block; width: 100%; height: auto;
  border-radius: var(--r); border: 1px solid var(--line);
  background:
    radial-gradient(400px 300px at 50% 44%, rgba(224, 138, 62, .26), transparent 62%),
    radial-gradient(360px 300px at 78% 80%, rgba(240, 185, 100, .14), transparent 66%),
    linear-gradient(150deg, #1a110b 0%, #241710 100%);
  aspect-ratio: 16 / 11;
  box-shadow: 0 24px 64px -22px rgba(224, 138, 62, .42);
}
.frontis__plate figcaption {
  margin-top: 12px; font-size: 12px; color: var(--txt-dd);
  font-style: italic; text-align: right;
}

.glyphs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 18px 0 0; border-top: 1px solid var(--line);
}
.glyphs__item { display: flex; flex-direction: column; gap: 2px }
.glyphs__num {
  font-family: "Old Standard TT", Georgia, serif;
  font-size: 26px; font-weight: 700;
  color: var(--acc); letter-spacing: 0;
}
.glyphs__lbl { font-size: 11px; color: var(--txt-d); text-transform: uppercase; letter-spacing: 1.1px }

/* ===== SECTIONS GENERAL ===== */
section {
  max-width: 1240px; margin: 0 auto;
  padding: 56px 22px;
}
section.frontis, section.endowment { padding-top: 36px }
.eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--acc-2); font-weight: 700;
  margin: 0 0 10px; font-family: "Alegreya Sans", sans-serif;
}
h2 {
  font-size: clamp(24px, 3.1vw, 35px); line-height: 1.2;
  margin: 0 0 16px; letter-spacing: -.2px;
}
h3 {
  font-size: clamp(17px, 2vw, 21px); line-height: 1.34;
  margin: 26px 0 10px; color: var(--acc); font-weight: 700; letter-spacing: 0;
}
p { margin: 0 0 14px; color: var(--txt) }
.lede { color: var(--txt-d); font-size: 16px; margin-bottom: 24px; max-width: 800px }

/* ===== INTAKE (три шага) ===== */
.intake__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 22px;
}
.rite {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  position: relative;
}
.rite__num {
  font-family: "Old Standard TT", Georgia, serif;
  position: absolute; top: 12px; right: 22px;
  font-size: 56px; font-weight: 700; line-height: 1;
  color: var(--bg-3);
}
.rite__head {
  font-family: "Old Standard TT", Georgia, serif;
  font-size: 18px; font-weight: 700; margin-bottom: 12px;
  color: var(--acc);
}
.rite p { color: var(--txt-d); font-size: 14px; margin: 0 }

/* ===== CODEX (brand overview) ===== */
.codex h3 {
  border-left: 3px solid var(--acc);
  padding-left: 14px; margin-top: 30px;
}
.codex p { color: var(--txt); line-height: 1.72 }
.hallmarks {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
}
.hallmarks span {
  padding: 7px 13px;
  background: var(--bg-2);
  border: 1px solid var(--acc);
  border-radius: 999px;
  font-size: 12px; color: var(--txt);
  letter-spacing: .3px;
}

/* ===== ENDOWMENT (welcome) ===== */
.endowment {
  background:
    radial-gradient(700px 360px at 80% 26%, rgba(240, 185, 100, .07) 0%, transparent 70%),
    rgba(30, 21, 13, .55);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin: 32px 22px;
  max-width: none;
}
.endowment__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 22px 0 24px;
}
.tranche {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px;
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .15s;
}
.tranche:hover { border-color: var(--acc); transform: translateY(-2px) }
.tranche::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(224, 138, 62, .07), transparent 60%);
  pointer-events: none;
}
.tranche__seq {
  font-family: "Alegreya Sans", sans-serif;
  font-size: 11px; color: var(--acc-2); font-weight: 700;
  letter-spacing: 2px; margin-bottom: 8px; text-transform: uppercase;
}
.tranche__rate {
  font-family: "Old Standard TT", Georgia, serif;
  font-size: 30px; font-weight: 700; line-height: 1;
  color: var(--acc); letter-spacing: 0;
  margin-bottom: 8px;
}
.tranche__head { font-weight: 700; font-size: 15px; margin-bottom: 6px }
.tranche__note { font-size: 13px; color: var(--txt-d); line-height: 1.5 }

/* ===== REGISTRY (слоты) ===== */
.repo {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px; margin: 24px 0;
}
.cartouche {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .15s, border-color .2s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.cartouche:hover {
  transform: translateY(-3px);
  border-color: var(--acc);
  box-shadow: 0 18px 36px -14px rgba(224, 138, 62, .42);
}
.cartouche__face {
  width: 100%; aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  font-family: "Old Standard TT", Georgia, serif;
  font-weight: 700; font-size: 21px; color: rgba(243, 235, 221, .94);
  text-align: center; padding: 14px;
  letter-spacing: 0; line-height: 1.16;
  position: relative; overflow: hidden;
}
.cartouche__face::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(0,0,0,.38) 100%);
  pointer-events: none;
}
.cf-1 { background: linear-gradient(135deg, #3a1c08 0%, #e08a3e 100%) }
.cf-2 { background: linear-gradient(135deg, #2a1605 0%, #f0b964 100%); color: #1a0f06 }
.cf-3 { background: linear-gradient(135deg, #3a1207 0%, #d4562a 100%) }
.cf-4 { background: linear-gradient(135deg, #28200a 0%, #c9a23a 100%); color: #1a0f06 }
.cf-5 { background: linear-gradient(135deg, #401e0c 0%, #ef9d4a 100%) }
.cf-6 { background: linear-gradient(135deg, #2c1408 0%, #b8702e 100%) }
.cf-7 { background: linear-gradient(135deg, #1f2410 0%, #8bcf7a 100%); color: #11160a }
.cf-8 { background: linear-gradient(135deg, #3a1c08 0%, #f0b964 100%); color: #1a0f06 }
.cf-9 { background: linear-gradient(135deg, #381008 0%, #e0623a 100%) }
.cf-10 { background: linear-gradient(135deg, #102433 0%, #4aa6c9 100%) }
.cf-11 { background: linear-gradient(135deg, #2a1206 0%, #e08a3e 100%) }
.cf-12 { background: linear-gradient(135deg, #2a1530 0%, #a06ccf 100%) }

.cartouche h3 { font-size: 15px; margin: 12px 14px 4px; color: var(--txt); font-weight: 700; border: 0; padding: 0 }
.cartouche p { font-size: 12px; color: var(--txt-d); margin: 0 14px 12px; line-height: 1.4 }
.cartouche__go {
  display: block; padding: 10px;
  margin: auto 12px 12px;
  background: var(--bg-3); color: var(--txt);
  text-align: center; border-radius: 6px; font-size: 13px; font-weight: 700;
  border: 1px solid var(--line); transition: all .15s;
}
.cartouche__go:hover { background: var(--acc); border-color: var(--acc); color: #1a0f06; text-decoration: none }

.makers { margin: 22px 0 0 }
.makers__t { font-size: 12px; color: var(--acc-2); margin-bottom: 10px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 700 }
.makers__list { display: flex; flex-wrap: wrap; gap: 8px }
.makers__list span {
  padding: 6px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px; color: var(--txt-d);
}

/* ===== INSIGNIA (лояльность) ===== */
.warrants-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-top: 22px;
}
.warrant {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  transition: border-color .2s;
}
.warrant:hover { border-color: var(--acc-2) }
.warrant__h { font-family: "Old Standard TT", Georgia, serif; font-weight: 700; font-size: 17px; margin-bottom: 10px; color: var(--acc-2) }
.warrant p { color: var(--txt-d); font-size: 14px; margin: 0; line-height: 1.62 }

.escutch {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 8px; margin-top: 14px;
}
.pip {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 8px 12px;
  text-align: center;
  position: relative;
}
.pip::before {
  content: ""; display: block; width: 14px; height: 14px; margin: 0 auto 8px;
  border-radius: 3px; transform: rotate(45deg);
  background: var(--line-2); border: 1px solid var(--line-2);
}
.pip:nth-child(4)::before, .pip:nth-child(5)::before { background: var(--acc); border-color: var(--acc) }
.pip:nth-child(6)::before { background: var(--acc-2); border-color: var(--acc-2) }
.pip:nth-child(4), .pip:nth-child(5) { border-color: var(--acc) }
.pip:nth-child(6) { border-color: var(--acc-2); background: linear-gradient(150deg, var(--bg-2), rgba(240, 185, 100, .09)) }
.pip__name {
  font-family: "Old Standard TT", Georgia, serif;
  font-size: 13px; font-weight: 700; color: var(--txt);
  display: block; line-height: 1; margin-bottom: 5px;
}
.pip__cb { font-size: 11px; color: var(--txt-d) }
.pip:nth-child(6) .pip__name { color: var(--acc-2) }

/* ===== JOUST (турнир) ===== */
.joust {
  background:
    radial-gradient(620px 360px at 50% 50%, rgba(224, 138, 62, .1) 0%, transparent 70%),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin: 32px 22px; max-width: none;
  text-align: center;
}
.joust__btns { margin: 22px 0 28px }
.stakes {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 22px;
}
.stakes > div {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center;
}
.stakes span {
  font-family: "Old Standard TT", Georgia, serif;
  font-size: 22px; font-weight: 700; color: var(--acc);
  margin-bottom: 4px;
}
.stakes em { font-size: 14px; font-weight: 700; font-style: normal; color: var(--txt) }
.stakes i { font-size: 12px; color: var(--txt-d); font-style: normal; line-height: 1.4 }

/* ===== THEATRE (live) ===== */
.theatre__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px; margin-top: 22px;
}
.feature {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  transition: transform .15s, border-color .2s, box-shadow .25s;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--rust);
  box-shadow: 0 18px 36px -14px rgba(212, 86, 42, .42);
}
.feature__face {
  width: 100%; aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  font-family: "Old Standard TT", Georgia, serif;
  font-weight: 700; font-size: 18px; color: rgba(243, 235, 221, .95);
  padding: 12px; text-align: center; letter-spacing: 0;
  position: relative; overflow: hidden;
}
.tf-1 { background: linear-gradient(135deg, #3a1207 0%, #e0623a 100%) }
.tf-2 { background: linear-gradient(135deg, #2a1605 0%, #e08a3e 100%) }
.tf-3 { background: linear-gradient(135deg, #1f2410 0%, #8bcf7a 100%); color: #11160a }
.tf-4 { background: linear-gradient(135deg, #3a1c08 0%, #f0b964 100%); color: #1a0f06 }
.tf-5 { background: linear-gradient(135deg, #102433 0%, #4aa6c9 100%) }
.tf-6 { background: linear-gradient(135deg, #2a1530 0%, #a06ccf 100%) }

.feature__body { padding: 14px 16px 16px; position: relative }
.feature__t { font-family: "Old Standard TT", Georgia, serif; font-weight: 700; font-size: 16px; margin-bottom: 4px }
.feature__s { font-size: 12px; color: var(--txt-d); margin-bottom: 10px }
.feature__mult { font-size: 13px; color: var(--acc-2); font-weight: 600; margin-bottom: 4px }
.feature__bet { font-size: 12px; color: var(--txt-dd) }
.feature__tag {
  position: absolute; top: 12px; right: 16px;
  background: var(--rust); color: #fff;
  padding: 3px 10px; border-radius: 4px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
}

/* ===== COFFER (касса) ===== */
.coffer__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  margin: 22px 0 22px;
}
.conduit {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 18px 14px;
  text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.conduit__n { font-size: 15px; color: var(--txt); font-weight: 700 }
.conduit__d { font-size: 11px; color: var(--txt-d); text-transform: uppercase; letter-spacing: .8px }

.clearing {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 8px;
}
.clearing > div {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.clearing em {
  font-family: "Old Standard TT", Georgia, serif;
  font-size: 16px; color: var(--acc); font-weight: 700; font-style: normal;
}
.clearing span { font-size: 12px; color: var(--txt-d) }

/* ===== ATTEST (отзывы) ===== */
.attest__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 22px;
}
.witness {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.witness__stars { color: var(--acc-2); font-size: 16px; letter-spacing: 4px }
.witness__stars--four .star-off { color: var(--line-2) }
.witness__q { font-size: 14px; line-height: 1.62; color: var(--txt); margin: 0 }
.witness__meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--txt-d);
  border-top: 1px solid var(--line); padding-top: 14px;
}
.witness__ini {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--acc), var(--acc-2));
  border-radius: 50%; color: #1a0f06; font-weight: 700; font-size: 14px;
  flex: none; font-family: "Old Standard TT", Georgia, serif;
}

/* ===== SUMMONS (pre-footer CTA) ===== */
.summons {
  text-align: center; padding: 56px 22px;
  background:
    radial-gradient(600px 320px at 50% 50%, rgba(224, 138, 62, .16) 0%, transparent 70%),
    var(--bg-2);
  border-radius: var(--r);
  margin: 32px 22px;
  border: 1px solid var(--line);
  max-width: none;
}
.summons h2 { margin-bottom: 10px }
.summons p { color: var(--txt-d); margin-bottom: 24px }

/* ===== DOCKET (FAQ) ===== */
.docket h2 { margin-bottom: 22px }
details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 16px 20px;
  margin: 0 0 10px;
  transition: border-color .2s;
}
details[open] { border-color: var(--acc) }
summary {
  cursor: pointer; font-weight: 700; list-style: none;
  position: relative; padding-right: 32px;
  display: flex; align-items: center; min-height: 24px;
  font-family: "Old Standard TT", Georgia, serif;
}
summary::-webkit-details-marker { display: none }
summary::after {
  content: "✦"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px;
  border: 1px solid var(--line); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--acc); font-size: 12px;
  transition: transform .25s;
}
details[open] summary::after { transform: translateY(-50%) rotate(180deg); border-color: var(--acc) }
details p { margin: 12px 0 0; color: var(--txt-d); font-size: 15px; line-height: 1.66 }

/* ===== AFTERWORD (заметка автора) ===== */
.afterword {
  border-top: 1px solid var(--line);
  background: rgba(30, 21, 13, .4);
  max-width: none; margin: 0;
}
.afterword > * { max-width: 1240px; margin-left: auto; margin-right: auto }
.afterword p { color: var(--txt-d); line-height: 1.72; font-size: 15px }

/* ===== IMPRIMATUR (footer) ===== */
.imprimatur {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: rgba(20, 13, 9, .62);
}
.imprimatur__top {
  max-width: 1240px; margin: 0 auto;
  padding: 42px 22px 26px;
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 36px;
}
.imprimatur__brand { font-size: 14px; color: var(--txt-d); line-height: 1.65 }
.imprimatur__logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.imprimatur__logo span { display: flex; flex-direction: column; line-height: 1.1 }
.imprimatur__logo .imp-wm { color: var(--txt); font-size: 16px; font-weight: 700; margin-bottom: 2px; font-family: "Old Standard TT", Georgia, serif }
.imprimatur__legal { font-size: 12px; color: var(--txt-dd); margin: 0; line-height: 1.66 }
.imprimatur__legal .imp-op { color: var(--acc); font-weight: 700 }
.imprimatur__cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.imprimatur__col h4 {
  font-family: "Alegreya Sans", system-ui, sans-serif;
  font-size: 12px; color: var(--acc-2); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.4px;
  margin: 0 0 12px;
}
.imprimatur__col ul { list-style: none; padding: 0; margin: 0 }
.imprimatur__col li {
  font-size: 13px; color: var(--txt-d);
  padding: 4px 0; cursor: default;
  transition: color .15s;
}
.imprimatur__col li:hover { color: var(--txt) }
.imprimatur__bottom {
  border-top: 1px solid var(--line);
  padding: 16px 22px;
  max-width: 1240px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: var(--txt-dd);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .endowment__grid { grid-template-columns: repeat(2, 1fr) }
  .coffer__grid { grid-template-columns: repeat(3, 1fr) }
  .stakes { grid-template-columns: repeat(2, 1fr) }
  .attest__grid { grid-template-columns: 1fr }
  .imprimatur__top { grid-template-columns: 1fr }
  .readout { grid-template-columns: repeat(3, 1fr) }
  .readout__cell:nth-child(4), .readout__cell:nth-child(5) { border-top: 1px solid var(--line); padding-top: 8px }
  .escutch { grid-template-columns: repeat(3, 1fr) }
}
@media (max-width: 880px) {
  .frontis { grid-template-columns: 1fr; gap: 24px; padding-top: 32px }
  .frontis__plate { order: -1 }
  .tabset { display: none }
  .masthead { padding: 11px 14px }
  section { padding: 38px 16px }
  .endowment, .joust, .summons { padding: 36px 18px; margin: 22px 14px }
  .intake__grid { grid-template-columns: 1fr }
  .warrants-grid { grid-template-columns: 1fr }
  .imprimatur__top { padding: 30px 16px 22px; gap: 22px }
  .imprimatur__cols { grid-template-columns: repeat(2, 1fr); gap: 18px }
  .readout { padding: 8px 14px; grid-template-columns: repeat(2, 1fr); font-size: 12px }
  .readout__cell { padding: 4px 10px }
  .clearing { grid-template-columns: 1fr }
  .glyphs { grid-template-columns: repeat(2, 1fr) }
  .endowment__grid { grid-template-columns: 1fr }
}
@media (max-width: 480px) {
  .repo { grid-template-columns: repeat(2, 1fr); gap: 10px }
  .theatre__grid { grid-template-columns: 1fr }
  .cartouche h3 { font-size: 13px }
  .cartouche p { font-size: 11px }
  .cartouche__face { font-size: 16px }
  .frontis__btns { flex-direction: column; align-items: stretch }
  .press--big { width: 100% }
  .coffer__grid { grid-template-columns: repeat(2, 1fr) }
  .stakes { grid-template-columns: 1fr }
  .imprimatur__cols { grid-template-columns: 1fr }
  .escutch { grid-template-columns: repeat(2, 1fr) }
}
