/* shellymair.com — design system
 * "Field notebook" aesthetic: warm paper, typewriter system text, editorial italic
 * --------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600&family=Gloock&family=EB+Garamond:ital,wght@0,400;0,500;1,400;1,500&display=swap');

:root {
  --paper: #ffffff;
  --paper-warm: #fff8e8;
  --paper-deep: #fff0d0;
  --ink: #000000;
  --ink-soft: #1a1a1a;
  --ink-faint: #6a6a6a;
  --ink-ghost: #c0c0c0;
  --rule: rgba(0, 0, 0, 0.16);
  --rule-soft: rgba(0, 0, 0, 0.06);
  --void-accent: #0a0908;
  --ferment-accent: #ff3b00;
  --oracle-accent: #ffb800;
  --terminal-accent: #00b558;
  --constellation-accent: #0050e6;
  --encounter-accent: #ff1466;
  --kitchen-accent: #5fbf00;
  --spelling-accent: #8c1ae6;
  --tarot-accent: #ff6611;
  --margin-accent: #ffc300;
  --walk-accent: #2faf2f;
  --letters-accent: #e01e2c;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Menlo', monospace;
  --font-serif: 'Gloock', 'EB Garamond', 'Times New Roman', serif;
  --font-text: 'EB Garamond', Georgia, serif;
}
[data-night] {
  --paper: #0e0d0c;
  --paper-warm: #15130f;
  --paper-deep: #1a1814;
  --ink: #f4efe6;
  --ink-soft: #d4cfc4;
  --ink-faint: #8a857a;
  --ink-ghost: #44413c;
  --rule: rgba(244, 239, 230, 0.12);
  --rule-soft: rgba(244, 239, 230, 0.05);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.paper::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.06'/></svg>");
  mix-blend-mode: multiply;
}
.eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; }
.rule { height: 1px; background: var(--ink); opacity: 0.85; border: none; }
.stamp { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); border: 1px solid var(--ink-faint); padding: 3px 8px; display: inline-block; border-radius: 1px; }
.back-link { position: fixed; top: 22px; left: 28px; z-index: 200; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid transparent; transition: border-color 0.25s, color 0.25s; }
.back-link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.back-link::before { content: ''; width: 16px; height: 1px; background: currentColor; }
::selection { background: var(--ink); color: var(--paper); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
