:root {
  --ink: #121418;
  --muted: #5c6570;
  --bg: #f3f4f6;
  --white: #fff;
  --blue: #1a3cff;
  --line: #d5dbe3;
  --danger: #9d1c1c;
  --sans: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0, #ffe14a 0 7.5rem, transparent 7.7rem),
    radial-gradient(circle at 96% 4%, #9fd8ff 0 6.5rem, transparent 6.7rem),
    radial-gradient(circle at 70% 18%, #ffb3c7 0 4rem, transparent 4.2rem),
    var(--bg);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

img { max-width: 100%; height: auto; display: block; }

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip:not(:focus) {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip:focus {
  position: fixed;
  z-index: 80;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  width: auto;
  height: auto;
  clip-path: none;
  background: var(--blue);
  color: #fff;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
}

h1, h2, h3, [id] { scroll-margin-top: 5.25rem; }

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-wrap: balance;
}

h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(3rem, 7vw, 5.75rem);
}

h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 { margin: 0 0 0.35rem; font-size: 1.45rem; letter-spacing: -0.03em; }

p { margin: 0 0 1rem; }

a { color: var(--blue); }

p:last-child { margin-bottom: 0; }

.wrap {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.kicker,
.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--muted);
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 30;
  background: #fffdf6;
  border-block-end: 3px solid var(--ink);
}

.header-inner {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.site-nav { display: flex; align-items: center; }

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.4rem 0.8rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: max(1rem, 1em);
  font-weight: 700;
  cursor: pointer;
}

.icon { width: 1.25rem; height: 1.25rem; }

.site-header.is-wide .menu-button { display: none; }

.site-menu {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
}

.site-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}

.site-menu a:hover { color: var(--blue); }

.site-menu a[aria-current="page"] {
  border-radius: 999px;
  background: #ffe14a;
  box-shadow: inset 0 0 0 2px var(--ink);
}

.site-menu a.nav-join,
.site-menu a.nav-join:hover {
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 3px 3px 0 var(--blue);
}

.site-menu a.nav-join[aria-current="page"] {
  background: #ffe14a;
  color: var(--ink);
}

.site-header.is-wide .site-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0;
  border: 0;
  background: transparent;
  position: static;
  margin: 0;
  max-height: none;
  overflow: visible;
  box-shadow: none;
}

.site-header:not(.is-wide) .site-menu:is(:popover-open, .\:popover-open) {
  position: fixed;
  inset-block-start: 4.5rem;
  inset-inline: 0.75rem;
  inset-block-end: auto;
  margin: 0;
  width: auto;
  height: auto;
  max-height: min(70dvh, 28rem);
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
  padding: 0.45rem;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  background: #fffdf6;
  box-shadow: 6px 6px 0 var(--blue);
}

@supports not selector(:popover-open) {
  [popover]:not(.\:popover-open) { display: none; }
}

.stage {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(92vh, 52rem);
  background: #111;
  color: #fff;
}

.stage-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgb(18 20 24 / 0.55));
}

.stage-copy {
  position: relative;
  z-index: 1;
  width: min(38rem, calc(100% - 2.5rem));
  margin: 0 0 clamp(1.2rem, 3vw, 2rem) 1.25rem;
  padding: 1.35rem 1.35rem 1.45rem;
  border: 3px solid var(--ink);
  border-radius: 1.25rem;
  background: #fffdf6;
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--blue);
}

.stage .kicker { color: var(--blue); }
.stage .lead { color: var(--muted); }
.stage .btn { background: var(--ink); color: #fff; }
.stage .btn:hover { background: var(--blue); color: #fff; }
.stage .btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.stage .btn-ghost:hover { background: var(--ink); color: #fff; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 3px 3px 0 var(--blue);
  font: inherit;
  font-size: max(1rem, 1em);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: var(--blue); text-decoration: none; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn:disabled { opacity: 0.55; cursor: wait; }

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }

.section-head { max-width: 36rem; margin-bottom: 1.6rem; }

.mosaic {
  display: grid;
  gap: 1.25rem;
}

.shot { margin: 0; align-self: start; }

.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  background: #d5dbe3;
}

.shot--tall img { aspect-ratio: 3 / 4; object-position: center 15%; }

.shot img,
.split img,
.note-row img,
.hero-photo img,
.contact-photo {
  border: 3px solid var(--ink);
  border-radius: 1.1rem;
  box-shadow: 6px 6px 0 #9fd8ff;
}

.shot p { color: var(--muted); }

.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #d5dbe3;
}

.film {
  position: relative;
  margin: 0;
}

.film img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  background: #111;
}

.film figcaption {
  margin: 0.8rem 1.25rem 0;
  max-width: 36rem;
}

.facts {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.85rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff4c2;
  font-weight: 700;
}

.facts li:nth-child(even) { background: #d9f3ff; }
.facts li:nth-child(3n) { background: #ffe0ea; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.steps { gap: 0.75rem; }

.steps li {
  padding: 1rem 1rem 1.1rem;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.steps li:nth-child(4n + 1) { background: #fff4c2; }
.steps li:nth-child(4n + 2) { background: #d9f3ff; }
.steps li:nth-child(4n + 3) { background: #ffe0ea; }
.steps li:nth-child(4n + 4) { background: #e7ffb0; }

.step-num {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.note-row {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.note-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.limits {
  display: grid;
  gap: 0.75rem;
}

.limits article,
.role,
.jar,
.not-card,
.feature,
.contact-card {
  padding: 1rem 1rem 1.05rem;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.role:nth-child(3n + 1),
.jar:nth-child(3n + 1),
.not-card:nth-child(3n + 1) { background: #fff4c2; }
.role:nth-child(3n + 2),
.jar:nth-child(3n + 2),
.not-card:nth-child(3n + 2) { background: #d9f3ff; }
.role:nth-child(3n + 3),
.jar:nth-child(3n + 3),
.not-card:nth-child(3n + 3) { background: #ffe0ea; }

.faq details {
  margin-bottom: 0.55rem;
  padding: 0 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  background: #fff;
}

.faq details:nth-child(odd) { background: #fffdf6; }

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
  padding-block: 0.9rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1;
}

.faq details[open] summary::after { content: "\2013"; }

.faq details p {
  margin: 0 0 1rem;
  max-width: 62ch;
  color: var(--muted);
}

.page-hero { padding-block: 2.2rem 0.5rem; }

.crumbs { margin: 0 0 0.8rem; color: var(--muted); font-size: 0.95rem; }

.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }

.hero-photo {
  display: grid;
  gap: 1.25rem;
  align-items: end;
}

.hero-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #d5dbe3;
}

.role-grid,
.jar-grid,
.not-grid,
.feature-grid {
  display: grid;
  gap: 1rem;
}

.role,
.jar,
.not-card,
.feature,
.contact-card {
  background: #fff;
}

.role-kicker {
  margin: 0 0 0.3rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jar-amt {
  margin: 0.2rem 0;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hand {
  margin: 0;
  padding: 1rem 1rem 1.05rem;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  background: #fff4c2;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.ahead { list-style: none; margin: 0; padding: 0; }

.ahead li {
  display: grid;
  gap: 0.2rem;
  padding-block: 0.9rem;
  border-block-start: 1px solid var(--line);
}

.ahead time { font-weight: 800; }

.table-scroll {
  overflow-x: auto;
  overscroll-behavior: contain;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  background: #fffdf6;
  box-shadow: 4px 4px 0 #9fd8ff;
}

table { width: 100%; min-width: 44rem; border-collapse: collapse; }

caption {
  caption-side: top;
  padding: 0.9rem 1rem 0.3rem;
  text-align: start;
  font-weight: 800;
}

th, td {
  padding: 0.8rem 1rem;
  text-align: start;
  border-block-end: 1px solid var(--line);
  white-space: nowrap;
}

th {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose { max-width: 70ch; }
.prose h2 { margin-top: 2rem; font-size: 1.7rem; }
.prose h3 { margin-top: 1.2rem; font-size: 1.2rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-inline-start: 1.15rem; }
.prose li + li { margin-top: 0.35rem; }

.callout {
  padding: 0.85rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 0.9rem;
  background: #fff4c2;
  font-weight: 700;
}

.legal-toc {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-self: start;
  padding: 0.9rem;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 4px 4px 0 #ffe14a;
}

.legal-layout { display: grid; gap: 1.25rem; }

.legal-toc span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-toc a { font-weight: 700; text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

.section-alt { background: rgb(255 253 246 / 0.72); }

.band {
  margin-inline: 1.25rem;
  margin-block: 1rem 2rem;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.2rem, 3vw, 2rem);
  border: 3px solid var(--ink);
  border-radius: 1.25rem;
  background: #fff4c2;
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--blue);
}

.band .lead,
.band p { color: var(--ink); }

.band .eyebrow { color: var(--blue); }

.band .btn { background: var(--ink); color: #fff; }
.band .btn:hover { background: var(--blue); color: #fff; }
.band .btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.band .btn-ghost:hover { background: var(--ink); color: #fff; }

.band-grid {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.contact-section { padding-block: 1.5rem 4rem; }

.contact-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.contact-photo {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  margin-bottom: 1rem;
  background: #d5dbe3;
}

address { font-style: normal; }

fieldset {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}

legend { padding: 0; margin-block-end: 0.7rem; font-weight: 800; }

.consent {
  padding-block: 0.35rem 0.1rem;
  border-block-start: 1px solid var(--line);
}

.field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-block-end: 1.1rem;
}

.field label { font-weight: 750; margin-block-end: 0.15rem; }

.hint { margin: 0 0 0.35rem; color: var(--muted); font-size: 0.92rem; }

.field input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 0.8rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: max(1rem, 1em);
}

@media (pointer: coarse) {
  .field input { min-height: 52px; }
}

.field input:is(:user-invalid, .user-invalid-fallback),
.check input:is(:user-invalid, .user-invalid-fallback) {
  border-color: var(--danger);
  background: #fdecec;
}

.error {
  display: none;
  margin: 0.35rem 0 0;
  color: var(--danger);
  font-weight: 700;
}

.field:has(:user-invalid, .user-invalid-fallback) .error,
.check-block:has(:user-invalid, .user-invalid-fallback) .error { display: block; }

.error-mark {
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  margin-inline-end: 0.3rem;
  background: var(--danger);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.15rem;
  text-align: center;
  vertical-align: -0.12rem;
}

.error-mark::before { content: "!"; }

.check {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-block-end: 0.8rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.check input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  accent-color: var(--blue);
}

.optin {
  accent-color: var(--blue);
  padding: 1.1rem 1.1rem 1.2rem;
  border: 3px solid var(--ink);
  border-radius: 1.25rem;
  background: #fffdf6;
  box-shadow: 6px 6px 0 #ffb3c7;
}
.optin .btn { width: 100%; margin-top: 0.35rem; background: var(--blue); }
.optin .btn:hover { background: var(--ink); }

dialog {
  border: 3px solid var(--ink);
  border-radius: 1.25rem;
  padding: 1.35rem 1.25rem 1.2rem;
  background: #fffdf6;
  color: var(--ink);
  max-inline-size: min(32rem, calc(100% - 2rem));
  box-shadow: 8px 8px 0 var(--blue);
}

dialog h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
dialog .btn { width: 100%; background: var(--blue); }
dialog .btn:hover { background: var(--ink); }
dialog:modal { overscroll-behavior: contain; }

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgb(18 20 24 / 0.62);
}

.site-footer {
  margin-top: 1rem;
  background: #fffdf6;
  color: var(--ink);
  border-block-start: 3px solid var(--ink);
  padding-block: 2.6rem 1.1rem;
}

.site-footer a { color: var(--blue); }
.site-footer .brand { color: var(--ink); }

.site-footer h2 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid { display: grid; gap: 1.4rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 0.35rem; }

.legal-line {
  margin-top: 1.6rem;
  padding-top: 0.9rem;
  border-block-start: 2px solid var(--ink);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer :focus-visible { outline-color: var(--blue); }

.section-alt { background: rgb(255 253 246 / 0.55); }

@media (min-width: 720px) {
  .ahead li { grid-template-columns: 9rem 1fr; align-items: baseline; }
  .feature-grid,
  .jar-grid,
  .not-grid,
  .role-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .mosaic { grid-template-columns: 1.15fr 0.85fr; }
  .shot--tall { grid-column: 2; grid-row: 1 / span 2; }
}

@media (min-width: 900px) {
  .split,
  .note-row,
  .hero-photo,
  .contact-layout,
  .band-grid { grid-template-columns: 1.05fr 0.95fr; }

  .contact-photo { aspect-ratio: 4 / 5; margin-bottom: 1rem; }

  .film figcaption {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    margin: 0;
    padding: 1rem 1.1rem;
    border: 3px solid var(--ink);
    border-radius: 1rem;
    background: #fffdf6;
    box-shadow: 4px 4px 0 var(--blue);
  }

  .role-grid,
  .jar-grid,
  .not-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 0.7fr 0.8fr 1fr; }
  .legal-layout { grid-template-columns: 14rem 1fr; }
  .legal-toc { position: sticky; top: 5.4rem; }
  .steps { grid-template-columns: 1fr 1fr; }
}

.demo-page {
  padding-block: 1.4rem 4rem;
}

.demo-page h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }

.demo-note {
  margin: 0 0 1.2rem;
  max-width: 46rem;
  color: var(--muted);
}

.demo-bar {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  background: #fffdf6;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 1.25rem;
  box-shadow: 6px 6px 0 var(--blue);
}

.demo-bar .kicker { color: var(--blue); }

.demo-week {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.demo-totals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin: 0;
}

.demo-totals div { margin: 0; }

.demo-totals dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-totals dd {
  margin: 0.2rem 0 0;
  width: fit-content;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: var(--chip, #ffe14a);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.demo-bar .btn { background: var(--ink); color: #fff; }
.demo-bar .btn:hover { background: var(--blue); color: #fff; }
.demo-bar .btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.demo-bar .btn-ghost:hover { background: var(--ink); color: #fff; }

.demo-board {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.demo-col .ahead li,
.demo-col .demo-log li {
  grid-template-columns: 1fr;
  gap: 0.15rem;
}

.demo-col .ahead li {
  margin-bottom: 0.55rem;
  padding: 0.7rem 0.8rem;
  border: 2px solid var(--ink);
  border-radius: 0.9rem;
  background: #fff4c2;
}

.demo-col .ahead li:nth-child(even) { background: #ffe0ea; }
.demo-col .ahead li:nth-child(3n) { background: #d9f3ff; }

.demo-col h3 { margin-top: 1.2rem; }

#desk-title {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.15rem 0.6rem;
  border: 3px solid var(--ink);
  border-radius: 0.7rem;
  background: var(--kid, #ffe14a);
  box-shadow: 4px 4px 0 var(--ink);
}

#open-gift { margin: 0 0 0.5rem; }
#open-gift p { color: var(--muted); }

.kid-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.kid-pick {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.7rem;
  align-items: center;
  min-height: 48px;
  padding: 0.8rem;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  background: var(--kid, #fff);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
}

.kid-pick:has(input:checked) { box-shadow: 6px 6px 0 var(--blue); }

.kid-pick small { display: block; font-weight: 600; }

.coin-jars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.coin-jar { margin: 0; }

.coin-jar-glass {
  position: relative;
  height: 8rem;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 0.35rem 0.35rem 1.15rem 1.15rem;
  background: #fff;
}

.coin-jar-glass::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 22%;
  right: 22%;
  height: 0.55rem;
  border-radius: 0 0 0.3rem 0.3rem;
  background: var(--ink);
}

.coin-jar-fill {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  transform-origin: bottom center;
  scale: 1 var(--fill, 0.12);
  background: repeating-linear-gradient(
    90deg,
    var(--jar, #ffe14a) 0 12px,
    color-mix(in srgb, var(--jar, #ffe14a) 72%, white) 12px 18px
  );
}

.coin-jar figcaption { margin-top: 0.4rem; font-weight: 800; }

.coin-jar figcaption small {
  display: block;
  font-weight: 600;
  color: var(--muted);
}

.chore-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }

.chore-list li { margin-bottom: 0.45rem; border: 0; }

.chore-list label {
  display: grid;
  grid-template-columns: 1.25rem 1fr auto;
  gap: 0.7rem;
  align-items: center;
  min-height: 48px;
  padding: 0.35rem 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.chore-list label:has(input:checked) { background: #e7ffb0; }

.demo-log { list-style: none; margin: 0; padding: 0; }

.demo-log li {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.45rem;
  padding: 0.65rem 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 0.8rem;
  background: #fff;
}

.choice-row { display: grid; gap: 0.45rem; margin-bottom: 1rem; }

.choice-row label {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.65rem;
  align-items: center;
  min-height: 44px;
  padding: 0.3rem 0.7rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}

.choice-row label:has(input:checked) {
  background: var(--ink);
  color: #fff;
}

.demo-fold {
  margin-top: 1rem;
  padding: 0 0.8rem 0.2rem;
  border: 2px dashed var(--ink);
  border-radius: 1rem;
  background: #fff;
}

.demo-fold summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
  padding-block: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.demo-fold summary::-webkit-details-marker { display: none; }

.demo-fold summary::after { content: "+"; font-size: 1.4rem; line-height: 1; }

.demo-fold[open] summary::after { content: "\2013"; }

.demo-col select {
  width: 100%;
  min-height: 48px;
  margin-top: 0.3rem;
  padding: 0.55rem 0.7rem;
  border: 2px solid var(--ink);
  border-radius: 0.7rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: max(1rem, 1em);
}

#demo-status:empty { margin: 0; }

#demo-status:not(:empty) {
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--ink);
  border-radius: 0.9rem;
  background: #ffe14a;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800;
}

@media (prefers-reduced-motion: no-preference) {
  .coin-jar-fill { transition: scale 0.35s ease; }
  #demo-status:not(:empty) { animation: demo-pop 0.35s ease; }
  .kid-pick:has(input:checked) { translate: -2px -2px; }
}

@keyframes demo-pop {
  from { translate: 0 8px; }
  to { translate: 0 0; }
}

@media (min-width: 860px) {
  .choice-row { grid-template-columns: 1fr 1fr; }
  .demo-bar { grid-template-columns: auto 1fr auto; align-items: center; }
  .demo-totals { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1100px) {
  .demo-board { grid-template-columns: 17rem minmax(0, 1.2fr) 18rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
