@font-face {
  font-family: "Castoro Titling";
  src: url("fonts/castoro-titling-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --basalt: #100e0e;
  --basalt-deep: #0a0909;
  --stone: #1b1817;
  --stone-raised: #26211f;
  --chisel: #9d948a;
  --dust: #a39a90;
  --bone: #ebe4d8;
  --blood: #c8101f;
  --blood-dark: #6e0610;
  --blood-ink: #ef4a55;
  --groove-dark: #050404;
  --groove-light: rgba(235, 228, 216, .075);
  --groove: linear-gradient(var(--groove-dark) 0 1px, #221d1b 1px 2px, var(--groove-light) 2px 3px);

  --cut: inset 0 2px 3px rgba(0, 0, 0, .8), inset 0 -1px 0 var(--groove-light);
  --relief: 0 1px 0 var(--groove-light), 0 6px 18px -8px rgba(0, 0, 0, .9);
  --incise: 0 -1px 0 rgba(0, 0, 0, .95), 0 1px 0 rgba(235, 228, 216, .1);

  --face-inscription: "Castoro Titling", "Times New Roman", serif;
  --face-text: "Archivo", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(16px, 4.5vw, 80px);
  --section: clamp(3.5rem, 7vw, 6.5rem);
  --max: 1480px;
  --chamfer: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

html.en .de, html:not(.en) .en { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: 84px;
  scrollbar-color: var(--stone-raised) var(--basalt-deep);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  color: var(--bone);
  background-color: var(--basalt);
  background-image: url("grain.svg"), radial-gradient(120% 80% at 70% 0%, #1d1918 0%, var(--basalt) 55%, var(--basalt-deep) 100%);
  background-attachment: scroll, fixed;
  font: 400 1.0625rem/1.62 var(--face-text);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--blood-ink);
  overflow-x: hidden;
}

::selection { background: var(--blood); color: var(--bone); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--basalt-deep); }
::-webkit-scrollbar-thumb { background: var(--stone-raised); border: 3px solid var(--basalt-deep); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: var(--chisel); }
a:hover { text-decoration-color: var(--blood-ink); }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
b, strong { font-weight: 650; color: var(--bone); }
p { margin: 0 0 1em; }

code {
  font: 600 .95em var(--face-text);
  font-stretch: 90%;
  letter-spacing: .02em;
  padding: .05em .4em;
  background: var(--basalt-deep);
  box-shadow: var(--cut);
}

h1, h2, .inscription {
  font-family: var(--face-inscription);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.02;
  text-shadow: var(--incise);
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: .55em; }
h3 {
  font: 700 1.06rem/1.25 var(--face-text);
  font-stretch: 85%;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
.blood { color: #e2283a; }
.ink { color: var(--blood-ink); }
.dust { color: var(--dust); }
.small { font-size: .92rem; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.measure { max-width: 64ch; }

.rule {
  height: 3px;
  border: 0;
  margin: 0;
  background: var(--groove);
}

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--bone); color: var(--basalt); padding: .5em 1em; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 14, 14, .96);
}
.nav::after { content: ""; display: block; height: 3px; background: var(--groove); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 64px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font: 400 1.25rem/1 var(--face-inscription);
  letter-spacing: .08em;
  text-shadow: var(--incise);
}
.brand img { width: 26px; height: 26px; }
.brand .blood { color: var(--blood-ink); }
.nav-links { display: flex; align-items: center; gap: clamp(.8rem, 2.4vw, 1.8rem); }
.nav-links > a:not(.btn) {
  font: 600 .82rem/1 var(--face-text);
  font-stretch: 90%;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dust);
  padding: .6rem 0;
}
.nav-links > a:not(.btn):hover, .nav-links > a[aria-current="page"] { color: var(--bone); }
@media (max-width: 560px) { .nav-links > .nav-optional { display: none; } }
@media (max-width: 430px) { .nav .brand > span { display: none; } }

.lang {
  display: inline-flex;
  padding: 3px;
  background: var(--basalt-deep);
  box-shadow: var(--cut);
}
.lang button {
  border: 0;
  background: none;
  color: var(--chisel);
  font: 700 .74rem/1 var(--face-text);
  letter-spacing: .1em;
  padding: .5em .65em;
  cursor: pointer;
}
.lang button:hover { color: var(--bone); }
html:not(.en) .lang [data-lang="de"], html.en .lang [data-lang="en"] { background: var(--stone-raised); color: var(--bone); box-shadow: var(--relief); }

.btn {
  --btn-bg: var(--stone-raised);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: .85em 1.5em;
  border: 0;
  clip-path: var(--chamfer);
  background: var(--btn-bg);
  color: var(--bone);
  font: 700 .86rem/1 var(--face-text);
  font-stretch: 90%;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(235, 228, 216, .1), inset 0 -2px 0 rgba(0, 0, 0, .45);
  transition: background-color .25s cubic-bezier(.16, 1, .3, 1), color .25s;
}
.btn:hover { --btn-bg: #322b28; }
.btn:active { box-shadow: var(--cut); }
.btn svg { width: 1em; height: 1em; flex: none; }
.btn-blood {
  --btn-bg: var(--blood);
  background-image: linear-gradient(180deg, var(--blood-dark) 0%, var(--blood) 38%, #d8192a 100%);
  box-shadow: inset 0 3px 4px rgba(0, 0, 0, .55), inset 0 -1px 0 rgba(255, 255, 255, .18);
}
.btn-blood:hover { background-image: linear-gradient(180deg, #7d0812 0%, #d4121f 38%, #e72133 100%); }
.btn-quiet { --btn-bg: transparent; box-shadow: inset 0 0 0 1px #3a3330; }
.btn-quiet:hover { --btn-bg: var(--stone); }
.btn-small { min-height: 40px; padding: .7em 1.05em; font-size: .76rem; }
.btn.is-done { --btn-bg: var(--basalt-deep); color: var(--bone); box-shadow: var(--cut); }

.notches { display: flex; gap: .55rem; }
.notch { width: 34px; height: 31px; }
.notch .cavity { fill: var(--groove-dark); }
.notch .lip { fill: rgba(235, 228, 216, .12); }
.notch .fill { fill: var(--blood); }
.notch .shade { fill: var(--groove-dark); opacity: .62; }
.notch.empty .fill, .notch.empty .shade { display: none; }

.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 9vw, 7rem); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-copy { max-width: 48rem; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line { display: block; }
.hero-lead { font-size: clamp(1.08rem, 1.9vw, 1.28rem); color: var(--dust); max-width: 34em; margin-bottom: 1.3rem; }
.hero .notches { margin-bottom: 1.6rem; }
.hero-disc {
  position: absolute;
  height: auto;
  z-index: 0;
  top: 50%;
  right: max(-26vw, -420px);
  width: min(78vw, 980px);
  translate: 0 -50%;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-disc { top: -6%; right: -48vw; width: 118vw; translate: 0 0; opacity: .5; }
}

.plate {
  display: grid;
  gap: 1px;
  margin: 0 0 1.6rem;
  background: var(--groove-dark);
  box-shadow: var(--cut);
  max-width: 34rem;
}
.plate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem .9rem 1.2rem;
  background: rgba(10, 9, 9, .82);
}
.plate-label {
  display: block;
  font: 700 .7rem/1 var(--face-text);
  font-stretch: 90%;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--chisel);
  margin-bottom: .45rem;
}
.plate-value {
  display: block;
  font: 650 clamp(1.05rem, 2.6vw, 1.35rem)/1.15 var(--face-text);
  font-stretch: 95%;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
.plate-value small { font-weight: 500; color: var(--dust); font-size: .78em; }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.countdown { margin-top: 1.8rem; }
.countdown-label { color: var(--dust); font-size: .95rem; margin-bottom: .7rem; }
.countdown-grid { display: flex; gap: clamp(.5rem, 2vw, 1.2rem); align-items: flex-end; }
.countdown-cell { display: grid; justify-items: center; gap: .35rem; min-width: 3.6ch; }
.countdown-cell b {
  font: 400 clamp(2rem, 5vw, 3rem)/1 var(--face-inscription);
  color: var(--bone);
  text-shadow: var(--incise);
  font-variant-numeric: tabular-nums lining-nums;
}
.countdown-cell span { font: 700 .66rem/1 var(--face-text); letter-spacing: .14em; text-transform: uppercase; color: var(--chisel); }
.countdown-sep { font: 400 2rem/1 var(--face-inscription); color: var(--chisel); padding-bottom: 1.15rem; }
.countdown-live { display: none; font: 400 clamp(1.3rem, 3vw, 1.8rem)/1.2 var(--face-inscription); text-transform: uppercase; color: var(--blood-ink); text-shadow: var(--incise); }
.countdown.is-live .countdown-grid, .countdown.is-live .countdown-label { display: none; }
.countdown.is-live .countdown-live { display: block; }

.section { padding: var(--section) 0; position: relative; }
.section-head { margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head p { color: var(--dust); max-width: 52ch; font-size: 1.08rem; margin: 0; }

.tariff { border-top: 0; }
.tariff-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem 2rem;
  padding: clamp(1.4rem, 3vw, 2.1rem) 0;
  background: var(--groove) bottom / 100% 3px no-repeat;
}
.tariff-row:first-child { background: var(--groove) top / 100% 3px no-repeat, var(--groove) bottom / 100% 3px no-repeat; }
.tariff-zone { font: 400 clamp(1.6rem, 4.2vw, 2.8rem)/1 var(--face-inscription); text-transform: uppercase; letter-spacing: .03em; text-shadow: var(--incise); }
.tariff-zone.is-blood { color: var(--blood-ink); }
.tariff-price { color: var(--dust); margin: 0; }
.tariff-price b { display: block; font-size: 1.08rem; }
.tariff-cost { display: flex; align-items: center; gap: .6rem; font: 700 .8rem/1 var(--face-text); letter-spacing: .1em; text-transform: uppercase; color: var(--chisel); white-space: nowrap; }
.tariff-cost .notch { width: 28px; height: 26px; }
.tariff-note { margin-top: 1.6rem; color: var(--dust); max-width: 60ch; }
@media (max-width: 700px) {
  .tariff-row { grid-template-columns: minmax(0, 1fr) auto; }
  .tariff-price { grid-column: 1 / -1; grid-row: 2; }
}

.rite { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.rite::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2.15rem;
  height: 3px;
  background: var(--groove);
}
.rite li { position: relative; padding: 0 clamp(1rem, 2.4vw, 2rem) 0 0; }
.rite-numeral {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.3rem;
  height: 4.3rem;
  margin-bottom: 1.4rem;
  background: var(--basalt);
  box-shadow: var(--cut), 0 0 0 6px var(--basalt);
  font: 400 1.5rem/1 var(--face-inscription);
  color: var(--blood-ink);
  text-shadow: var(--incise);
  clip-path: var(--chamfer);
}
.rite li:last-child .rite-numeral { background: var(--blood); color: var(--bone); box-shadow: inset 0 3px 4px rgba(0, 0, 0, .55); }
.rite p { color: var(--dust); margin: 0; }
.rite-coda { margin-top: 2.6rem; color: var(--dust); }
@media (max-width: 860px) {
  .rite { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .rite::before { left: 2.15rem; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: linear-gradient(90deg, var(--groove-dark) 0 1px, #2a2422 1px 2px, var(--groove-light) 2px 3px); }
  .rite li { display: grid; grid-template-columns: 4.3rem minmax(0, 1fr); column-gap: 1.3rem; padding: 0; }
  .rite-numeral { grid-row: span 2; margin: 0; }
}

.season-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 900px) { .season-grid { grid-template-columns: minmax(0, 1fr); } }
.altar-figure { margin: 0; position: relative; }
.altar-figure svg { width: 100%; max-width: 640px; margin-inline: auto; aspect-ratio: 1; }

.phase-control { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 0 1.8rem; padding: 3px; background: var(--groove-dark); box-shadow: var(--cut); width: fit-content; max-width: 100%; }
.phase-control button {
  border: 0;
  background: var(--stone);
  color: var(--dust);
  min-height: 44px;
  padding: .7em 1em;
  font: 700 .74rem/1 var(--face-text);
  font-stretch: 88%;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .3s cubic-bezier(.16, 1, .3, 1), color .3s;
}
.phase-control button:hover { color: var(--bone); background: var(--stone-raised); }
.phase-control button[aria-selected="true"] { background: var(--blood); color: var(--bone); box-shadow: inset 0 3px 4px rgba(0, 0, 0, .5); }
@media (max-width: 560px) {
  .phase-control { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; }
  .phase-control button { padding: .7em .3em; }
  .phase-control .phase-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.phase-control button.is-past:not([aria-selected="true"]) { color: var(--chisel); text-decoration: line-through; text-decoration-color: var(--blood); text-decoration-thickness: 2px; }

.phase-panel { min-height: 10.5rem; }
.phase-panel[hidden] { display: none; }
.phase-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-bottom: 1rem; font: 700 .78rem/1.3 var(--face-text); letter-spacing: .12em; text-transform: uppercase; color: var(--chisel); }
.phase-meta b { color: var(--blood-ink); font-weight: 700; }
.phase-title { font: 400 clamp(1.8rem, 4vw, 2.6rem)/1 var(--face-inscription); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 .6em; text-shadow: var(--incise); }
.phase-panel p { color: var(--dust); }
.phase-panel .phase-title { color: var(--bone); }
.phase-radius { font-size: .95rem; color: var(--chisel); margin-top: 1.4rem; }
.phase-radius b { font-variant-numeric: tabular-nums; color: var(--bone); }

.disc-stone { fill: url(#stoneFace); }
.disc-rim { fill: none; stroke: var(--groove-dark); stroke-width: 22; }
.disc-rim-light { fill: none; stroke: rgba(235, 228, 216, .06); stroke-width: 8; }
.ring-groove { fill: none; stroke: var(--groove-dark); stroke-width: 16; transition: stroke .5s; }
.ring-lip { fill: none; stroke: rgba(235, 228, 216, .07); stroke-width: 5; }
.ring-groove.is-active { stroke: #3f0307; }
.ring-groove.is-past { stroke: var(--blood-dark); stroke-dasharray: 46 34; }
.ring-label { font: 400 74px var(--face-inscription); letter-spacing: 10px; fill: var(--chisel); text-transform: uppercase; }
.ring-label.is-active { fill: var(--bone); }
.blood-pool { fill: url(#bloodPool); }
.altar-block { fill: #2b2522; stroke: var(--groove-dark); stroke-width: 14; }
.altar-core { fill: #9e0c19; stroke: #3f0307; stroke-width: 5; }
.altar-core-shade { fill: rgba(0, 0, 0, .42); }
.world-border { fill: none; stroke: var(--bone); stroke-width: 14; stroke-dasharray: 60 40; opacity: 0; }
.world-border.is-on { opacity: .85; }

.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; padding: 3px; background: var(--groove-dark); box-shadow: var(--cut); }
.day { background: var(--stone); padding: 1.1rem .9rem 1.3rem; min-height: 9.5rem; display: flex; flex-direction: column; gap: .5rem; }
.day-name { font: 400 1.4rem/1 var(--face-inscription); color: var(--chisel); text-shadow: var(--incise); }
.day-event { font: 650 .95rem/1.3 var(--face-text); }
.day.is-event .day-name { color: var(--bone); }
.day.is-major { background: linear-gradient(180deg, #3b0a10 0%, var(--stone) 100%); }
.day.is-major .day-name { color: var(--blood-ink); }
.day.is-rest .day-event { color: var(--chisel); font-weight: 500; }
.week-note { margin-top: 1.4rem; color: var(--dust); }
@media (max-width: 760px) {
  .week { grid-template-columns: minmax(0, 1fr); }
  .day { min-height: 0; flex-direction: row; align-items: baseline; gap: 1.2rem; padding: .9rem 1rem; }
  .day-name { width: 2.6rem; flex: none; }
}

.join-steps { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); counter-reset: join; }
.join-steps li { counter-increment: join; padding-top: 1.2rem; background: var(--groove) top / 100% 3px no-repeat; }
.join-steps li::before { content: counter(join, upper-roman); display: block; font: 400 1.4rem/1 var(--face-inscription); color: var(--blood-ink); text-shadow: var(--incise); margin-bottom: 1rem; }
.join-steps p { color: var(--dust); margin: 0; }
@media (max-width: 860px) { .join-steps { grid-template-columns: minmax(0, 1fr); } }
.join-close { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.join-close .plate { margin: 0; }
@media (max-width: 760px) { .join-close { grid-template-columns: minmax(0, 1fr); } }
.pending { color: var(--chisel); font-size: .9rem; margin: .8rem 0 0; }

.faq { max-width: 52rem; }
.faq details { background: var(--groove) bottom / 100% 3px no-repeat; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  font: 650 1.1rem/1.35 var(--face-text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; color: var(--blood-ink); transition: rotate .3s cubic-bezier(.16, 1, .3, 1); }
.faq details[open] summary svg { rotate: 45deg; }
.faq details p { color: var(--dust); max-width: 64ch; padding-bottom: 1.3rem; margin: 0; }
.faq-more { margin-top: 2.4rem; }

.footer { padding: 3.5rem 0 2rem; background: var(--basalt-deep); }
.footer::before { content: ""; display: block; height: 3px; margin-top: -3.5rem; margin-bottom: 3.5rem; background: var(--groove); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-title { font: 700 .72rem/1 var(--face-text); letter-spacing: .14em; text-transform: uppercase; color: var(--chisel); margin: 0 0 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer a { color: var(--dust); text-decoration: none; }
.footer a:hover { color: var(--bone); }
.footer-address { color: var(--dust); margin: .9rem 0 0; font-size: .95rem; }
.disclaimer { margin: 3rem auto 0; font-size: .7rem; letter-spacing: .04em; color: var(--chisel); }

.page-head { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem); }
.page-head p { color: var(--dust); font-size: 1.15rem; max-width: 46ch; margin: 1rem 0 0; }
.codex { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); padding-bottom: var(--section); }
@media (max-width: 980px) { .codex { grid-template-columns: minmax(0, 1fr); } }
.codex-index { position: sticky; top: 92px; align-self: start; }
.codex-index ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; counter-reset: idx; }
.codex-index a {
  display: flex;
  gap: .9rem;
  align-items: baseline;
  padding: .55rem 0;
  font: 600 .86rem/1.3 var(--face-text);
  font-stretch: 92%;
  letter-spacing: .04em;
  color: var(--dust);
  text-decoration: none;
}
.codex-index a::before { counter-increment: idx; content: counter(idx, upper-roman); font: 400 .82rem/1 var(--face-inscription); color: var(--chisel); min-width: 2.2rem; }
.codex-index a:hover, .codex-index a.is-current { color: var(--bone); }
.codex-index a.is-current::before { color: var(--blood-ink); }
@media (max-width: 980px) {
  .codex-index { position: static; }
  .codex-index ol { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
}
.chapter { padding: clamp(2.5rem, 6vw, 4rem) 0; background: var(--groove) top / 100% 3px no-repeat; }
.chapter:first-child { padding-top: 0; background: none; }
.chapter h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.chapter > p, .chapter li { max-width: 66ch; }
.chapter p, .chapter li { color: var(--dust); }
.chapter h3 { margin-top: 2rem; color: var(--bone); }

.ledger { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .98rem; }
.ledger th, .ledger td { text-align: left; padding: .9rem 1rem .9rem 0; vertical-align: top; background: var(--groove) bottom / 100% 3px no-repeat; }
.ledger th { font: 700 .72rem/1.2 var(--face-text); letter-spacing: .12em; text-transform: uppercase; color: var(--chisel); }
.ledger td:first-child { color: var(--bone); font-weight: 650; white-space: nowrap; }
.ledger td { color: var(--dust); }
.ledger-wrap { overflow-x: auto; }

.marks { list-style: none; padding: 0; margin: 1rem 0 0; }
.marks li { position: relative; padding: .55rem 0 .55rem 1.6rem; }
.marks li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 8px; height: 8px; background: var(--blood); rotate: 45deg; box-shadow: 0 0 0 2px var(--groove-dark); }

.tablets { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .6rem; margin-top: 1.6rem; }
.tablet { --chisel: #a0978d; background: var(--stone); padding: 1.3rem 1.2rem 1.4rem; box-shadow: var(--cut); }
.tablet.is-final { grid-column: 1 / -1; }
.tablet p { margin: 0; font-size: .95rem; }
.tablet-meta { display: block; font: 700 .7rem/1 var(--face-text); letter-spacing: .14em; text-transform: uppercase; color: var(--chisel); margin-bottom: .8rem; }
.tablet-name { font: 400 clamp(1.3rem, 2vw, 1.6rem)/1.05 var(--face-inscription); hyphens: manual; text-transform: uppercase; text-shadow: var(--incise); margin: 0 0 .25rem; color: var(--bone); }
.tablet-epithet { color: var(--blood-ink) !important; margin-bottom: .5rem !important; }
.tablet.is-final { background: linear-gradient(180deg, #3b0a10 0%, var(--stone) 70%); }

.rules-list { list-style: none; padding: 0; margin: 1.2rem 0 0; counter-reset: rule; }
.rules-list li { counter-increment: rule; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; max-width: none; background: var(--groove) bottom / 100% 3px no-repeat; }
.rules-list li::before { content: counter(rule, upper-roman); font: 400 1.05rem/1.5 var(--face-inscription); color: var(--blood-ink); text-shadow: var(--incise); }

.legal-body { max-width: 46rem; padding-bottom: var(--section); }
.legal-body h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 2.4rem; }
.legal-body p, .legal-body li { color: var(--dust); }
.placeholder { padding: 1rem 1.2rem; background: var(--basalt-deep); box-shadow: var(--cut); color: var(--bone); margin-bottom: 2rem; }
.placeholder b { color: var(--blood-ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.slab {
  --chisel: #a0978d;
  background-color: var(--stone);
  background-image: url("grain.svg"), linear-gradient(180deg, #211c1b 0%, var(--stone) 40%, #151212 100%);
  box-shadow: inset 0 3px 0 var(--groove-dark), inset 0 4px 0 var(--groove-light), inset 0 -3px 0 var(--groove-dark), inset 0 14px 24px -14px rgba(0, 0, 0, .9);
}
.slab .rite-numeral { background: var(--stone); box-shadow: var(--cut), 0 0 0 6px var(--stone); }
.slab .day { background: var(--basalt); }
.slab .day.is-major { background: linear-gradient(180deg, #3b0a10 0%, var(--basalt) 100%); }

@media (min-width: 1000px) {
  .section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
  .section-head h2 { margin: 0; }
  .section-head p { padding-bottom: .4rem; }
  .tariff-zone { font-size: clamp(2rem, 3.6vw, 3.4rem); }
  .rite-numeral { width: 5.2rem; height: 5.2rem; font-size: 1.9rem; }
  .rite::before { top: 2.6rem; }
  .rite h3 { font-size: 1.15rem; }
  .faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
  .faq-layout .section-head { display: block; position: sticky; top: 110px; }
  .faq-layout .faq { max-width: none; }
  .faq-layout .faq-more { grid-column: 2; margin-top: 0; }
}

.section-altar { overflow: hidden; }
.section-altar > .wrap { position: relative; z-index: 1; }
.altar-echo {
  position: absolute;
  z-index: 0;
  right: max(-18vw, -320px);
  bottom: -38%;
  width: min(62vw, 900px);
  height: auto;
  opacity: .7;
  pointer-events: none;
}
@media (max-width: 900px) { .altar-echo { right: -40vw; bottom: -20%; width: 110vw; opacity: .35; } }