/* Russell design tokens — sourced from the dashboard prototype.
   Imported by /thesis and /hire so they share one palette. */

:root {
  --ink: #0c0b0a;
  --ink-2: #16130f;
  --ink-3: #1f1b15;
  --paper: #efe8db;
  --paper-dim: #cfc7b8;
  --muted: #998f7f;
  --muted-2: #6f675b;
  --ember: #e07a3c;
  --ember-hover: #ec8649;
  --ember-soft: rgba(224, 122, 60, 0.14);
  --sage: #88a087;
  --sage-soft: rgba(136, 160, 135, 0.13);
  --line: rgba(239, 232, 219, 0.12);
  --line-2: rgba(239, 232, 219, 0.06);
  --empty-tint: rgba(239, 232, 219, 0.025);

  --sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html { scroll-behavior: smooth; }

::selection { background: var(--ember-soft); color: var(--paper); }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + (var(--gutter) * 2));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Typography */

.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.mono  { font-family: var(--mono); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--paper);
  margin: 0;
}

h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4.2vw, 50px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }

p { margin: 0; color: var(--paper-dim); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  margin: 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--ember);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--ember-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

.btn.ghost {
  background: transparent;
  color: var(--paper-dim);
  border-color: var(--line);
}
.btn.ghost:hover { background: var(--line-2); color: var(--paper); }

/* Cards */

.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}

.card .card-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  margin-bottom: 10px;
}

.card h3 + p { margin-top: 10px; }

/* Forms */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: var(--paper);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ember);
  background: var(--ink-2);
}

.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Utilities */

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted-2);
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-2);
}
