/* kevinmull.in host tokens — for case studies destined for the personal site */
:root {
  --ink: #1a1a1a;
  --paper: #f8f6f3;
  --accent: #8b4513;
  --muted: #6b6b6b;
  --rule: #d4d0c8;
  --highlight: #fff8e7;
  --terminal-bg: #161513;
  --terminal-fg: #ebe6df;
  --terminal-accent: #c4a07a;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.concepts-back {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.4rem 0.65rem;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border: 1px solid var(--rule);
  color: var(--muted);
  backdrop-filter: blur(8px);
}

.concepts-back:hover {
  color: var(--accent);
  border-color: var(--accent);
}

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

@keyframes blink {
  50% {
    opacity: 0;
  }
}
