/* Maple Street Lab — public site */
:root {
  --bg: #f4efe6;
  --bg-2: #efe7d8;
  --surface: #fffdf8;
  --ink: #1d1a16;
  --muted: #5d574e;
  --line: #ddd2c0;
  --accent: #9a4b24;
  --accent-2: #7c3b1b;
  --link: #8a3f1c;
  --max: 900px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background:
    linear-gradient(180deg, #f7f3eb 0%, var(--bg) 14rem);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }

.wrap {
  width: min(100% - 2.25rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(160deg, #c56a36, #7c3b1b);
  color: #fffaf3;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }

.hero {
  padding: 3.4rem 0 2.2rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
  margin-bottom: 0.85rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 650; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 1rem; }
h2 { font-size: 1.65rem; margin: 0 0 0.85rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.45rem; }
.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0;
}
.note {
  margin: 1.4rem 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 0.9rem 1rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 42rem;
}

.section { padding: 0.4rem 0 2.6rem; }
.section p { color: var(--muted); max-width: 42rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}
.card, .panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.2rem;
}
.card p, .panel p { margin: 0; color: var(--muted); }
.panel p + p { margin-top: 1rem; }

ul { padding-left: 1.2rem; color: var(--muted); }
li { margin-bottom: 0.4rem; }

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  padding: 1.3rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.legal { padding: 2.6rem 0 3.4rem; }
.legal h1 { font-size: 2.15rem; margin-bottom: 0.35rem; }
.legal .meta { color: var(--muted); margin-bottom: 1.8rem; }
.legal h2 { font-size: 1.2rem; margin: 2rem 0 0.6rem; }
.legal p, .legal li { color: var(--muted); }
.contact-email {
  font-size: 1.2rem;
  font-weight: 650;
  margin-top: 0.85rem;
}
.status {
  margin-top: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  color: var(--muted);
}
.status strong { color: var(--ink); }
