/* ============================================================
   The Chef's Twist — staging rebuild
   Shared design system. Sage green (#6B9E5E) on black. NEVER orange.
   Built only in /root/staging/chefstwist-rebuild/ — no production impact.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sage: #6B9E5E;
  --sage-dark: #4a7140;
  --sage-light: #8fbf82;
  --sage-border: rgba(107, 158, 94, 0.35);
  --sage-bg: rgba(107, 158, 94, 0.08);
  --black: #000000;
  --panel: #0c0e0c;
  --panel-2: #111311;
  --white: #ffffff;
  --muted: #CFCFCF;
  --dim: #888888;
  --line: rgba(255,255,255,0.08);
  --maxw: 1080px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.narrow { max-width: 760px; }

/* ─── Typography ─── */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.8px;
  color: var(--white);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--white);
  margin-bottom: 16px;
}

h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 10px; }

p { color: var(--muted); line-height: 1.75; max-width: 720px; }

.lead {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--muted);
  line-height: 1.6;
  max-width: 720px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 8px;
}

.center { text-align: center; }
.center p, .center .lead, .center .section-sub { margin-left: auto; margin-right: auto; }

/* ─── Sections ─── */
section { padding: 92px 0; }
section.tight { padding: 64px 0; }
.divider { border-top: 1px solid var(--line); }

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  background: var(--sage);
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  border: 1px solid var(--sage);
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--sage);
}
.btn-outline:hover { background: var(--sage); color: var(--black); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.center .btn-row { justify-content: center; }

.inert-note {
  font-size: 12px;
  color: var(--dim);
  margin-top: 14px;
  font-style: italic;
}

/* ─── Navigation ─── */
.site-nav {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.nav-brand img {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--sage-border);
}
.nav-brand span { color: var(--sage); }
.nav-links { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--sage); }
.nav-links a.active { color: var(--sage); font-weight: 700; }

.nav-toggle { display: none; background: none; border: 0; color: var(--sage); font-size: 26px; cursor: pointer; }

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 110px 0 96px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(107,158,94,0.18), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

/* yin-yang mark (the twist) */
.twist-mark { filter: drop-shadow(0 0 26px rgba(107,158,94,0.35)); }

/* ─── Grids & cards ─── */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 26px;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.card:hover { border-color: var(--sage); background: var(--panel-2); transform: translateY(-3px); }
.card h3 { color: var(--white); }
.card p { font-size: 15px; max-width: none; }
.card .kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 12px;
}

/* feature tile with sage top accent */
.tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--sage);
  border-radius: 10px;
  padding: 26px 24px;
}
.tile h3 { color: var(--sage); font-size: 17px; text-transform: uppercase; letter-spacing: 0.08em; }
.tile p { font-size: 15px; max-width: none; }

/* relationship tag (ecosystem) */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.tag.flagship { background: var(--sage); color: var(--black); }
.tag.operating { background: var(--sage-bg); color: var(--sage); border: 1px solid var(--sage-border); }
.tag.community { background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid var(--line); }

.partner-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 32px 30px; }
.partner-card .meta { font-size: 13px; color: var(--dim); margin-bottom: 6px; }
.partner-card h3 { font-size: 23px; }
.partner-card p { font-size: 15px; max-width: none; }
.partner-card .indep {
  margin-top: 16px; font-size: 13px; color: var(--dim);
  border-top: 1px solid var(--line); padding-top: 14px;
}

/* placeholder marker for content awaiting Chef Andrew's real copy */
.placeholder {
  border: 1px dashed var(--sage-border);
  background: var(--sage-bg);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--sage);
  margin-top: 14px;
}

/* numbered process steps */
.steps { display: grid; gap: 14px; max-width: 720px; }
.step { display: flex; gap: 20px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; }
.step .n { color: var(--sage); font-weight: 800; font-size: 22px; line-height: 1; flex-shrink: 0; width: 34px; }
.step .step-body strong { color: var(--white); }
.step .step-body p { font-size: 15px; max-width: none; margin-top: 4px; }

/* simple list of services with check marks */
.do-list { list-style: none; display: grid; gap: 10px; max-width: 720px; }
.do-list li { padding-left: 28px; position: relative; color: var(--muted); }
.do-list li::before { content: "›"; position: absolute; left: 6px; color: var(--sage); font-weight: 800; }

/* pull quote / mission line */
.mission {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  color: var(--sage);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.4;
  letter-spacing: -0.3px;
}

/* tier rows on KIM page */
.tier { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; padding: 22px 26px; background: var(--panel); }
.tier .price { color: var(--sage); font-weight: 800; font-size: 18px; white-space: nowrap; }

/* CTA band */
.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; text-align: center; }

/* ─── Forms (inert in staging) ─── */
.form { max-width: 560px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 15px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 6px; color: var(--white);
  font-size: 14px; font-family: inherit;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--sage); background: rgba(255,255,255,0.07);
}

/* ─── Footer ─── */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 48px; margin-top: 0; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 800; letter-spacing: 0.12em; color: var(--sage); }
.footer-brand img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.footer-col a:hover { color: var(--sage); }
.footer-note { max-width: var(--maxw); margin: 32px auto 0; padding: 24px 28px 0; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; line-height: 1.7; }

/* staging banner */
.staging-banner {
  background: var(--sage);
  color: var(--black);
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 14px;
}

/* ─── Responsive ─── */
@media (max-width: 760px) {
  section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--black); border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 28px; width: 100%; }
  .nav-toggle { display: block; }
  .footer-cols { gap: 32px; }
}
