/* Minimal placeholder. Replace when we know what the site should feel like. */
:root {
  --fg: #1a1612;
  --bg: #faf7f2;
  --muted: #7a6f63;
  --accent: #b8462c;
  --rule: #e6dfd3;
}
* { box-sizing: border-box; }
body {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--fg);
  max-width: 44rem;
  margin: 2rem auto;
  padding: 0 1rem;
  line-height: 1.55;
}
h1, h2, h3 { font-family: ui-sans-serif, -apple-system, "Helvetica Neue", sans-serif; }
h1 { border-bottom: 1px solid var(--rule); padding-bottom: 0.25rem; }
a { color: var(--accent); }
small { color: var(--muted); }
ul.roadmap { list-style: none; padding-left: 0; }
ul.roadmap li { padding: 0.4rem 0; border-bottom: 1px dotted var(--rule); }
img { max-width: 100%; height: auto; border-radius: 4px; }
pre.cooklang {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1rem;
  white-space: pre-wrap;
  font-size: 0.9rem;
}
ul.ingredients { padding-left: 1.25rem; }
ul.ingredients li { padding: 0.15rem 0; }
ol.steps { padding-left: 1.5rem; }
ol.steps li { padding: 0.3rem 0; line-height: 1.7; }
ol.steps li.note { list-style: none; color: var(--muted); font-style: italic; }
.ing { background: #fff5e6; padding: 0.05rem 0.3rem; border-radius: 3px; }
.cookware { color: #6b5436; font-variant: small-caps; }
.timer { background: #ffe6e0; padding: 0.05rem 0.3rem; border-radius: 3px; font-feature-settings: "tnum"; }
.badges { margin-top: -0.5rem; }
.badge { display: inline-block; font-size: 0.75rem; padding: 0.15rem 0.5rem; border-radius: 999px; margin-right: 0.25rem; background: var(--rule); color: var(--fg); }
.badge.eggs { background: #ffe89a; }
.badge.gluten { background: #e6d3a3; }
.pantry { background: #f0e9da; padding: 0.5rem 0.75rem; border-left: 3px solid var(--accent); }
details summary { cursor: pointer; color: var(--muted); margin-top: 1rem; }
p.lede { color: var(--muted); font-style: italic; }
.voices-group { margin: 2rem 0; }
.voices-group > h2 { border-bottom: 1px solid var(--rule); padding-bottom: 0.2rem; }
.voice {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
}
.voice header { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.voice header h3 { margin: 0; }
.voice header .role { margin: 0.15rem 0 0; color: var(--muted); font-style: italic; font-size: 0.95rem; }
.voice img.portrait {
  width: 84px; height: 84px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--rule);
  flex-shrink: 0;
}
ul.signature-moves { padding-left: 1.25rem; }
ul.signature-moves li { padding: 0.2rem 0; }
.start-with { background: #f0e9da; padding: 0.5rem 0.75rem; border-left: 3px solid var(--accent); margin-top: 1rem; }
/* Voice card grid (the /voices index) */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.voice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.15s, transform 0.15s;
}
.voice-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.voice-card .portrait {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--rule);
  margin-bottom: 0.5rem;
}
.voice-card h3 { margin: 0 0 0.15rem; font-size: 1.05rem; }
.voice-card .role { margin: 0 0 0.6rem; color: var(--muted); font-style: italic; font-size: 0.85rem; }
.voice-card .card-quote {
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--rule);
  padding-left: 0.6rem;
  font-size: 0.9rem;
  color: var(--fg);
}
.voice-card .card-quote p { margin: 0; }

/* Voice detail page */
.voice-detail { padding: 1.5rem 1.75rem; }
.voice-detail header h1 { margin: 0; border: 0; padding: 0; }
.voice-detail .portrait { width: 96px; height: 96px; }
blockquote.representative {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: #f0e9da;
  font-size: 1.1rem;
  font-style: italic;
}
blockquote.representative p { margin: 0 0 0.5rem; }
blockquote.representative cite { font-size: 0.85rem; color: var(--muted); font-style: normal; }
.bio p { margin: 0.6rem 0; }
ul.works { padding-left: 1.25rem; }
ul.works li { padding: 0.3rem 0; }
ul.works .kind {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--rule);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  margin-right: 0.25rem;
}
ul.works .note { color: var(--muted); font-style: italic; }
ul.reverse-links { list-style: none; padding-left: 0; }
ul.reverse-links li { padding: 0.4rem 0; border-bottom: 1px dotted var(--rule); }

/* Attribution line on recipe + lesson pages */
.voice-attribution {
  color: var(--muted);
  font-style: italic;
  margin: -0.25rem 0 0.75rem;
  font-size: 0.95rem;
}

button {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
}

/* Auth screens (ADR 0006) — centered, calm. */
body.auth { max-width: 26rem; margin-top: 18vh; text-align: center; }
body.auth h1 { border: 0; }
body.auth .lede { color: var(--muted); }
.login-form { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.login-form input {
  font: inherit;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #fff;
}

/* "Mark completed" + notes on a lesson page. */
.complete-form { display: flex; flex-direction: column; gap: 0.5rem; margin: 1.5rem 0 0.5rem; }
.complete-form textarea {
  font: inherit;
  min-height: 3.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #fff;
  resize: vertical;
}
.complete-form button { align-self: flex-start; }
.who { color: var(--muted); font-size: 0.95rem; margin-top: 1.5rem; }
