/* ==========================================================================
   Williams Inclusion Consulting — Shared Stylesheet
   Palette: Teal & Warm Neutral
   ========================================================================== */

:root {
  --teal-900: #0b3d3a;
  --teal-700: #0f766e;
  --teal-600: #14b8a6;
  --teal-100: #d9f2ef;
  --teal-50:  #f0faf8;

  --terracotta: #d9784f;
  --terracotta-dark: #b95f3a;

  --cream: #fdfbf6;
  --sand: #f6f1e7;
  --ink: #24302e;
  --ink-soft: #55635f;
  --border: #e4ddcd;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(11, 61, 58, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 61, 58, 0.14);

  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--teal-900);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section--tight { padding: 48px 0; }

.section--alt { background: var(--sand); }

.section--teal {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
  color: var(--white);
}
.section--teal h1, .section--teal h2, .section--teal h3, .section--teal p { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta-dark);
  background: rgba(217, 120, 79, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section--teal .eyebrow {
  color: var(--teal-900);
  background: rgba(255,255,255,0.85);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn--primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(217, 120, 79, 0.35);
}
.btn--primary:hover { background: var(--terracotta-dark); }

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: var(--teal-900);
}
.section--teal .btn--outline { color: var(--white); }
.btn--outline:hover { background: rgba(15, 118, 110, 0.08); }

.btn--light {
  background: var(--white);
  color: var(--teal-800, var(--teal-700));
}
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal-900);
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-900));
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: var(--font-head); font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--teal-700); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 1.6rem; color: var(--teal-900);
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; width: 100%; border-top: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .nav-cta .btn span.long { display: none; }
}

/* ---- Hero ---- */
.hero {
  padding: 88px 0 64px;
  background: radial-gradient(circle at 85% 20%, var(--teal-100), transparent 55%), var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  border: 1px solid var(--border);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.stat {
  text-align: left;
}
.stat .num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-700);
}
.stat .label {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ---- Cards / Grids ---- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--teal-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-700);
  letter-spacing: 0.03em;
}
.badge--terracotta { background: rgba(217,120,79,0.14); color: var(--terracotta-dark); }

/* ---- Pricing ---- */
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price-card.featured {
  border: 2px solid var(--terracotta);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card .amount {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--teal-900);
  margin: 8px 0;
}
.price-card .amount span { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-card ul { list-style: none; padding: 0; margin: 20px 0; flex: 1; }
.price-card ul li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}
.price-card ul li:first-child { border-top: none; }
.price-card ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 8px;
  color: var(--teal-600); font-weight: 700;
}

/* ---- Forms ---- */
.form-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--teal-900);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 18px;
  display: none;
}
.alert.show { display: block; }
.alert--success { background: var(--teal-100); color: var(--teal-900); border: 1px solid var(--teal-600); }

/* ---- Footer ---- */
.site-footer {
  background: var(--teal-900);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 28px;
  margin-top: 40px;
}
.site-footer h4 { color: var(--white); font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ---- Table ---- */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
th { color: var(--teal-900); font-weight: 700; background: var(--sand); }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-soft); }
.max-w { max-width: 720px; margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-12 { gap: 12px; }
.divider { height: 1px; background: var(--border); margin: 32px 0; }

/* ---- Article / Newsletter content ---- */
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; color: var(--teal-700); }
.prose ul, .prose ol { color: var(--ink-soft); }
.prose blockquote {
  border-left: 4px solid var(--terracotta);
  padding: 4px 20px;
  color: var(--teal-900);
  font-style: italic;
  background: var(--sand);
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}
.article-meta { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 24px; }

/* ---- Command Center ---- */
.cc-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
@media (max-width: 900px) { .cc-shell { grid-template-columns: 1fr; } }
.cc-sidebar {
  background: var(--teal-900);
  color: white;
  padding: 28px 20px;
}
.cc-sidebar .brand { color: white; margin-bottom: 32px; }
.cc-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.cc-nav button {
  width: 100%; text-align: left;
  background: none; border: none; color: rgba(255,255,255,0.75);
  padding: 11px 14px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.92rem; cursor: pointer;
}
.cc-nav button:hover { background: rgba(255,255,255,0.08); color: white; }
.cc-nav button.active { background: var(--teal-600); color: white; font-weight: 600; }
.cc-main { padding: 32px 36px; background: var(--sand); }
.cc-panel { display: none; }
.cc-panel.active { display: block; }
.cc-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
@media (max-width: 900px) { .cc-stat-grid { grid-template-columns: repeat(2, 1fr); } }
.cc-stat-card {
  background: white; border-radius: var(--radius); padding: 20px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.cc-stat-card .num { font-family: var(--font-head); font-size: 1.9rem; color: var(--teal-700); font-weight: 700; }
.cc-stat-card .label { font-size: 0.82rem; color: var(--ink-soft); }

.composer { background: white; border-radius: var(--radius); padding: 26px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.platform-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.pill {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--border);
  background: white; cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
}
.pill.active { border-color: var(--teal-600); background: var(--teal-100); color: var(--teal-900); }

.post-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.post-item {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
}
.post-item .meta { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 6px; }
.post-item .txt { font-size: 0.92rem; color: var(--ink); }
.post-actions button {
  background: none; border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 10px; cursor: pointer; font-size: 0.78rem; color: var(--ink-soft); margin-left: 6px;
}
.post-actions button:hover { border-color: var(--terracotta); color: var(--terracotta-dark); }

.attach-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.attach-chip {
  background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: 8px;
  padding: 6px 10px; font-size: 0.78rem; color: var(--teal-900); display: flex; align-items: center; gap: 6px;
}

.empty-state { text-align: center; padding: 40px 20px; color: var(--ink-soft); }

.cc-locked {
  max-width: 420px; margin: 100px auto; text-align: center;
  background: white; padding: 40px 32px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
