/* ------------------------------------------------------------------
   Iwas Gutom Society — draft sub-pages (news, blog, feed, reports, faq,
   guidelines, activities, team, volunteer, donate) + the site nav.

   Loaded only by the sub-pages and, on the home page, only under ?debug
   (pages.js injects it). Everything here builds on the tokens in
   styles.css — same rules apply: no raw ink/paper rgba(), dark bands use
   --band / --band-ink, cast shadows use --shadow-rgb.
------------------------------------------------------------------ */

/* ---------------- Site nav ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 3px solid var(--rule);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .55rem var(--gut);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav__brand {
  font-family: var(--display);
  font-style: italic;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.35rem;
  line-height: 1;
  white-space: nowrap;
  margin-right: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 1.6vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a,
.nav__group > summary {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  padding: .55rem 0;
  display: inline-flex;
  align-items: center;
  gap: .3em;
  min-height: 44px;
}
.nav__links a:hover,
.nav__group > summary:hover { color: var(--accent-deep); }
.nav__links a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
.nav__group { position: relative; }
.nav__group > summary { list-style: none; }
.nav__group > summary::-webkit-details-marker { display: none; }
.nav__group > summary::after { content: "▾"; font-size: .8em; }
.nav__group[open] > summary::after { content: "▴"; }
.nav__sub {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 13rem;
  list-style: none;
  margin: 0;
  padding: .4rem 1rem;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  box-shadow: 5px 5px 0 var(--ink);
}
.nav__sub a { width: 100%; }
.nav__donate.btn { min-height: 40px; --pad-y: .45rem; padding: .45rem 1.05rem; font-size: .9rem; box-shadow: 3px 3px 0 var(--ink); color: var(--accent-ink); }
.nav__links a.nav__donate:hover { color: var(--accent-ink); }
.nav__toggle {
  display: none;
  font: inherit;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .95rem;
  color: var(--ink);
  background: transparent;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: .35rem 1rem;
  min-height: 44px;
  cursor: pointer;
}
.nav__toggle:focus-visible,
.nav a:focus-visible,
.nav summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 899px) {
  .nav__toggle { display: inline-flex; align-items: center; }
  .nav__inner { flex-wrap: wrap; }
  .nav__links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .4rem 0 1rem;
    border-top: 1px solid rgba(var(--ink-rgb),.18);
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
  }
  .nav--open .nav__links { display: flex; }
  .nav__links > li { border-bottom: 1px solid rgba(var(--ink-rgb),.12); }
  .nav__links > li:last-child { border-bottom: 0; padding-top: .9rem; }
  .nav__links a, .nav__group > summary { width: 100%; font-size: 1.1rem; }
  .nav__group > summary { justify-content: space-between; }
  .nav__sub {
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0 0 .4rem 1rem;
    background: none;
  }
  .nav__donate.btn { width: auto; justify-content: center; }
}

/* ---------------- Draft ribbon ---------------- */
.draft-banner {
  background: var(--band);
  color: var(--slot-5);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  padding: .45rem var(--gut);
}

/* ---------------- Page header ---------------- */
.page-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.2rem, 7vh, 4.5rem) var(--gut) clamp(1.8rem, 5vh, 3rem);
}
.page-head .big-statement { max-width: 18ch; }
.page-head .lede { max-width: 52ch; }
.page-head--rule { border-bottom: 1px solid rgba(var(--ink-rgb),.18); }

.section--tight { padding-top: clamp(1.8rem, 5vh, 3rem); }
.section--last { border-bottom: 0; }
.section h2.sub {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.5rem);
  line-height: 1;
  margin: 0 0 1.2rem;
}
.muted { color: rgba(var(--ink-rgb),.6); }
.text-link {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--accent-deep);
  padding-bottom: 2px;
}
.text-link:hover { opacity: .7; }

/* Neon-on-band chip (dates, tags) — the timeline/slots chip, generalised */
.chip {
  display: inline-block;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1;
  white-space: nowrap;
  background: var(--band);
  color: var(--slot-1);
  padding: .32em .5em .26em;
  border-radius: 7px;
}
.chip--2 { color: var(--slot-2); }
.chip--3 { color: var(--slot-3); }
.chip--4 { color: var(--slot-4); }
.chip--5 { color: var(--slot-5); }
.chip--sm { font-size: .85rem; }

/* Outline pill (filters, tags, small links) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: .5em 1em;
  min-height: 36px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.pill:hover,
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pill:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }

/* Generic cream card */
.card {
  border: 2px solid var(--line-warm);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink-soft);
  padding: clamp(1.2rem, 3vw, 1.8rem);
}
.card h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.35rem;
  line-height: 1.05;
  margin: 0 0 .6rem;
}
.card p { margin: 0 0 .8rem; }
.card p:last-child { margin-bottom: 0; }
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

/* ---------------- News: dated list ---------------- */
.pinned {
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  background: var(--paper-pure);
  box-shadow: 6px 6px 0 var(--ink);
  padding: clamp(1.2rem, 3vw, 2rem);
  margin: 0 0 clamp(2rem, 5vh, 3rem);
  color: var(--ink);
}
.pinned__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-deep); margin: 0 0 .5rem; }
.pinned h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 1rem + 3vw, 2.8rem); line-height: 1; margin: 0 0 .8rem; }
.pinned p { margin: 0 0 1rem; max-width: 60ch; }
.pinned p:last-child { margin-bottom: 0; }

.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(var(--ink-rgb),.2); }
.news-item {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: .4rem 1.5rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(var(--ink-rgb),.2);
}
.news-item[hidden] { display: none; }
.news-item__date { justify-self: start; align-self: start; }
.news-item h3 { font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.2; margin: 0 0 .35rem; }
.news-item h3 a { text-decoration: none; }
.news-item h3 a:hover { color: var(--accent-deep); }
.news-item p { margin: 0; max-width: 62ch; }
.news-item__tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(var(--ink-rgb),.6); margin: 0 0 .3rem; }
@media (max-width: 560px) { .news-item { grid-template-columns: 1fr; } }

/* ---------------- Blog: post cards + article ---------------- */
.post-feature { display: grid; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; margin: 0 0 clamp(2.2rem, 6vh, 3.5rem); }
@media (min-width: 900px) { .post-feature { grid-template-columns: 1.1fr 1fr; } }
.post-feature__img,
.post-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: 6px;
}
.post-feature h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 1rem + 3.4vw, 3.2rem); line-height: .98; margin: .7rem 0 .8rem; }
.post-feature h2 a, .post-card h3 a { text-decoration: none; }
.post-feature h2 a:hover, .post-card h3 a:hover { color: var(--accent-deep); }
.post-meta { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(var(--ink-rgb),.6); margin: 0; }
.post-card { display: flex; flex-direction: column; gap: .7rem; }
.post-card h3 { font-size: 1.25rem; line-height: 1.2; margin: 0; }
.post-card p { margin: 0; }

.subscribe {
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  background: var(--surface);
  padding: clamp(1.3rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) { .subscribe { grid-template-columns: 1fr 1fr; align-items: center; } }
.subscribe h2 { margin: 0 0 .4rem; }
.subscribe p { margin: 0; }
.inline-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.inline-form input {
  font: inherit;
  flex: 1 1 14rem;
  min-width: 0;
  color: var(--ink);
  background: var(--paper-pure);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: .7rem 1.1rem;
  min-height: 48px;
}
.inline-form input:focus { outline: none; border-color: var(--accent); box-shadow: 4px 4px 0 var(--accent); }
.inline-form .btn { cursor: pointer; font-family: var(--body); }
.form-note { font-size: .85rem; margin: .6rem 0 0; min-height: 1.3em; font-weight: 600; color: var(--accent-deep); }

.prose { max-width: 66ch; }
.prose > * { margin: 0 0 1.15em; }
.prose h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem); line-height: 1.05; margin-top: 1.8em; }
.prose blockquote {
  margin-left: 0;
  padding: .2rem 0 .2rem 1.2rem;
  border-left: 5px solid var(--accent);
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.35;
}
.prose img { display: block; width: 100%; height: auto; border: 2.5px solid var(--ink); border-radius: 6px; }
.prose figcaption { font-size: .85rem; margin-top: .5rem; color: rgba(var(--ink-rgb),.6); }
.prose figure { margin-left: 0; margin-right: 0; }

/* ---------------- Feed: mirrored social posts ---------------- */
.feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1.15rem; }
.feed__item {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--line-warm);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink-soft);
  overflow: hidden;
}
.feed__item[hidden] { display: none; }
.feed__media { position: relative; aspect-ratio: 1; background: var(--band); }
.feed__media--tall { aspect-ratio: 9 / 14; }
.feed__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feed__badge {
  position: absolute;
  top: .6rem;
  right: .6rem;
  background: var(--band);
  color: var(--band-ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .3em .75em;
}
.feed__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--band);
  color: var(--band-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  padding-left: 4px;
  box-shadow: 0 6px 14px rgba(var(--shadow-rgb),.35);
}
.feed__body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.feed__body p { margin: 0; font-size: .95rem; line-height: 1.4; }
.feed__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .3rem; }
.feed__src { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(var(--ink-rgb),.6); }

/* ---------------- Reports: stats, bars, tables ---------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1.25rem; }
.stat { border: 2px solid var(--line-warm); border-radius: 6px; background: var(--surface); color: var(--ink-soft); padding: 1.3rem 1.4rem; }
.stat__num { font-family: var(--display); font-size: clamp(2.4rem, 1.5rem + 3.5vw, 4rem); line-height: .95; margin: 0 0 .4rem; color: var(--accent-deep); }
.stat__label { margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
.stat__note { margin: .35rem 0 0; font-size: .85rem; color: rgba(var(--ink-rgb),.6); }

.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.bars li { display: grid; grid-template-columns: minmax(7rem, 12rem) 1fr auto; gap: .4rem 1rem; align-items: center; }
.bars__label { font-weight: 600; }
.bars__track { height: 22px; border: 1.5px solid rgba(var(--ink-rgb),.3); border-radius: 3px; overflow: hidden; }
.bars__fill { display: block; height: 100%; width: var(--pct); background: var(--accent); border-right: 1.5px solid var(--accent-deep); }
.bars__val { font-weight: 700; color: var(--accent-deep); white-space: nowrap; text-align: right; min-width: 6.5em; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .bars li { grid-template-columns: 1fr auto; }
  .bars__track { grid-column: 1 / -1; grid-row: 2; }
}

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 34rem; }
.table th, .table td { padding: .8rem .9rem .8rem 0; text-align: left; border-bottom: 1px solid rgba(var(--ink-rgb),.2); vertical-align: top; }
.table th { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; color: rgba(var(--ink-rgb),.6); border-bottom: 2px solid var(--ink); }
.table .num { text-align: right; padding-right: 1.4rem; }
.table tfoot td { font-weight: 700; border-bottom: 0; border-top: 2px solid var(--ink); }

/* ---------------- FAQ ---------------- */
.faq { border-top: 1px solid rgba(var(--ink-rgb),.2); max-width: 52rem; }
.faq details { border-bottom: 1px solid rgba(var(--ink-rgb),.2); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-weight: 700;
  font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem);
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; line-height: .9; color: var(--accent-deep); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--accent-deep); }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.faq details > div { padding: 0 0 1.3rem; max-width: 62ch; }
.faq details > div p { margin: 0 0 .8rem; }
.faq details > div p:last-child { margin: 0; }
.faq-group { margin: 0 0 clamp(2rem, 6vh, 3.2rem); }

/* ---------------- Guidelines ---------------- */
.toc { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.6rem 0 0; padding: 0; }
.rules { list-style: none; counter-reset: rule; margin: 0; padding: 0; border-top: 1px solid rgba(var(--ink-rgb),.2); max-width: 54rem; }
.rules > li {
  counter-increment: rule;
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 0 1.1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(var(--ink-rgb),.2);
}
.rules > li::before {
  content: counter(rule, decimal-leading-zero);
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  background: var(--band);
  color: var(--slot-1);
  border-radius: 7px;
  padding: .32em 0 .26em;
  text-align: center;
  align-self: start;
}
.rules > li:nth-child(5n+2)::before { color: var(--slot-2); }
.rules > li:nth-child(5n+3)::before { color: var(--slot-3); }
.rules > li:nth-child(5n+4)::before { color: var(--slot-4); }
.rules > li:nth-child(5n+5)::before { color: var(--slot-5); }
.rules h3 { margin: 0 0 .3rem; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.25; }
.rules p { margin: 0; max-width: 60ch; }
.dodont { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.dodont ul { margin: 0; padding-left: 1.2rem; }
.dodont li { margin: 0 0 .5rem; }
.dodont .card--do { border-color: var(--accent-deep); }
.dodont .card--dont { border-color: var(--slot-4); }
.updated { font-size: .85rem; color: rgba(var(--ink-rgb),.6); margin: 1.2rem 0 0; }

/* ---------------- Activities ---------------- */
.activity { scroll-margin-top: 5rem; }
.activity__facts { display: flex; flex-wrap: wrap; gap: .5rem .6rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.activity__facts li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; }
.activity p.body { max-width: 50ch; margin: 1.2rem 0 0; }
.activity .cta-row { animation: none; margin-bottom: 0; }
.shot {
  display: block;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-pure);
  padding: 6px;
  border: 1px solid rgba(var(--ink-rgb),.10);
  box-shadow: 0 12px 26px rgba(var(--shadow-rgb),.22);
  rotate: 2deg;
  justify-self: center;
}
.section__cols--reverse .shot { rotate: -2deg; }
@media (min-width: 900px) { .section__cols--reverse .shot { order: 1; } }

/* ---------------- Team ---------------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 1.6rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.person { display: flex; flex-direction: column; gap: .35rem; }
.person__photo {
  aspect-ratio: 1;
  border: 2.5px solid var(--ink);
  border-radius: 6px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 3rem;
  color: rgba(var(--ink-rgb),.25);
  margin: 0 0 .5rem;
  overflow: hidden;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person h3 { margin: 0; font-size: 1.2rem; line-height: 1.2; }
.person__role { margin: 0; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-deep); }
.person p { margin: 0; font-size: .95rem; }

/* ---------------- Volunteer: sign-in + profile ---------------- */
.auth {
  max-width: 30rem;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
  padding: clamp(1.3rem, 4vw, 2rem);
}
.auth h2 { margin: 0 0 .5rem; }
.auth p { margin: 0 0 1rem; }
.auth label,
.profile label { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; color: rgba(var(--ink-rgb),.65); margin: 0 0 .4rem; }
.auth input[type="email"],
.profile input[type="text"],
.profile input[type="tel"],
.profile select {
  font: inherit;
  width: 100%;
  color: var(--ink);
  background: var(--paper-pure);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: .7rem .9rem;
  min-height: 48px;
  margin: 0 0 1rem;
}
.auth input:focus, .profile input:focus, .profile select:focus { outline: none; border-color: var(--accent); box-shadow: 4px 4px 0 var(--accent); }
.auth .btn, .profile .btn { cursor: pointer; font-family: var(--body); }
.auth__sent { font-weight: 600; color: var(--accent-deep); }
.state-switch { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 0 1.6rem; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.profile__head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin: 0 0 clamp(1.6rem, 4vh, 2.4rem); }
.profile__avatar {
  width: 84px; height: 84px; flex: none;
  border-radius: 999px;
  background: var(--band);
  color: var(--slot-1);
  font-family: var(--display);
  font-size: 2.2rem;
  display: flex; align-items: center; justify-content: center;
}
.profile__head h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 1rem + 3vw, 3rem); line-height: 1; margin: 0 0 .35rem; }
.profile__head p { margin: 0; }
.profile__grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .profile__grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.profile__col { display: grid; gap: 1.25rem; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .7rem 0; border-top: 1px solid rgba(var(--ink-rgb),.15); }
.rows li:first-child { border-top: 0; padding-top: 0; }
.rows li:last-child { padding-bottom: 0; }
.status { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.status--ok { color: var(--accent-deep); }
.status--wait { color: rgba(var(--ink-rgb),.6); }
.checks { display: grid; gap: .6rem; margin: 0 0 1rem; }
.checks label { display: flex; align-items: center; gap: .6rem; font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 1rem; color: inherit; margin: 0; min-height: 32px; }
.checks input { width: 20px; height: 20px; accent-color: var(--accent-deep); }

/* ---------------- Donate ---------------- */
.qr {
  aspect-ratio: 1;
  width: min(100%, 220px);
  border: 2.5px solid var(--ink);
  border-radius: 6px;
  background:
    repeating-conic-gradient(rgba(var(--ink-rgb),.85) 0 25%, transparent 0 50%) 0 0 / 22px 22px,
    var(--paper-pure);
  margin: 0 0 1rem;
  position: relative;
}
.qr::after {
  content: "QR placeholder";
  position: absolute;
  inset: 0;
  margin: auto;
  width: max-content;
  height: max-content;
  background: var(--paper-pure);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .3em .8em;
}
.kv { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; font-size: .98rem; }
.kv dt { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .78rem; color: rgba(var(--ink-rgb),.6); align-self: center; }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.buys { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(var(--ink-rgb),.2); max-width: 44rem; }
.buys li { display: flex; align-items: center; gap: 1.1rem; padding: 1rem 0; border-bottom: 1px solid rgba(var(--ink-rgb),.2); font-weight: 600; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); }
.buys .chip { min-width: 5.2em; text-align: center; font-size: 1.3rem; }
.wishlist { columns: 2 14rem; column-gap: 2rem; padding-left: 1.2rem; margin: 0; max-width: 44rem; }
.wishlist li { margin: 0 0 .5rem; break-inside: avoid; }

/* ---------------- Sub-page footer sitemap ---------------- */
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .3rem 1.4rem;
  list-style: none;
  margin: 0 auto 1.6rem;
  padding: 0;
  max-width: 44rem;
}
.footer__nav a {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.footer__nav a:hover { color: var(--accent-soft); }
