/* RealmFocus — editorial shell */

:root {
  --rf-paper: #ffffff;
  --rf-fog: #f6f6f6;
  --rf-mist: #f0f0f0;
  --rf-ink: #0b0b0b;
  --rf-ink-soft: #282828;
  --rf-muted: #5a5a5a;
  --rf-quiet: #6b7280;
  --rf-line: #e4e4e4;
  --rf-line-soft: #ededed;
  --rf-star-off: #d8d8d8;
  --rf-accent: #0d8b8b;

  --rf-display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --rf-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --rf-shell: 1200px;
  --rf-band: 56px;
  --rf-pad: 24px;
  --rf-unit: 6px;

  --rf-r-s: 10px;
  --rf-r-m: 16px;
  --rf-r-l: 20px;
  --rf-r-pill: 200px;

  --rf-head-h: 64px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rf-paper);
  color: var(--rf-ink);
  font-family: var(--rf-body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--rf-display);
  font-weight: 700;
  margin: 0;
  color: var(--rf-ink);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--rf-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.rf-shell {
  width: 100%;
  max-width: var(--rf-shell);
  margin-inline: auto;
  padding-inline: 20px;
}

.rf-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.rf-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--rf-ink);
  color: var(--rf-paper);
  padding: 10px 16px;
  z-index: 120;
  border-radius: var(--rf-r-s);
}
.rf-skip:focus { left: 12px; top: 12px; }

.rf-band {
  padding-block: var(--rf-band);
  scroll-margin-top: calc(var(--rf-head-h) + 12px);
}
.rf-band--fog { background: var(--rf-fog); }
.rf-band--rule { border-top: 1px solid var(--rf-line); }

.rf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rf-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rf-muted);
  margin-bottom: 18px;
}
.rf-eyebrow::before {
  content: "";
  width: 14px;
  height: 3px;
  background: var(--rf-accent);
  flex: 0 0 auto;
}

.rf-h2 {
  font-size: clamp(30px, 6vw, 44px);
  letter-spacing: -0.05em;
}
.rf-h3 {
  font-size: clamp(22px, 3.4vw, 30px);
  letter-spacing: -0.044em;
}

.rf-lede {
  font-size: clamp(17px, 2.1vw, 19px);
  line-height: 1.55;
  color: var(--rf-ink-soft);
  max-width: 62ch;
}

.rf-prose { color: var(--rf-ink-soft); max-width: 68ch; }
.rf-prose + .rf-prose { margin-top: 18px; }
.rf-h2 + .rf-note,
.rf-h2 + .rf-lede,
.rf-h2 + .rf-prose { margin-top: 20px; }

.rf-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--rf-muted);
  max-width: 78ch;
}

.rf-tlink {
  color: var(--rf-ink);
  text-decoration: underline;
  text-decoration-color: var(--rf-accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.rf-tlink:hover { color: var(--rf-accent); }

/* pills */
.rf-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--rf-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  padding: 16px 28px;
  border-radius: var(--rf-r-pill);
  border: 1.5px solid var(--rf-accent);
  background: var(--rf-accent);
  color: var(--rf-paper);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.rf-pill:hover { background: #0b7676; border-color: #0b7676; }
.rf-pill--hollow {
  background: transparent;
  color: var(--rf-ink);
  border-color: var(--rf-ink);
}
.rf-pill--hollow:hover {
  background: var(--rf-ink);
  border-color: var(--rf-ink);
  color: var(--rf-paper);
}
.rf-pill--slim { padding: 12px 22px; font-size: 14px; }
.rf-pill svg { width: 16px; height: 16px; flex: 0 0 auto; }

.rf-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rf-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rf-muted);
  border: 1px solid var(--rf-line);
  border-radius: var(--rf-r-pill);
  padding: 7px 14px;
  white-space: nowrap;
}
.rf-tag svg { width: 13px; height: 13px; color: var(--rf-accent); }

/* stars */
.rf-stars {
  position: relative;
  display: inline-block;
  line-height: 0;
  vertical-align: middle;
}
.rf-stars__row { display: flex; gap: 3px; }
.rf-stars__row svg { width: 16px; height: 16px; flex: 0 0 auto; }
.rf-stars__row--base { color: var(--rf-star-off); }
.rf-stars__row--fill {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  overflow: hidden;
  color: var(--rf-accent);
}

/* masthead */
.rf-masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--rf-paper);
  border-bottom: 1px solid var(--rf-line);
}
.rf-masthead__bar {
  min-height: var(--rf-head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rf-logo {
  font-family: var(--rf-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--rf-ink);
  white-space: nowrap;
}
.rf-logo em { font-style: normal; color: var(--rf-accent); }

.rf-masthead__menu { display: none; }
.rf-masthead__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
}
.rf-masthead__link {
  display: inline-block;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--rf-ink-soft);
  text-decoration: none;
  padding: 9px 13px;
  border-radius: var(--rf-r-pill);
  transition: background-color .16s ease, color .16s ease;
}
.rf-masthead__link:hover { background: var(--rf-mist); color: var(--rf-ink); }

.rf-masthead__cta { display: none; }

.rf-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rf-line);
  border-radius: var(--rf-r-pill);
  background: var(--rf-paper);
  color: var(--rf-ink);
  cursor: pointer;
}
.rf-burger svg { width: 20px; height: 20px; }
.rf-burger__shut { display: none; }
.rf-burger[aria-expanded="true"] .rf-burger__open { display: none; }
.rf-burger[aria-expanded="true"] .rf-burger__shut { display: block; }

.rf-drawer {
  display: none;
  border-top: 1px solid var(--rf-line);
  background: var(--rf-paper);
  padding-block: 12px 20px;
}
.rf-drawer[data-open="true"] { display: block; }
.rf-drawer__list { list-style: none; }
.rf-drawer__list a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--rf-line-soft);
  text-decoration: none;
  font-family: var(--rf-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--rf-ink);
}
.rf-drawer .rf-pill { margin-top: 18px; width: 100%; }

/* overture (first screen) */
.rf-overture { padding-block: 40px 56px; }
.rf-overture__inner { display: grid; gap: 34px; }
.rf-overture__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rf-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rf-muted);
  border: 1px solid var(--rf-line);
  border-radius: var(--rf-r-pill);
  padding: 8px 16px;
}
.rf-overture h1 {
  font-size: clamp(42px, 9vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  margin-block: 22px 20px;
}
.rf-overture h1 em { font-style: normal; color: var(--rf-accent); }
.rf-overture__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.rf-overture__rail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rf-line);
  flex-wrap: wrap;
}
.rf-overture__icons { display: flex; }
.rf-overture__icons img {
  width: 52px;
  height: 52px;
  border-radius: var(--rf-r-m);
  border: 1px solid var(--rf-line);
  background: var(--rf-paper);
  margin-left: -10px;
}
.rf-overture__icons img:first-child { margin-left: 0; }
.rf-overture__count {
  font-size: 13px;
  line-height: 1.45;
  color: var(--rf-muted);
  max-width: 26ch;
}
.rf-overture__count b {
  font-family: var(--rf-display);
  color: var(--rf-ink);
  letter-spacing: -0.02em;
}

.rf-wall {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.rf-plate {
  overflow: hidden;
  border-radius: var(--rf-r-m);
  border: 1px solid var(--rf-line);
  background: var(--rf-fog);
}
.rf-plate img { width: 100%; height: 100%; object-fit: cover; }
.rf-wall__lead { grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.rf-wall__side { height: 100%; min-height: 0; }

/* colophon (about) */
.rf-colophon__grid { display: grid; gap: 32px; }
.rf-colophon__contact {
  border: 1px solid var(--rf-line);
  border-radius: var(--rf-r-l);
  padding: var(--rf-pad);
  background: var(--rf-paper);
}
.rf-colophon__contact h3 { font-size: 20px; letter-spacing: -0.04em; }
.rf-colophon__contact p { margin-top: 10px; font-size: 15px; color: var(--rf-muted); }
.rf-colophon__contact a { font-family: var(--rf-display); font-weight: 700; }

/* ledger (catalogue) */
.rf-ledger__head { display: grid; gap: 16px; margin-bottom: 34px; }
.rf-ledger__list { list-style: none; }

.rf-dossier {
  display: grid;
  gap: 22px;
  padding-block: 40px;
  border-top: 1px solid var(--rf-line);
}
.rf-ledger__list > li:first-child .rf-dossier { border-top: 0; padding-top: 0; }

.rf-dossier__plate {
  position: relative;
  overflow: hidden;
  border-radius: var(--rf-r-m);
  border: 1px solid var(--rf-line);
  background: var(--rf-fog);
  aspect-ratio: 4 / 5;
  max-height: 460px;
}
.rf-dossier__plate--wide { aspect-ratio: 16 / 10; }
.rf-dossier__plate img { width: 100%; height: 100%; object-fit: cover; }
.rf-dossier__no {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--rf-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--rf-paper);
  background: var(--rf-ink);
  padding: 8px 14px;
  border-bottom-right-radius: var(--rf-r-m);
}
.rf-dossier__body { display: flex; flex-direction: column; }
.rf-dossier__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.rf-dossier__maker {
  font-family: var(--rf-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rf-muted);
}
.rf-dossier__title { font-size: clamp(24px, 3.6vw, 34px); letter-spacing: -0.05em; }
.rf-dossier__score {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-block: 18px;
  padding-block: 14px;
  border-top: 1px solid var(--rf-line);
  border-bottom: 1px solid var(--rf-line);
  flex-wrap: wrap;
}
.rf-dossier__num {
  font-family: var(--rf-display);
  font-size: 38px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--rf-accent);
}
.rf-dossier__scale { font-size: 13px; color: var(--rf-quiet); }
.rf-dossier__scale span { display: block; }
.rf-dossier__text { color: var(--rf-ink-soft); max-width: 62ch; }
.rf-dossier__foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.rf-dossier__mark {
  width: 54px;
  height: 54px;
  border-radius: var(--rf-r-m);
  border: 1px solid var(--rf-line);
  flex: 0 0 auto;
}

/* plates (gallery) */
.rf-plates__strip {
  list-style: none;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
}
.rf-plates__shot {
  overflow: hidden;
  border-radius: var(--rf-r-m);
  border: 1px solid var(--rf-line);
  background: var(--rf-fog);
  aspect-ratio: 3 / 4;
}
.rf-plates__shot img { width: 100%; height: 100%; object-fit: cover; }
.rf-plates__cap {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--rf-muted);
}

/* strands (genres) */
.rf-strands__set {
  list-style: none;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-top: 32px;
}
.rf-strands__tile {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--rf-line);
  border-radius: var(--rf-r-l);
  background: var(--rf-paper);
  text-decoration: none;
  min-height: 132px;
  flex-direction: column;
  transition: border-color .18s ease;
}
.rf-strands__tile:hover { border-color: var(--rf-accent); }
.rf-strands__name {
  font-family: var(--rf-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--rf-ink);
}
.rf-strands__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 13px;
  color: var(--rf-muted);
}
.rf-strands__meta svg { width: 16px; height: 16px; color: var(--rf-accent); }

/* charter (editorial model) */
.rf-charter__grid { display: grid; gap: 18px; margin-top: 32px; }
.rf-charter__slab {
  border: 1px solid var(--rf-line);
  border-radius: var(--rf-r-l);
  padding: var(--rf-pad);
  background: var(--rf-paper);
}
.rf-charter__slab h3 { font-size: 19px; letter-spacing: -0.04em; margin-bottom: 10px; }
.rf-charter__slab p { font-size: 15px; line-height: 1.6; color: var(--rf-muted); }
.rf-charter__ix {
  font-family: var(--rf-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--rf-accent);
  display: block;
  margin-bottom: 14px;
}
.rf-charter__foot { margin-top: 26px; }

/* voices (player quotes) */
.rf-voices__set {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.rf-voices__item {
  border: 1px solid var(--rf-line);
  border-radius: var(--rf-r-l);
  padding: var(--rf-pad);
  background: var(--rf-paper);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.rf-voices__quote {
  font-family: var(--rf-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--rf-ink);
  margin: 14px 0 auto;
}
.rf-voices__who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--rf-line);
}
.rf-voices__mono {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: var(--rf-r-s);
  background: var(--rf-ink);
  color: var(--rf-paper);
  font-family: var(--rf-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rf-voices__name { display: block; font-size: 14px; font-weight: 500; color: var(--rf-ink); }
.rf-voices__src { display: block; margin-top: 3px; font-size: 12px; line-height: 1.35; color: var(--rf-quiet); }

/* standing (membership plans) */
.rf-standing__set {
  list-style: none;
  width: 100%;
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.rf-standing__plan {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rf-line);
  border-radius: var(--rf-r-l);
  background: var(--rf-paper);
  padding: var(--rf-pad);
}
.rf-standing__plan--lead { border-color: var(--rf-accent); }
.rf-standing__head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rf-line);
}
.rf-standing__name {
  display: block;
  font-family: var(--rf-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rf-accent);
  margin-bottom: 12px;
}
.rf-standing__rate {
  display: block;
  font-family: var(--rf-display);
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--rf-ink);
}
.rf-standing__rate i {
  display: block;
  margin-top: 10px;
  font-family: var(--rf-body);
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--rf-muted);
}
.rf-standing__gist {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--rf-ink-soft);
}
.rf-standing__lines {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 18px 0 26px;
}
.rf-standing__lines li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--rf-muted);
}
.rf-standing__lines svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--rf-accent);
}
.rf-standing__act { margin-top: auto; }
.rf-standing__act .rf-pill { width: 100%; }
.rf-standing__foot { margin-top: 24px; max-width: 78ch; }

/* runbook (how to start) */
.rf-runbook__steps {
  list-style: none;
  counter-reset: rf-step;
  display: grid;
  gap: 0;
  margin-top: 32px;
}
.rf-runbook__step {
  counter-increment: rf-step;
  display: grid;
  gap: 8px;
  padding-block: 26px;
  border-top: 1px solid var(--rf-line);
}
.rf-runbook__step:last-child { border-bottom: 1px solid var(--rf-line); }
.rf-runbook__step::before {
  content: counter(rf-step, decimal-leading-zero);
  font-family: var(--rf-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--rf-accent);
}
.rf-runbook__step h3 { font-size: 21px; letter-spacing: -0.04em; }
.rf-runbook__step p { font-size: 15px; line-height: 1.6; color: var(--rf-muted); max-width: 60ch; }

/* dispatch (subscribe form) */
.rf-dispatch__box {
  width: 100%;
  border: 1px solid var(--rf-line);
  border-radius: var(--rf-r-l);
  background: var(--rf-paper);
  padding: 26px 22px;
  margin-top: 30px;
}
.rf-dispatch__row { display: grid; gap: 16px; }
.rf-field { display: grid; gap: 8px; }
.rf-field label {
  font-family: var(--rf-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rf-muted);
}
.rf-field input[type="text"],
.rf-field input[type="email"] {
  width: 100%;
  font-family: var(--rf-body);
  font-size: 16px;
  color: var(--rf-ink);
  background: var(--rf-fog);
  border: 1px solid var(--rf-line);
  border-radius: var(--rf-r-s);
  padding: 14px 16px;
}
.rf-field input:focus { border-color: var(--rf-accent); background: var(--rf-paper); }
.rf-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--rf-muted);
  max-width: 76ch;
}
.rf-consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--rf-accent);
  flex: 0 0 auto;
}
.rf-dispatch__act { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.rf-dispatch__hint { font-size: 13px; color: var(--rf-quiet); }
.rf-ok {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--rf-accent);
  border-radius: var(--rf-r-s);
  color: var(--rf-ink);
  font-size: 15px;
}
.rf-ok[data-shown="true"] { display: block; }

/* queries (faq) */
.rf-queries__list { width: 100%; margin-top: 32px; border-top: 1px solid var(--rf-line); }
.rf-queries__item { border-bottom: 1px solid var(--rf-line); }
.rf-queries__ask {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: none;
  border: 0;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--rf-display);
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--rf-ink);
}
.rf-queries__sign {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}
.rf-queries__sign::before,
.rf-queries__sign::after {
  content: "";
  position: absolute;
  background: var(--rf-accent);
  transition: transform .2s ease;
}
.rf-queries__sign::before { left: 0; top: 10px; width: 22px; height: 2px; }
.rf-queries__sign::after { left: 10px; top: 0; width: 2px; height: 22px; }
.rf-queries__ask[aria-expanded="true"] .rf-queries__sign::after { transform: scaleY(0); }
.rf-queries__answer { display: none; padding-bottom: 24px; }
.rf-queries__answer p { color: var(--rf-muted); max-width: 76ch; line-height: 1.6; }
.rf-queries__answer[data-open="true"] { display: block; }

/* endmatter (footer) */
.rf-endmatter {
  border-top: 1px solid var(--rf-line);
  padding-block: 48px 32px;
  background: var(--rf-paper);
}
.rf-endmatter__grid { display: grid; gap: 32px; }
.rf-endmatter__blurb { font-size: 14px; line-height: 1.6; color: var(--rf-muted); max-width: 46ch; margin-top: 16px; }
.rf-endmatter h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rf-muted);
  margin-bottom: 16px;
}
.rf-endmatter__list { list-style: none; display: grid; gap: 10px; }
.rf-endmatter__list a { font-size: 14px; text-decoration: none; color: var(--rf-ink-soft); }
.rf-endmatter__list a:hover { color: var(--rf-accent); }
.rf-endmatter__list--legal { margin-top: 18px; }
.rf-endmatter__mail {
  font-family: var(--rf-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--rf-ink);
  text-decoration: underline;
  text-decoration-color: var(--rf-accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.rf-endmatter__base {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--rf-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--rf-quiet);
}
.rf-endmatter__base p { max-width: 68ch; }

/* legal pages */
.rf-tome { padding-block: 40px var(--rf-band); }
.rf-tome h1 { font-size: clamp(34px, 6.4vw, 56px); letter-spacing: -0.05em; }
.rf-tome__stamp {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--rf-quiet);
}
.rf-tome__back { margin-top: 26px; }
.rf-tome__body { margin-top: 36px; border-top: 1px solid var(--rf-line); }
.rf-tome__part { padding-block: 30px; border-bottom: 1px solid var(--rf-line); }
.rf-tome__part h2 { font-size: clamp(22px, 3.2vw, 28px); letter-spacing: -0.04em; margin-bottom: 14px; }
.rf-tome__part h3 { font-size: 18px; letter-spacing: -0.03em; margin: 20px 0 8px; }
.rf-tome__part p { color: var(--rf-ink-soft); max-width: 76ch; line-height: 1.65; }
.rf-tome__part p + p { margin-top: 12px; }
.rf-tome__part code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  background: var(--rf-fog);
  border: 1px solid var(--rf-line);
  border-radius: var(--rf-r-s);
  padding: 1px 6px;
}
.rf-tome__part ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.rf-tome__part ul + p { margin-top: 16px; }
.rf-tome__part li {
  position: relative;
  padding-left: 22px;
  color: var(--rf-ink-soft);
  max-width: 76ch;
  line-height: 1.6;
}
.rf-tome__part li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--rf-accent);
}

/* cookie bar + to top */
.rf-crumb {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  background: var(--rf-paper);
  border-top: 1px solid var(--rf-ink);
  padding: 18px 0;
}
.rf-crumb[data-shown="true"] { display: block; }
.rf-crumb__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.rf-crumb__text { font-size: 14px; line-height: 1.55; color: var(--rf-ink-soft); max-width: 72ch; }
.rf-crumb__acts { display: flex; gap: 10px; flex-wrap: wrap; }

.rf-uptop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--rf-r-pill);
  border: 1px solid var(--rf-ink);
  background: var(--rf-paper);
  color: var(--rf-ink);
  cursor: pointer;
}
.rf-uptop[data-shown="true"] { display: flex; }
.rf-uptop:hover { background: var(--rf-ink); color: var(--rf-paper); }
.rf-uptop svg { width: 18px; height: 18px; }

.rf-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 600px) {
  .rf-plates__strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rf-strands__set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rf-voices__set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rf-charter__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rf-dispatch__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rf-crumb__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .rf-uptop { right: 24px; bottom: 24px; }
}

@media (min-width: 768px) {
  :root { --rf-band: 72px; --rf-head-h: 72px; }
  .rf-shell { padding-inline: 30px; }
  .rf-overture { padding-block: 56px 72px; }
  .rf-colophon__grid { grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
  .rf-ledger__head { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 30px; }
  .rf-runbook__steps { column-gap: 40px; }
  .rf-runbook__step { grid-template-columns: 56px 1fr; align-items: start; column-gap: 24px; }
  .rf-runbook__step::before { grid-row: 1 / 3; padding-top: 6px; }
  .rf-runbook__step h3 { grid-column: 2; }
  .rf-runbook__step p { grid-column: 2; }
  .rf-dispatch__box { padding: 34px 30px; }
  .rf-standing__set { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .rf-standing__plan { padding: 30px 28px; }
  .rf-endmatter__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
}

@media (min-width: 1024px) {
  :root { --rf-band: 86px; }
  .rf-masthead__menu { display: block; }
  .rf-masthead__cta { display: inline-flex; }
  .rf-burger { display: none; }
  .rf-drawer { display: none !important; }
  .rf-overture__inner { grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
  .rf-dossier { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: 44px; align-items: center; padding-block: 52px; }
  .rf-plates__strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .rf-strands__set { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rf-voices__set { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rf-charter__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rf-standing__set { gap: 24px; }
  .rf-standing__act .rf-pill { width: auto; }
  .rf-endmatter__grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; }
  .rf-masthead__list { gap: 0; }
  .rf-masthead__link { padding-inline: 11px; }
}

@media (min-width: 1280px) {
  .rf-shell { padding-inline: 40px; }
  .rf-masthead__list { gap: 2px; }
  .rf-masthead__link { padding-inline: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
