:root {
  --night: #14202b; --parchment: #f6ecd2; --paper: #fbf6e8; --ink: #2b2116; --muted: #6b5a44;
  --gold: #e8b63d; --gold-deep: #9a6f1c; --line: rgba(43, 33, 22, .14);
  --display: "IM Fell English SC", Georgia, serif; --body: "Lora", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: #7a5312; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
.top { background: var(--night); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { font-family: var(--display); color: var(--parchment); font-size: 1.25rem; text-decoration: none; }
.links { display: flex; gap: 16px; }
.links a { color: var(--gold); font-size: .9rem; text-decoration: none; white-space: nowrap; }
@media (max-width: 520px) { .brand { font-size: 1.05rem; } .links { gap: 10px; } .links a { font-size: .8rem; } }
.hero { display: flex; gap: 18px; align-items: center; margin: 28px 0 8px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1.05; margin: 2px 0 6px; }
.hero .tag { margin: 0; color: var(--muted); font-style: italic; font-size: 1.05rem; }
.eyebrow { margin: 0; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.mark { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display);
  font-size: 2rem; color: #fff; background: var(--c, var(--gold-deep)); box-shadow: inset 0 0 0 3px rgba(255,255,255,.35); }
.lede { font-size: 1.1rem; }
h2 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; margin: 34px 0 10px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
h3 { margin: 0 0 4px; font-size: 1.02rem; }
.glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.glance div { background: var(--parchment); border-radius: 8px; padding: 10px 14px; }
.glance dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.glance dd { margin: 2px 0 0; font-size: .95rem; }
.glance.christ div { border-left: 3px solid var(--gold); }
.beliefs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.beliefs .b { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.beliefs p { margin: 0; font-size: .96rem; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 520px; }
table.cmp th, table.cmp td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
table.cmp thead th { font-family: var(--display); font-weight: 400; font-size: 1.1rem; background: var(--parchment); }
table.cmp tbody th { width: 18%; color: var(--gold-deep); font-weight: 600; }
table.cmp td:last-child { background: rgba(232, 182, 61, .09); }
table.cmp.wide td:last-child { background: none; }
table.cmp tr.christ td, table.cmp tr.christ th { background: rgba(232, 182, 61, .14); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
ul { padding-left: 1.2em; } li { margin: 4px 0; }
.refs li span { color: var(--muted); }
.src { font-size: .9rem; }
.pn { display: flex; justify-content: space-between; gap: 10px; margin: 36px 0; flex-wrap: wrap; }
.pn a { background: var(--parchment); padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.note { font-size: .85rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { display: block; position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 10px;
  padding: 16px 16px 14px; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.card .mark { width: 40px; height: 40px; font-size: 1.3rem; float: right; margin-left: 10px; }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; }
.card .tag { font-style: italic; color: var(--muted); margin: 0 0 8px; font-size: .95rem; }
.card p { font-size: .94rem; margin: 6px 0; }
.card .facts { font-size: .86rem; color: var(--muted); }
.card .more { color: #7a5312; font-weight: 600; font-size: .9rem; }
.foot { background: var(--night); color: #d9ccae; font-size: .82rem; margin-top: 40px; }
.foot .wrap { padding-top: 18px; padding-bottom: 24px; }
/* maps */
.mapbox { border-radius: 12px; overflow: hidden; background: var(--night); box-shadow: 0 6px 22px rgba(0,0,0,.18); }
.mapbox .map { height: min(62vh, 520px); }
.hubmap .map { height: min(56vh, 460px); }
.steps { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px 2px; background: var(--night); }
.steps button { flex: none; font: inherit; font-size: .85rem; background: rgba(246,236,210,.1); color: var(--parchment); border: 1px solid rgba(246,236,210,.2);
  border-radius: 999px; padding: 6px 12px 6px 6px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.steps button span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(246,236,210,.18); font-size: .75rem; }
.steps button.on { background: var(--c); border-color: var(--c); color: #111; }
.steps button.on span { background: rgba(255,255,255,.5); }
.cap { background: var(--night); color: var(--parchment); padding: 10px 16px 14px; }
.capt b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.capt span { color: var(--gold); font-size: .9rem; margin-left: 6px; }
.cap p { margin: 4px 0 10px; font-size: .97rem; }
.nav { display: flex; gap: 8px; }
.nav button { font: inherit; font-size: .9rem; background: var(--gold); color: #1b140a; border: 0; border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.nav button:disabled { opacity: .35; cursor: default; }
.rlb { position: absolute; width: 0; height: 0; text-decoration: none; }
.rlb .d { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff8e6; border: 2px solid #3a2a14; }
.rlb .t { position: absolute; left: 10px; top: -10px; white-space: nowrap; font: 600 13px/1.2 system-ui, sans-serif; color: #fff8e6;
  text-shadow: 0 0 3px #000, 0 0 8px rgba(0,0,0,.9); }
.rlb.a-l .t { left: auto; right: 10px; }
.rlb.a-b .t { left: 0; top: 9px; transform: translateX(-50%); }
.rlb.a-t .t { left: 0; top: -27px; transform: translateX(-50%); }
a.rlb .d { background: var(--c, var(--gold)); width: 14px; height: 14px; left: -7px; top: -7px; }
a.rlb .t { font-size: 14px; }
a.rlb:hover .t { color: var(--gold); }
a.rlb.christ .d { box-shadow: 0 0 0 3px rgba(232,182,61,.5); }
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 2rem; } .mark { width: 50px; height: 50px; font-size: 1.5rem; }
  .glance, .beliefs, .two, .cards { grid-template-columns: 1fr; }
  .two { gap: 0; }
  .rlb .t { font-size: 11.5px; } a.rlb .t { font-size: 12px; }
}
