/* Shared by the standalone pages: /support, /supporters, /faq */
  :root { --bg: #0a0812; --ink: #ece8f2; --muted: #b6b0c6; --line: #2a2442; --gold: #c9982f; --gold-lit: #e8b84b; --card: #151129; }
  * { box-sizing: border-box; }
  body { margin: 0; min-height: 100vh; color: var(--ink); font-family: 'EB Garamond', Georgia, serif; font-size: 19px; line-height: 1.6;
    background: radial-gradient(90% 60% at 50% 0%, #2a1d4a 0%, #15102a 48%, var(--bg) 80%) fixed, var(--bg); }
  a { color: var(--gold-lit); }
  .wrap { width: min(980px, 100% - 32px); margin: 0 auto; padding: 28px 0 64px; }
  .top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-family: 'Cinzel', serif; letter-spacing: .2em; font-size: 14px; }
  .back { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 10px 16px; border: 1px solid #66607f; border-radius: 12px; color: var(--ink); }
  .back:hover, .back:focus-visible { border-color: var(--gold); color: var(--gold-lit); }
  header.hero { text-align: center; padding: clamp(48px, 9vw, 96px) 0 36px; }
  .kicker { font-family: 'Cinzel', serif; letter-spacing: .3em; font-size: 13px; color: var(--gold-lit); text-transform: uppercase; }
  h1 { font-family: 'Cinzel', serif; font-weight: 600; font-size: clamp(34px, 6vw, 60px); line-height: 1.1; margin: 14px 0 18px; }
  .lead { color: var(--muted); max-width: 60ch; margin: 0 auto; font-size: 21px; }
  .rule { width: min(420px, 80%); height: 1px; margin: 40px auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
  h2 { font-family: 'Cinzel', serif; font-weight: 600; font-size: 24px; margin: 0 0 16px; }
  .tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-bottom: 44px; }
  .tier { position: relative; padding: 22px 22px 20px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(#1c1533, #110e1d); overflow: hidden; }
  .tier::before { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--acc) 18%, transparent), transparent 70%); pointer-events: none; }
  .tier .price { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: .16em; color: var(--acc); text-transform: uppercase; }
  .tier h3 { font-family: 'Cinzel', serif; font-size: 22px; margin: 6px 0 6px; }
  .tier p { margin: 0; color: var(--muted); font-size: 17px; }
  .group { margin: 0 0 26px; }
  .group h3 { display: flex; align-items: center; gap: 10px; font-family: 'Cinzel', serif; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); margin: 0 0 12px; }
  .group h3::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
  .names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
  .names li { padding: 8px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent); background: color-mix(in srgb, var(--acc) 10%, transparent); font-size: 18px; }
  /* empty hall: three plates in the tiers' colours, waiting for names */
  .names.ghost { margin-bottom: 14px; }
  .names.ghost li { border-style: dashed; border-color: color-mix(in srgb, var(--acc) 60%, transparent); background: color-mix(in srgb, var(--acc) 6%, transparent); color: color-mix(in srgb, var(--acc) 85%, #fff); font-style: italic; }
  .empty { padding: 18px 20px; border-radius: 16px; border: 1px dashed var(--line); color: var(--muted); }
  .ways { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }
  .btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 12px; font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; font-weight: 600; transition: transform .2s, box-shadow .2s; }
  .btn:hover, .btn:focus-visible { transform: translateY(-2px); }
  .btn.patreon { background: linear-gradient(#cc3d27, #b8331f); color: #fff; box-shadow: 0 10px 24px #cc3d2744; }
  .btn.alt { border: 1px solid #66607f; color: var(--ink); }
  .btn.alt:hover, .btn.alt:focus-visible { border-color: var(--gold); color: var(--gold-lit); }
  .btn svg { width: 18px; height: 18px; }
  .note { color: var(--muted); font-size: 16px; margin-top: 22px; }
  footer { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
  :focus-visible { outline: 2px solid var(--gold-lit); outline-offset: 3px; }

/* nav between the pages */
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a:focus-visible { color: var(--gold-lit); }
.nav a[aria-current="page"] { color: var(--gold-lit); background: #e8b84b14; }

/* /support */
.goal { max-width: 560px; margin: 26px auto 0; text-align: left; }
.goal-row { display: flex; justify-content: space-between; font-size: 16px; color: var(--muted); margin-bottom: 8px; }
.goal-row b { color: var(--ink); font-weight: 500; }
.goal-track { height: 8px; border-radius: 99px; background: #ffffff14; overflow: hidden; }
.goal-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--gold-lit)); box-shadow: 0 0 12px #e8b84b88; transition: width 1s ease; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(#1c1533, #110e1d); color: var(--ink); text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover, .card:focus-visible { transform: translateY(-3px); border-color: var(--acc); box-shadow: 0 20px 50px #0009, 0 0 30px color-mix(in srgb, var(--acc) 20%, transparent); }
.card .tag { align-self: flex-start; font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.card h3 { margin: 0; font-family: 'Cinzel', serif; font-size: 24px; }
.card p { margin: 0; color: var(--muted); font-size: 17px; flex: 1; }
.card .go { margin-top: 10px; font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
/* design review #4: the two ways to give end in the same filled buttons as
   on the home page and the Supporters page (coral Patreon, gold card) */
.card .go { align-self: flex-start; display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border-radius: 12px;
  background: var(--acc); color: #0a0812; font-weight: 600; box-shadow: 0 10px 28px color-mix(in srgb, var(--acc) 30%, transparent); transition: transform .25s, box-shadow .25s; }
.card[style*="f96854"] .go { color: #fff; background: #cc3d27; }
.card:hover .go, .card:focus-visible .go { transform: translateY(-1px); box-shadow: 0 14px 34px color-mix(in srgb, var(--acc) 45%, transparent); }
.coins { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.coin { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); scroll-margin-top: 24px; }
.coin-qr { width: 120px; height: 120px; border-radius: 10px; display: block; }
.coin h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 18px; }
.coin-ic { display: flex; }
.coin-ic img { width: 22px; height: 22px; margin-right: -6px; }
.coin-net { margin: 2px 0 8px; font-size: 14px; color: var(--gold-lit); }
.coin code { display: block; font: 13px/1.45 ui-monospace, Consolas, monospace; word-break: break-all; user-select: all; }
.coin button { margin-top: 10px; min-height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid #e8b84b88; background: transparent; color: var(--gold-lit); font: inherit; font-size: 15px; cursor: pointer; }
/* design review #5: the buttons' lettering, as everywhere else */
.coin button { font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.coin button:hover, .coin button:focus-visible { background: #e8b84b1f; }
.coin .fine { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 480px) { .coin { grid-template-columns: 1fr; } }
.help li { margin: 6px 0; }

/* /faq and the donation questions */
.faq-group { margin: 0 0 36px; scroll-margin-top: 24px; }
.faq-group > h2 { display: flex; align-items: center; gap: 12px; }
.faq-group > h2 img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 3px 10px #0008; }
details.qa { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin: 0 0 10px; }
details.qa > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 20px; font-family: 'Cinzel', serif; font-size: 18px; }
details.qa > summary::-webkit-details-marker { display: none; }
details.qa > summary::after { content: '+'; flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #e8b84b88; color: var(--gold-lit); font-family: Georgia, serif; }
details.qa[open] > summary::after { content: '\2212'; }
details.qa[open] { border-color: #e8b84b66; }
details.qa > p { margin: 0; padding: 0 20px 18px; color: var(--muted); max-width: 70ch; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 17px; }
.jump a:hover, .jump a:focus-visible { border-color: var(--gold); }
.jump img { width: 20px; height: 20px; border-radius: 5px; }
@media (max-width: 520px) {
  .nav { gap: 2px; flex-wrap: nowrap; }
  .nav a { padding: 8px 8px; font-size: 12px; letter-spacing: .08em; }
}
/* four links and Home still ran 23px past a 390px phone (the page scrolled
   sideways, Home half off-screen): tighter again on the narrowest screens */
@media (max-width: 420px) { .nav a { padding: 8px 6px; letter-spacing: .04em; } }
@media (max-width: 380px) { .nav a { font-size: 11px; padding: 8px 5px; letter-spacing: .02em; } }

/* the brand: the main site's Fraktur O on a dark tile, the word beside it */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand .mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; border: 1px solid #c9982f88;
  background: radial-gradient(120% 90% at 50% 10%, #3a2a6e, #1a1236 60%, #100c22); box-shadow: 0 6px 16px #0008, inset 0 1px 0 #ffffff14;
  font-family: 'UnifrakturMaguntia', serif; font-size: 26px; line-height: 1; padding-top: 3px; box-sizing: border-box;
  background-clip: padding-box; color: var(--gold-lit); text-shadow: 0 0 12px #e8b84b55; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.brand:hover .mark, .brand:focus-visible .mark { transform: rotate(-6deg); border-color: var(--gold-lit); }
.brand .word { font-family: 'Cinzel', serif; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; }
/* home: a quiet outlined pill at the end of the page links */
.nav .nav-home { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; border: 1px solid #66607f; color: var(--ink); }
.nav .nav-home svg { width: 16px; height: 16px; }
.nav .nav-home:hover, .nav .nav-home:focus-visible { border-color: var(--gold); color: var(--gold-lit); }
@media (max-width: 520px) {
  .brand .word { display: none; }
  .nav .nav-home { margin-left: 2px; padding: 8px; }
  .nav .nav-home span { display: none; }
}

/* /youtube */
.ways.center { justify-content: center; }
.btn.yt { background: linear-gradient(#d42030, #b5161f); color: #fff; box-shadow: 0 10px 24px #d4203044; }
.vids { display: grid; gap: 20px; }
.vid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 22px; align-items: start; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(#1c1533, #110e1d); }
.vid.short { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); }
.thumb { position: relative; display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 14px 30px #0008; }
.thumb img { display: block; width: 100%; height: auto; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.thumb:hover img, .thumb:focus-visible img { transform: scale(1.04); }
.thumb .play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: #0b0914c7; border: 1px solid #ffffff40; transition: transform .2s, background .2s; }
.thumb .play::after { content: ''; position: absolute; left: 23px; top: 17px; border-left: 17px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.thumb:hover .play, .thumb:focus-visible .play { transform: scale(1.08); background: #e5202e; }
.thumb .dur { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px; background: #000c; color: #fff; font: 600 12px/1.4 system-ui, sans-serif; }
.vbody h3 { margin: 4px 0 8px; font-size: 20px; line-height: 1.3; }
.vbody h3 a { color: var(--ink); text-decoration: none; }
.vbody h3 a:hover { color: var(--gold-lit); }
.vbody p { margin: 0 0 8px; color: var(--muted); font-size: 17px; }
.vmeta { font-family: 'Cinzel', serif; font-size: 12px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-lit) !important; }
.vmeta a { color: inherit; }
.chap { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chap a { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; }
.chap a:hover { border-color: var(--gold); }
.chap b { color: var(--gold-lit); font-weight: 600; margin-right: 4px; }
@media (max-width: 720px) { .vid, .vid.short { grid-template-columns: 1fr; } .vid.short .thumb { max-width: 220px; } }

/* the support goal: one quiet line under the bar, and the full ladder below */
.goal-next { margin: 10px 0 0; font-size: 15px; color: #b6b0c6; }
.milestones > p { color: #b6b0c6; margin-top: -6px; }
.ladder { position: relative; margin: 22px 0 0; padding: 0; list-style: none; }
.ladder::before { content: ''; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(#e8b84b88, #ffffff1a 30%); }
.ladder li { position: relative; display: grid; grid-template-columns: 84px 1fr auto; align-items: baseline; gap: 14px; padding: 9px 0 9px 28px; color: #9a94ad; }
.ladder li::before { content: ''; position: absolute; left: 0; top: 16px; width: 11px; height: 11px; border-radius: 50%; background: #0a0812; border: 1px solid #ffffff33; }
.ladder b { font: 600 16px 'Cinzel', serif; color: #c9c2d6; font-variant-numeric: tabular-nums; }
.ladder small { font: 600 10px 'Cinzel', serif; letter-spacing: .16em; text-transform: uppercase; color: #1a1208; background: #e8b84b; padding: 3px 8px; border-radius: 999px; }
.ladder li.is-next { color: #ece8f2; }
.ladder li.is-next b { color: #ffe0a3; }
.ladder li.is-next::before { border-color: #e8b84b; background: #e8b84b; box-shadow: 0 0 0 4px #e8b84b26; }
.ladder li.is-done { color: #a8f0c0; }
.ladder li.is-done::before { border-color: #6fd89a; background: #6fd89a; }
/* tiers past the next one are veiled until hovered, focused or tapped */
.ladder li.is-far span { filter: blur(3.5px); opacity: .7; transition: filter .35s ease, opacity .35s ease; user-select: none; }
.ladder li.is-far:hover span, .ladder li.is-far:focus span, .ladder li.is-far:focus-within span { filter: none; opacity: 1; user-select: auto; }
.ladder li.is-far { cursor: help; outline: none; }
.ladder li.is-far:focus-visible { box-shadow: inset 2px 0 0 #e8b84b; }
@media (max-width: 560px) { .ladder li { grid-template-columns: 70px 1fr; } .ladder small { grid-column: 2; justify-self: start; } }

/* design review #10: the subpages follow the theme picked on the home page
   (set on <html> before paint by the script in each page's head). The same
   paper, ink and gold as the home page's light theme ("Moonlit") in css/theme.css. */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #eeecf5; --ink: #141020; --muted: #342a51; --line: #beb8d9; --gold: #8a5d06; --gold-lit: #7a5100; --card: #f9f8fb;
  --paper: linear-gradient(#f1f0f7, #f9f8fb); --edge: #7c6ab2; --shade: #181325;
}
html[data-theme="light"] body { background: radial-gradient(90% 60% at 50% 0%, #f9f8fb 0%, var(--bg) 55%, #e0deed 100%) fixed, var(--bg); }
html[data-theme="light"] :is(.tier, .card, .vid) { background: var(--paper); box-shadow: 0 10px 30px color-mix(in srgb, var(--shade) 9%, transparent); }
html[data-theme="light"] .card:hover, html[data-theme="light"] .card:focus-visible { box-shadow: 0 18px 44px color-mix(in srgb, var(--shade) 16%, transparent), 0 0 30px color-mix(in srgb, var(--acc) 18%, transparent); }
html[data-theme="light"] :is(.back, .btn.alt, .nav .nav-home) { border-color: var(--edge); }
html[data-theme="light"] .nav a[aria-current="page"] { background: #e8b84b2e; }
html[data-theme="light"] :is(.tier .price, .group h3, .card .tag) { color: color-mix(in srgb, var(--acc) 50%, #2a0612); }
html[data-theme="light"] .card .go { color: #1a1208; }
html[data-theme="light"] .card[style*="f96854"] .go { color: #fff; background: #c23a24; }
/* the brand tile stays dark in both themes, so its O keeps the bright gold */
html[data-theme="light"] .brand .mark { color: #e8b84b; }
html[data-theme="light"] .coin button { border-color: #94630088; }
html[data-theme="light"] .coin button:hover, html[data-theme="light"] .coin button:focus-visible { background: #94630014; }
html[data-theme="light"] details.qa > summary::after { border-color: #94630088; }
html[data-theme="light"] details.qa[open] { border-color: #94630066; }
html[data-theme="light"] .goal-track { background: #0000001a; }
html[data-theme="light"] :is(.goal-next, .milestones > p) { color: var(--muted); }
html[data-theme="light"] .ladder::before { background: linear-gradient(#94630088, #0000001a 30%); }
html[data-theme="light"] .ladder li { color: #4c3d77; }
html[data-theme="light"] .ladder li::before { background: var(--bg); border-color: #00000033; }
html[data-theme="light"] .ladder b { color: #2d2447; }
html[data-theme="light"] .ladder li.is-next { color: var(--ink); }
html[data-theme="light"] .ladder li.is-next b { color: #7a5100; }
html[data-theme="light"] .ladder li.is-done { color: #2c7445; }
html[data-theme="light"] .thumb { box-shadow: 0 14px 30px color-mix(in srgb, var(--shade) 22%, transparent); }
html[data-theme="light"] .faq-group > h2 img { box-shadow: 0 3px 10px color-mix(in srgb, var(--shade) 25%, transparent); }
html[data-theme="light"] .brand .mark { box-shadow: 0 6px 16px color-mix(in srgb, var(--shade) 30%, transparent), inset 0 1px 0 #ffffff14; }

/* touch: the footer link back home gets a finger-sized tap area, same look */
@media (pointer: coarse) {
  footer a { display: inline-block; padding-block: 10px; margin-block: -10px; }
}
