:root { --plum:#4A1735; --ink:#25151F; --soft:#5E5049; --gold:#B58A4A; --ivory:#F6F0E8; --ivory-2:#EFE7DC; --rule:#D9CFC3; }
* { box-sizing: border-box; }
html { background: var(--ivory-2); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory-2); color: var(--ink); font: 400 clamp(1.08rem, 1rem + .4vw, 1.25rem)/1.65 "Montserrat", system-ui, sans-serif; text-wrap: pretty; }
.page { max-width: 54rem; margin: 0 auto; background: #fff; padding: clamp(1.5rem, 5vw, 3.5rem) clamp(1rem, 5vw, 4rem) clamp(2rem, 5vw, 3.5rem); min-height: 100vh; }
.mast { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1.5px solid var(--gold); padding-bottom: .9rem; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--plum); text-decoration: none; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); }
.brand img { height: clamp(2rem, 1.6rem + 1.5vw, 2.8rem); width: auto; }
.brand i { font-weight: 400; }
.for { font-size: .88em; color: var(--soft); text-align: right; line-height: 1.4; }
h1 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem); line-height: 1.1; color: var(--plum); margin: 0 0 1.1rem; text-wrap: balance; }
.lede { font-size: 1.12em; line-height: 1.55; margin: 0 0 1.6rem; }
h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: clamp(1.55rem, 1.3rem + 1vw, 2rem); color: var(--plum); margin: 2.2rem 0 .7rem; text-wrap: balance; }
p { margin: 0 0 .9rem; }
.ask { background: var(--ivory); border-left: 3px solid var(--gold); padding: 1.1rem 1.4rem; margin: .5rem 0 .9rem; }
.ask ul { margin: 0; padding-left: 1.2rem; }
.ask li { margin-bottom: .45rem; }
.ask li:last-child { margin-bottom: 0; }
.gets { counter-reset: g; margin: 0; padding: 0; list-style: none; }
.gets li { counter-increment: g; display: grid; grid-template-columns: 2.4rem 1fr; margin-bottom: 1.1rem; }
.gets li::before { content: counter(g); font-family: "Playfair Display", Georgia, serif; font-size: 1.7em; line-height: 1; color: var(--gold); }
.gets b { display: block; font-weight: 600; margin-bottom: .15rem; }
.need { padding-left: 1.2rem; margin: .3rem 0 0; }
.need li { margin-bottom: .4rem; }
.close { margin-top: 2rem; border-top: 1px solid var(--rule); padding-top: 1.3rem; }
.sign { font-family: "Playfair Display", Georgia, serif; font-size: 1.3em; color: var(--plum); margin-top: .6rem; }

/* worked numbers */
.ledger { width: 100%; border-collapse: collapse; margin: .6rem 0 1rem; }
.ledger th, .ledger td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger th { font-weight: 600; color: var(--plum); font-size: .92em; }
.ledger td.n { text-align: right; white-space: nowrap; font-weight: 600; }
.ledger tr.total td { border-bottom: 0; border-top: 1.5px solid var(--gold); font-weight: 600; }
.small { font-size: .92em; color: var(--soft); }

/* the two quieter links at the foot of the main page */
.more { margin-top: 2.6rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .4rem 2rem; }
.more span { grid-column: 1 / -1; font-size: .9em; color: var(--soft); }
.more a { color: var(--plum); font-size: .98em; text-decoration: none; border-bottom: 1px solid var(--gold); padding: .35rem 0; justify-self: start; }
.more a:hover, .more a:focus { color: var(--gold); }
.back { display: inline-block; margin-top: 2.2rem; color: var(--plum); text-decoration: none; border-bottom: 1px solid var(--gold); padding: .35rem 0; }
