/* ShortOrder demo — shared design tokens. Warm editorial cafe system. */

:root {
  /* linen & ink — modern farmhouse */
  --cream: #f7f4ee;
  --cream-deep: #ece7dd;
  --ink: #312d26;
  --ink-soft: #5f594d;
  --ink-faint: #97907f;

  /* accents — sage, oak, taupe */
  --terra: #6f7d63;
  --terra-deep: #57644e;
  --gold: #a98c6b;
  --gold-soft: #e9dfcd;
  --palm: #6f7d63;
  --tide: #8a8375;

  /* dark (tablet) — warm iron & shiplap */
  --roast: #27241e;
  --roast-2: #302c25;
  --roast-3: #3b362d;
  --steam: #f2eee5;
  --steam-dim: #b6ae9e;

  --radius: 14px;
  --radius-lg: 22px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-ui: 'Karla', 'Helvetica Neue', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--cream);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* paper grain overlay */
.grain::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.tabular { font-variant-numeric: tabular-nums; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pop {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}
