/* Supporter accounts: welcome.html and signin.html (home.html now uses night.css).
   2026-10-09: the night-and-gold glass of the supporter home, over the summit at night. Was paper and ink
   (backup animation-lab/src/site-account.pre-patron.css). */
:root {
  --night: #080a12; --night2: #11152a; --paper: #f2ebdb; --ivory: #f2ebdb; --ivory2: rgba(242,235,219,.78); --muted: rgba(242,235,219,.56);
  --gold: #e8b95a; --gold2: #f6d995; --gilt: #e8b95a; --line: rgba(232,185,90,.22); --line2: rgba(232,185,90,.45); --hair: rgba(242,235,219,.12);
  --err: #ff8a73; --ok: #7fbf8a; --red: #dd452d;
  --serif: "Cormorant Garamond", Georgia, serif; --mono: "IBM Plex Mono", ui-monospace, monospace; --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--night); color: var(--ivory); font-family: var(--serif); -webkit-text-size-adjust: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.k { font: 500 11px/1.3 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* top bar */
.top { position: fixed; z-index: 20; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px max(16px, 3.4vw); font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.top a, .top button { text-decoration: none; opacity: .86; color: inherit; background: none; border: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; padding: 0; transition: opacity .2s; }
.top a:hover, .top button:hover { opacity: 1; }
.top .home::before { content: ""; display: inline-block; width: 7px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: 10px; vertical-align: 1px; }
.top nav { display: flex; gap: 22px; align-items: center; }
.top nav a:last-child { padding: 9px 15px; border: 1px solid var(--line2); border-radius: 999px; opacity: 1; }
.top.solid { background: rgba(8,10,18,.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@media (max-width: 560px) { .top nav .wide { display: none; } }

/* the summit behind the card */
.scene { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 96px 16px 48px; isolation: isolate; overflow: hidden; }
.art { position: absolute; inset: 0; z-index: -1; }
.art img { position: absolute; left: 50%; top: 0; height: 100%; width: auto; min-width: 100%; object-fit: cover; transform: translateX(-50%); }
.art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(8,10,18,.35), rgba(8,10,18,.88) 72%), linear-gradient(0deg, var(--night), rgba(8,10,18,0) 30%); }

/* the glass card */
.card { width: min(480px, 100%); color: var(--ivory); padding: 36px 34px 30px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30,36,62,.72), rgba(14,17,32,.86)); -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 40px 100px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05); }
.card .k { color: var(--gold); }
.card h1 { margin: 12px 0 10px; font-weight: 500; font-size: clamp(40px, 6vw, 52px); line-height: .98; letter-spacing: -.01em; }
.card .lede { margin: 0 0 22px; font-size: 19px; line-height: 1.45; color: var(--ivory2); }
.gift { margin: 0 0 20px; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(232,185,90,.08); font-size: 18px; line-height: 1.4; }
.gift b { font-weight: 600; color: var(--gold2); }
label.f { display: grid; gap: 7px; margin: 0 0 16px; }
label.f > span:first-child { font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
input.t { width: 100%; min-height: 50px; border-radius: 10px; border: 1px solid rgba(242,235,219,.16); background: rgba(8,10,18,.55); outline: none;
  font: 400 20px/1.2 var(--serif); color: var(--ivory); padding: 11px 14px; transition: border-color .2s, background .2s; }
input.t:focus { border-color: var(--gold); background: rgba(8,10,18,.75); }
.at { display: grid; grid-template-columns: auto 1fr; align-items: center; border-radius: 10px; border: 1px solid rgba(242,235,219,.16); background: rgba(8,10,18,.55); padding-left: 14px; transition: border-color .2s; }
.at:focus-within { border-color: var(--gold); }
.at i { font-style: normal; font-size: 20px; color: var(--muted); }
.at input.t { border: 0; background: none; padding-left: 4px; }
.help { margin: 2px 0 0; font: 400 11px/1.45 var(--mono); letter-spacing: .02em; color: var(--muted); }
.help.ok { color: var(--ok); } .help.bad { color: var(--err); }
label.c { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 1.35; color: var(--ivory2); margin: 6px 0 18px; cursor: pointer; }
label.c input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--gold); }
.go { position: relative; overflow: hidden; width: 100%; min-height: 52px; border: 0; border-radius: 999px; cursor: pointer; color: #1b1408;
  background: linear-gradient(180deg, #f6d995, #e8b95a 55%, #c9973f); box-shadow: 0 10px 30px rgba(232,185,90,.25), inset 0 1px 0 rgba(255,255,255,.45);
  font: 500 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; transition: filter .2s, transform .2s; }
.go:hover { filter: brightness(1.06); } .go:active { transform: translateY(1px); } .go:disabled { opacity: .55; cursor: default; }
.err { min-height: 1.2em; margin: 10px 0 0; font: 400 12px/1.5 var(--mono); color: var(--err); }
.fine { margin: 14px 0 0; font: 400 11px/1.55 var(--mono); color: var(--muted); letter-spacing: .02em; }
.alt { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 18px; color: var(--ivory2); text-align: center; }
.alt a, .linkish, .fine a { color: var(--gold2); text-decoration: underline; text-decoration-color: rgba(232,185,90,.45); text-underline-offset: 3px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.card p b { color: var(--gold2); font-weight: 600; }
@media (max-width: 480px) { .card { padding: 30px 22px 24px; } }

/* the page rises in, quietly */
.rise { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform 1s var(--ease); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; transition: none; } }
