body { margin: 0; font-family: var(--font-text); background: var(--surface); color: var(--ink); }
.hk-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; padding: var(--space-4); }

/* Button: flat clay with a pressed edge, never a blurred shadow */
.hk-btn { font-family: var(--font-text); font-size: 16px; line-height: 22px; font-weight: 700; min-height: var(--touch-min); min-width: var(--touch-min); padding: 0 var(--space-5); border: 0; border-radius: var(--radius-md); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); transition: transform 120ms ease, box-shadow 120ms ease; }
.hk-btn-lg { min-height: var(--touch-kid); padding: 0 var(--space-6); font-size: 18px; }
.hk-btn-primary { background: var(--terracotta-deep); color: var(--on-terracotta); box-shadow: var(--shadow-press); }
.hk-btn-primary:active { transform: translateY(2px); box-shadow: var(--shadow-press-active); }
.hk-btn-secondary { background: var(--surface-sunken); color: var(--ink); }
.hk-btn-secondary:active { transform: translateY(1px); }
.hk-btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink-muted); }
.hk-btn:focus-visible, .hk-place:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.hk-btn:disabled { cursor: not-allowed; background: var(--surface-sunken); color: var(--ink-muted); box-shadow: none; transform: none; }

/* Tag */
.hk-tag { display: inline-flex; align-items: center; font-family: var(--font-text); font-size: 12px; line-height: 18px; font-weight: 700; padding: 3px var(--space-2); border-radius: var(--radius-pill); white-space: nowrap; }
.hk-tag-neutral { background: var(--surface-sunken); color: var(--ink-muted); }
.hk-tag-proto { background: var(--surface-sunken); color: var(--kiln-shadow); }
.hk-tag-olive { background: var(--olive-soft); color: var(--olive-deep); }
.hk-tag-straw { background: var(--straw-soft); color: var(--straw-ink); }

/* StepList: the printable-sheet steps */
.hk-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.hk-step { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-text); font-size: 16px; line-height: 24px; font-weight: 700; color: var(--ink); }
.hk-step-n { flex: 0 0 auto; width: 28px; height: 28px; border-radius: var(--radius-pill); background: var(--terracotta-deep); color: var(--on-terracotta); font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* PlaceTile: one per place, one colour per place for ages 1 to 12 */
.hk-place { font: inherit; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: var(--space-3); min-width: 136px; padding: var(--space-5) var(--space-4); border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-edge); cursor: pointer; transition: transform 120ms ease; }
.hk-place:active { transform: translateY(1px); }
.hk-place-clay { background: var(--surface-sunken); }
.hk-place-olive { background: var(--olive-soft); }
.hk-place-straw { background: var(--straw-soft); }
.hk-place-paper { background: var(--surface-raised); }
.hk-place-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; }
.hk-place-name { font-family: var(--font-text); font-size: 16px; line-height: 22px; font-weight: 700; text-align: center; }
.hk-place-meta { font-family: var(--font-text); font-size: 13px; line-height: 20px; color: var(--ink-muted); }

/* ActivityCard */
.hk-card { box-sizing: border-box; max-width: 360px; background: var(--surface-raised); border-radius: var(--radius-lg); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); box-shadow: var(--shadow-edge); }
.hk-card-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hk-card-title { margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 34px; font-weight: 600; color: var(--terracotta-deep); }
.hk-card-body { margin: 0; font-family: var(--font-text); font-size: 16px; line-height: 27px; color: var(--ink); }
.hk-card-offline { margin: 0; padding: var(--space-3); border-radius: var(--radius-md); background: var(--olive-soft); color: var(--olive-deep); font-family: var(--font-text); font-size: 15px; line-height: 24px; display: flex; flex-direction: column; gap: 2px; }
.hk-card-offline-label { font-size: 12px; line-height: 18px; font-weight: 800; }
.hk-card-actions { display: flex; gap: var(--space-3); padding-top: var(--space-2); }

/* PostFrame: the 4:5 parent post */
.hk-post { box-sizing: border-box; width: 320px; aspect-ratio: 4 / 5; background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-5); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-4); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.hk-post-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.hk-post-logo { display: block; height: 40px; width: auto; }
.hk-post-word { font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--terracotta-deep); }
.hk-post-hero { margin: 0; font-family: var(--font-display); font-size: 40px; line-height: 54px; font-weight: 600; color: var(--terracotta-deep); }
.hk-post-body { margin: var(--space-2) 0 0; font-family: var(--font-text); font-size: 16px; line-height: 26px; font-weight: 700; color: var(--ink); }
.hk-post-art { border-radius: var(--radius-md); overflow: hidden; background: var(--surface-sunken); min-height: 72px; }

/* Clay grain: the dotted texture for panels and illustration grounds, never behind body text */
.hk-grain { background: radial-gradient(circle, color-mix(in srgb, var(--kiln-shadow) 14%, transparent) 1.3px, transparent 1.8px) 0 0 / 15px 15px, var(--surface-sunken); }

@media (prefers-reduced-motion: reduce) {
  .hk-btn, .hk-place { transition: none; }
  .hk-btn:active, .hk-place:active { transform: none; }
}
