/* threpwick.css — black and gold, taken from the sign itself.
 *
 * The palette is not invented: it is sampled from the logo. The gold of the lettering,
 * the amber of the lantern, the slate blue of the moonlit town behind the arch, and the
 * near-black the whole thing sits on. Anything added later should come from the same
 * place, so the site and the sign never drift apart.
 *
 * No webfonts and no external requests. The site is a folder you can open, zip or drop on
 * a host, and a CDN font would be one more thing that has to be up for the page to look
 * right.
 *
 * ONE DARK THEME ON PURPOSE. This is a lantern-lit town at night; a light mode would be a
 * different world. So there is no prefers-color-scheme branch, and every colour below is
 * chosen against the near-black rather than adapted to it.
 */

:root {
  /* ── the sign ── */
  --ink:        #07070a;   /* the black the logo sits on */
  --ink-2:      #0f0f14;   /* raised surfaces */
  --ink-3:      #171720;   /* cards, inputs */
  --edge:       #2a2a36;   /* hairlines */
  --edge-warm:  #3a3226;   /* hairlines that catch the lantern */

  --gold:       #e8c46a;   /* the lettering */
  --gold-deep:  #c9a227;   /* its shadow side */
  --gold-dim:   #8a7434;   /* borders, disabled */
  --amber:      #ff9a3c;   /* the lantern flame */
  --slate:      #2a3550;   /* the town behind the arch */

  --text:       #ece7dd;
  --text-dim:   #a49c8e;
  --text-faint: #6f6a61;
  --danger:     #e0614a;
  --good:       #6fbf73;

  --shell:      min(1180px, 100% - 3rem);
  --shell-wide: min(1440px, 100% - 3rem);
  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 18px 50px rgba(0, 0, 0, .55);
  --shadow-lift:0 30px 70px rgba(0, 0, 0, .7);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans:  ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Kept deliberately tighter than it first was. At 7.5rem a band of pure black four
   * hundred pixels deep opened up between the price and the questions, and a page that
   * makes you scroll through nothing to reach the next thing reads as unfinished rather
   * than as spacious. */
  --section: clamp(3rem, 6vw, 5rem);
}

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

/* A `figure` carries `margin: 1em 40px` by default, and forty pixels either side of a
 * 155px card leaves the caption 45px to write a name in. That is what cut "Quarryman"
 * down to "Quarryma" and "Threpwick" to "Threpwic" — not the font size, and not the grid,
 * which measured exactly what it was asked to. */
figure { margin: 0; }

/* THE `hidden` ATTRIBUTE HAS TO WIN. A class that sets `display` — `.btn` is
 * inline-flex — outranks the browser's own `[hidden] { display: none }`, so a button
 * marked hidden stays on screen and nothing in the markup looks wrong. Caught with the
 * admin form's Cancel button sitting there in "add" mode. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  overflow-x: hidden;
  /* A faint lantern-glow from the top, so the page is not a flat black rectangle. */
  background-image:
    radial-gradient(1100px 520px at 50% -180px, rgba(255, 154, 60, .10), transparent 70%),
    radial-gradient(800px 400px at 85% 8%, rgba(42, 53, 80, .30), transparent 65%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-color: rgba(232, 196, 106, .35); text-underline-offset: 3px; }
a:hover { color: var(--amber); }

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

.shell { width: var(--shell); margin-inline: auto; }
.shell-wide { width: var(--shell-wide); margin-inline: auto; }
.section { padding-block: var(--section); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ── type ─────────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.16rem; }
p  { margin: 0 0 1em; }
.lede { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--text-dim); max-width: 62ch; }
.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.small { font-size: .875rem; }
.gold { color: var(--gold); }

/* The little gold word above a heading. It says what KIND of thing follows, so the
 * heading itself never has to waste its first three words on that. */
.eyebrow {
  display: inline-block; font: 600 .78rem/1 var(--sans);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1rem;
}
.section-head { max-width: 46rem; margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .lede { margin-inline: auto; }

/* THE SAME GOLD LINE, SITTING UNDER ITS HEADING INSTEAD OF OVER IT.
 *
 * Used where the eyebrow is a COUNT rather than a category — "six hundred and eighty-four
 * of them" is not the kind of thing that announces what is coming, it is the sort of
 * thing you read after the claim and check. Under the heading it works as a subtitle;
 * over it, it was answering a question nobody had been asked yet.
 *
 * The order is changed in the MARKUP and not with `order:`, so what a screen reader hears
 * is what the page shows. All that is left here is the spacing: the clearance the eyebrow
 * used to hold above the heading now belongs below it. */
.section-head.head-under h2 { margin-bottom: .45rem; }
.section-head.head-under .eyebrow { margin-bottom: 1.1rem; }

.rule {
  border: 0; height: 1px; margin: 0;
  background: linear-gradient(90deg, transparent, var(--edge) 20%, var(--gold-dim) 50%, var(--edge) 80%, transparent);
}

/* ── header ───────────────────────────────────────────────────────────── */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 7, 10, .72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.masthead[data-stuck] { background: rgba(7, 7, 10, .92); border-bottom-color: var(--edge); }
.masthead .shell { display: flex; align-items: center; gap: 1.25rem; padding: .65rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--text-dim); text-decoration: none; font-size: .94rem; transition: color .15s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav .btn { color: #241c05; }
@media (max-width: 760px) { .nav { gap: .8rem; } .nav .hide-sm { display: none; } .brand img { height: 34px; } }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .74rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 .96rem/1 var(--sans); cursor: pointer; text-decoration: none;
  white-space: nowrap;
  transition: transform .14s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(180deg, #f2d689 0%, var(--gold) 42%, var(--gold-deep) 100%);
  color: #241c05; box-shadow: 0 6px 22px rgba(201, 162, 39, .28), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-gold:hover { color: #241c05; box-shadow: 0 10px 34px rgba(255, 154, 60, .42), inset 0 1px 0 rgba(255,255,255,.55); transform: translateY(-1px); }
.btn-ghost { border-color: var(--gold-dim); color: var(--gold); background: rgba(232, 196, 106, .04); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(232, 196, 106, .1); color: var(--gold); transform: translateY(-1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* The line under a call to action that answers the question it just raised. */
.cta-note { font-size: .84rem; color: var(--text-faint); margin: .9rem 0 0; }

/* ── hero ─────────────────────────────────────────────────────────────── */
/* THE WORLD IS THE BACKDROP, AND IT IS A REAL PICTURE OF IT. Not concept art and not a
 * stock texture — the map the game actually draws, screenshotted. It is dimmed hard so
 * the type stays readable, then brought back on hover of nothing at all: the point is
 * atmosphere, not detail, and the detail gets its own section further down. */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: 50% 42%;
  /* A breath of blur on purpose. Unblurred, the map's own labels — "The Pilot's House",
   * "Church Walk" — are perfectly legible behind the headline and read as a second thing
   * to look at. Blurred a little, the same picture is atmosphere. */
  opacity: .28; filter: saturate(.85) contrast(1.05) blur(1.5px);
  transform: scale(1.08);
  animation: drift 48s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 85% at 50% 8%, transparent 20%, rgba(7,7,10,.72) 62%, var(--ink) 92%),
    linear-gradient(180deg, rgba(7,7,10,.55) 0%, transparent 30%, rgba(7,7,10,.9) 88%, var(--ink) 100%);
}
/* THE BUTTON HAS TO BE ON SCREEN. Sized so that on a 1440×950 laptop the logo, the
 * headline, the promise and both calls to action all land above the fold — the first
 * cut put the buttons fifty pixels below it, which on a page selling a subscription is
 * not a matter of taste. */
.hero-inner { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4rem); text-align: center; }
.hero-logo {
  width: min(470px, 88%); margin: 0 auto clamp(1.1rem, 2.5vw, 1.6rem);
  filter: drop-shadow(0 14px 40px rgba(0, 0, 0, .75));
}
.hero h1 {
  max-width: 18ch; margin-inline: auto; font-size: clamp(2rem, 4.6vw, 3.1rem);
  text-shadow: 0 2px 30px rgba(0, 0, 0, .8);
}
.hero .lede { margin-inline: auto; color: #cfc7b9; }
.hero-cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* ── the counting bar ─────────────────────────────────────────────────── */
/* Numbers straight out of the database. They are the argument the site is making, so
 * they are given their own band rather than being buried in a paragraph. */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--edge);
  border-block: 1px solid var(--edge);
}
.stat { background: var(--ink); padding: 1.5rem 1rem; text-align: center; }
.stat b {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--gold); line-height: 1.1;
}
.stat span { display: block; margin-top: .3rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }

/* ── cards / grid ─────────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.card {
  position: relative;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--edge); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card h3 { color: var(--gold); display: flex; align-items: center; gap: .6rem; }
.card p:last-child { margin-bottom: 0; }
.card-lift:hover { transform: translateY(-4px); border-color: var(--edge-warm); box-shadow: var(--shadow-lift); }
.card-glow { border-color: var(--gold-dim); }

/* A small gold glyph at the head of a card. Drawn in CSS from the same two colours as
 * everything else, so there is no icon font and no sprite sheet to keep in step. */
.glyph {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; font-size: 1rem;
  background: radial-gradient(circle at 30% 25%, rgba(255,154,60,.28), rgba(232,196,106,.06));
  border: 1px solid var(--gold-dim); color: var(--gold);
}

/* ── alternating feature rows ─────────────────────────────────────────── */
.feature { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature.flip .feature-art { order: -1; }
}
.feature + .feature { margin-top: clamp(2.5rem, 5vw, 4rem); }
.feature h2 { margin-bottom: .6rem; }
.feature-art {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--edge-warm); box-shadow: var(--shadow-lift);
  background: var(--ink-2);
}
.feature-art img { width: 100%; }
/* A soft inner vignette so a bright screenshot does not fight the page it sits on. */
.feature-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 90px rgba(7,7,10,.75);
  border-radius: inherit;
}
.feature-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.feature-list li { position: relative; padding-left: 1.65rem; margin-bottom: .6rem; color: var(--text-dim); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px rgba(232,196,106,.55);
}

/* ── the townsfolk ────────────────────────────────────────────────────── */
/* SEVEN REAL PEOPLE, ONE PER SETTLEMENT, each with the trade the database gives them.
 * Nobody here is invented for the website — that is the entire point of the section, and
 * inventing an eighth would quietly undo it. */
.folk {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
}
.folk-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--edge); background: linear-gradient(180deg, #1b1a22, #101015);
  transition: transform .22s ease, border-color .22s ease;
}
.folk-card:hover { transform: translateY(-5px); border-color: var(--gold-dim); }
.folk-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 12%; }
.folk-card figcaption {
  padding: .8rem .85rem 1rem;
  background: linear-gradient(180deg, rgba(7,7,10,.2), rgba(7,7,10,.85));
  /* Room for a name that takes two lines — Angharad Gwennow does — so that one long
   * name does not leave its neighbours' captions floating half an inch higher. */
  min-height: 6.4rem;
}
.folk-card b { display: block; font-family: var(--serif); font-size: 1rem; color: var(--text); }
.folk-card span { display: block; font-size: .8rem; color: var(--gold-deep); margin-top: .15rem; }
.folk-card em { display: block; font-size: .74rem; color: var(--text-faint); font-style: normal; letter-spacing: .06em; text-transform: uppercase; margin-top: .3rem; }

/* THE SAME GRID, LIT DIFFERENTLY. The hostiles are the same kind of card as the
 * townsfolk — same rows out of the same table, and it would be dishonest to make them a
 * different sort of object — so they reuse `.folk` entirely and change only what the eye
 * needs: the gold that greets you on a neighbour turns to rust on something that would
 * rather you left. Colour is not carrying the meaning on its own; the heading above the
 * grid says what these are. */
.folk-hostile .folk-card:hover { border-color: var(--hostile-edge, #7a3a32); }
.folk-hostile .folk-card span { color: var(--hostile-ink, #c07a63); }
/* THE TOWNSFOLK GET AWAY WITH A FIXED CAPTION HEIGHT because the longest name among them
 * is Angharad Gwennow. These are called things like "Gluuk'thoth, Slug King of the Mire",
 * which takes three lines and left the row of cards ending at four different heights.
 * Stretching the caption instead of guessing a taller number means the grid stays level
 * whatever gets added to it later. */
.folk-hostile .folk-card { display: flex; flex-direction: column; }
.folk-hostile .folk-card figcaption { flex: 1; min-height: 0; }

/* ── pricing ──────────────────────────────────────────────────────────── */
.price-wrap { display: grid; gap: 1.5rem; grid-template-columns: 1fr; max-width: 940px; margin-inline: auto; align-items: center; }
@media (min-width: 860px) { .price-wrap { grid-template-columns: 1.05fr .95fr; } }

.price-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #1d1b24, #121118);
  border: 1px solid var(--gold-dim); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem); box-shadow: var(--shadow-lift);
  text-align: center;
}
/* The lantern, sitting behind the price. */
.price-card::before {
  content: ""; position: absolute; inset: -40% 20% auto; height: 260px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,154,60,.20), transparent 70%);
}
.price { font-family: var(--serif); font-size: clamp(3rem, 7vw, 4rem); color: var(--gold); line-height: 1; margin: .6rem 0 .2rem; }
.price span { font-size: 1rem; color: var(--text-dim); font-family: var(--sans); }
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .3rem .85rem; border-radius: 999px; font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--gold-dim); color: var(--gold); background: rgba(232, 196, 106, .07);
}
.pill-good { border-color: rgba(111, 191, 115, .5); color: var(--good); background: rgba(111, 191, 115, .08); }

.includes { list-style: none; padding: 0; margin: 0; text-align: left; }
.includes li { position: relative; padding-left: 2rem; margin-bottom: .85rem; color: var(--text-dim); }
.includes li::before {
  content: "✓"; position: absolute; left: 0; top: -.05em;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: .74rem; font-weight: 700;
  color: var(--gold); border: 1px solid var(--gold-dim); background: rgba(232,196,106,.07);
}
.includes li b { color: var(--text); font-weight: 600; }

#paypal-button-container { margin-top: 1.4rem; min-height: 48px; }

/* ── faq ──────────────────────────────────────────────────────────────── */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--edge); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  margin-bottom: .8rem; overflow: hidden;
}
.faq details[open] { border-color: var(--edge-warm); }
.faq summary {
  cursor: pointer; padding: 1.05rem 1.3rem; font-weight: 600; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--serif); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--gold); font-size: 1.3rem; font-family: var(--sans);
  line-height: 1; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold); }
.faq .answer { padding: 0 1.3rem 1.2rem; color: var(--text-dim); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ── the closing call ─────────────────────────────────────────────────── */
.closer {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); border: 1px solid var(--edge-warm);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem); text-align: center;
  background: linear-gradient(180deg, #14131a, #0b0b10);
}
.closer-bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: 50% 55%; opacity: .16;
  /* Blurred for the same reason the hero is: unblurred, the map's own "THREPWICK ON
   * MUDWATER" sat directly behind the headline and the two competed. */
  filter: saturate(.8) blur(2px);
}
.closer h2 { max-width: 18ch; margin-inline: auto; }
.closer .lede { margin-inline: auto; }

/* ── forms ────────────────────────────────────────────────────────────── */
.panel {
  width: min(460px, 100%); margin: clamp(2rem, 6vw, 4.5rem) auto;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--edge); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-lift);
}
.panel-mark { width: 116px; margin: 0 auto 1.2rem; opacity: .95; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .84rem; color: var(--text-dim); margin-bottom: .4rem; }
.field input {
  width: 100%; padding: .78rem .9rem; border-radius: 10px;
  background: #0b0b10; border: 1px solid var(--edge); color: var(--text);
  font: inherit; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus { border-color: var(--gold-dim); outline: none; box-shadow: 0 0 0 3px rgba(232, 196, 106, .12); }
.field .hint { font-size: .78rem; color: var(--text-faint); margin: .35rem 0 0; }

.notice { border-radius: 10px; padding: .75rem .95rem; font-size: .9rem; margin-bottom: 1rem; display: none; }
.notice[data-show] { display: block; }
.notice-bad  { background: rgba(224, 97, 74, .12);  border: 1px solid rgba(224, 97, 74, .4);  color: #f0a99b; }
.notice-good { background: rgba(111, 191, 115, .12); border: 1px solid rgba(111, 191, 115, .4); color: #a8dcab; }

.gate { text-align: center; }

/* ── footer ───────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--edge); margin-top: var(--section); padding: 2.6rem 0 3rem; color: var(--text-faint); font-size: .9rem; }
.foot .shell { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.foot a { color: var(--text-dim); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot .spacer { margin-left: auto; }

/* The way back to Real Wizardry, and the only place the parent brand appears. It sits at
 * the far end of the footer rather than in the masthead on purpose: this site stands on
 * its own, and a second logo up top would make it look like a section of another one.
 *
 * The mark is full colour — purple and acid green against the near-black — so it is left
 * dimmed until hover, otherwise the brightest thing on a lantern-lit page is somebody
 * else's logo. */
.rw-mark {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .6rem;
  opacity: .55;
  transition: opacity .18s ease;
}
.rw-mark:hover { opacity: 1; }
.rw-mark span { color: var(--text-faint); font-size: .82rem; letter-spacing: .02em; }
/* 34px was enough to see a purple smudge and not enough to read "Real Wizardry", which
 * defeats the point of putting the sign there at all. */
.rw-mark img { height: 46px; width: auto; display: block; }
@media (max-width: 760px) { .rw-mark { margin-left: 0; } }

/* ── arriving on screen ───────────────────────────────────────────────── */
/* Set by a two-line IntersectionObserver in the page. If the script never runs the
 * content is simply visible, which is the right failure. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal[data-seen] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── the roster ───────────────────────────────────────────────────────────
 * The one table on the site, and it is only ever seen by an admin. Hairlines
 * rather than fills: a striped table on a near-black page reads as banding on
 * a bad screen, and the rows here are meant to be counted, not scanned. */
.roster { width: 100%; border-collapse: collapse; font-size: .93rem; }
.roster th {
  text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--gold-dim);
  color: var(--gold); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
}
.roster td { padding: .75rem .8rem; border-bottom: 1px solid var(--edge); vertical-align: top; }
.roster tr:last-child td { border-bottom: 0; }
/* A LAPSED ROW STAYS ON THE LIST. It is the answer to "who used to be in here",
 * which is the question you ask when somebody writes in asking why they are out. */
.roster tr.lapsed td { opacity: .5; }
