/* Pamela Krista design system: tokens, fonts and the core components
   (Button, Eyebrow, Field, Chip) used by both pages. */

@font-face { font-family: "Editors Note"; src: url("/assets/fonts/editorsnotetext-thin.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Editors Note"; src: url("/assets/fonts/editorsnotetext-thinitalic.woff") format("woff"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Made Tommy"; src: url("/assets/fonts/made_tommy_light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Made Tommy"; src: url("/assets/fonts/made_tommy_regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Made Tommy"; src: url("/assets/fonts/made_tommy_medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --pk-lavender: #CFB8FC; --pk-blush: #E8D6E8; --pk-periwinkle: #D9DEF0; --pk-lemon: #E8EF7F; --pk-chalk: #F0EBE8; --pk-onyx: #212121;
  --purple-50: #F4EFFC; --purple-100: #E4DAFB; --purple-200: #CFB8FC; --purple-400: #C0A5F4; --purple-600: #B194E8;
  --bg-page: #FDFBFE; --bg-soft: #F1ECFD;
  --ink: #212121; --ink-plum: #2E2747; --ink-soft: #5A536B; --ink-muted: #8A8398; --accent-grape: #6A4CC4;
  --border: #E7E0F0; --error: #D94545;
  --chip-lavender: #EFE2FE; --chip-blush: #F4E5F0; --chip-lemon: #F6F7CC;
  --radius-sm: 10px; --radius-pill: 999px;
  --ring-focus: 0 0 0 4px var(--purple-50);
  --font-display: "Editors Note", Georgia, "Times New Roman", serif;
  --font-body: "Made Tommy", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #FDFBFE; color: #5A536B; font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { color: #6A4CC4; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #212121; }
img { max-width: 100%; }
@keyframes pkspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Eyebrow */
.eyebrow { display: inline-block; font-family: var(--font-body); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }

/* Button */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 500; letter-spacing: 0.01em; line-height: 1.3;
  border-radius: var(--radius-pill); cursor: pointer; text-decoration: none; text-align: center;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px #E4DAFB; }
.btn-sm { min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.875rem; }
.btn-md { min-height: 52px; padding: 0.85rem 1.5rem; font-size: 0.9375rem; }
.btn-lg { min-height: 58px; padding: 1rem 1.9rem; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--purple-200); color: var(--ink); border: none; box-shadow: 0 2px 8px rgba(177, 148, 232, 0.18); }
.btn-primary:hover { background: var(--purple-600); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(177, 148, 232, 0.28); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border); box-shadow: none; }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--bg-soft); border: none; box-shadow: 0 4px 16px rgba(31, 27, 45, 0.15); }
.btn-dark:hover { color: #fff; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
@media (max-width: 480px) {
  .btn-lg { padding: 1rem 1.15rem; font-size: 0.9375rem; letter-spacing: 0; text-wrap: balance; }
}

/* Field */
.field { margin-bottom: 1.125rem; }
.field label { display: block; font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--ink); margin-bottom: 0.625rem; line-height: 1.5; }
.field .control {
  width: 100%; min-height: 48px; padding: 0.75rem 0.95rem; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); line-height: 1.4;
  box-shadow: none; outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea.control { min-height: 150px; resize: vertical; }
.field .control:focus { border-color: var(--purple-400); box-shadow: var(--ring-focus); }
.field .hint { display: block; font-size: 0.8125rem; color: var(--ink-muted); margin-top: 0.4rem; line-height: 1.5; }

/* Chip */
.chip { display: inline-flex; align-items: center; font-family: var(--font-body); font-weight: 500; letter-spacing: 0.02em; color: var(--ink); border-radius: var(--radius-pill); font-size: 0.9375rem; padding: 0.55rem 1rem; }
.chip-lavender { background: var(--chip-lavender); }
.chip-blush { background: var(--chip-blush); }
.chip-periwinkle { background: var(--pk-periwinkle); }
.chip-lemon { background: var(--chip-lemon); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
