/* PurrCyprus — editorial design system */
:root {
  --paper: #f3f0e8;
  --paper-2: #e9e4d8;
  --card: #faf8f3;
  --ink: #161614;
  --ink-2: #3b3a36;
  --mute: #736f66;
  --rule: #d4cdbf;
  --accent: #a3431d;
  --accent-ink: #fff;
  --olive: #4c5a31;
  --ok: #2f6b3f;
  --warn: #9a6512;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --w: 1240px;
  --gut: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; }
.eyebrow { font: 500 .74rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.mute { color: var(--mute); }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; margin: 0; }
h1 { font-size: clamp(2.8rem, 7vw, 6rem); line-height: .95; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.02; }
h3 { font-size: 1.6rem; line-height: 1.1; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 36em; line-height: 1.55; }

/* photos: uniform documentary grade */
.photo { position: relative; overflow: hidden; background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.04) sepia(.06); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.photo figcaption, .cap { font: 400 .75rem/1.4 var(--mono); color: var(--mute); margin-top: .6rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: .9em 1.35em; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); text-decoration: none; font: 500 .92rem var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; border-radius: 2px; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.accent { background: var(--accent); border-color: var(--accent); }
.btn.accent:hover { background: var(--ink); border-color: var(--ink); }
.btn.sm { padding: .6em 1em; font-size: .85rem; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.link { text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 1px; transition: border-color .2s; }
.link:hover { border-color: var(--ink); }

/* top notice + header */
.notice { background: var(--ink); color: #d9d4c8; font: 400 .78rem var(--mono); }
.notice .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-top: .55rem; padding-bottom: .55rem; }
.notice a { color: #fff; }
.notice .live { color: #ff6b4a; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: .5em; vertical-align: 1px; }
.live .dot { animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }

.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; height: 72px; gap: 2rem; }
.brand { display: flex; align-items: baseline; gap: .7rem; text-decoration: none; }
.brand b { font: 400 1.75rem/1 var(--serif); letter-spacing: -.02em; }
.brand span { font: 400 .7rem var(--mono); color: var(--mute); letter-spacing: .08em; text-transform: uppercase; }
.menu { display: flex; gap: 1.8rem; margin-left: auto; }
.menu a { text-decoration: none; font-size: .93rem; color: var(--ink-2); padding: .3rem 0; border-bottom: 1px solid transparent; }
.menu a:hover, .menu a[aria-current] { color: var(--ink); border-color: var(--ink); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--rule); padding: .5rem .8rem; font: 500 .8rem var(--mono); cursor: pointer; }

/* sections */
section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.band { background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dark { background: var(--ink); color: var(--paper); }
.dark .mute, .dark .eyebrow { color: #9d978a; }
.dark .rule { border-color: #34332f; }
.sec-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.sec-head .eyebrow { display: block; margin-bottom: 1.1rem; }
.sec-head p { margin: 0; color: var(--ink-2); max-width: 34em; justify-self: end; }
.dark .sec-head p { color: #c9c3b6; }

/* page header (inner pages) */
.page-head { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--rule); }
.page-head .eyebrow { display: block; margin-bottom: 1.4rem; }
.page-head .lede { margin-top: 1.4rem; }
.crumbs { font: 400 .78rem var(--mono); color: var(--mute); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* HOME hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.hero h1 { margin: 1.4rem 0 1.8rem; }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero .photo { aspect-ratio: 4/5; }
.figs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-top: clamp(3rem, 6vw, 5rem); }
.fig { padding: 1.4rem 1.4rem 1.6rem 0; border-right: 1px solid var(--rule); }
.fig + .fig { padding-left: 1.4rem; }
.fig:last-child { border-right: 0; }
.fig b { display: block; font: 400 clamp(2.6rem, 5vw, 4rem)/1 var(--serif); letter-spacing: -.03em; }
.fig span { display: block; font-weight: 500; margin-top: .5rem; }
.fig small { color: var(--mute); font-size: .83rem; }

/* method */
.method { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.step { padding: 2rem 1.6rem 2rem 0; border-right: 1px solid var(--rule); }
.step + .step { padding-left: 1.6rem; }
.step:last-child { border-right: 0; }
.step .n { font: 400 .78rem var(--mono); color: var(--accent); }
.step h3 { margin: 1.4rem 0 .7rem; }
.step p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* case cards */
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 2.4rem 1.6rem; }
.case-card { text-decoration: none; display: block; }
.case-card .photo { aspect-ratio: 4/5; }
.case-card:hover .photo img { transform: scale(1.035); }
.case-card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: .9rem; }
.case-card h3 { margin: .45rem 0 .35rem; font-size: 1.9rem; }
.case-card p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.tag { display: inline-flex; align-items: center; gap: .45em; font: 500 .72rem var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mute); }
.tag.ok::before { background: var(--ok); }
.tag.warn::before { background: var(--warn); }
.tag.done::before { background: var(--accent); }
.fund { margin-top: 1rem; }
.bar { height: 3px; background: var(--rule); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--ink); }
.bar.accent i { background: var(--accent); }
.fund .row { display: flex; justify-content: space-between; margin-top: .45rem; font: 400 .76rem var(--mono); color: var(--mute); }
.fund .row b { color: var(--ink); font-weight: 500; }

.filters { display: flex; gap: 0; flex-wrap: wrap; border: 1px solid var(--rule); width: fit-content; max-width: 100%; margin-bottom: 2.5rem; }
.filters button { background: none; border: 0; border-right: 1px solid var(--rule); padding: .7rem 1.1rem; cursor: pointer; font-size: .88rem; color: var(--ink-2); }
.filters button:last-child { border-right: 0; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filters button small { font-family: var(--mono); opacity: .6; margin-left: .35em; }

/* tables */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th { text-align: left; font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding: .9rem .8rem .9rem 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }
td { padding: 1rem .8rem 1rem 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
td.num, th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
td .mono { color: var(--mute); }
.dark th { color: #9d978a; border-color: #34332f; }
.dark td { border-color: #34332f; }
.dark .table-wrap { border-color: var(--paper); }
.ratio { display: flex; align-items: center; gap: .7rem; min-width: 140px; }
.ratio .bar { flex: 1; }
.dark .bar { background: #3a3934; }
.dark .bar i { background: var(--paper); }

/* standards */
.standards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #34332f; }
.standard { padding: 2rem 2rem 0 0; }
.standard + .standard { padding-left: 2rem; border-left: 1px solid #34332f; }
.standard h3 { font-size: 1.7rem; margin: 1rem 0 .8rem; }
.standard p { margin: 0; color: #c9c3b6; }

/* broadcasts */
.bc-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); }
.next { border: 1px solid var(--ink); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.next .when { font: 400 clamp(2.4rem, 4vw, 3.2rem)/1 var(--serif); }
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.list li { border-bottom: 1px solid var(--rule); }
.list a { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 1rem; align-items: baseline; padding: 1.1rem 0; text-decoration: none; }
.list a:hover .t { color: var(--accent); }
.list .t { font: 400 1.35rem/1.2 var(--serif); transition: color .2s; }
.list .k { display: block; margin-top: .25rem; }
.sched { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); margin-top: 2.5rem; }
.sched div { padding: 1.2rem 1rem 1.2rem 0; }
.sched div + div { padding-left: 1rem; border-left: 1px solid var(--rule); }
.sched b { display: block; font: 400 1.25rem var(--serif); margin: .3rem 0 .15rem; }
.sched .main b { color: var(--accent); }

/* CTA band */
.cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.cta .actions { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: flex-end; }
.dark .btn.line { color: var(--paper); border-color: var(--paper); }
.dark .btn.line:hover { background: var(--paper); color: var(--ink); }
.dark .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dark .btn:hover, .dark .btn.accent { background: var(--accent); color: #fff; border-color: var(--accent); }

/* CASE page */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.case-grid .photo { aspect-ratio: 4/5; position: sticky; top: 96px; }
.case-id { font: 500 .85rem var(--mono); color: var(--accent); }
.case-name { font-size: clamp(3.2rem, 7vw, 5.5rem); line-height: .95; margin: .8rem 0 1.2rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); margin: 2rem 0; }
.facts div { padding: .8rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.facts dd { margin: .2rem 0 0; }
.checks { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .88rem; }
.checks span::before { content: "○ "; color: var(--mute); }
.checks span.y::before { content: "● "; color: var(--ok); }
.timeline { list-style: none; padding: 0; margin: 1rem 0 0; border-left: 1px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 1.6rem 1.6rem; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: .45rem; width: 9px; height: 9px; background: var(--ink); border-radius: 50%; }
.timeline li.planned::before { background: var(--paper); border: 1px solid var(--ink); }
.timeline li.planned { color: var(--mute); }
.timeline .top { display: flex; justify-content: space-between; gap: 1rem; font: 400 .78rem var(--mono); color: var(--mute); }
.timeline .top b { color: var(--ink); font-weight: 500; }
.timeline p { margin: .3rem 0 0; }
.fund-box { border: 1px solid var(--ink); padding: 1.6rem; margin-top: 2rem; }
.fund-box .amt { display: flex; justify-content: space-between; align-items: baseline; margin: .6rem 0 1rem; }
.fund-box .amt b { font: 400 2.4rem/1 var(--serif); }
.fund-box .actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.3rem; }

/* ADOPT */
.process { list-style: none; padding: 0; margin: 0; counter-reset: p; border-top: 1px solid var(--ink); }
.process li { counter-increment: p; display: grid; grid-template-columns: 5rem 1fr 1.4fr; gap: 1.5rem; padding: 1.6rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.process li::before { content: counter(p, decimal-leading-zero); font: 400 .85rem var(--mono); color: var(--accent); }
.process h3 { font-size: 1.55rem; }
.process p { margin: 0; color: var(--ink-2); }
.dest { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-top: 1px solid var(--ink); }
.dest > div { padding: 1.5rem 1.4rem 1.5rem 0; border-bottom: 1px solid var(--rule); }
.dest h3 { font-size: 1.45rem; margin-bottom: .8rem; }
.dest ul { margin: 0 0 1rem; padding-left: 1.1rem; font-size: .9rem; color: var(--ink-2); }
.dest li { margin: .25rem 0; }
.faq details { border-bottom: 1px solid var(--rule); padding: 1.2rem 0; }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary { cursor: pointer; font: 400 1.35rem var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--mute); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: .8rem 0 0; color: var(--ink-2); max-width: 44em; }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.6rem; }
.form label { display: flex; flex-direction: column; gap: .45rem; font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: 400 1rem var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink-2); padding: .6rem 0; border-radius: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .check { flex-direction: row; align-items: flex-start; gap: .7rem; text-transform: none; letter-spacing: 0; font: 400 .9rem var(--sans); color: var(--ink-2); }
.form .check input { margin-top: .25rem; accent-color: var(--accent); }

/* SUPPORT */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.tier { padding: 2rem; display: flex; flex-direction: column; }
.tier + .tier { border-left: 1px solid var(--ink); }
.tier.feat { background: var(--ink); color: var(--paper); }
.tier .price { font: 400 3.6rem/1 var(--serif); margin: 1.2rem 0 .2rem; }
.tier .price small { font: 400 .9rem var(--sans); color: var(--mute); }
.tier ul { list-style: none; padding: 0; margin: 1.4rem 0 2rem; flex: 1; font-size: .93rem; }
.tier li { padding: .55rem 0; border-top: 1px solid var(--rule); }
.tier.feat li { border-color: #3a3934; }
.tier.feat .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.tier.feat .btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.amount { background: none; border: 0; border-bottom: 1px solid var(--rule); text-align: left; padding: 1.4rem 1.2rem 1.4rem 0; cursor: pointer; transition: background .2s; }
.amount + .amount { padding-left: 1.2rem; border-left: 1px solid var(--rule); }
.amount:hover { background: var(--card); }
.amount b { display: block; font: 400 2.6rem/1 var(--serif); }
.amount span { display: block; margin-top: .6rem; font-size: .9rem; color: var(--ink-2); }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.ways h3 { margin: .8rem 0 .5rem; }
.ways p { margin: 0 0 1rem; color: var(--ink-2); font-size: .95rem; }

/* COMMUNITY: ballot + quiz */
.two { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.ballot .opt { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule); padding: 1.1rem 0; cursor: pointer; }
.ballot .opt:first-of-type { border-top: 1px solid var(--ink); }
.ballot .opt:disabled { cursor: default; }
.ballot .opt .l { font: 400 1.3rem var(--serif); }
.ballot .opt .d { grid-column: 1; font-size: .85rem; color: var(--mute); }
.ballot .opt .v { grid-row: 1 / 3; grid-column: 2; align-self: center; font: 500 .82rem var(--mono); }
.ballot .opt .bar { grid-column: 1 / -1; margin-top: .5rem; }
.ballot .opt:not(:disabled):hover .l { color: var(--accent); }
.ballot .opt.mine .l::after { content: "  ✓ your vote"; font: 500 .7rem var(--mono); color: var(--accent); vertical-align: middle; }
.ballot .foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font: 400 .78rem var(--mono); color: var(--mute); }
.aside { border: 1px solid var(--ink); padding: 1.8rem; }
.aside h3 { margin-bottom: .6rem; }
.packs { margin: 1.3rem 0; border-top: 1px solid var(--rule); }
.pack { width: 100%; display: flex; justify-content: space-between; background: none; border: 0; border-bottom: 1px solid var(--rule); padding: .9rem 0; cursor: pointer; font-size: .95rem; }
.pack:hover { color: var(--accent); }
.pack b { font-family: var(--mono); font-weight: 500; }
.rules { font-size: .85rem; color: var(--ink-2); padding-left: 1.1rem; margin: 0; }
.rules li { margin: .35rem 0; }
.quiz { border-top: 1px solid var(--ink); padding-top: 1.6rem; }
.quiz .q { font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.15 var(--serif); margin: .8rem 0 1.5rem; max-width: 22em; }
.quiz .ans { display: grid; gap: .5rem; max-width: 36rem; }
.quiz .ans button { text-align: left; background: none; border: 1px solid var(--rule); padding: .95rem 1.1rem; cursor: pointer; transition: border-color .2s; }
.quiz .ans button:hover:not(:disabled) { border-color: var(--ink); }
.quiz .ans button.right { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 8%, transparent); }
.quiz .ans button.wrong { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.quiz .why { margin: 1.2rem 0; padding-left: 1rem; border-left: 2px solid var(--ok); max-width: 36rem; color: var(--ink-2); }

/* TRANSPARENCY */
.stack { display: flex; height: 44px; margin: 1.4rem 0 1rem; }
.stack i { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .88rem; }
.legend span { display: inline-flex; align-items: center; gap: .5rem; }
.legend i { width: 10px; height: 10px; display: inline-block; }
.legend b { font-family: var(--mono); font-weight: 500; }
.ledger-tools { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.total-row td { border-bottom: 0; border-top: 1px solid var(--ink); font-weight: 600; }
.unit { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.unit div { padding: 1.4rem 1.2rem 1.4rem 0; }
.unit div + div { padding-left: 1.2rem; border-left: 1px solid var(--rule); }
.unit b { display: block; font: 400 2.6rem/1 var(--serif); }
.unit span { font-size: .9rem; color: var(--ink-2); }

/* footer */
.site-foot { background: var(--ink); color: #c9c3b6; padding: 4.5rem 0 2rem; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-foot .brand b { color: var(--paper); font-size: 2.2rem; }
.site-foot h4 { font: 500 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8c877b; margin: 0 0 1rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: .45rem 0; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 4rem; padding-top: 1.4rem; border-top: 1px solid #34332f; font: 400 .75rem var(--mono); color: #8c877b; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--ink); color: var(--paper); padding: .9rem 1.3rem; font-size: .9rem; z-index: 90; transition: transform .3s, visibility .3s; max-width: calc(100% - 32px); border-left: 3px solid var(--accent); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* responsive */
@media (max-width: 980px) {
  .hero-grid, .sec-head, .bc-grid, .cta, .case-grid, .two, .foot-grid { grid-template-columns: 1fr; }
  .sec-head p { justify-self: start; }
  .cta .actions { justify-content: flex-start; }
  .case-grid .photo { position: static; max-width: 520px; }
  .method, .figs, .unit, .amounts, .sched { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3), .fig:nth-child(3), .unit div:nth-child(3), .amount:nth-child(3), .sched div:nth-child(3) { padding-left: 0; border-left: 0; }
  .fig:nth-child(2), .step:nth-child(2) { border-right: 0; }
  .fig:nth-child(n+3), .step:nth-child(n+3), .unit div:nth-child(n+3), .sched div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .standards, .ways { grid-template-columns: 1fr; }
  .standard + .standard { padding-left: 0; border-left: 0; border-top: 1px solid #34332f; margin-top: 2rem; }
  .tiers { grid-template-columns: 1fr; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--ink); }
  .process li { grid-template-columns: 3rem 1fr; }
  .process li p { grid-column: 2; }
}
@media (max-width: 760px) {
  .menu { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 0 var(--gut); }
  .menu.open { display: flex; }
  .menu a { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
  .menu-btn { display: block; }
  .site-head .btn { display: none; }
  .brand span { display: none; }
  .notice .wrap > :last-child { display: none; }
  .form { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .list a { grid-template-columns: 1fr; gap: .3rem; }
  .fig { padding-right: .8rem; }
  .fig + .fig { padding-left: .8rem; }
}
@media (max-width: 460px) {
  .method, .unit, .amounts, .sched { grid-template-columns: 1fr; }
  .step, .unit div, .amount, .sched div { padding-left: 0 !important; border-left: 0 !important; border-right: 0; border-top: 1px solid var(--rule); }
}

/* ================= Finances & transparency (v3.1) ================= */
:root { --income: #008c7e; --spent: #b8471c; --grid: #e4ddcf; }
.sisters { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.sisters a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.sisters a:hover { border-color: #fff; }
.sisters b { color: #ffb48f; font-weight: 500; }
.sisters .mute { color: #9d978a; }
.brand-logo { display: block; height: 38px; width: auto; align-self: center; }
.site-foot .brand-logo { height: 46px; }

/* overview hero: one hero figure, in the sans face */
.ov-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.ov-hero h1 { margin: 1.2rem 0 1.8rem; }
.hero-figure { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; max-width: 780px; border-top: 1px solid var(--ink); padding-top: 1.4rem; }
.hero-figure b { font: 600 clamp(3.4rem, 8vw, 5.2rem)/1 var(--sans); letter-spacing: -.04em; color: var(--ink); }
.hero-figure span { font-size: 1.1rem; color: var(--ink-2); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); margin-top: 2.2rem; }
.kpi { padding: 1.1rem 1.2rem 1.2rem 0; border-right: 1px solid var(--rule); display: grid; gap: .25rem; }
.kpi + .kpi { padding-left: 1.2rem; }
.kpi:last-child { border-right: 0; }
.kpi-label { font: 500 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.kpi b { font: 600 1.7rem/1.1 var(--sans); letter-spacing: -.02em; }
.kpi small { color: var(--mute); font-size: .82rem; }
.small-kpis { margin: 0 0 1.2rem; }
.small-kpis .kpi b { font-size: 1.3rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.h-mid { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: .8rem 0 .4rem; }

/* charts */
.chart { position: relative; }
.chart .legend { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-bottom: .8rem; font-size: .88rem; color: var(--ink-2); }
.chart .legend span { display: inline-flex; align-items: center; gap: .45rem; }
.lkey { display: inline-block; width: 16px; height: 3px; border-radius: 2px; }
.plot { position: relative; width: 100%; }
.plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.plot .grid { stroke: var(--grid); stroke-width: 1; }
.plot .axis { stroke: var(--rule); stroke-width: 1; }
.plot .tick { font: 400 11px var(--mono); fill: var(--mute); }
.plot .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.plot .dot { stroke: var(--card); stroke-width: 2; }
.plot .endval { font: 600 13px var(--sans); fill: var(--ink); }
.plot .endname { font: 400 11px var(--mono); fill: var(--mute); }
.plot .cross { stroke: var(--ink-2); stroke-width: 1; }
.plot .hit { cursor: crosshair; outline: none; }
.plot .hit:focus-visible { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 0; }
.tip { position: absolute; width: 180px; background: var(--ink); color: #fff; padding: .7rem .8rem; border-radius: 4px; font-size: .82rem; pointer-events: none; box-shadow: 0 8px 24px -10px rgba(0,0,0,.4); }
.tip b { display: block; font: 500 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #cfc9bc; margin-bottom: .4rem; }
.tip-row { display: grid; grid-template-columns: 16px auto 1fr; gap: .5rem; align-items: center; margin: .2rem 0; }
.tip-row strong { font: 600 .95rem var(--sans); }
.tip-row span { color: #cfc9bc; }
.tip-net { margin-top: .4rem; padding-top: .4rem; border-top: 1px solid rgba(255,255,255,.15); color: #cfc9bc; }
.bars { display: grid; gap: .55rem; margin-top: 1.2rem; }
.bar-row { display: grid; grid-template-columns: minmax(0, 11rem) 1fr auto 2.6rem; gap: .8rem; align-items: center; padding: .15rem 0; border-radius: 3px; outline: none; }
.bar-row:hover .bar-track i, .bar-row:focus-visible .bar-track i { filter: brightness(1.12); }
.bar-row:focus-visible { box-shadow: 0 0 0 2px var(--ink); }
.bar-label { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-tag { font: 500 .62rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-left: .4rem; font-style: normal; }
.bar-track { height: 16px; display: block; }
.bar-track i { display: block; height: 100%; border-radius: 0 4px 4px 0; min-width: 2px; }
.bar-val { font: 600 .92rem var(--sans); text-align: right; font-variant-numeric: tabular-nums; }
.bar-share { font: 400 .78rem var(--mono); color: var(--mute); text-align: right; }
.table-toggle { margin-top: 1rem; background: none; border: 0; padding: 0; font: 500 .8rem var(--mono); letter-spacing: .04em; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.chart-table { margin-top: .8rem; }
.chart-table table { font-size: .88rem; }

/* ledger */
.filters-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end; padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--rule); }
.filters-row label { display: flex; flex-direction: column; gap: .35rem; font: 500 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.filters-row .grow { flex: 1; min-width: 200px; }
.filters-row select, .filters-row input { font: 400 .95rem var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--rule); border-radius: 2px; padding: .6rem .7rem; min-width: 170px; }
.filters-row select:focus, .filters-row input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.th-sort { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; }
.th-sort::after { content: " ↕"; opacity: .5; }
th[aria-sort] .th-sort::after, .th-sort[aria-sort="ascending"]::after { content: " ↑"; opacity: 1; }
.th-sort[aria-sort="descending"]::after { content: " ↓"; opacity: 1; }
.th-sort[aria-sort="none"]::after { content: " ↕"; opacity: .5; }
.cat-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--mute); margin-right: .5rem; vertical-align: 1px; }
.cat-dot.care { background: var(--spent); border-color: var(--spent); }
.ledger td { vertical-align: top; }

/* monthly reports */
.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 1.2rem; margin-top: 2rem; }
.month { background: var(--card); border: 1px solid var(--rule); padding: 1.3rem 1.3rem 1.1rem; display: grid; gap: .8rem; break-inside: avoid; }
.month.big { max-width: 720px; }
.month-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.month-head h3 { font-size: 1.6rem; }
.month-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin: 0; }
.month-nums div { display: grid; gap: .15rem; }
.month-nums dt { font: 500 .66rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.month-nums dd { margin: 0; font: 600 1.05rem var(--sans); font-variant-numeric: tabular-nums; }
.stack { display: flex; height: 10px; gap: 2px; }
.stack i { display: block; height: 100%; }
.stack i.care { background: var(--spent); }
.stack i.support { background: var(--rule); }
.stack i:first-child { border-radius: 2px 0 0 2px; } .stack i:last-child { border-radius: 0 2px 2px 0; }
.month p { margin: 0; }
.month-actions { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; font-size: .9rem; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.actions-inline { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* method + about */
.prose-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; align-items: start; }
.toc { position: sticky; top: 96px; display: grid; gap: .2rem; border-left: 1px solid var(--rule); }
.toc a { text-decoration: none; padding: .35rem 0 .35rem 1rem; font-size: .92rem; color: var(--ink-2); }
.toc a:hover { color: var(--ink); }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 2.6rem 0 .8rem; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.04rem; line-height: 1.7; color: var(--ink-2); }
.prose .unit { margin: 1rem 0; }
.plain { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
dl.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); margin: 1rem 0 0; }
dl.facts div { padding: .8rem 0; border-bottom: 1px solid var(--rule); }
dl.facts dt { font: 500 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
dl.facts dd { margin: .2rem 0 0; font: 600 1.2rem var(--sans); }

@media (max-width: 980px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(2) { border-right: 0; }
  .kpi:nth-child(3) { padding-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .two-col, .prose-grid { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; border-left: 0; gap: .4rem 1rem; }
  .toc a { padding: 0; }
}
@media (max-width: 640px) {
  .hero-figure { grid-template-columns: 1fr; gap: .6rem; }
  .bar-row { grid-template-columns: minmax(0, 7rem) 1fr auto; }
  .bar-share { display: none; }
  .month-nums { grid-template-columns: 1fr 1fr; }
  .filters-row select, .filters-row input { min-width: 0; width: 100%; }
  .filters-row label { flex: 1 1 140px; }
  .notice .wrap > span:last-child { display: none; }
  .sisters .mute { display: none; }
}
@media print {
  .notice, .site-head, .site-foot, .actions-inline, .month-actions, .table-toggle, .filters-row { display: none !important; }
  body { background: #fff; }
  .months { grid-template-columns: 1fr 1fr; }
  .month { border-color: #bbb; }
  a { text-decoration: none; }
}

/* emergency reserve */
.res-figs { margin-top: 0; }
.res-meter { position: relative; margin: 1.6rem 0 2.4rem; }
.res-track { height: 14px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.res-track i { display: block; height: 100%; background: var(--ink); border-radius: 0 4px 4px 0; }
.res-tick { position: absolute; top: 0; height: 14px; border-left: 2px solid var(--card); transform: translateX(-1px); }
.res-tick { font: 400 .72rem var(--mono); color: var(--mute); white-space: nowrap; padding-top: 20px; text-indent: -1px; }
.res-tick:last-child { transform: translateX(-100%); border-left: 0; border-right: 2px solid transparent; text-align: right; }
.res-uses { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); border-top: 1px solid var(--rule); padding-top: 1.4rem; }
.res-uses h3 { font: 600 1rem var(--sans); margin: 0 0 .6rem; }
.res-uses p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.plain.bullets li, .res-uses .plain li { padding-left: 1.1rem; position: relative; color: var(--ink-2); }
.plain.bullets li::before, .res-uses .plain li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.res-uses .plain { margin: 0; gap: .5rem; }
.standards:has(> :nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .standards:has(> :nth-child(4)) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .res-uses, .standards:has(> :nth-child(4)) { grid-template-columns: 1fr; }
  .res-tick:not(:last-child) { font-size: 0; }
}

/* empty books, warnings, demo flag */
.empty-note { border: 1px dashed var(--rule); background: var(--card); padding: 1.6rem 1.4rem; color: var(--ink-2); font-size: .98rem; line-height: 1.6; margin-top: 1rem; }
.warn-note { margin: 1rem 0 0; padding: .8rem 1rem; border-left: 3px solid var(--warn); background: var(--card); color: var(--ink); font-size: .92rem; }
.month-nums dd.neg { color: var(--accent); }
.demo-flag { color: #ffb48f; font-weight: 600; }
.promise { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; margin-top: 1.6rem; padding: 1.1rem 1.2rem; background: var(--card); border: 1px solid var(--rule); border-left: 3px solid var(--ok); line-height: 1.6; color: var(--ink-2); max-width: 980px; }
.promise b { color: var(--ink); }
.promise-mark { font-size: 1.2rem; line-height: 1.4; }
.promise-sum { display: inline-block; margin-left: .2rem; }
.founders-line { margin: 0; color: var(--ok); }
ol.plain.steps { counter-reset: st; }
ol.plain.steps li { counter-increment: st; padding-left: 2rem; position: relative; color: var(--ink-2); }
ol.plain.steps li::before { content: counter(st); position: absolute; left: 0; top: .1rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--ink); color: var(--paper); font: 600 .75rem/1.35rem var(--sans); text-align: center; }
.kpi b.neg { color: var(--accent); }
.daily-figs { margin-top: 0; }
.daily-table { margin-top: 1.4rem; }
td.neg, .num.neg { color: var(--accent); }
