/* Casino Kit — editorial ledger. Tokens first; components only use tokens. Site palette: site.php "colors". */

:root {
  --paper: #FFFFFF;
  --paper-raised: #F5F7FB;
  --paper-band: #ECF0F7;
  --ink: #161A2E;
  --ink-soft: #465068;
  --rule: #D3DAE6;
  --teal: #A01840;
  --teal-deep: #6E0E2C;
  --teal-tint: #F8E3EA;
  --teal-light: #F08AA6;
  --saffron: #2F6BFF;
  --saffron-tint: #DCE6FF;
  --narra: #B4530A;
  --narra-tint: #FDEBD8;
  --knot-gap: var(--paper);

  --serif: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 104px;
  --wrap: 1240px;
  --measure: 56rem;   /* one content width for every block in the article column */
  --rail: 248px;
  --gutter: 16px;
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --band-img: url("../illustrations/strand-band.svg");
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--paper); padding: var(--s3) var(--s4); }
.skip:focus { left: var(--s4); top: var(--s4); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.25em; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 var(--s4); letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.1rem); line-height: 1.04; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 var(--s4); }
.eyebrow {
  font: 500 0.75rem/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 var(--s3);
}
.lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; color: var(--ink); max-width: 60ch; }

/* ---------- signature: knot and strand band ---------- */
.knot { width: 22px; height: 22px; flex: none; stroke-dasharray: 40; stroke-dashoffset: 0; }
h2 > .knot { margin-right: var(--s3); vertical-align: -0.05em; }
h2:has(> .knot) { display: flex; align-items: baseline; gap: 0; }
h2:has(> .knot) > .knot { align-self: flex-start; margin-top: 0.3em; }
.js .knot.is-pending { stroke-dashoffset: 40; }
.js .knot.is-drawn { stroke-dashoffset: 0; transition: stroke-dashoffset 600ms var(--ease); }
.strand-band { height: 14px; background: var(--band-img) repeat-x left center / 32px 14px; }

/* ---------- utility strip ---------- */
.utility { background: var(--ink); color: var(--paper); font-size: 0.8125rem; --knot-gap: var(--ink); }
.utility__in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5); min-height: 36px; padding-block: var(--s1); }
.utility a { color: var(--paper); text-decoration: none; display: inline-flex; align-items: center; gap: var(--s2); }
.utility a:hover { text-decoration: underline; color: #fff; }
.utility__rg { margin-left: auto; }
.age-mark {
  display: inline-block; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.04em;
  border: 1.5px solid currentColor; padding: 3px 5px; vertical-align: 0.1em;
}
.age-mark--inv { border-color: var(--saffron); color: var(--saffron); }
@media (max-width: 599px) {
  .utility__age { display: none; }
  .utility__rg { margin-left: 0; }
  .utility__in { justify-content: space-between; }
}

/* ---------- masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 2px solid var(--ink); }
.masthead__in { display: flex; align-items: center; gap: var(--s5); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); color: var(--ink); text-decoration: none; margin: 0; }
.brand:hover { color: var(--ink); }
.brand__knot { width: 30px; height: 30px; }
.brand__name { font: 600 1.35rem/1 var(--serif); letter-spacing: -0.015em; white-space: nowrap; }
.tabs { margin-left: auto; align-self: stretch; }
.tabs > ul { display: flex; gap: var(--s1); list-style: none; margin: 0; padding: 0; height: 100%; }
.tabs__item { position: static; display: flex; align-items: center; }
.tabs__link {
  position: relative; display: block; padding: var(--s3) var(--s2) var(--s3) var(--s3); color: var(--ink); text-decoration: none;
  font-weight: 500; font-size: 0.975rem;
}
.tabs__item:not(.has-drop) .tabs__link { padding-right: var(--s3); }
.tabs__link::after {
  content: ""; position: absolute; left: var(--s3); right: var(--s2); bottom: 2px; height: 4px;
  background: var(--band-img) repeat-x left center / 16px 7px; transform: scaleX(0); transform-origin: left;
  transition: transform 200ms var(--ease);
}
.tabs__link:hover::after, .tabs__link[aria-current]::after, .tabs__item.is-open .tabs__link::after { transform: scaleX(1); }
.tabs__link[aria-current] { color: var(--teal); }
.tabs__toggle { display: grid; place-items: center; width: 28px; height: 44px; padding: 0; margin-right: var(--s1); background: none; border: 0; color: var(--ink); cursor: pointer; }
.tabs__toggle .icon { width: 16px; height: 16px; transition: transform 160ms var(--ease); }
.tabs__item.is-open .tabs__toggle .icon, .tabs__item.has-drop:hover .tabs__toggle .icon { transform: rotate(180deg); }
.drop {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 45; background: var(--paper-raised);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 0s 160ms;
}
.tabs__item.has-drop:hover .drop, .tabs__item.is-open .drop { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.drop__in { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: var(--s6) var(--gutter); display: grid; grid-template-columns: 280px 1fr; gap: var(--s7); }
.drop__img { display: block; width: 100%; height: auto; margin-bottom: var(--s3); }
.drop__note { font-size: 0.9rem; color: var(--ink-soft); }
.drop__list { list-style: none; margin: 0; padding: 0; columns: 3 200px; column-gap: var(--s6); }
.drop__list li { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.drop__list a { display: block; padding: var(--s3) 0; color: var(--ink); text-decoration: none; font: 500 1.05rem/1.3 var(--serif); }
.drop__list a:hover { color: var(--teal); text-decoration: underline; }
.masthead__in { position: static; }
.masthead__tools { display: flex; gap: var(--s1); }
.tool {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3);
  background: transparent; border: 1.5px solid transparent; border-radius: var(--radius);
  color: var(--ink); font: 500 0.9375rem/1 var(--sans); cursor: pointer;
}
.tool:hover { border-color: var(--ink); }
.tool[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.tool--menu { display: none; }
@media (max-width: 1023px) {
  .tabs { display: none; }
  .masthead__tools { margin-left: auto; }
  .tool--menu { display: inline-flex; }
}
@media (max-width: 420px) {
  .tool__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .brand__name { font-size: 1.2rem; }
  .masthead__in { gap: var(--s3); }
}
.search-panel { border-top: 1px solid var(--rule); background: var(--paper-raised); padding-block: var(--s5); }

/* full-screen section index */
.index-panel {
  position: fixed; inset: 0; z-index: 60; background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
}
.index-panel[hidden] { display: none; }
.index-panel__head { display: flex; align-items: center; justify-content: space-between; min-height: 68px; border-bottom: 2px solid var(--ink); }
.index-panel__body { padding-block: var(--s5) var(--s8); }
.index-list { list-style: none; margin: 0; padding: 0; }
.index-list > li { border-bottom: 1px solid var(--rule); padding-block: var(--s4); }
.index-list__hub { display: flex; align-items: baseline; gap: var(--s3); font: 500 1.6rem/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.index-list ul { list-style: none; margin: var(--s3) 0 0; padding: 0 0 0 calc(2ch + var(--s3) + 6px); display: grid; gap: var(--s1) var(--s5); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.index-list ul a { display: block; padding: var(--s2) 0; color: var(--ink-soft); text-decoration: none; }
.index-list ul a:hover { color: var(--teal); text-decoration: underline; }
.index-panel__meta { list-style: none; padding: 0; margin: var(--s6) 0 0; display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); }
body.index-open { overflow: hidden; }

/* ---------- buttons and text links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: var(--s3) var(--s5); border: 2px solid var(--teal); border-radius: var(--radius);
  background: var(--teal); color: #fff; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 160ms var(--ease), box-shadow 160ms var(--ease), transform 160ms var(--ease);
}
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; text-decoration: none; }
.btn:active { transform: translate(2px, 2px); box-shadow: none; }
.btn:focus-visible { box-shadow: 4px 4px 0 var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--rule); border-color: var(--rule); color: var(--ink-soft); cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.textlink { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; }
.textlink .icon { transition: transform 160ms var(--ease); }
.textlink:hover .icon-arrow { transform: translateX(4px); }
.textlink--light { color: var(--paper); }
.textlink--light:hover { color: #fff; }

/* ---------- ledger ---------- */
.ledger { margin-block: var(--s7); }
.ledger__title { display: flex; align-items: flex-start; gap: var(--s3); font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); margin-bottom: var(--s4); }
.ledger__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ledger__row {
  position: relative; display: grid; grid-template-columns: 3.2ch 1fr 24px; align-items: baseline; gap: var(--s4);
  padding: var(--s4) 0; border-bottom: 1px solid var(--rule);
}
.ledger__n { font: 500 0.8rem/1.4 var(--mono); color: var(--ink-soft); letter-spacing: 0.04em; }
.ledger__body { display: flex; flex-direction: column; gap: var(--s1); min-width: 0; }
.ledger__link { font: 500 clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem)/1.25 var(--serif); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.ledger__link::after { content: ""; position: absolute; inset: 0; }
.ledger__row:hover a.ledger__link { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; }
.ledger__note { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; }
.ledger__flag { align-self: flex-start; font: 500 0.7rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 6px; background: var(--saffron-tint); color: var(--ink); }
.ledger__arrow { color: var(--teal); align-self: center; transition: transform 160ms var(--ease); }
.ledger__row:hover .ledger__arrow { transform: translateX(4px); }
.ledger__row.is-soon .ledger__arrow { color: var(--rule); }
.ledger__row:has(a.ledger__link:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
a.ledger__link:focus-visible { outline: none; }
@media (min-width: 900px) {
  .ledger--hub .ledger__list, .ledger--games .ledger__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s7); }
  .ledger--hub .ledger__list { border-top: 0; }
  .ledger--hub .ledger__row:nth-child(-n+2) { border-top: 2px solid var(--ink); }
  .ledger--games .ledger__list { border-top: 0; }
  .ledger--games .ledger__row:nth-child(-n+2) { border-top: 2px solid var(--ink); }
}

/* ---------- home cover ---------- */
.cover { padding-top: var(--s7); }
.cover__grid { display: grid; gap: var(--s7); padding-bottom: var(--s7); }
.cover__title { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5rem); max-width: 14ch; }
.cover__index .ledger__list { border-top: 2px solid var(--ink); }
@media (min-width: 900px) {
  .cover { padding-top: var(--s8); }
  .cover__grid { grid-template-columns: 7fr 5fr; align-items: start; gap: var(--s8); padding-bottom: var(--s8); }
  .cover__lead { position: sticky; top: var(--s7); padding-top: var(--s6); }
}

.disclaimer { display: flex; gap: var(--s3); align-items: flex-start; max-width: 70ch; font-size: 0.875rem; line-height: 1.5; color: var(--ink-soft); margin-top: var(--s5); }
.disclaimer .age-mark { color: var(--narra); flex: none; margin-top: 1px; }

/* ---------- bands ---------- */
.band { background: var(--paper-band); padding-block: var(--s8); --knot-gap: var(--paper-band); }
.verify { display: grid; gap: var(--s6); align-items: center; }
.verify__art { width: 100%; max-width: 360px; justify-self: center; }
@media (min-width: 900px) { .verify { grid-template-columns: 1.3fr 1fr; gap: var(--s8); } }
.steps { list-style: none; counter-reset: s; margin: var(--s5) 0 var(--s6); padding: 0; display: grid; gap: var(--s3); }
.steps li { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) var(--s4); background: var(--paper-raised); border-left: 4px solid var(--teal); }
.steps .icon { color: var(--teal); margin-top: 2px; }

.home-reading { padding-block: var(--s8) 0; }

/* ---------- method: route and criteria ---------- */
.method { padding-block: var(--s8); }
.method__grid { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .method__grid { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
.route { list-style: none; margin: var(--s5) 0 0; padding: 0; position: relative; }
.route::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 4px; background: repeating-linear-gradient(var(--teal) 0 18px, var(--saffron) 18px 36px); }
.route__step { position: relative; display: grid; grid-template-columns: 30px 1fr; column-gap: var(--s4); padding-bottom: var(--s5); }
.route__step:last-child { padding-bottom: 0; }
.route__n { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; background: var(--paper); border: 2px solid var(--ink); font: 500 0.72rem/1 var(--mono); position: relative; }
.route__step strong { font: 600 1.15rem/1.3 var(--serif); }
.route__step span:last-child { color: var(--ink-soft); font-size: 0.975rem; }

.criteria { background: var(--paper-raised); border: 1px solid var(--rule); border-top: 2px solid var(--ink); padding: var(--s5); }
.criteria__title { font-size: 1.25rem; }
.criteria__list { list-style: none; margin: 0 0 var(--s5); padding: 0; }
.criteria__row { display: grid; grid-template-columns: 1fr auto; gap: var(--s2) var(--s4); padding-block: var(--s3); border-bottom: 1px solid var(--rule); }
.criteria__label { font-weight: 500; }
.criteria__weight { font: 500 0.9rem/1.6 var(--mono); }
.criteria__rail { grid-column: 1 / -1; height: 8px; background: var(--teal-tint); position: relative; }
.criteria__rail span { position: absolute; inset: 0 auto 0 0; width: var(--w); background: repeating-linear-gradient(135deg, var(--saffron) 0 6px, var(--teal) 6px 9px); }
.criteria__intro { font-size: 0.9375rem; color: var(--ink-soft); }
.criteria__cats { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; gap: var(--s2); }
.criteria__cats li { display: grid; gap: 2px; padding: var(--s3) 0 var(--s3) var(--s4); border-left: 3px solid var(--teal); }
.criteria__cats strong { font: 600 1.05rem/1.3 var(--serif); }
.criteria__cats span { font-size: 0.875rem; color: var(--ink-soft); }
.criteria__scale { list-style: none; margin: 0 0 var(--s5); padding: 0; }
.criteria__scale .criteria__row { grid-template-columns: 2.4ch 1fr; }
.criteria__scale .criteria__weight { font-size: 1rem; font-weight: 500; }
.criteria__scale .criteria__label { font-size: 0.9rem; font-weight: 400; }

/* ---------- editor ---------- */
.editor-card { display: grid; gap: var(--s5); align-items: start; }
.editor-card > div { max-width: 70ch; }
@media (min-width: 600px) { .editor-card { grid-template-columns: auto 1fr; gap: var(--s6); } }
.editor-card__name { margin-bottom: var(--s1); }
.editor-card__role { color: var(--ink-soft); font-size: 0.9375rem; }
.editor-card__links { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); margin-top: var(--s4); }
.avatar {
  display: inline-grid; place-items: center; flex: none; background: var(--ink); color: var(--paper);
  font: 500 1rem/1 var(--serif); letter-spacing: 0.02em; border-bottom: 4px solid var(--saffron);
  width: 44px; height: 44px; object-fit: cover;
}
.avatar--sm { width: 36px; height: 36px; font-size: 0.85rem; border-bottom-width: 3px; }
.avatar--md { width: 56px; height: 56px; font-size: 1.15rem; }
.avatar--lg { width: 96px; height: 96px; font-size: 1.9rem; border-bottom-width: 6px; }
.avatar--xl { width: 120px; height: 120px; font-size: 2.4rem; border-bottom-width: 7px; }

/* ---------- helpline ---------- */
.helpline { background: var(--ink); color: var(--paper); padding-block: var(--s7); --knot-gap: var(--ink); }
.helpline__in { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .helpline__in { grid-template-columns: 1.4fr 1fr; gap: var(--s7); } }
.helpline__title { display: flex; align-items: center; gap: var(--s3); color: var(--paper); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.helpline__title .icon { color: var(--saffron); width: 28px; height: 28px; }
.helpline p { color: #C9D2E3; max-width: 58ch; }
.helpline__actions { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s5); align-items: center; }

/* ---------- inner hero ---------- */
.hero { padding-top: var(--s6); }
.hero > .wrap { padding-bottom: var(--s6); }
.hero__title { max-width: 22ch; }
.hero--band > .wrap { padding-bottom: var(--s7); }
.hero__grid { display: grid; gap: var(--s5); }
.hero__art { margin: 0; }
.hero__cover { display: block; width: 100%; max-width: 420px; height: auto; border: 1px solid var(--rule); }
@media (min-width: 900px) {
  .hero--cover .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: var(--s8); align-items: center; }
  .hero__cover { max-width: none; }
}
@media (max-width: 899px) { .hero__art { order: -1; } .hero__cover { max-height: 190px; width: auto; max-width: 100%; } }
.ledger--thumbs .ledger__row { grid-template-columns: 3.2ch 80px minmax(0, 1fr) 24px; align-items: center; }
.ledger__thumb { display: block; width: 80px; aspect-ratio: 4 / 3; background: var(--paper-band) var(--band-img) repeat-x left bottom / 16px 7px; border: 1px solid var(--rule); overflow: hidden; }
.ledger__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ledger__img--logo, .hero__cover--logo, .drop__img--logo { display: grid; place-items: center; background: #fff; }
.ledger__img--logo img { display: block; width: auto; height: auto; max-width: 80%; max-height: 56%; }
.hero__cover--logo { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--rule); padding: 0 14%; }
@media (max-width: 899px) { .hero__cover--logo { max-width: 220px; max-height: none; } }
.hero__cover--logo img { display: block; width: 100%; height: auto; max-height: 60%; object-fit: contain; }
/* light studio logos sit on an ink tile */
.ledger__img--logo-dark, .hero__cover--logo-dark, .drop__img--logo-dark { display: grid; place-items: center; background: var(--ink); }
.ledger__img--logo-dark img { display: block; width: auto; height: auto; max-width: 80%; max-height: 56%; }
.hero__cover--logo-dark { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--ink); padding: 0 14%; }
.hero__cover--logo-dark img { display: block; width: 100%; height: auto; max-height: 60%; object-fit: contain; }
/* official game art: shown whole (contain) over a blurred copy of itself, never cropped */
.ledger__img--art, .hero__cover--art, .drop__img--art { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--ink); isolation: isolate; }
.ledger__img--art::before, .hero__cover--art::before, .drop__img--art::before { content: ""; position: absolute; inset: -12%; z-index: -1; background: var(--art) center / cover no-repeat; filter: blur(18px) saturate(1.1) brightness(0.7); }
.ledger__img--art img, .hero__cover--art img, .drop__img--art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.hero__cover--art img { inset: 4%; width: 92%; height: 92%; }
.hero__cover--art { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--ink); }
.hero__cover--art img { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35)); }
@media (max-width: 899px) { .hero__cover--art, .hero__cover--logo-dark { max-width: 260px; max-height: none; } }
@media (max-width: 420px) { .ledger--thumbs .ledger__row { grid-template-columns: 2.6ch 56px minmax(0, 1fr) 20px; gap: var(--s3); } .ledger__thumb { width: 56px; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); margin: 0 0 var(--s5); padding: 0; font: 500 0.75rem/1.5 var(--mono); letter-spacing: 0.03em; }
.crumbs li { display: inline-flex; gap: var(--s2); color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; color: var(--rule); }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--teal); }
.draft-flag { display: inline-block; font: 500 0.75rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; background: var(--saffron); color: var(--ink); padding: 6px 8px; }
.byline { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--rule); max-width: 70ch; }
.byline p { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); margin: 0; font-size: 0.875rem; color: var(--ink-soft); }
.byline__who { color: var(--ink); font-weight: 500; }
.byline__date { font-family: var(--mono); font-size: 0.8rem; }
.byline .disclaimer { margin-top: var(--s3); }

.hero--author > .wrap { padding-bottom: var(--s7); }
.profile { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 700px) { .profile { grid-template-columns: auto 1fr; gap: var(--s7); } }
.profile__role { color: var(--ink-soft); font-weight: 500; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s5) 0 0; padding: 0; }
.chips li { font-size: 0.8125rem; font-weight: 500; padding: 5px 10px; border: 1.5px solid var(--ink); }

/* ---------- article grid and rail ---------- */
.article { display: grid; gap: var(--s5); padding-block: var(--s6) var(--s8); }
@media (min-width: 1024px) {
  .article { grid-template-columns: var(--rail) minmax(0, var(--measure)); gap: var(--s8); }
  .article > .prose { grid-column: 2; }
  .article > .rail { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; }
}
.hero ~ .article { background: linear-gradient(var(--ink), var(--ink)) center top / calc(100% - 2 * var(--gutter)) 2px no-repeat; }
.hero--band ~ .article, .hero--band ~ .hub-index { border-top: 0; }
.rail { font-size: 0.9375rem; }
.rail__toc { border-bottom: 1px solid var(--rule); padding-bottom: var(--s4); margin-bottom: var(--s5); }
.rail__toc summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; margin: 0; padding-block: var(--s2); }
.rail__toc summary::-webkit-details-marker { display: none; }
.rail__toc summary .icon { transition: transform 160ms var(--ease); }
.rail__toc[open] summary .icon { transform: rotate(180deg); }
.rail__toc ol { list-style: none; margin: var(--s2) 0 0; padding: 0; }
.rail__toc a { display: grid; grid-template-columns: 3ch 1fr; gap: var(--s2); padding: 6px 0 6px var(--s2); color: var(--ink); text-decoration: none; border-left: 3px solid transparent; line-height: 1.4; }
.rail__toc a:hover { color: var(--teal); }
.rail__toc a.is-current { border-left-color: var(--saffron); color: var(--teal); font-weight: 500; }
.rail__facts { margin: 0; }
.rail__facts div { display: grid; grid-template-columns: 1fr; padding-block: var(--s2); border-bottom: 1px dashed var(--rule); }
.rail__facts dt { font: 500 0.7rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); }
.rail__facts dd { margin: 0; font-weight: 500; }
@media (max-width: 1023px) {
  .rail { background: var(--paper-raised); border: 1px solid var(--rule); padding: var(--s3) var(--s4); }
  .rail__toc { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
  .rail__toc + .rail__facts { border-top: 1px solid var(--rule); margin-top: var(--s3); }
  .rail__facts { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
  .rail__facts div { border-bottom: 0; }
}

/* ---------- prose ---------- */
.prose { min-width: 0; width: 100%; max-width: var(--measure); }
.prose > * + * { margin-top: 0; }
.prose h2 { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--rule); }
.prose > h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { margin-top: var(--s6); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--s5); }
.prose li { margin-bottom: var(--s2); padding-left: var(--s1); }
.prose ul > li::marker { color: var(--teal); content: "▪  "; font-size: 0.9em; }
.prose ol > li::marker { font: 500 0.85em var(--mono); color: var(--ink-soft); }
.prose strong { font-weight: 600; }
.prose img { display: block; height: auto; }
.prose figure { margin: var(--s6) 0; }
.prose figcaption, .prose .wp-caption-text { font-size: 0.85rem; color: var(--ink-soft); margin-top: var(--s2); border-left: 3px solid var(--saffron); padding-left: var(--s3); }
.prose hr { border: 0; height: 14px; margin: var(--s7) 0; background: var(--band-img) repeat-x left center / 32px 14px; }
.prose a { overflow-wrap: anywhere; }

/* tables: ruled ledger, slips on phones */
.table-box { margin: var(--s5) 0 var(--s6); overflow-x: auto; border-top: 2px solid var(--ink); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; background: var(--paper-raised); }
.prose th { font: 500 0.72rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; text-align: left; color: var(--ink-soft); padding: var(--s3); border-bottom: 1px solid var(--ink); vertical-align: bottom; background: var(--paper); }
.prose td { padding: var(--s3); border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose tbody tr:hover { background: #fff; }
.prose td:first-child { font-weight: 600; }
@media (max-width: 600px) {
  .table-box { overflow: visible; border-top: 0; }
  .prose table.is-slips, .prose table.is-slips tbody, .prose table.is-slips tr, .prose table.is-slips td { display: block; width: 100%; }
  .prose table.is-slips { background: transparent; }
  .prose table.is-slips thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prose table.is-slips tr { background: var(--paper-raised); border: 1px solid var(--rule); border-left: 4px solid var(--teal); margin-bottom: var(--s3); padding: var(--s2) var(--s3); }
  .prose table.is-slips tr:nth-child(even) { border-left-color: var(--saffron); }
  .prose table.is-slips td { border: 0; padding: var(--s2) 0; }
  .prose table.is-slips td + td { border-top: 1px dashed var(--rule); }
  .prose table.is-slips td[data-label]::before { content: attr(data-label); display: block; font: 500 0.68rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 2px; }
}

/* pros / cons */
.proscons { display: grid; gap: var(--s4); margin: var(--s6) 0; }
@media (min-width: 700px) { .proscons { grid-template-columns: 1fr 1fr; } }
.proscons .pros, .proscons .cons { background: var(--paper-raised); padding: var(--s4) var(--s5); border-top: 3px solid var(--teal); }
.proscons .cons { border-top-color: var(--narra); }
.proscons h3, .proscons h4, .proscons p:first-child strong { font-family: var(--serif); }
.proscons ul { list-style: none; padding: 0; margin: 0; }
.proscons li { position: relative; padding-left: 26px; margin-bottom: var(--s2); }
.proscons li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px; background: var(--teal); mask: linear-gradient(#000 0 0) center / 12px 2px no-repeat, linear-gradient(#000 0 0) center / 2px 12px no-repeat; -webkit-mask: linear-gradient(#000 0 0) center / 12px 2px no-repeat, linear-gradient(#000 0 0) center / 2px 12px no-repeat; }
.proscons .cons li::before { background: var(--narra); mask: linear-gradient(#000 0 0) center / 12px 2px no-repeat; -webkit-mask: linear-gradient(#000 0 0) center / 12px 2px no-repeat; }
.prose .proscons li::marker { content: ""; }
.prose .proscons li { padding-left: 26px; }

/* quotes and notes */
.prose blockquote { margin: var(--s6) 0; padding: var(--s4) 0 var(--s4) var(--s5); border-left: 3px solid var(--ink); font: italic 400 1.3rem/1.5 var(--serif); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote.author-quote { position: relative; border-left: 0; padding: var(--s5) 0 var(--s5) calc(28px + var(--s4)); border-block: 1px solid var(--rule); }
.knot--quote { position: absolute; left: 0; top: calc(var(--s5) + 6px); width: 26px; height: 26px; }
.note { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4) var(--s5); margin: 0 0 var(--s6); background: var(--teal-tint); border-left: 4px solid var(--teal); }
.note > .icon { color: var(--teal); margin-top: 3px; width: 22px; height: 22px; }
.note p:last-child { margin-bottom: 0; }
.note--caution { background: var(--narra-tint); border-left-color: var(--narra); }
.note--caution > .icon { color: var(--narra); }
.note__links { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; margin-top: var(--s3); }

/* FAQ: core details block or plain <details> */
.prose details { border-bottom: 1px solid var(--rule); }
.prose details:first-of-type { border-top: 2px solid var(--ink); }
.prose details > summary { position: relative; display: block; cursor: pointer; list-style: none; padding: var(--s4) 40px var(--s4) 0; font: 500 1.15rem/1.35 var(--serif); }
.prose details > summary::-webkit-details-marker { display: none; }
.prose details > summary::after { content: "+"; position: absolute; right: 4px; top: var(--s4); font: 500 1.4rem/1 var(--mono); color: var(--teal); }
.prose details[open] > summary::after { content: "−"; }
.prose details[open] > :last-child { margin-bottom: var(--s4); }

/* offers band around [affiliate_offers_table] */
.offers-band { margin: var(--s7) 0; padding: var(--s5); background: var(--paper-band); border-top: 2px solid var(--ink); --knot-gap: var(--paper-band); }

@media (max-width: 599px) { .offers-band { padding: var(--s4) var(--s3); margin-inline: calc(-1 * var(--s2)); } }
.offers-band__title { font-family: var(--serif); font-weight: 500; line-height: 1.2; font-size: 1.5rem; border: 0 !important; padding: 0 !important; margin: 0 0 var(--s2) !important; }
.offers-band__note { font-size: 0.85rem; color: var(--ink-soft); max-width: none; }
.offers-band__table { margin-top: var(--s4); min-width: 0; }
.offers-band__foot { margin: var(--s4) 0 0; font-size: 0.9rem; display: flex; align-items: center; gap: var(--s2); }

/* ---------- content components (used inside .prose) ---------- */
.prose .keyfacts, .keyfacts { list-style: none; margin: var(--s5) 0 var(--s6); padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.prose .keyfacts > li { margin: 0; padding: var(--s4); background: var(--paper-raised); display: grid; grid-template-columns: 36px 1fr; column-gap: var(--s3); align-items: start; }
.prose .keyfacts > li::marker { content: ""; }
.keyfacts .icon { grid-row: span 2; width: 36px; height: 36px; padding: 7px; color: var(--teal); background: var(--teal-tint); }
.keyfacts__k { font: 500 0.7rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); }
.keyfacts__v { font: 600 1.05rem/1.35 var(--serif); color: var(--ink); }
.keyfacts__v a { color: var(--teal); }

.prose ul.checklist, .prose ul.crosslist { list-style: none; padding-left: 0; }
.prose ul.checklist > li, .prose ul.crosslist > li { position: relative; padding-left: 32px; }
.prose ul.checklist > li::marker, .prose ul.crosslist > li::marker { content: ""; }
.prose ul.checklist > li::before, .prose ul.crosslist > li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prose ul.crosslist > li::before {
  background: var(--narra);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6 6 18' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6 6 18' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E");
}

.prose ol.howto { list-style: none; counter-reset: howto; padding: 0; margin: var(--s5) 0 var(--s6); position: relative; }
.prose ol.howto::before { content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 4px; background: repeating-linear-gradient(var(--teal) 0 18px, var(--saffron) 18px 36px); }
.prose ol.howto > li { counter-increment: howto; position: relative; padding: 0 0 var(--s5) 52px; margin: 0; }
.prose ol.howto > li:last-child { padding-bottom: 0; }
.prose ol.howto > li::marker { content: ""; }
.prose ol.howto > li::before { content: counter(howto, decimal-leading-zero); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; background: var(--paper); border: 2px solid var(--ink); font: 500 0.75rem/1 var(--mono); }
.prose ol.howto > li > strong:first-child { display: block; font: 600 1.15rem/1.35 var(--serif); margin-bottom: var(--s1); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s4); margin: var(--s5) 0 var(--s6); }
.stat { padding: var(--s4) var(--s5); border-top: 3px solid var(--saffron); background: var(--paper-raised); }
.stat__n { display: block; font: 500 clamp(2rem, 1.6rem + 1.4vw, 2.8rem)/1 var(--serif); color: var(--ink); margin-bottom: var(--s2); }
.stat__l { display: block; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }
.stat--caution { border-top-color: var(--narra); }
.stat--caution .stat__n { color: var(--narra); }

.figure { margin: var(--s6) 0; background: var(--paper-band); border: 1px solid var(--rule); }
.figure img { display: block; width: 100%; height: auto; }
.figure figcaption { margin: 0; padding: var(--s3) var(--s4); border-top: 1px solid var(--rule); border-left: 0; font-size: 0.875rem; color: var(--ink-soft); background: var(--paper-raised); }

.brand-card { margin: var(--s5) 0 var(--s6); background: var(--paper-raised); border: 1px solid var(--rule); border-top: 3px solid var(--teal); }
.brand-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); padding: var(--s4) var(--s5); border-bottom: 1px solid var(--rule); }
.brand-card__mono { display: grid; place-items: center; width: 48px; height: 48px; flex: none; background: var(--ink); color: var(--paper); font: 600 1rem/1 var(--serif); border-bottom: 3px solid var(--saffron); }
.prose .brand-card h3 { margin: 0; font-size: 1.35rem; flex: 1 1 200px; }
.brand-card__domain { display: inline-flex; align-items: center; gap: var(--s2); font: 500 0.8rem/1 var(--mono); padding: 6px 8px; background: #fff; border: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.brand-card__domain .icon { width: 14px; height: 14px; color: var(--teal); }
.brand-card__body { padding: var(--s4) var(--s5); }
.brand-card__body p:last-child { margin-bottom: 0; }
.brand-card dl { margin: 0 0 var(--s4); display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px dashed var(--rule); }
.brand-card dl > div { display: grid; grid-template-columns: 180px 1fr; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px dashed var(--rule); }
.brand-card dt { font: 500 0.7rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.brand-card dd { margin: 0; font-size: 0.95rem; }
@media (max-width: 599px) { .brand-card dl > div { grid-template-columns: 1fr; gap: 2px; } .brand-card__head, .brand-card__body { padding-inline: var(--s4); } }
.brand-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); padding: var(--s3) var(--s5); border-top: 1px solid var(--rule); background: var(--paper); font-size: 0.85rem; }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 500 0.7rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 8px; background: var(--saffron-tint); color: var(--ink); }
.badge--teal { background: var(--teal-tint); }
.badge .icon { width: 14px; height: 14px; }

.split { display: grid; gap: var(--s5); align-items: center; margin: var(--s5) 0 var(--s6); }
@media (min-width: 760px) { .split { grid-template-columns: 1fr 280px; gap: var(--s6); } .split--left { grid-template-columns: 280px 1fr; } }
.split > img, .split > figure { width: 100%; height: auto; margin: 0; }
.split > :last-child { margin-bottom: 0; }

.sourcebox { margin: var(--s7) 0 0; padding: var(--s4) var(--s5); background: var(--paper-band); border-left: 4px solid var(--ink); font-size: 0.9rem; }
.prose .sourcebox h2, .prose .sourcebox h3 { border: 0; padding: 0; margin: 0 0 var(--s2); font-size: 1.15rem; }
.prose .sourcebox ul { margin-bottom: 0; }
/* ---------- hub index, author card, empty ---------- */
.hub-index { padding-top: var(--s7); }
.hub-index + .hub-index { padding-top: 0; }
.hub-index .ledger { margin-top: 0; }
.author-card { display: flex; gap: var(--s4); align-items: flex-start; padding-block: var(--s6) var(--s8); border-top: 1px solid var(--rule); max-width: calc(var(--rail) + var(--s8) + var(--measure)); }
.author-card p { margin-bottom: var(--s2); max-width: 62ch; color: var(--ink-soft); font-size: 0.9375rem; }
.author-card .eyebrow { margin-bottom: var(--s1); }
.author-card__name { font: 600 1.2rem/1.3 var(--serif); color: var(--ink) !important; }
.empty-note { font: italic 400 1.2rem/1.5 var(--serif); color: var(--ink-soft); padding: var(--s5) 0 var(--s5) var(--s5); border-left: 3px solid var(--saffron); margin-block: var(--s6); }

/* ---------- search ---------- */
.searchform label { display: block; font: 500 0.75rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: var(--s2); }
.searchform__row { display: flex; gap: var(--s2); max-width: 640px; }
.searchform input[type="search"] {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 var(--s4); font: 400 1rem var(--sans); color: var(--ink);
  background: var(--paper-raised); border: 1.5px solid var(--ink); border-radius: var(--radius);
}
.searchform input[type="search"]::placeholder { color: #6B7489; }
.searchform input[type="search"]:focus-visible { outline-offset: 1px; }
@media (max-width: 420px) { .searchform .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .searchform .btn { padding-inline: var(--s4); } }
.page--search .hero .searchform { margin-top: var(--s5); }
.nav-links { display: flex; gap: var(--s2); margin-bottom: var(--s8); }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-family: var(--mono); }
.nav-links .current { background: var(--ink); color: var(--paper); }

/* ---------- 404 ---------- */
.lost { display: grid; gap: var(--s6); align-items: center; padding-block: var(--s7); }
.lost .searchform { margin-top: var(--s5); }
.lost__art { width: 100%; max-width: 320px; }
@media (min-width: 900px) { .lost { grid-template-columns: 1.4fr 1fr; } }

/* ---------- footer ---------- */
.colophon { background: var(--paper-band); margin-top: 0; --knot-gap: var(--paper-band); }
.colophon ul { list-style: none; margin: 0; padding: 0; }
.colophon li { margin-bottom: var(--s2); }
.colophon a { color: var(--ink); }
.colophon a:hover { color: var(--teal); }
.colophon .eyebrow { font-size: 0.72rem; }
.colophon__top { display: grid; gap: var(--s6); padding-block: var(--s7) var(--s6); background: linear-gradient(var(--rule), var(--rule)) center bottom / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
@media (min-width: 900px) { .colophon__top { grid-template-columns: 1.2fr 1fr; align-items: center; gap: var(--s8); } }
.colophon__about p { color: var(--ink-soft); font-size: 0.9375rem; max-width: 52ch; }
.brand--foot { margin-bottom: var(--s4); }
.brand--foot .brand__name { font-size: 1.6rem; }
.regulator { display: flex; gap: var(--s4); align-items: center; padding: var(--s4) var(--s5); background: var(--paper-raised); border: 1px solid var(--rule); border-top: 3px solid var(--teal); text-decoration: none; color: var(--ink); }
.regulator img { flex: none; width: 72px; height: 72px; }
.regulator strong { display: block; font: 600 1.1rem/1.3 var(--serif); margin-bottom: var(--s1); }
.regulator .eyebrow { display: block; margin-bottom: var(--s1); }
.regulator__note { display: block; font-size: 0.85rem; color: var(--ink-soft); }
.regulator__note .icon { width: 1em; height: 1em; margin-left: var(--s1); }
.regulator:hover strong { color: var(--teal); text-decoration: underline; }
.colophon__grid { display: grid; gap: var(--s6); padding-block: var(--s6) var(--s7); }
@media (min-width: 360px) { .colophon__grid { grid-template-columns: 1fr 1fr; column-gap: var(--s5); } .colophon__help { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .colophon__help { grid-column: auto; } }
@media (min-width: 1100px) { .colophon__grid { grid-template-columns: 1fr 1.2fr 1fr 1.2fr; gap: var(--s7); } }
.colophon__phone { margin-bottom: var(--s1); }
.colophon__phone a { display: inline-flex; align-items: center; gap: var(--s2); font: 600 1.3rem/1.2 var(--serif); text-decoration: none; }
.colophon__small { font-size: 0.85rem; color: var(--ink-soft); }
.colophon__help li a { display: inline-flex; align-items: center; gap: var(--s2); }
.colophon__help .icon-external { width: 1em; height: 1em; }
.colophon__marks { display: grid; gap: var(--s4); padding-block: var(--s5); background: linear-gradient(var(--rule), var(--rule)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
@media (min-width: 1200px) { .colophon__marks { grid-template-columns: auto auto; justify-content: space-between; align-items: center; gap: var(--s6); } }
.marks { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); }
.marks__title { margin: 0; }
.marks__list { display: flex; flex-wrap: wrap; gap: var(--s2); }
.colophon .marks__item { margin: 0; }
.marks__chip { display: inline-flex; align-items: center; gap: var(--s2); height: 44px; padding: 0 var(--s3); background: #fff; border: 1px solid var(--rule); font-size: 0.85rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.marks__chip img { display: block; height: 22px; width: auto; max-width: 104px; object-fit: contain; }
a.marks__chip:hover { border-color: var(--ink); }
.age-badge { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2.5px solid var(--narra); color: var(--narra); font: 600 0.8rem/1 var(--mono); }
.marks--rg .marks__chip img { height: 28px; }
.colophon__base { background: linear-gradient(var(--ink), var(--ink)) center top / calc(100% - 2 * var(--gutter)) 2px no-repeat; padding-block: var(--s5) var(--s6); font-size: 0.8125rem; color: var(--ink-soft); display: grid; gap: var(--s3); }
@media (min-width: 900px) { .colophon__base { grid-template-columns: 1fr auto; } .colophon__base > .totop { grid-column: 2; grid-row: 1; } }
.colophon__base p { margin: 0; max-width: 90ch; }
.colophon__base .age-mark { color: var(--narra); border-color: var(--narra); margin-right: var(--s2); }
.colophon__legal { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.colophon__legal li { margin: 0; }
.colophon__marksnote { font-size: 0.75rem; }
.totop { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; justify-self: start; }
.totop .icon { transform: rotate(-90deg); }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .knot.is-pending { stroke-dashoffset: 0; }
}
@media print {
  .utility, .masthead, .index-panel, .colophon, .rail, .helpline, .offers-band { display: none !important; }
  body { background: #fff; }
}
.sitemap { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .sitemap { grid-template-columns: 1fr 1fr; column-gap: var(--s7); } }
.prose .sitemap__group h2 { font-size: 1.35rem; margin: 0 0 var(--s2); padding-top: var(--s3); }
.prose .sitemap ul { margin: 0; padding-left: 1.1em; }
.prose .sitemap li { margin-bottom: var(--s1); }
/* text diagrams stay legible on phones: scroll sideways instead of shrinking */
@media (max-width: 599px) {
  .figure { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .figure img { min-width: 560px; }
  .figure figcaption { position: sticky; left: 0; max-width: calc(100vw - 2 * var(--gutter) - 2px); }
}
/* brand review block: real logo, editorial score, parameters, pros/cons, payments */
.brand-card__logo { flex: none; width: 60px; height: 60px; display: grid; place-items: center; background: #fff; border: 1px solid var(--rule); }
.brand-card__logo img { max-width: 50px; max-height: 50px; width: auto; height: auto; object-fit: contain; display: block; }
.brand-card__score { margin-left: auto; display: flex; align-items: baseline; gap: 4px; padding: 6px 10px; background: var(--teal); color: #fff; font: 500 0.8rem/1 var(--mono); white-space: nowrap; }
.brand-card__score strong { font: 500 1.6rem/1 var(--serif); }
.prose .brand-card .proscons { margin: var(--s4) 0; }
.brand-card__pay { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: var(--s3) 0 0; padding: 0; }
.prose .brand-card__pay li { margin: 0; padding: 4px 10px; background: var(--paper); border: 1px solid var(--rule); font-size: 0.85rem; font-weight: 500; }
.prose .brand-card__pay li::marker { content: ""; }
.brand-card__quote { margin: var(--s4) 0 0; padding: var(--s3) var(--s4); border-left: 3px solid var(--saffron); background: var(--paper); font: italic 400 1.05rem/1.5 var(--serif); }
.brand-card__quote cite { display: block; margin-top: var(--s2); font: normal 500 0.8rem/1.4 var(--sans); color: var(--ink-soft); }
.brand-card__foot .btn { margin-left: auto; min-height: 40px; padding: var(--s2) var(--s4); font-size: 0.9rem; }
.brand-card__note { color: var(--ink-soft); }
@media (max-width: 599px) { .brand-card__foot .btn { margin-left: 0; width: 100%; } .brand-card__score strong { font-size: 1.35rem; } }
.criteria__desc { grid-column: 1 / -1; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- screenshots: gameplay figure on slot pages, site screenshot in brand mini-reviews ---------- */
.prose .game-shot, .prose .brand-card__shot { margin: var(--s5) 0 var(--s6); }
.game-shot img, .brand-card__shot img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; border: 1px solid var(--ink); background: var(--ink); }
.game-shot img { max-height: 560px; }
.prose .brand-card__shot { margin: 0 0 var(--s4); }
.brand-card__shot img { width: 100%; }
.game-shot figcaption, .brand-card__shot figcaption { margin-top: var(--s2); font: 400 0.8rem/1.5 var(--mono); color: var(--ink-soft); text-align: center; }
.avatar--photo { padding: 0; background: var(--paper-band); }
/* ---------- editorial blocks (kit, 26 Sep 2026): step cards, promo band, section tiles, columns, criteria slider ---------- */
.prose .stepcards , .stepcards { list-style: none; margin: var(--s6) 0; padding: var(--s5); display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); background: var(--teal-tint); border-radius: calc(var(--radius) * 3); counter-reset: sc; }
.prose .stepcards > li , .stepcards > li { position: relative; margin: 0; padding: var(--s5); background: var(--paper-raised); border-radius: calc(var(--radius) * 2); counter-increment: sc; box-shadow: 0 1px 2px rgba(23,33,43,.06); }
.prose .stepcards > li::after , .stepcards > li::after { content: counter(sc); position: absolute; top: var(--s4); right: var(--s5); font: 700 2rem/1 var(--serif); color: var(--teal-light); opacity: .7; }
.prose .stepcards .icon , .stepcards .icon { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--teal); color: #fff; --icon-fill: rgba(255,255,255,.22); --icon-accent: var(--saffron-tint); margin-bottom: var(--s3); display: block; }
.prose .stepcards > li:nth-child(3n) .icon , .stepcards > li:nth-child(3n) .icon { background: var(--narra); }
.prose .stepcards strong , .stepcards strong { display: block; font: 600 1.05rem/1.3 var(--sans); margin-bottom: var(--s1); padding-right: 2rem; }
.prose .stepcards p , .stepcards p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

.prose .promo { position: relative; display: grid; grid-template-columns: 1fr auto; gap: var(--s5); align-items: center; margin: var(--s7) 0; padding: var(--s6) var(--s6) calc(var(--s6) + 10px); background: linear-gradient(120deg, var(--paper-raised), var(--teal-tint)); border: 1px solid var(--rule); border-radius: calc(var(--radius) * 3); overflow: hidden; }
.prose .promo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--band-img) repeat-x left center / 22px 10px; }
.prose .promo__badge { display: inline-block; margin: 0 0 var(--s3); padding: 4px 12px; border-radius: 999px; background: var(--teal); color: #fff; font: 700 .75rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.prose .promo__title { margin: 0 0 var(--s2); font: 600 clamp(1.35rem, 2.6vw, 1.8rem)/1.2 var(--serif); }
.prose .promo p { margin: 0 0 var(--s4); }
.prose .promo .btn { border-radius: 999px; background: var(--narra); border-color: var(--narra); color: #fff; text-decoration: none; }
.prose .promo .btn:hover { background: #8A410A; border-color: #8A410A; }
.prose .promo__art { width: 150px; height: 150px; border-radius: 50%; border: 4px solid var(--paper-raised); box-shadow: 0 10px 24px rgba(23,33,43,.18); overflow: hidden; background: var(--paper-band); }
.prose .promo__art img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
@media (max-width: 599px) { .prose .promo { grid-template-columns: 1fr; padding: var(--s5) var(--s5) calc(var(--s5) + 10px); } .prose .promo__art { width: 96px; height: 96px; grid-row: 1; } }

.tiles { list-style: none; margin: var(--s6) 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.tiles .tile { margin: 0; }
.tile a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: var(--s5); border-radius: calc(var(--radius) * 2.5); color: #fff; text-decoration: none; overflow: hidden; box-shadow: 0 8px 20px rgba(23,33,43,.14); transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
.tile a:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(23,33,43,.2); text-decoration: none; color: #fff; }
.tile a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.tile--0 a { background: linear-gradient(135deg, #C2285A, #6E0E2C); }
.tile--1 a { background: linear-gradient(135deg, #3D7BFF, #1C3FA8); }
.tile--2 a { background: linear-gradient(135deg, #1BA39A, #0B5F5A); }
.tile--3 a { background: linear-gradient(135deg, #3A4263, #161A2E); }
.tile--4 a { background: linear-gradient(135deg, #E07A1F, #9A4308); }
.tile__eyebrow { position: absolute; top: var(--s4); left: var(--s4); padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.2); font: 600 .75rem/1.4 var(--sans); }
.tile__label { position: relative; z-index: 1; max-width: 62%; font: 700 1.15rem/1.15 var(--sans); text-transform: uppercase; letter-spacing: .02em; }
.tile__sub { position: relative; z-index: 1; max-width: 62%; margin-top: 4px; font: 500 .8rem/1.35 var(--sans); opacity: .9; }
.tile .tile__img { position: absolute; right: -14px; top: 50%; width: 130px; height: auto; margin: 0; transform: translateY(-50%) rotate(-6deg); border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { .tile a { transition: none; } .tile a:hover { transform: none; } }

.prose .cols { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: var(--s6) 0; }
.prose .cols > div { padding: var(--s5); background: var(--paper-raised); border: 1px solid var(--rule); border-top: 3px solid var(--teal); border-radius: calc(var(--radius) * 2); }
.prose .cols > div:nth-child(2) { border-top-color: var(--saffron); }
.prose .cols > div:nth-child(3) { border-top-color: var(--narra); }
.prose .cols h3 { margin-top: 0; font-size: 1.15rem; }
.prose .cols p:last-child { margin-bottom: 0; }

.crit { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: var(--s6); align-items: center; margin: var(--s7) 0; padding: var(--s6); background: var(--paper-raised); border: 1px solid var(--rule); border-radius: calc(var(--radius) * 3); }
.crit__title { margin: 0 0 var(--s2); font: 600 1.6rem/1.2 var(--serif); }
.crit__lead { color: var(--ink-soft); }
.crit__slides { list-style: none; margin: var(--s4) 0; padding: 0; }
.crit__slide { margin: 0 0 var(--s4); }
.js .crit__slide { display: none; margin: 0; min-height: 7.5em; }
.js .crit__slide.is-active { display: block; }
.crit__head { margin: 0 0 var(--s2); font: 600 1.25rem/1.3 var(--sans); }
.crit__pct { font: 700 1.6rem/1 var(--serif); margin-right: var(--s2); }
.crit__nav { display: none; align-items: center; gap: var(--s4); margin-bottom: var(--s4); }
.js .crit__nav { display: flex; }
.crit__btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); color: var(--ink); cursor: pointer; box-shadow: 0 2px 6px rgba(23,33,43,.08); }
.crit__btn:hover { border-color: var(--teal); color: var(--teal); }
.crit__btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.icon--flip { transform: scaleX(-1); }
.crit__pie { position: relative; width: 240px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 14px 0 -2px rgba(23,33,43,.22), 0 18px 30px rgba(23,33,43,.18); }
.crit__hole { position: absolute; inset: 30%; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--paper-raised); font: 700 2rem/1 var(--serif); color: var(--ink); }
@media (max-width: 767px) { .crit { grid-template-columns: 1fr; padding: var(--s5); } .crit__pie { width: 180px; margin: 0 auto; grid-row: 1; } }
.prose .tiles, .prose .crit__slides { padding-left: 0; }
.prose .tiles > li, .prose .crit__slides > li { padding-left: 0; }
.prose .tiles > li::marker, .prose .crit__slides > li::marker { content: ""; }
.tile a { padding-top: calc(var(--s5) + 26px); }
.tile__label { font-size: 1rem; overflow-wrap: normal; hyphens: auto; }
.method .stepcards { margin: var(--s5) 0 0; }
.method .crit { margin: 0; }
@media (min-width: 900px) { .method__grid { grid-template-columns: 1fr; gap: var(--s6); } }
.tiles { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.tile a { min-height: 190px; padding: var(--s4); padding-top: 96px; }
.tile .tile__img { top: 12px; right: 10px; width: 92px; transform: rotate(-6deg); }
.tile__eyebrow { top: 12px; left: 12px; }
.tile__label, .tile__sub { max-width: none; }
.tile__label { font-size: .95rem; }
/* tiles v3: equal heights, art in a white chip beside the label, full note text, no badge overlap */
.tiles { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); align-items: stretch; }
.tiles .tile { display: flex; }
.tile a { flex: 1; display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto 1fr; column-gap: var(--s3); row-gap: var(--s2); align-items: center; min-height: 0; padding: var(--s4); }
.tile .tile__img { position: static; grid-row: 1; grid-column: 1; width: 64px; height: 64px; object-fit: contain; padding: 4px; margin: 0; transform: none; border-radius: 14px; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.18); }
.tile__label { grid-row: 1; grid-column: 2; max-width: none; font: 700 1rem/1.2 var(--sans); text-transform: none; letter-spacing: 0; }
.tile__sub { grid-row: 2; grid-column: 1 / -1; align-self: start; max-width: none; margin: 0; font: 400 .88rem/1.45 var(--sans); opacity: .92; }
.tile__eyebrow { display: none; }
.tile a::after { content: "→"; position: absolute; right: var(--s4); bottom: var(--s3); font: 700 1rem/1 var(--sans); opacity: .7; }
.tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tile a { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; padding: var(--s4) var(--s4) calc(var(--s4) + 18px); }
.tile .tile__img { grid-row: 1; grid-column: 1; width: 56px; height: 56px; }
.tile__label { grid-row: 2; grid-column: 1; }
.tile__sub { grid-row: 3; grid-column: 1; font-size: .84rem; }
@media (max-width: 767px) { .tiles { grid-template-columns: 1fr 1fr; } .tiles .tile:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* keyfacts written as <li><strong>Label</strong> : value</li> (no icon): label on its own line, no 36px icon column */
.prose .keyfacts > li:not(:has(.icon)) { display: block; font: 600 1rem/1.4 var(--serif); }
.prose .keyfacts > li:not(:has(.icon)) > strong:first-child { display: block; margin-bottom: 2px; font: 500 0.7rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); }
/* step cards: fit five in one row on desktop; lone last card spans the row on two-column widths */
.prose .stepcards, .stepcards { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.prose .keyfacts, .keyfacts { background: var(--paper-raised); }
.prose .keyfacts > li { box-shadow: 0 0 0 1px var(--rule); }
.prose .stepcards, .stepcards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (min-width: 900px) {
  .stepcards:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr); }
  .stepcards:has(> li:nth-child(5):last-child) > li { grid-column: span 2; }
  .stepcards:has(> li:nth-child(5):last-child) > li:nth-child(n+4) { grid-column: span 3; }
  .stepcards:has(> li:nth-child(7):last-child) { grid-template-columns: repeat(12, 1fr); }
  .stepcards:has(> li:nth-child(7):last-child) > li { grid-column: span 3; }
  .stepcards:has(> li:nth-child(7):last-child) > li:nth-child(n+5) { grid-column: span 4; }
}

/* ---------- Kasino Rádce: dark "night glass" hero (site axis) ---------- */
.hero, .cover {
  --hero-ink: #F3F5FB; --hero-soft: #B9C2D8; --hero-rule: rgba(255,255,255,.18);
  position: relative; isolation: isolate; color: var(--hero-ink);
  background:
    radial-gradient(60rem 28rem at 88% -10%, rgba(47,107,255,.34), transparent 60%),
    radial-gradient(40rem 26rem at 8% 120%, rgba(160,24,64,.55), transparent 62%),
    linear-gradient(160deg, #1B1F3A 0%, #121528 55%, #0D0F1E 100%);
  --knot-gap: #121528;
}
.hero::after, .cover::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: url("../illustrations/facet-grid.svg") right top / 520px auto no-repeat;
}
.hero .hero__title, .cover .cover__title, .hero .lead, .cover .lead, .hero h1, .cover h1, .cover h2 { color: var(--hero-ink); }
.hero .eyebrow, .cover .eyebrow { color: #FFB3C7; }
.hero .crumbs li, .hero .crumbs a { color: var(--hero-soft); }
.hero .crumbs li + li::before { color: rgba(255,255,255,.35); }
.hero .crumbs a:hover { color: #fff; }
.hero .byline { border-top-color: var(--hero-rule); }
.hero .byline p, .hero .disclaimer, .cover .disclaimer { color: var(--hero-soft); }
.hero .byline__who, .hero .byline a { color: var(--hero-ink); }
.hero .disclaimer .age-mark, .cover .disclaimer .age-mark { color: #FFB27A; }
.hero .hero__cover { border-color: var(--hero-rule); border-radius: var(--radius); box-shadow: 0 24px 48px rgba(0,0,0,.35); }
.hero .draft-flag { color: #111; }
.hero ~ .article { background: none; }
.cover .ledger__list, .cover__index .ledger__list { border-top-color: var(--hero-rule); }
.cover .ledger__row { border-color: var(--hero-rule); }
.cover .ledger__n, .cover .ledger__note { color: var(--hero-soft); }
.cover .ledger__link { color: var(--hero-ink); }
.cover .ledger__row:hover a.ledger__link { color: #FFB3C7; }
.cover .ledger__arrow { color: #FFB3C7; }
.cover .ledger__thumb { border-color: var(--hero-rule); border-radius: 8px; }
.cover .ledger__flag { background: rgba(47,107,255,.3); color: #fff; }
.hero .strand-band, .cover .strand-band { filter: none; }
.brand-card, .prose table, .hero__cover, .ledger__thumb { border-radius: var(--radius); }

/* long domains/URLs inside facts and tables must wrap (audit 27 Sep 2026) */
.prose .keyfacts li, .keyfacts li, .prose td, .prose th { overflow-wrap: anywhere; }
.hero__art, .hero__text { min-width: 0; }
.hero__cover--logo-dark img, .hero__cover--logo img { max-width: 100%; }
