:root {
  --bg: #f7f0e8;
  --bg-soft: #efe5d4;
  --bg-card: #fdf8f0;
  --fg: #3a3027;
  --fg-soft: #5e524a;
  --accent: #b06a5b;
  --accent-hover: #985649;
  --muted: #9d8a78;
  --line: #e3d6c2;
  --error: #b9523f;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  min-height: 100vh;
  font-size: 17px;
  line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ── Auth pages (centered card) ───────────────────────────────────── */

.statue-shell {
  max-width: 28rem;
  margin: 10vh auto;
  padding: 2rem 1.5rem;
  text-align: center;
}

h1 {
  font-weight: 400;
  font-size: 2.25rem;
  margin: 0 0 1.25rem;
  letter-spacing: -0.005em;
}

.statue-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}

input[type="text"],
input[type="password"] {
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--fg);
  font-family: inherit;
}

input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

button,
.statue-button {
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.01em;
}

button:hover,
.statue-button:hover { background: var(--accent-hover); }

.statue-status {
  color: var(--muted);
  font-style: italic;
  min-height: 1.5em;
}

.statue-secondary {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.flash {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  text-align: left;
}

.flash li {
  padding: 0.7rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.flash-error {
  background: rgba(185, 82, 63, 0.12);
  color: var(--error);
}

/* ── Site layout (navbar + main + footer) ─────────────────────────── */

.statue-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.statue-nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--line);
}

.statue-wordmark {
  font-size: 1.4rem;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.statue-wordmark:hover { color: var(--accent); }

.statue-back {
  font-size: 0.95rem;
  color: var(--muted);
}

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

.statue-main {
  flex: 1;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}

.statue-footer {
  padding: 2rem;
  text-align: center;
}

.statue-footer form { display: inline; }

.statue-signout {
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.statue-signout:hover { color: var(--accent); background: none; }

/* ── Splash hero + cards ──────────────────────────────────────────── */

.statue-hero {
  text-align: center;
  margin-bottom: 4rem;
}

.statue-hero h1 {
  font-size: 2.75rem;
  font-weight: 400;
  margin: 0;
  color: var(--fg);
}

.statue-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.25rem;
}

.statue-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--fg);
  transition: border-color 120ms ease, transform 120ms ease;
}

.statue-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--fg);
}

.statue-card-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.statue-card-title {
  font-size: 1.5rem;
  font-weight: 400;
}

.statue-card-body {
  color: var(--fg-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}
