/* Posh Pigeon — generated from tokens.json */
:root, [data-theme="chalk"] {
  --brand-ink: #111111;
  --brand-chalk: #F6F3EC;
  --brand-cobalt: #1B3BFF;
  --brand-red: #FF3B1F;
  --brand-yellow: #FFE600;
  --surface: var(--brand-chalk);
  --surface-sunk: #E9E4D8;
  --text: var(--brand-ink);
  --text-muted: #5E5A54;
  --name: var(--brand-cobalt);
  --label: var(--brand-ink);
  --line: var(--brand-ink);
  --action: var(--brand-red);
  --on-action: var(--brand-ink);
  --focus: var(--brand-cobalt);
  --error: #C8250E;
  --link: var(--brand-cobalt);
  --shadow-hard: 4px 4px 0 #111111;
  --shadow-hard-lift: 6px 6px 0 #111111;
}
[data-theme="ink"] {
  --surface: var(--brand-ink);
  --surface-sunk: #2A2826;
  --text: var(--brand-chalk);
  --text-muted: #B5AFA4;
  --name: var(--brand-yellow);
  --label: var(--brand-yellow);
  --line: var(--brand-chalk);
  --focus: var(--brand-yellow);
  --error: var(--brand-red);
  --link: var(--brand-yellow);
  --shadow-hard: 4px 4px 0 #F6F3EC;
  --shadow-hard-lift: 6px 6px 0 #F6F3EC;
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --stroke-heavy: 3px;
  --stroke-mid: 2px;
  --focus-width: 3px;
  --bp-tablet: 600px;
  --bp-desktop: 960px;
  --content-max: 1120px;
  --measure: 640px;
  --font-display: Shrikhand, 'Cooper Black', Georgia, serif;
  --font-sans: Karla, 'Helvetica Neue', Arial, sans-serif;
}
.display-xl { font-family: var(--font-display); font-size: 52px; line-height: 1.0; font-weight: 400; letter-spacing: 0; }
.display-lg { font-family: var(--font-display); font-size: 36px; line-height: 1.05; font-weight: 400; }
.display-md { font-family: var(--font-display); font-size: 26px; line-height: 1.1; font-weight: 400; }
.lead { font-family: var(--font-sans); font-size: 20px; line-height: 30px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 17px; line-height: 26px; font-weight: 400; }
.signature { font-family: var(--font-sans); font-size: 18px; line-height: 24px; font-weight: 400; font-style: italic; }
.button { font-family: var(--font-sans); font-size: 17px; line-height: 20px; font-weight: 700; letter-spacing: 0.02em; }
.small { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.22em; }

/* Posh Pigeon components. Every value comes from tokens.css. */
body { margin: 0; background: var(--surface); color: var(--text); font-family: var(--font-sans); }
.pp-stage { padding: var(--space-5) var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: flex-start; }
.pp-col { display: flex; flex-direction: column; gap: var(--space-4); }
.pp-cap { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); }

/* Logo lockup */
.pp-logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); }
.pp-logo__name { font-family: var(--font-display); font-size: 52px; line-height: 1; color: var(--name); margin: 0; white-space: nowrap; }
.pp-logo__sig { font-family: var(--font-sans); font-style: italic; font-size: 18px; line-height: 24px; color: var(--text); }
.pp-logo__desc { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--text); }
.pp-logo__wire { position: relative; width: 70%; height: 58px; margin-top: var(--space-1); }
.pp-logo__wire svg.pp-stroke { position: absolute; left: 0; bottom: 4px; width: 100%; height: 12px; overflow: visible; }
.pp-logo__wire img { position: absolute; right: 6%; bottom: 7px; height: 64px; width: auto; }
.pp-logo__tag { font-family: var(--font-sans); font-size: 17px; line-height: 26px; color: var(--text); }

/* Button */
.pp-btn {
  appearance: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: var(--space-3) var(--space-5);
  font-family: var(--font-sans); font-size: 17px; line-height: 20px; font-weight: 700; letter-spacing: .02em;
  border: var(--stroke-heavy) solid var(--line); border-radius: var(--radius-pill);
  background: var(--action); color: var(--on-action); box-shadow: var(--shadow-hard);
  transition: transform .12s ease, box-shadow .12s ease;
}
.pp-btn:hover, .pp-btn.is-hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-hard-lift); }
.pp-btn:active, .pp-btn.is-active { transform: translate(2px, 2px); box-shadow: none; }
.pp-btn:focus-visible, .pp-btn.is-focus { outline: var(--focus-width) solid var(--focus); outline-offset: var(--focus-width); }
.pp-btn--secondary { background: var(--surface); color: var(--text); }
.pp-btn:disabled, .pp-btn.is-disabled {
  cursor: not-allowed; transform: none; box-shadow: none;
  background: var(--surface-sunk); color: var(--text-muted); border-style: dashed; border-color: var(--text-muted);
}
.pp-btn--secondary, .pp-btn--secondary:hover, .pp-btn--secondary.is-hover, .pp-btn--secondary:active { box-shadow: none; transform: none; }
.pp-btn--secondary:hover, .pp-btn--secondary.is-hover { background: var(--surface-sunk); }
@media (prefers-reduced-motion: reduce) { .pp-btn { transition: none; } .pp-btn:hover, .pp-btn.is-hover { transform: none; } }

/* Fields */
.pp-field { display: flex; flex-direction: column; gap: var(--space-2); width: 100%; max-width: 360px; }
.pp-field__label { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--text); }
.pp-field__input {
  font-family: var(--font-sans); font-size: 17px; line-height: 26px; color: var(--text);
  background: var(--surface); border: var(--stroke-mid) solid var(--line); border-radius: var(--radius-sm);
  padding: 10px var(--space-3); min-height: 48px; box-sizing: border-box; width: 100%;
}
.pp-field__input::placeholder { color: var(--text-muted); }
.pp-field__input:focus, .pp-field__input.is-focus { outline: var(--focus-width) solid var(--focus); outline-offset: 2px; }
.pp-field__help { font-size: 14px; line-height: 20px; color: var(--text-muted); }
.pp-field.is-error .pp-field__input { border-color: var(--error); border-width: var(--stroke-heavy); }
.pp-field__error { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
.pp-field__error svg { flex: none; margin-top: 2px; }
.pp-choice { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.pp-choice label { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4); border: var(--stroke-mid) solid var(--line); border-radius: var(--radius-pill); font-size: 17px; cursor: pointer; }
.pp-choice input { accent-color: var(--brand-ink); width: 18px; height: 18px; margin: 0; }
.pp-choice label:has(input:checked) { background: var(--text); color: var(--surface); }
.pp-choice label:has(input:focus-visible) { outline: var(--focus-width) solid var(--focus); outline-offset: 2px; }

/* Sittings counter */
.pp-sittings { display: flex; flex-direction: column; gap: var(--space-2); }
.pp-sittings__count { font-family: var(--font-display); font-size: 26px; line-height: 1.1; color: var(--name); }
.pp-sittings__dots { display: flex; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.pp-sittings__dots li { position: relative; width: 38px; height: 32px; flex: none; }
.pp-sittings__dots img { width: 100%; height: 100%; display: block; }
.pp-sittings__dots li.is-taken::after {
  content: ""; position: absolute; inset: -4px;
  background: var(--brand-red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M6%208%20C12%2012%2017%2019%2022%2023%20C26%2026%2030%2030%2034%2033%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%225.5%22%20stroke-linecap%3D%22round%22/%3E%3Cpath%20d%3D%22M33%206%20C29%2011%2024%2015%2020%2020%20C15%2026%2011%2030%207%2035%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%225.5%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cpath%20d%3D%22M6%208%20C12%2012%2017%2019%2022%2023%20C26%2026%2030%2030%2034%2033%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%225.5%22%20stroke-linecap%3D%22round%22/%3E%3Cpath%20d%3D%22M33%206%20C29%2011%2024%2015%2020%2020%20C15%2026%2011%2030%207%2035%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%225.5%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E") center / contain no-repeat;
}
.pp-sittings__note { font-size: 14px; line-height: 20px; color: var(--text-muted); }

/* Closed state */
.pp-closed { max-width: 520px; padding: var(--space-5); border: var(--stroke-heavy) solid var(--line); border-radius: var(--radius-md); background: var(--surface); display: flex; flex-direction: column; gap: var(--space-3); position: relative; }
.pp-closed__label { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--label); }
.pp-closed__title { font-family: var(--font-display); font-size: 26px; line-height: 1.1; color: var(--name); margin: 0; }
.pp-closed__body { font-size: 17px; line-height: 26px; margin: 0; }
.pp-closed__sticker { position: absolute; right: -14px; top: -26px; width: 72px; transform: rotate(9deg); }
