/* globalcasinorank.com - main stylesheet */

/* ── Fonts (self-hosted) ─────────────────────────────────────── */
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --paper: #ffffff;
  --mist: #f7f6fc;
  --haze: #edeaf7;
  --line: #ddd8ec;
  --line-hi: #c2bbe2;
  --ink: #221d4e;
  --ink-2: #46407e;
  --dim: #625a96;
  --indigo: #3b32a5;
  --indigo-deep: #2a2380;
  --night: #191542;
  --night-2: #221c5e;
  --red: #ba2233;
  --red-deep: #971b29;
  --orange: #ea6f20;
  --orange-deep: #b85411;
  --orange-ink: #a8490c;
  --red-wash: #f9ecee;
  --orange-wash: #fcf2e8;
  --lift: 0 10px 30px rgba(34, 29, 78, 0.10);
  --font-head: 'Archivo', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --bar-h: 64px;
  --notice-h: 30px;
  --stack-h: calc(var(--bar-h) + var(--notice-h) + 1px);
  --max-w: 1160px;
  --bend: 10px;
  --bend-sm: 6px;
  --glide: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--stack-h) + 12px); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  padding-top: var(--stack-h);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration: none; }
main a:not(.gavelcta):not(.quietcta):not(.plainlink) { text-decoration: underline; text-decoration-color: var(--line-hi); text-underline-offset: 3px; }
main a:not(.gavelcta):not(.quietcta):not(.plainlink):hover { text-decoration-color: var(--indigo); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; }
ul, ol { padding-left: 1.3rem; }
button { font-family: var(--font-body); }

.spanhold { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

/* Visually hidden heading - keeps the document outline without rendering */
.ghosthead {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ── Header ──────────────────────────────────────────────────── */
.benchbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: linear-gradient(rgba(14, 11, 38, 0.6), rgba(14, 11, 38, 0.6)),
              var(--night) url('/images/benchfield-band.webp') center top / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(5, 3, 20, 0.55);
}

/* Disclosure strip - top of the fixed stack, one line at every width */
.honestline {
  height: var(--notice-h); overflow: hidden;
  display: flex; align-items: center;
  background: rgba(10, 8, 30, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.honestline-track {
  display: inline-block; white-space: nowrap;
  padding: 0 1.25rem;
  font-size: 0.72rem; color: #a9a3c8;
  animation: honestsway 26s ease-in-out infinite;
}
.honestline-track a { color: #c7c2e6; text-decoration: underline; text-underline-offset: 2px; }
@keyframes honestsway {
  0%, 7%    { transform: translateX(0); }
  44%, 56%  { transform: translateX(min(0px, calc(100vw - 100% - 2.5rem))); }
  93%, 100% { transform: translateX(0); }
}
@media (min-width: 1100px) {
  .honestline { justify-content: center; }
  .honestline-track { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .honestline-track { animation: none; }
  .honestline { overflow-x: auto; }
}
.benchbar-in {
  position: relative;
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem;
  height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brandplate { flex-shrink: 0; }
.brandplate img { height: 40px; width: auto; display: block; }

.benchnav { display: none; }
.benchnav > ul { display: flex; align-items: center; gap: 0.15rem; list-style: none; padding: 0; }
.benchnav a, .benchdrop-flip {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.42rem 0.72rem; border-radius: var(--bend-sm);
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  color: #cfcae8; background: none; border: none; cursor: pointer;
  white-space: nowrap; transition: color 0.16s var(--glide), background 0.16s var(--glide);
}
.benchnav a:hover, .benchdrop-flip:hover, .benchdrop.open .benchdrop-flip { color: #ffffff; background: rgba(255, 255, 255, 0.09); }
.benchnav a[aria-current="page"], .benchdrop-flip.here { color: #ffb37e; background: rgba(234, 111, 32, 0.14); }
.benchdrop-flip .caret { filter: invert(88%) sepia(6%) saturate(500%) hue-rotate(210deg); transition: transform 0.18s var(--glide); }
.benchdrop.open .caret { transform: rotate(180deg); }

/* Mega panels - glass dropdowns anchored under the bar */
.bench-mega {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px);
  background: linear-gradient(168deg, rgba(38, 32, 92, 0.99), rgba(24, 20, 62, 0.99) 60%);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--bend);
  box-shadow: 0 30px 70px rgba(5, 3, 20, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  padding: 0.9rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.22s var(--glide), transform 0.22s var(--glide), visibility 0s linear 0.22s;
}
.benchdrop.open .bench-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }

.mega-ranks { width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.mega-way {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.7rem; border-radius: var(--bend-sm);
  transition: background 0.15s;
}
.mega-way:hover { background: rgba(255, 255, 255, 0.08); }
.way-orb {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex; align-items: center; justify-content: center;
}
.way-orb img { filter: invert(95%); }
.way-word { min-width: 0; }
.way-name { display: block; font-weight: 600; font-size: 0.92rem; color: #ffffff; }
.mega-way:hover .way-name { color: #ffb37e; }
.way-line { display: block; font-size: 0.78rem; color: #a49dcb; margin-top: 0.1rem; }

.mega-reviews { width: 740px; }
.mega-brow {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #a49dcb; padding: 0.2rem 0.4rem 0.65rem;
}
.mega-scoregrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.3rem; }
.mega-pick {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.42rem 0.6rem; border-radius: var(--bend-sm);
  font-size: 0.86rem; font-weight: 600; color: #e6e2f7;
  transition: background 0.15s, color 0.15s;
}
.mega-pick:hover { background: rgba(255, 255, 255, 0.09); color: #ffffff; }
.mega-pick b {
  font-family: var(--font-head); font-weight: 800; font-size: 0.78rem; color: #ffffff;
  background: linear-gradient(150deg, var(--orange), var(--red));
  border-radius: 5px; padding: 0.16rem 0.36rem; line-height: 1; flex-shrink: 0;
}

.mega-guides { width: 720px; }
.mega-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.mega-col-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #a49dcb; padding: 0.2rem 0.55rem 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12); margin-bottom: 0.35rem;
}
.mega-col a {
  display: block; padding: 0.4rem 0.55rem; border-radius: var(--bend-sm);
  font-size: 0.86rem; font-weight: 500; color: #d9d5ee;
  transition: background 0.15s, color 0.15s;
}
.mega-col a:hover { background: rgba(255, 255, 255, 0.09); color: #ffb37e; }

.mega-foot {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 0.8rem; padding: 0.6rem 0.6rem 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem; font-weight: 600; color: #ffffff;
}
.mega-foot img { filter: invert(100%); transition: transform 0.16s var(--glide); }
.mega-foot:hover { color: #ffb37e; }
.mega-foot:hover img { transform: translateX(4px); }

/* Header CTA */
.benchcta {
  display: none; align-items: center; gap: 0.45rem; flex-shrink: 0;
  background: var(--orange-deep); color: #ffffff; font-weight: 600; font-size: 0.88rem;
  padding: 0.5rem 0.95rem; border-radius: 999px; white-space: nowrap;
  transition: background 0.16s var(--glide), transform 0.16s var(--glide);
}
.benchcta:hover { background: var(--orange-ink); transform: translateY(-1px); }
.benchcta img { filter: invert(100%); }
@media (min-width: 1150px) { .benchcta { display: inline-flex; } }

.benchburger {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--bend-sm); cursor: pointer;
}
.benchburger img { filter: invert(95%); }
.burger-shut { display: none; }
body.drawer-open .burger-shut { display: block; }
body.drawer-open .burger-show { display: none; }

.benchdrawer {
  display: none; position: fixed; inset: var(--stack-h) 0 0 0;
  background: var(--night); z-index: 400; overflow-y: auto;
}
body.drawer-open .benchdrawer { display: block; }
.drawer-in { padding: 0.6rem 1.1rem 3rem; }
.drawer-tag {
  padding: 1.5rem 0.2rem 0.6rem; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange);
}
.drawer-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.drawer-ways a {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.8rem 0.85rem; border-radius: var(--bend-sm);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem; font-weight: 600; color: #ffffff;
}
.drawer-ways img { filter: invert(95%); flex-shrink: 0; }
.drawer-scores { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; }
.drawer-scores a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.5rem 0.7rem; border-radius: var(--bend-sm);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.88rem; font-weight: 600; color: #e6e2f7;
}
.drawer-scores b {
  font-family: var(--font-head); font-weight: 800; font-size: 0.76rem; color: #ffffff;
  background: linear-gradient(150deg, var(--orange), var(--red));
  border-radius: 5px; padding: 0.16rem 0.34rem; line-height: 1; flex-shrink: 0;
}
.drawer-list a {
  display: block; padding: 0.7rem 0.2rem; font-size: 0.98rem; font-weight: 600;
  color: #d9d5ef; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.benchdrawer a:hover, .benchdrawer a[aria-current="page"] { color: #ffb37e; }

@media (min-width: 900px) {
  .benchnav { display: flex; align-items: center; }
  .benchburger { display: none !important; }
  .benchdrawer { display: none !important; }
}

/* ── Hero band ───────────────────────────────────────────────── */
.summitband {
  background: var(--night) url('/images/deskfield-backdrop.webp') center / cover no-repeat;
  position: relative;
}
.summitband::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(14, 11, 40, 0.88) 8%, rgba(18, 14, 48, 0.52) 55%, rgba(14, 11, 40, 0.76) 100%);
}
.summit-in { position: relative; padding: 1px 1.25rem 2.8rem; max-width: var(--max-w); margin: 0 auto; }
.summit-crumbs { font-size: 0.82rem; color: #a8a2cd; margin: 0 0 1.6rem; }
.summit-crumbs a { color: #c7c2e6; }

.summit-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; }
.summit-copy { flex: 1 1 400px; min-width: 0; }
.summit-title { font-size: 1.85rem; font-weight: 800; color: #f5f3fc; max-width: 40rem; letter-spacing: -0.015em; }
.summit-sub { margin-top: 0.85rem; font-size: 1.02rem; color: #c9c4e4; max-width: 40rem; }

.penrow { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.2rem; }
.pen-face { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.32); flex-shrink: 0; }
.pen-say { font-size: 0.84rem; color: #b7b1d6; line-height: 1.45; }
.pen-say strong { color: #ffffff; font-weight: 600; }
.pen-say a { color: #ffffff; text-decoration: underline; text-underline-offset: 2px; }
.pen-say a:hover { color: #ffb37e; }

.pays-tag {
  margin-top: 1.4rem; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.11em; text-transform: uppercase; color: #a8a2cd;
}
.summit-paybelt { flex-basis: 100%; min-width: 0; }
.summit-paybelt .pays-tag { margin-top: 0; }
.summit-pays { list-style: none; padding: 0; margin: 0.55rem 0 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.summit-pays li { background: #ffffff; border-radius: 6px; padding: 3px 6px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.summit-pays img { width: 64px; height: 25px; object-fit: contain; display: block; }

.phonepeek { flex: 0 1 186px; margin: 0 auto; align-self: center; }
.phonepeek img {
  width: 100%; border-radius: 22px;
  border: 3px solid rgba(255, 255, 255, 0.17);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.55);
}

.offerpanel {
  flex: 0 1 420px; min-width: 0; margin: 0 auto; align-self: center;
  background: url('/images/offerframe-trim.webp') center / 100% 100% no-repeat;
  padding: 2.7rem 3.1rem; text-align: center;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}
.offer-plate { margin: 0 auto; width: 138px; height: auto; border-radius: 7px; }
.offer-tag {
  margin-top: 0.8rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: #f0a35e;
}
.offer-head { margin-top: 0.35rem; font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: #f5f3fc; line-height: 1.15; }
.offer-sub { margin-top: 0.55rem; font-size: 0.84rem; color: #c9c4e4; line-height: 1.5; }
.offerpanel .gavelcta { margin-top: 0.95rem; }
.offer-fine { margin-top: 0.7rem; font-size: 0.7rem; color: #9a94b5; }

.verdict-chip {
  display: flex; align-items: center; gap: 0.9rem; margin-top: 1.3rem;
  background: rgba(20, 16, 52, 0.55); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--bend); padding: 0.85rem 1.1rem; max-width: 30rem;
}
.verdict-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: #ffffff;
  background: linear-gradient(150deg, var(--orange), var(--red));
  border-radius: var(--bend-sm); padding: 0.35rem 0.7rem; line-height: 1; flex-shrink: 0;
}
.verdict-say { font-size: 0.9rem; color: #ddd9f0; }

/* ── Buttons ─────────────────────────────────────────────────── */
.gavelcta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--red); color: #ffffff; font-weight: 600; font-size: 1rem;
  padding: 0.78rem 1.6rem; border-radius: var(--bend-sm); border: none; cursor: pointer;
  transition: background 0.16s var(--glide), transform 0.16s var(--glide);
}
.gavelcta:hover { background: var(--red-deep); transform: translateY(-1px); }
.gavelcta img { filter: invert(100%); }
.quietcta {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--indigo); font-weight: 600; font-size: 0.95rem;
  padding: 0.78rem 1rem; border-radius: var(--bend-sm);
  border: 1px solid var(--line-hi); background: var(--paper);
  transition: border-color 0.16s, background 0.16s;
}
.quietcta:hover { border-color: var(--indigo); background: var(--mist); }

/* ── Article layout ──────────────────────────────────────────── */
.casebody { padding: 2.6rem 0 3.5rem; }
.caseprose { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.caseprose h2 { font-size: 1.5rem; font-weight: 700; margin: 2.6rem 0 1rem; scroll-margin-top: calc(var(--stack-h) + 16px); }
.caseprose h3 { font-size: 1.13rem; font-weight: 700; margin: 1.8rem 0 0.7rem; }
.caseprose p { margin-bottom: 1rem; }
.caseprose ul, .caseprose ol { margin: 0 0 1.1rem; }
.caseprose li { margin-bottom: 0.45rem; }

/* Centered section lockup */
.midhead { text-align: center; }
.caseprose .midlede { text-align: center; max-width: 46rem; margin: 0 auto 1.4rem; color: var(--ink-2); }
.caseprose .tally-footnote { text-align: center; max-width: 46rem; margin: 0.95rem auto 0; font-size: 0.85rem; color: var(--dim); }
.caseprose .glancehead { text-align: center; margin: 2.6rem 0 1.1rem; font-size: 1.15rem; }

/* Quick facts - centered tiles */
.docketgrid {
  display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin: 0 0 0.6rem;
}
.docket-cell {
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--bend);
  padding: 1.1rem 1rem 1.05rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  text-align: center;
}
.docket-orb {
  width: 40px; height: 40px; border-radius: 50%;
  background: #ffffff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.docket-orb img { width: 20px; height: 20px; filter: invert(24%) sepia(32%) saturate(2400%) hue-rotate(230deg); }
.docket-k { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--dim); }
.docket-v { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
@media (min-width: 560px) { .docketgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .docketgrid { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 900px) { .scribe-tallies { grid-template-columns: repeat(4, 1fr); } }

/* Scorecard tabs - one unified box: tab strip on top, panel below */
.tallytabs {
  margin: 1.5rem 0 1rem;
  border: 1px solid var(--line-hi); border-radius: var(--bend);
  background: var(--paper); overflow: hidden;
  box-shadow: var(--lift);
}
.tally-tabrow {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 6px;
  background: var(--haze); border-bottom: 1px solid var(--line);
  padding: 8px;
}
.tally-tab {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  padding: 0.7rem 0.4rem 0.6rem; border: 1px solid var(--line); border-radius: var(--bend-sm);
  background: #ffffff; cursor: pointer;
  transition: background 0.15s var(--glide), border-color 0.15s var(--glide);
}
.tally-tab:hover { border-color: var(--indigo); }
.tally-tab.on { background: var(--indigo-deep); border-color: var(--indigo-deep); }
.tally-topline { display: flex; align-items: baseline; gap: 2px; }
.tally-tab .tally-score { font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; line-height: 1; color: var(--indigo); }
.tally-of { font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; color: var(--dim); }
.tally-tab.on .tally-score { color: #ffb37e; }
.tally-tab.on .tally-of { color: #b7a6d9; }
.tally-meter {
  display: block; width: 72%; max-width: 84px; height: 4px; border-radius: 2px;
  background: var(--haze); overflow: hidden;
}
.tally-tab.on .tally-meter { background: rgba(255, 255, 255, 0.22); }
.tally-fill { display: block; height: 100%; border-radius: 2px; background: var(--orange); }
.tally-fill.f10 { width: 100%; }
.tally-fill.f9 { width: 90%; }
.tally-fill.f8 { width: 80%; }
.tally-fill.f7 { width: 70%; }
.tally-fill.f6 { width: 60%; }
.tally-fill.f5 { width: 50%; }
.tally-fill.f4 { width: 40%; }
.tally-fill.f3 { width: 30%; }
.tally-fill.f2 { width: 20%; }
.tally-name {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--dim); text-align: center;
}
.tally-tab.on .tally-name { color: #d9d5ef; }
.tallypanel { padding: 1.2rem 1.4rem; background: var(--paper); }
.tallypanel + .tallypanel { border-top: 1px solid var(--line); }
.tallypanel[hidden] { display: none !important; }
.tallypanel h3 { margin: 0 0 0.55rem; font-size: 1.02rem; display: flex; align-items: baseline; gap: 0.6rem; }
.tallypanel h3 .tally-score { font-size: 1.35rem; color: var(--indigo); }
.tallypanel p { margin-bottom: 0.6rem; font-size: 0.95rem; }
.tallypanel p:last-child { margin-bottom: 0; }

/* Pros / cons */
.weighpair { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.4rem 0; }
@media (min-width: 720px) { .weighpair { grid-template-columns: 1fr 1fr; } }
.weigh-for, .weigh-against { border: 1px solid var(--line); border-radius: var(--bend); padding: 1.1rem 1.2rem; background: var(--paper); }
.weigh-for h3, .weigh-against h3 { margin: 0 0 0.7rem; font-size: 1rem; display: flex; align-items: center; gap: 0.45rem; }
.weigh-for img { filter: invert(30%) sepia(90%) saturate(700%) hue-rotate(85deg); }
.weigh-against img { filter: invert(22%) sepia(70%) saturate(2600%) hue-rotate(335deg); }
.weigh-for ul, .weigh-against ul { margin: 0; padding-left: 1.15rem; }
.weigh-for li, .weigh-against li { font-size: 0.93rem; margin-bottom: 0.5rem; }

/* Exhibits (screenshots) */
.exhibitframe { margin: 1.6rem 0; border: 1px solid var(--line); border-radius: var(--bend); overflow: hidden; background: var(--mist); }
.exhibitframe img { width: 100%; }
.exhibit-cap { padding: 0.65rem 1rem; font-size: 0.83rem; color: var(--ink-2); border-top: 1px solid var(--line); }

/* Payment rack */
.payrack { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.3rem 0; padding: 0; list-style: none; }
.payrack li { border: 1px solid var(--line); border-radius: var(--bend-sm); background: #ffffff; padding: 6px 10px; }
.payrack img { width: 120px; height: 45px; object-fit: contain; }

/* Ledger tables */
.ledgerwrap { overflow-x: auto; margin: 1.3rem 0; border: 1px solid var(--line); border-radius: var(--bend); }
.ledgertable { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 540px; }
.ledgertable th {
  text-align: left; font-family: var(--font-head); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: #ffffff;
  background: var(--indigo-deep); padding: 0.7rem 0.9rem;
}
.ledgertable td { padding: 0.68rem 0.9rem; border-top: 1px solid var(--line); color: var(--ink-2); }
.ledgertable tr:nth-child(even) td { background: var(--mist); }
.ledgertable td:first-child { font-weight: 600; color: var(--ink); }

/* Clause note */
.clausenote {
  border: 1px solid var(--line); border-left: 4px solid var(--orange);
  background: var(--mist); padding: 1rem 1.2rem; margin: 1.4rem 0;
}
.clausenote p { margin: 0; font-size: 0.94rem; }
.clausenote strong { color: var(--ink); }

/* CTA band */
.gavelband {
  background: var(--night); border-radius: var(--bend);
  padding: 1.6rem 1.5rem; margin: 2.2rem 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.gavelband-say { color: #ddd9f0; font-size: 1rem; max-width: 34rem; }
.gavelband-say strong { color: #ffffff; font-family: var(--font-head); font-size: 1.1rem; display: block; margin-bottom: 0.25rem; }
.gavelband-fine { width: 100%; font-size: 0.76rem; color: #9d97c4; }

/* Author conclusion */
.pennote {
  display: flex; align-items: flex-start; gap: 1.1rem;
  border: 1px solid var(--line); border-radius: var(--bend);
  background: var(--mist); padding: 1.25rem 1.4rem; margin: 1.4rem 0;
}
.pennote img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--line-hi); flex-shrink: 0; }
.pennote-body { min-width: 0; }
.pennote-body p { margin-bottom: 0; font-size: 0.97rem; }
.pennote-sig { margin-top: 0.6rem; font-weight: 600; color: var(--ink); font-size: 0.88rem; }

/* FAQ */
.askfold { border: 1px solid var(--line); border-radius: var(--bend); margin-bottom: 0.8rem; background: var(--paper); }
.askfold summary {
  cursor: pointer; padding: 0.95rem 1.1rem; font-weight: 600; font-size: 0.98rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.askfold summary::-webkit-details-marker { display: none; }
.askfold summary::after { content: "+"; font-family: var(--font-head); font-weight: 700; color: var(--orange); font-size: 1.2rem; }
.askfold[open] summary::after { content: "\2212"; }
.askfold div { padding: 0 1.1rem 1rem; }
.askfold div p { font-size: 0.94rem; margin-bottom: 0.6rem; }

/* RG band */
.safeband { background: var(--mist); border: 1px solid var(--line); border-radius: var(--bend); padding: 1.3rem 1.4rem; margin: 2.4rem 0 0; }
.safeband h2 { margin: 0 0 0.6rem; font-size: 1.15rem; display: flex; align-items: center; gap: 0.5rem; }
.safeband h2 img { filter: invert(24%) sepia(32%) saturate(2400%) hue-rotate(230deg); }
.safeband p { font-size: 0.92rem; margin-bottom: 0.5rem; }
.agepip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: #ffffff; font-weight: 700; font-size: 0.78rem;
  flex-shrink: 0;
}

/* Author page */
.scribefold { text-align: center; max-width: 46rem; margin: 0 auto 2.2rem; }
.scribe-face { width: 168px; height: 168px; border-radius: 50%; border: 3px solid var(--line-hi); margin: 0 auto; }
.scribe-role { color: var(--dim); font-size: 0.95rem; margin-top: 0.5rem; }
.scribe-lede { margin-top: 1rem; font-size: 1.02rem; color: var(--ink-2); }

/* Changelog */
.caseline { margin-top: 2.2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.83rem; color: var(--dim); }

/* ── Footer ──────────────────────────────────────────────────── */
.basecourt {
  background: linear-gradient(rgba(14, 11, 38, 0.72), rgba(14, 11, 38, 0.86)),
              var(--night) url('/images/benchfield-band.webp') center / cover no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #c7c2e2; margin-top: 3.5rem;
}
.basecourt-in { max-width: var(--max-w); margin: 0 auto; padding: 2.8rem 1.25rem 1.6rem; }
.base-top {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 1.6rem; padding-bottom: 2.2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.base-id { max-width: 34rem; }
.base-mark img { height: 36px; width: auto; display: block; }
.base-note { font-size: 0.86rem; margin-top: 0.9rem; color: #a8a2cd; }
.base-acts { display: flex; flex-direction: column; gap: 0.6rem; }
.base-cta, .base-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  font-weight: 600; font-size: 0.88rem; padding: 0.5rem 1.05rem; border-radius: 999px;
  white-space: nowrap; transition: background 0.16s var(--glide), transform 0.16s var(--glide), border-color 0.16s;
}
.base-cta { background: var(--orange-deep); color: #ffffff; }
.base-cta:hover { background: var(--orange-ink); transform: translateY(-1px); }
.base-cta img { filter: invert(100%); }
.base-ghost { border: 1px solid rgba(255, 255, 255, 0.28); color: #ffffff; }
.base-ghost:hover { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.07); }
.base-ghost img { filter: invert(100%); }
.base-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; margin-top: 2.2rem; }
@media (min-width: 760px) { .base-cols { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .base-cols { grid-template-columns: repeat(5, 1fr); } }
.base-col h3 { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.8rem; }
.base-col ul { list-style: none; padding: 0; }
.base-col li { margin-bottom: 0.5rem; display: flex; align-items: baseline; gap: 0.5rem; }
.base-col a { color: #c7c2e2; font-size: 0.9rem; transition: color 0.14s; }
.base-col a:hover { color: #ffffff; }
.base-score { font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; color: #ffb37e; }
.base-legal {
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.8rem; color: #9d97c4;
}
.base-legal p { max-width: 70ch; }
.base-foot {
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
  font-size: 0.76rem; color: #8f88b8;
}

/* ── Back to top ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 300;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--indigo); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.2s var(--glide), background 0.2s;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--indigo-deep); }
.back-to-top img { filter: invert(100%); }

/* ── Ranking page ────────────────────────────────────────────── */
.countband {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  margin: 1.5rem 0 0; padding: 0; list-style: none; max-width: 660px;
  background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--bend); overflow: hidden;
}
.countband li { display: flex; align-items: center; gap: 0.65rem; padding: 0.8rem 0.95rem; background: #1d1850; min-width: 0; }
.count-orb {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.09);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.count-orb img { filter: invert(92%); }
.count-ok .count-orb { background: rgba(234, 111, 32, 0.28); }
.count-fail .count-orb { background: rgba(186, 34, 51, 0.34); }
.count-stack { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.count-big { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: #ffb37e; line-height: 1.05; }
.count-fail .count-big { color: #ff98a4; }
.count-tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: #b7b1d6; line-height: 1.35; white-space: nowrap; }
@media (min-width: 720px) { .countband { grid-template-columns: repeat(4, 1fr); } }

.orbitring { position: relative; width: 400px; height: 400px; flex: 0 0 auto; margin: 0 auto; display: none; }
.orbitring::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 300px; height: 300px; margin: -150px 0 0 -150px;
  border: 1px dashed rgba(255, 255, 255, 0.18); border-radius: 50%;
  animation: orbitback 80s linear infinite;
}
.orbit-core {
  position: absolute; top: 50%; left: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 28%, rgba(234, 111, 32, 0.24), transparent 60%),
    radial-gradient(circle at 50% 50%, #2a2467 0%, #1c1750 58%, #131039 100%);
  border: 1px solid rgba(255, 179, 126, 0.42);
  box-shadow: 0 0 46px rgba(234, 111, 32, 0.22), inset 0 0 26px rgba(0, 0, 0, 0.38);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
}
.orbit-core::before {
  content: ""; position: absolute; inset: 7px;
  border: 1px dashed rgba(255, 255, 255, 0.22); border-radius: 50%;
  animation: orbitback 34s linear infinite;
}
.core-kick {
  font-family: var(--font-head); font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.36em; text-indent: 0.36em; text-transform: uppercase; color: #c9c4e4;
}
.core-big {
  font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1;
  color: #ffb37e; text-shadow: 0 2px 16px rgba(234, 111, 32, 0.45);
}
.core-rule { width: 28px; height: 2px; border-radius: 1px; background: var(--orange); margin: 3px 0 4px; }
.core-tag {
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.22em; text-indent: 0.22em; text-transform: uppercase; color: #b7b1d6;
}
.orbit-pod { position: absolute; top: 50%; left: 50%; width: 78px; margin: -15px 0 0 -39px; animation: orbitlap 50s linear infinite; }
.orbit-pod img { width: 78px; height: 29px; border-radius: 5px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); display: block; }
.pod-p2 { animation-delay: -5s; }
.pod-p3 { animation-delay: -10s; }
.pod-p4 { animation-delay: -15s; }
.pod-p5 { animation-delay: -20s; }
.pod-p6 { animation-delay: -25s; }
.pod-p7 { animation-delay: -30s; }
.pod-p8 { animation-delay: -35s; }
.pod-p9 { animation-delay: -40s; }
.pod-p10 { animation-delay: -45s; }
@keyframes orbitlap {
  from { transform: rotate(0deg) translate(150px) rotate(0deg); }
  to { transform: rotate(360deg) translate(150px) rotate(-360deg); }
}
@keyframes orbitback { to { transform: rotate(-360deg); } }
@media (min-width: 980px) { .orbitring { display: block; } }
@media (prefers-reduced-motion: reduce) {
  .orbit-pod, .orbitring::before, .orbit-core::before { animation-play-state: paused; }
}

.causelist { display: grid; gap: 1.3rem; margin: 1.5rem 0 0.5rem; }
.causecard { border: 1px solid var(--line); border-radius: var(--bend); background: var(--paper); overflow: hidden; }
.cause-brow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1rem;
  background: var(--night); padding: 0.95rem 1.35rem;
}
.cause-seat {
  font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; color: #ffffff;
  background: rgba(255, 255, 255, 0.14); border-radius: var(--bend-sm);
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cause-seat.seat-gold { background: #8a5c10; }
.cause-seat.seat-silver { background: #595566; }
.cause-seat.seat-bronze { background: #7c451f; }
.cause-plate { width: 104px; height: auto; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.24); }
.cause-hgroup { flex: 1 1 220px; min-width: 0; text-align: center; }
.cause-name { margin: 0; font-size: 1.45rem; letter-spacing: -0.01em; color: #f5f3fc; }
.cause-name a { color: #f5f3fc; }
.cause-name a:hover { color: #ffb37e; }
.cause-scorechip { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.score-row { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; line-height: 1; color: #ffb37e; }
.score-row .score-of { font-size: 0.85rem; font-weight: 700; color: #b7a6d9; }
.cause-gauge { display: block; width: 104px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.gauge-fill { display: block; height: 100%; border-radius: 2px; background: var(--orange); }
.gauge-fill.f90 { width: 90%; }
.gauge-fill.f87 { width: 87%; }
.gauge-fill.f71 { width: 71%; }
.gauge-fill.f69 { width: 69%; }
.gauge-fill.f61 { width: 61%; }
.gauge-fill.f60 { width: 60%; }
.gauge-fill.f53 { width: 53%; }
.gauge-fill.f50 { width: 50%; }
.gauge-fill.f49 { width: 49%; }
.gauge-fill.f44 { width: 44%; }
.gauge-fill.f43 { width: 43%; }
.gauge-fill.f39 { width: 39%; }
.gauge-fill.f37 { width: 37%; }
.gauge-fill.f36 { width: 36%; }
.gauge-fill.f40 { width: 40%; }
.gauge-fill.f30 { width: 30%; }
.gauge-fill.f20 { width: 20%; }
.chip-note { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: #b7a6d9; }
.cause-facts {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line); border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.cause-facts > div { display: flex; gap: 0.5rem; align-items: flex-start; min-width: 0; background: var(--mist); padding: 0.8rem 1.05rem; }
.cause-facts img { flex-shrink: 0; margin-top: 2px; filter: invert(24%) sepia(32%) saturate(2400%) hue-rotate(230deg); }
.fact-k { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.fact-v { color: var(--ink-2); }
.cause-deck { display: grid; grid-template-columns: 1fr; gap: 1.15rem; padding: 1.1rem 1.35rem 1.25rem; align-items: start; }
.cause-main { min-width: 0; }
.cause-say p { font-size: 0.95rem; margin-bottom: 0.7rem; }
.cause-say p:last-child { margin-bottom: 0; }
.cause-ctas { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-top: 0.95rem; }
.cause-fine { width: 100%; font-size: 0.74rem; color: var(--dim); }
.cause-peek { margin: 0; border: 1px solid var(--line); border-radius: var(--bend-sm); overflow: hidden; background: var(--mist); }
.cause-peek img { width: 100%; height: auto; display: block; }
.cause-peek figcaption { padding: 0.45rem 0.75rem; font-size: 0.74rem; color: var(--dim); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .cause-deck { grid-template-columns: 1fr 340px; } }

.pickbench { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.4rem 0; }
.pick-cell { border: 1px solid var(--line); border-radius: var(--bend); background: var(--paper); padding: 1.05rem 1.15rem; }
.pick-cell h3 { margin: 0 0 0.45rem; font-size: 1rem; display: flex; align-items: center; gap: 0.45rem; }
.pick-cell h3 img { filter: invert(24%) sepia(32%) saturate(2400%) hue-rotate(230deg); flex-shrink: 0; }
.pick-cell p { font-size: 0.92rem; margin: 0; }

@media (min-width: 720px) { .pickbench { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) { .cause-facts { grid-template-columns: 1fr 1fr 1fr; } }

/* Watch dock - hero panel: the launch pipeline at a glance */
.watchdock {
  flex: 0 1 400px; min-width: 0; align-self: center; display: none;
  background: rgba(20, 16, 52, 0.66); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--bend); padding: 1.1rem 1.25rem 0.6rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}
.watch-head {
  display: flex; align-items: center; gap: 0.5rem; padding-bottom: 0.55rem;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: #c9c4e4;
}
.watch-head img { filter: invert(92%); }
.watch-row { display: flex; align-items: baseline; gap: 0.7rem; padding: 0.5rem 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.watch-name { font-family: var(--font-head); font-weight: 700; font-size: 0.94rem; color: #f5f3fc; flex-shrink: 0; }
.watch-line { font-size: 0.76rem; color: #b7b1d6; margin-left: auto; text-align: right; }
.watch-line.w-ok { color: #ffb37e; }
.watch-line.w-bad { color: #ff98a4; }
@media (min-width: 980px) { .watchdock { display: block; } }

/* Cause stamp - status chip for a scoreless pipeline card brow */
.cause-stamp {
  font-family: var(--font-head); font-weight: 800; font-size: 0.76rem;
  letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap;
  padding: 0.45rem 0.7rem; border-radius: var(--bend-sm); flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14); color: #f5f3fc;
}
.cause-stamp.stamp-ok { background: rgba(234, 111, 32, 0.28); color: #ffb37e; }
.cause-stamp.stamp-bad { background: rgba(186, 34, 51, 0.34); color: #ff98a4; }

/* Ring-braid - adds an inner counter-rotating ring so eighteen plates fit */
.ring-braid .podq { width: 64px; margin: -12px 0 0 -32px; animation-name: orbitweave; animation-duration: 40s; }
.ring-braid .podq img { width: 64px; height: 24px; }
.ring-braid .pod-q2 { animation-delay: -5s; }
.ring-braid .pod-q3 { animation-delay: -10s; }
.ring-braid .pod-q4 { animation-delay: -15s; }
.ring-braid .pod-q5 { animation-delay: -20s; }
.ring-braid .pod-q6 { animation-delay: -25s; }
.ring-braid .pod-q7 { animation-delay: -30s; }
.ring-braid .pod-q8 { animation-delay: -35s; }
@keyframes orbitweave {
  from { transform: rotate(0deg) translate(95px) rotate(0deg); }
  to { transform: rotate(-360deg) translate(95px) rotate(360deg); }
}

/* Ring-dozen - orbit spacing for twelve plates instead of ten */
.ring-dozen .pod-p2 { animation-delay: -4.17s; }
.ring-dozen .pod-p3 { animation-delay: -8.33s; }
.ring-dozen .pod-p4 { animation-delay: -12.5s; }
.ring-dozen .pod-p5 { animation-delay: -16.67s; }
.ring-dozen .pod-p6 { animation-delay: -20.83s; }
.ring-dozen .pod-p7 { animation-delay: -25s; }
.ring-dozen .pod-p8 { animation-delay: -29.17s; }
.ring-dozen .pod-p9 { animation-delay: -33.33s; }
.ring-dozen .pod-p10 { animation-delay: -37.5s; }
.ring-dozen .pod-p11 { animation-delay: -41.67s; }
.ring-dozen .pod-p12 { animation-delay: -45.83s; }

/* Brief grid - the three rules the ranking runs on */
.briefgrid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.4rem 0; }
.brief-cell { border: 1px solid var(--line); border-radius: var(--bend); background: var(--paper); padding: 1.2rem 1.25rem 1.15rem; }
.brief-orb {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--haze); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem;
}
.brief-orb img { width: 20px; height: 20px; filter: invert(24%) sepia(32%) saturate(2400%) hue-rotate(230deg); }
.brief-cell h3 { margin: 0 0 0.45rem; font-size: 1.02rem; }
.brief-cell p { font-size: 0.92rem; margin: 0; color: var(--ink-2); }
@media (min-width: 860px) { .briefgrid { grid-template-columns: 1fr 1fr 1fr; } }

/* Seal dock - failed licence claims sorted by the validator's answer */
.sealdock { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.5rem 0; }
.dock-lane { border: 1px solid var(--line); border-radius: var(--bend); background: var(--paper); overflow: hidden; }
.dock-head { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.95rem 1.05rem; border-bottom: 1px solid var(--line); }
.dock-head img { flex-shrink: 0; margin-top: 2px; }
.dock-stamp {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 0.92rem;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3;
}
.dock-sub { display: block; margin-top: 2px; font-size: 0.8rem; color: var(--ink-2); line-height: 1.45; }
.lane-invalid .dock-head { background: var(--red-wash); }
.lane-invalid .dock-stamp { color: var(--red-deep); }
.lane-invalid .dock-head img { filter: invert(22%) sepia(70%) saturate(2600%) hue-rotate(335deg); }
.lane-notfound .dock-head { background: var(--orange-wash); }
.lane-notfound .dock-stamp { color: var(--orange-ink); }
.lane-notfound .dock-head img { filter: invert(35%) sepia(72%) saturate(1300%) hue-rotate(357deg) brightness(90%); }
.lane-noclaim .dock-head { background: var(--haze); }
.lane-noclaim .dock-stamp { color: var(--ink-2); }
.lane-noclaim .dock-head img { filter: invert(24%) sepia(32%) saturate(2400%) hue-rotate(230deg); }
.dock-lane ul { list-style: none; padding: 0; margin: 0; }
.dock-lane li { margin: 0; padding: 0.75rem 1.05rem; }
.dock-lane li + li { border-top: 1px solid var(--line); }
.dock-lane li a { font-weight: 600; }
.dock-why { display: block; margin-top: 1px; font-size: 0.84rem; color: var(--ink-2); line-height: 1.5; }
@media (min-width: 900px) { .sealdock { grid-template-columns: 1fr 1fr 1fr; align-items: start; } }

/* Alias note - operators named as their own registration numbers */
.aliasnote {
  border: 1px solid var(--line); border-left: 4px solid var(--indigo);
  background: var(--mist); padding: 1.05rem 1.2rem; margin: 1.5rem 0;
}
.aliasnote p { font-size: 0.94rem; margin: 0 0 0.75rem; }
.aliasnote p:last-child { margin-bottom: 0; }
.alias-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 0 0 0.85rem; }
.alias-chip { background: var(--paper); border: 1px solid var(--line-hi); border-radius: var(--bend-sm); padding: 0.55rem 0.85rem; }
.alias-chip b { display: block; font-family: var(--font-head); font-size: 0.95rem; color: var(--ink); }
.alias-chip em { display: block; font-style: normal; font-size: 0.76rem; color: var(--dim); margin-top: 1px; }

/* Cross rail - the five-step self check */
.crossrail { list-style: none; padding: 0; margin: 1.5rem 0 1.8rem; }
.cross-step { position: relative; display: flex; gap: 1rem; margin: 0; padding-bottom: 1.4rem; }
.cross-step:last-child { padding-bottom: 0; }
.cross-step::before { content: ""; position: absolute; left: 20px; top: 46px; bottom: 2px; width: 2px; background: var(--haze); }
.cross-step:last-child::before { display: none; }
.cross-numb {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--indigo); color: #ffffff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.cross-body { min-width: 0; padding-top: 0.35rem; }
.cross-body h3 { margin: 0 0 0.3rem; font-size: 1.02rem; }
.cross-body p { font-size: 0.93rem; margin: 0; color: var(--ink-2); max-width: 62ch; }
@media (min-width: 900px) {
  .crossrail { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.4rem; }
  .cross-step { padding-bottom: 0; }
  .cross-step::before { display: none; }
}

/* Grade board - hero panel: the roster's average score per check */
.gradeboard {
  flex: 0 1 400px; min-width: 0; align-self: center; display: none;
  background: rgba(20, 16, 52, 0.66); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--bend); padding: 1.1rem 1.25rem 0.9rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}
.grade-head {
  display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.35rem;
  font-family: var(--font-head); font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: #f5f3fc;
}
.grade-head img { filter: invert(92%); }
.grade-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.52rem 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.grade-name { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: #f5f3fc; flex: 0 0 148px; }
.grade-meter { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.grade-fill { display: block; height: 100%; border-radius: 3px; background: var(--orange); }
.grade-fill.g40 { width: 40%; }
.grade-fill.g45 { width: 45%; }
.grade-fill.g47 { width: 47%; }
.grade-fill.g50 { width: 50%; }
.grade-fill.g52 { width: 52%; }
.grade-fill.g53 { width: 53%; }
.grade-fill.g67 { width: 67%; }
.grade-num { font-family: var(--font-head); font-weight: 800; font-size: 0.9rem; color: #ffb37e; flex-shrink: 0; min-width: 2.2ch; text-align: right; }
.grade-foot { margin: 0.65rem 0 0; font-size: 0.72rem; color: #b7b1d6; }
@media (min-width: 980px) { .gradeboard { display: block; } }

/* Exam deck - the seven checks, one card each */
.examdeck { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.5rem 0; }
.exam-cell { border: 1px solid var(--line); border-radius: var(--bend); background: var(--paper); padding: 1.2rem 1.25rem 1.1rem; }
.exam-brow { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.65rem; }
.exam-orb {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--haze); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.exam-orb img { width: 20px; height: 20px; filter: invert(24%) sepia(32%) saturate(2400%) hue-rotate(230deg); }
.exam-brow h3 { margin: 0; font-size: 1.08rem; }
.exam-cell > p { font-size: 0.93rem; margin: 0 0 0.85rem; color: var(--ink-2); }
.exam-marks { list-style: none; padding: 0; margin: 0 0 0.85rem; display: grid; gap: 0.5rem; }
.exam-marks li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.88rem; margin: 0; line-height: 1.55; }
.exam-marks img { flex-shrink: 0; margin-top: 3px; }
.exam-marks .mark-ok img { filter: invert(24%) sepia(32%) saturate(2400%) hue-rotate(230deg); }
.exam-marks .mark-bad img { filter: invert(22%) sepia(70%) saturate(2600%) hue-rotate(335deg); }
.exam-case { margin: 0; padding-top: 0.7rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-2); }
@media (min-width: 860px) { .examdeck { grid-template-columns: 1fr 1fr; } }

/* Proof duo - a verified seal answer and a failed one, side by side */
.proofduo { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.5rem 0; }
.proof-shot { margin: 0; border: 1px solid var(--line); border-radius: var(--bend-sm); overflow: hidden; background: var(--mist); }
.proof-shot img { width: 100%; height: auto; display: block; }
.proof-shot figcaption { padding: 0.5rem 0.8rem; font-size: 0.78rem; color: var(--dim); border-top: 1px solid var(--line); }
@media (min-width: 760px) { .proofduo { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ── Wide screens ────────────────────────────────────────────── */
@media (min-width: 900px) {
  .summit-title { font-size: 2.15rem; }
  .summit-in { padding: 1px 1.25rem 3.4rem; }
  .caseprose h2 { font-size: 1.65rem; }
}
@media (max-width: 459px) {
  .offerpanel { padding: 2.1rem 1.9rem; }
  .offer-head { font-size: 1.32rem; }
}

/* ── Homepage (rotunda architecture) ─────────────────────────── */
.rotunda {
  background: linear-gradient(rgba(14, 11, 38, 0.42), rgba(20, 16, 52, 0.72)),
              var(--night) url('/images/deskfield-backdrop.webp') center / cover no-repeat;
  position: relative; overflow: hidden;
  text-align: center;
}
.rotunda::before, .rotunda::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.rotunda::before {
  width: 720px; height: 720px; top: -300px; right: -220px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
}
.rotunda::after {
  width: 520px; height: 520px; top: -220px; right: -120px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.rotu-in { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; padding: 3.2rem 1.25rem 3rem; }
.rotu-title {
  font-size: clamp(1.9rem, 4.6vw, 2.75rem); font-weight: 800; color: #f5f3fc;
  letter-spacing: -0.02em; max-width: 21ch; margin: 0 auto;
}
.rotu-sub { margin: 1.05rem auto 0; max-width: 44rem; font-size: 1.02rem; color: #c9c4e4; }
.rotu-pass {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-top: 1.15rem; font-size: 0.85rem; color: #a9a3c8;
}
.rotu-pass img { filter: invert(70%) sepia(8%) saturate(900%) hue-rotate(215deg); }
@media (min-width: 1040px) {
  .rotu-in { display: grid; grid-template-columns: 1fr 460px; gap: 3.5rem; align-items: center; text-align: left; padding-bottom: 3.4rem; }
  .rotu-title, .rotu-sub { margin-left: 0; margin-right: 0; }
}

/* The vitrine - hero exhibit gallery, one panel at a time */
.vitrine {
  max-width: 470px; margin: 2.3rem auto 0; text-align: left;
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03) 58%);
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--bend);
  box-shadow: 0 30px 70px rgba(5, 3, 20, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
@media (min-width: 1040px) { .vitrine { margin: 0; } }
.vit-tabs { display: flex; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.vit-tab {
  position: relative; flex: 1; padding: 0.78rem 0.4rem 0.72rem; cursor: pointer;
  background: none; border: none; border-right: 1px solid rgba(255, 255, 255, 0.09);
  font-weight: 600; font-size: 0.84rem; letter-spacing: 0.02em; color: #a49dcb;
  transition: background 0.16s, color 0.16s;
}
.vit-tab:last-child { border-right: none; }
.vit-tab:hover { color: #ffffff; background: rgba(255, 255, 255, 0.05); }
.vit-tab.on { color: #ffffff; background: rgba(255, 255, 255, 0.08); }
.vit-tab::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--orange);
}
.vit-tab.on::after { animation: vitfill 5.5s linear forwards; }
.vitrine.vit-hold .vit-tab.on::after { animation: none; width: 100%; }
@keyframes vitfill { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .vit-tab.on::after { animation: none; width: 100%; } }
.vit-stage { position: relative; min-height: 356px; }
.vit-slide {
  position: absolute; inset: 0; padding: 1.35rem 1.5rem 1.3rem;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.45s var(--glide), transform 0.45s var(--glide), visibility 0s linear 0.45s;
}
.vit-slide.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.vit-head { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: #ffffff; letter-spacing: -0.01em; }
.vit-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0.9rem 0; }
.vit-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 0.85rem;
}
.vit-note { font-size: 0.83rem; color: #b7b1d6; min-width: 0; }
.vit-go {
  display: inline-flex; align-items: center; gap: 0.45rem; flex-shrink: 0;
  font-weight: 600; font-size: 0.9rem; color: #ffffff; white-space: nowrap;
}
.vit-go img { filter: invert(100%); transition: transform 0.18s var(--glide); }
.vit-go:hover { color: #ffb37e; }
.vit-go:hover img { transform: translateX(4px); }

/* Panel 1: podium */
.podium { display: flex; flex-direction: column; gap: 0.5rem; }
.pod-row {
  display: flex; align-items: center; gap: 0.75rem;
  background: rgba(10, 8, 30, 0.45); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bend-sm); padding: 0.45rem 0.7rem;
}
.pod-row.pod-lead {
  background: linear-gradient(115deg, rgba(234, 111, 32, 0.22), rgba(10, 8, 30, 0.5) 62%);
  border-color: rgba(255, 179, 126, 0.42);
  padding: 0.6rem 0.7rem;
}
.pod-rank {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-head); font-weight: 800; font-size: 0.9rem; color: #d9d5ee;
}
.pod-lead .pod-rank { background: linear-gradient(150deg, var(--orange), var(--red)); border-color: transparent; color: #ffffff; }
.pod-plate { flex-shrink: 0; display: flex; }
.pod-plate img { border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 6px 16px rgba(0, 0, 0, 0.4); }
.pod-word { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.pod-name { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: #ffffff; }
.pod-line { font-size: 0.76rem; color: #a49dcb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pod-score {
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: #ffffff;
  background: linear-gradient(150deg, var(--orange), var(--red));
  border-radius: var(--bend-sm); padding: 0.3rem 0.5rem; line-height: 1; flex-shrink: 0;
}
.pod-lead .pod-score { font-size: 1.2rem; padding: 0.38rem 0.6rem; }
@media (max-width: 459px) { .pod-line { display: none; } }

/* Panel 2: score spread axis */
.spreadaxis { position: relative; height: 132px; border-bottom: 1px solid rgba(255, 255, 255, 0.28); margin: 0 0.2rem 1.15rem; }
.spread-zone {
  position: absolute; left: 0; bottom: 0; top: 22px; width: 33%;
  background: linear-gradient(rgba(239, 114, 133, 0.02), rgba(239, 114, 133, 0.14));
  border-right: 1px dashed rgba(239, 114, 133, 0.35);
}
.stick { position: absolute; bottom: -6px; width: 1px; height: 6px; background: rgba(255, 255, 255, 0.3); }
.stick b { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font-weight: 600; font-size: 0.68rem; color: #8f88b8; }
.tk17 { left: 17%; } .tk33 { left: 33%; } .tk50 { left: 50%; } .tk67 { left: 67%; } .tk83 { left: 83%; }
.sd { position: absolute; bottom: 6px; width: 11px; height: 11px; border-radius: 50%; transform: translateX(-50%); }
.sd-low { background: #ef7285; }
.sd-mid { background: var(--orange); }
.sd-hi { background: #ffffff; box-shadow: 0 0 12px rgba(255, 255, 255, 0.55); }
.sh1 { bottom: 22px; }
.sh2 { bottom: 38px; }
.sx10 { left: 10%; } .sx12 { left: 16%; } .sx15 { left: 22%; } .sx22 { left: 30%; }
.sx23 { left: 36%; } .sx32 { left: 43%; } .sx33 { left: 49%; } .sx38 { left: 55%; }
.sx40 { left: 60%; } .sx50 { left: 68%; } .sx52 { left: 74%; } .sx65 { left: 82%; }
.sx68 { left: 88%; } .sx95 { left: 95%; }
.spread-cap { position: absolute; top: 0; font-size: 0.75rem; font-weight: 600; }
.cap-lo { left: 0; color: #ef7285; }
.cap-hi { right: 0; color: #ffffff; }

/* Panel 3: licence number decode */
.decodeplate {
  display: flex; align-items: flex-start; flex-wrap: wrap; gap: 0.3rem;
  align-self: center;
  background: rgba(10, 8, 30, 0.45); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bend-sm); padding: 1.05rem 1.2rem 0.9rem;
}
.deco-run { font-family: var(--font-head); font-weight: 800; font-size: 1.65rem; color: #8f88b8; line-height: 1.2; }
.deco-seg { display: flex; flex-direction: column; align-items: center; }
.deco-seg b { font-family: var(--font-head); font-weight: 800; font-size: 1.65rem; line-height: 1.2; color: var(--orange); border-bottom: 2px solid var(--orange); }
.deco-seg small { font-size: 0.68rem; color: #b7b1d6; margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.06em; }
.deco-dim b { color: #f5f3fc; border-bottom-color: rgba(255, 255, 255, 0.35); }
.deco-proof { text-align: center; font-size: 0.85rem; color: #d9d5ee; margin-top: 0.95rem; }

/* Panel 4: pipeline mini */
.pipemini { display: flex; flex-direction: column; gap: 0.45rem; }
.pipe-row {
  display: flex; align-items: center; gap: 0.65rem;
  background: rgba(10, 8, 30, 0.45); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bend-sm); padding: 0.5rem 0.75rem;
}
.pipe-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-live { background: #ffffff; box-shadow: 0 0 8px rgba(255, 255, 255, 0.5); }
.dot-wait { background: var(--orange); box-shadow: 0 0 8px rgba(234, 111, 32, 0.55); }
.dot-gone { background: #ef7285; box-shadow: 0 0 8px rgba(239, 114, 133, 0.5); }
.pipe-name { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: #ffffff; }
.pipe-state { margin-left: auto; font-size: 0.82rem; color: #b7b1d6; }

/* Counts card overlapping the hero base */
.censusband { position: relative; z-index: 2; max-width: var(--max-w); margin: -1.9rem auto 0; padding: 0 1.25rem; }
.census-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--bend);
  box-shadow: var(--lift);
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
}
.census-cell { text-align: center; padding: 1.15rem 0.8rem 1.05rem; border-top: 1px solid var(--line); }
.census-cell:nth-child(-n+2) { border-top: none; }
.census-num { font-family: var(--font-head); font-weight: 800; font-size: 1.85rem; color: var(--indigo); line-height: 1.1; }
.census-num.cen-red { color: var(--red); }
.census-tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--dim); margin-top: 0.25rem; }
@media (min-width: 860px) {
  .census-card { grid-template-columns: repeat(4, 1fr); }
  .census-cell { border-top: none; border-left: 1px solid var(--line); }
  .census-cell:first-child { border-left: none; }
}

/* Section lockups on the homepage */
.homeband { padding: 3.2rem 0 3.4rem; }
.homeband-mist { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.homehead { text-align: center; font-size: 1.6rem; font-weight: 700; }
.homelede { text-align: center; max-width: 46rem; margin: 0.7rem auto 0; color: var(--ink-2); }

/* Review shelf */
.deskshelf { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.9rem; }
.desk-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--bend);
  background: var(--paper); padding: 1.25rem 1.2rem 1.15rem; text-align: center;
  display: flex; flex-direction: column; gap: 0.65rem;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s var(--glide);
}
.desk-card:hover { border-color: var(--line-hi); box-shadow: var(--lift); transform: translateY(-3px); }
.desk-plate {
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--bend-sm);
  padding: 0.7rem 0; display: flex; justify-content: center;
}
.desk-plate img { width: 160px; height: 60px; border-radius: 4px; }
.desk-chip {
  position: absolute; top: 0.85rem; right: 0.85rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: #ffffff;
  background: linear-gradient(150deg, var(--orange), var(--red));
  border-radius: var(--bend-sm); padding: 0.28rem 0.55rem; line-height: 1;
}
.desk-name { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.desk-angle { font-size: 0.9rem; color: var(--ink-2); flex: 1; }
.desk-read {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-weight: 600; font-size: 0.92rem; color: var(--indigo);
}
.desk-read img { transition: transform 0.18s var(--glide); }
.desk-card:hover .desk-read img { transform: translateX(4px); }
@media (min-width: 640px) { .deskshelf { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .deskshelf { grid-template-columns: repeat(3, 1fr); } }

/* Full alphabetical index of reviews */
.fulldocket { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; margin-top: 1.7rem; }
.docket-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.42rem 0.9rem; font-size: 0.9rem; color: var(--ink);
  transition: border-color 0.16s, background 0.16s;
}
.docket-pill:hover { border-color: var(--indigo); background: var(--haze); }
.docket-pill b { font-family: var(--font-head); font-weight: 700; color: var(--indigo); }

/* Oath band (night) */
.oathband {
  background: linear-gradient(rgba(14, 11, 38, 0.78), rgba(20, 16, 52, 0.85)),
              var(--night) url('/images/benchfield-band.webp') center / cover no-repeat;
  padding: 3.2rem 0 3.4rem;
}
.oathband .homehead { color: #f5f3fc; }
.oathband .homelede { color: #c9c4e4; }
.oathgrid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
.oath-cell {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--bend); padding: 1.35rem 1.25rem; text-align: center;
}
.oath-orb {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 0.8rem;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
}
.oath-orb img { width: 22px; height: 22px; filter: invert(95%); }
.oath-head { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: #ffffff; }
.oath-say { font-size: 0.9rem; color: #c9c4e4; margin-top: 0.45rem; }
.oath-say a { color: #ffffff; }
.oath-say a:hover { color: #ffb37e; }
@media (min-width: 640px) { .oathgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .oathgrid { grid-template-columns: repeat(4, 1fr); } }

/* Seven-check walk */
.checkwalk { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-top: 2rem; counter-reset: walk; list-style: none; padding: 0; }
.walk-step {
  counter-increment: walk;
  border: 1px solid var(--line); border-radius: var(--bend); background: var(--paper);
  padding: 1.05rem 0.9rem 1rem; text-align: center; margin: 0;
}
.walk-step::before {
  content: counter(walk);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin: 0 auto 0.6rem; border-radius: 50%;
  background: var(--mist); border: 1px solid var(--line-hi);
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--indigo);
}
.walk-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.walk-line { display: block; font-size: 0.82rem; color: var(--dim); margin-top: 0.3rem; }
.walkcta { text-align: center; margin-top: 1.8rem; }
@media (min-width: 700px) { .checkwalk { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1080px) { .checkwalk { grid-template-columns: repeat(7, 1fr); } }

.homeprose { max-width: 46rem; margin: 1.9rem auto 0; }
.homeprose p { margin-bottom: 1rem; }
.homeprose p:last-child { margin-bottom: 0; }
.homefoot { text-align: center; max-width: 44rem; margin: 1.4rem auto 0; font-size: 0.9rem; color: var(--dim); }

/* Latest publications */
.gazette { margin-top: 1.6rem; border-top: 1px solid var(--line); }
.gazette-row {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 0.9rem 0.5rem; border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.gazette-row:hover { background: var(--mist); }
.gazette-date { flex-shrink: 0; width: 92px; font-size: 0.82rem; font-weight: 600; color: var(--dim); }
.gazette-title { font-size: 0.98rem; color: var(--ink); min-width: 0; }
.gazette-row:hover .gazette-title { color: var(--indigo); }
@media (max-width: 559px) { .gazette-row { flex-direction: column; gap: 0.15rem; } .gazette-date { width: auto; } }
@media (min-width: 980px) { .counsel-three { grid-template-columns: repeat(3, 1fr); } }
