/* LiveArt — design tokens + base styles
   Sunset-pond palette, Caprasimo display + Hanken Grotesk body. */

:root {
  /* Palette */
  --orange: #E8703B;
  --orange-deep: #C45A2A;
  --orange-soft: #F4A076;
  --cream: #FDF6E8;
  --cream-deep: #F7EDD3;
  --sky: #3FA9D8;
  --sky-deep: #2B89B5;
  --meadow: #6BB259;
  --meadow-deep: #4D8E3E;
  --tan: #FBE6BE;
  --tan-deep: #F4D49A;
  --ink: #2A2A33;
  --ink-soft: #4A4A55;
  --ink-faint: #7A7A85;
  --ink-ghost: #B4B4BC;
  --paper: #FFFFFF;
  --line: rgba(42, 42, 51, 0.10);
  --line-soft: rgba(42, 42, 51, 0.06);
  --shadow-soft: 0 1px 2px rgba(42,42,51,0.04), 0 8px 24px rgba(42,42,51,0.06);
  --shadow-pop: 0 2px 4px rgba(232,112,59,0.10), 0 18px 48px rgba(42,42,51,0.14);

  /* Type */
  --font-display: 'Caprasimo', Georgia, serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Sizing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --site-max: 1200px;
  --gutter: 32px;
}

* { box-sizing: border-box; }

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

button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; color: inherit; }
a { color: var(--orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--orange); color: white; }

button:focus { outline: none; }
button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ===== Type ===== */

.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.h-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
}

.h-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  font-weight: 500;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  transition: transform 120ms ease, box-shadow 200ms ease, background 200ms ease;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 8px 18px rgba(42,42,51,0.18);
}
.btn-primary:hover { background: #1d1d24; color: var(--cream); }

.btn-orange {
  background: var(--orange);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 18px rgba(232,112,59,0.32);
}
.btn-orange:hover { background: var(--orange-deep); color: white; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(42,42,51,0.15);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(42,42,51,0.03); }

.btn-cream {
  background: var(--cream);
  color: var(--ink);
  border: 1.5px solid rgba(42,42,51,0.12);
}
.btn-cream:hover { background: var(--cream-deep); }

.btn-danger {
  background: rgba(196, 90, 42, 0.08);
  color: var(--orange-deep);
  border: 1.5px solid rgba(196, 90, 42, 0.18);
}
.btn-danger:hover { background: rgba(196, 90, 42, 0.14); }

.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 17px; }

/* ===== Surfaces ===== */

.card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.photo-slot {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(42,42,51,0.04) 0 12px,
      rgba(42,42,51,0.07) 12px 24px
    ),
    var(--tan);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.photo-slot .photo-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(253, 246, 232, 0.85);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(42,42,51,0.25);
  text-align: center;
  max-width: 80%;
}

/* ===== Fields ===== */

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.field input,
.field textarea,
.field select {
  border: 1.5px solid rgba(42,42,51,0.14);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 15px;
  background: var(--paper);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  outline: none;
  color: var(--ink);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(232,112,59,0.16);
}

/* ===== Utilities ===== */

.center-col {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-xs { gap: 6px; }
.gap-sm { gap: 12px; }
.gap-md { gap: 20px; }
.gap-lg { gap: 32px; }
.mono { font-family: var(--font-mono); }

/* ===== Logo ===== */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo:hover { text-decoration: none; }
.logo .mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo .wm {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
}
.logo .wm .i { position: relative; }
.logo .wm .i-dot {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.logo--sm .mark { width: 28px; height: 28px; }
.logo--sm .wm { font-size: 24px; }
.logo--sm .wm .i-dot { width: 5px; height: 5px; top: -1px; }

.logo--cream .wm { color: var(--cream); }
.logo--cream .wm .i-dot { background: var(--orange-soft); }

html, body { min-height: 100vh; }

/* No em dashes anywhere. */
