/* AblePaine studio site — palette from the Chevron Cut production set:
   charcoal #232428 · Lab Ink #1A2438 · copper #C08552 · rust #A63D29 */
:root {
  --paper: #faf8f3;
  --ink: #232428;
  --lab-ink: #1a2438;
  --copper: #c08552;
  --rust: #a63d29;
  --muted: #5c574e;
  --line: #e3ddd0;
  --card: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--rust); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.wordmark {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.wordmark-rust { color: var(--rust); }

.site-nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--rust); }

.hero {
  text-align: center;
  padding: 4rem 1.25rem 3rem;
  max-width: 52rem;
  margin: 0 auto;
}

.hero-mark { width: 112px; height: 112px; }

.hero h1 {
  font-family: "Zilla Slab", Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.12;
  margin: 1.2rem 0 1rem;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 auto;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  margin: 1.6rem 0 0;
}

.chips li {
  border: 1px solid var(--copper);
  color: var(--rust);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-cta { margin-top: 2rem; display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.65rem 1.3rem;
  border-radius: 0.55rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: #8d3320; }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { border-color: var(--rust); color: var(--rust); }

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle { background: var(--paper); padding: 1.6rem 1.4rem; }
.principle h2 {
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
}
.principle p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.section { padding: 3.2rem 1.25rem; max-width: 68rem; margin: 0 auto; }
.section-alt { max-width: none; background: #f1ebdf; }
.section-alt > * { max-width: 68rem; margin-left: auto; margin-right: auto; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--copper);
  margin: 0 0 0.4rem;
}

.section-title {
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 2rem;
  margin: 0 0 1.4rem;
}

.section-lede { color: var(--muted); max-width: 40rem; margin: -0.6rem 0 1.6rem; }

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 1.4rem;
}

.card h3 {
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 1.3rem;
  margin: 0.3rem 0 0.6rem;
}
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--rust); }
.card p { margin: 0 0 0.7rem; color: var(--muted); font-size: 0.95rem; }

.card-status {
  color: var(--copper) !important;
  font-size: 0.72rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 !important;
}
.card-status.status-first { color: var(--rust) !important; }

.card-note { font-size: 0.88rem !important; margin-bottom: 0 !important; }
.card-note a { font-weight: 600; text-decoration: none; }

/* Newsletter (Kit rail — same mechanics as the flagship sites) */
.newsletter-form { display: flex; gap: 0.5rem; max-width: 34rem; flex-wrap: wrap; }
.newsletter-form label { position: absolute; left: -9999px; }
.newsletter-form input[type="email"] {
  flex: 1 1 16rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.newsletter-form button {
  height: 2.75rem;
  border: 0;
  border-radius: 0.55rem;
  padding: 0 1.2rem;
  background: var(--rust);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.newsletter-form button:hover { background: #8d3320; }
.newsletter-form button:disabled { opacity: 0.6; }
.newsletter-msg { font-size: 0.92rem; margin: 0.6rem 0 0; }
.newsletter-msg.ok { color: #33691e; font-weight: 600; }
.newsletter-msg.err { color: var(--rust); }
.newsletter-done { font-weight: 600; color: #33691e; }

.site-footer {
  background: var(--lab-ink);
  color: #e8e4da;
  padding: 2rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0; font-size: 0.92rem; }
.footer-links { display: flex; gap: 1.2rem; margin: 0; flex-wrap: wrap; }
.footer-links a { color: var(--copper); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
