/* HolonNexus v1 — style.css */
/* Typography: Fraunces (headings), Outfit (body) */

:root {
  --bg: #fafaf8;
  --bg-alt: #f2f1ed;
  --text: #1a1a18;
  --text-secondary: #6b6a65;
  --text-muted: #9c9b95;
  --border: #e0dfda;
  --accent: #1d9e75;
  --accent-muted: #0f6e56;
  --card-bg: #ffffff;
  --content-width: 720px;
  --wide-width: 960px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111110;
    --bg-alt: #1a1a18;
    --text: #e8e7e3;
    --text-secondary: #a3a29c;
    --text-muted: #6b6a65;
    --border: #2a2a27;
    --accent: #5dcaa5;
    --accent-muted: #9fe1cb;
    --card-bg: #1a1a18;
  }
}

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

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

/* Layout */
.site-header {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.wordmark {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

nav { display: flex; gap: 2rem; }

nav a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

nav a:hover, nav a.active { color: var(--text); }

.content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.content.wide {
  max-width: var(--wide-width);
}

/* Typography */
h1 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

p { margin-bottom: 1rem; color: var(--text-secondary); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-muted); }

/* Positioning statement */
.positioning {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 640px;
  margin-bottom: 0.75rem;
}

.positioning-sub {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Email capture */
.email-capture {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
  margin-bottom: 4rem;
}

.email-capture input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card-bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
}

.email-capture input::placeholder { color: var(--text-muted); }

.btn {
  padding: 0.625rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn:hover { background: var(--accent-muted); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover { background: var(--accent); color: #fff; }

/* Concept cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  background: var(--card-bg);
}

.card h3 { margin-top: 0; margin-bottom: 0.75rem; }

.card p { font-size: 0.9375rem; margin-bottom: 0; }

/* Maturity map container */
.map-container {
  max-width: var(--wide-width);
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

/* Framework level progression */
.level-bar {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.level-bar .level {
  flex: 1;
  padding: 0.875rem 0.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
  font-size: 0.8125rem;
}

.level-bar .level:last-child { border-right: none; }

.level-bar .level .num {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.level-bar .level .label {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Dimensions table */
.dim-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.dim-table th, .dim-table td {
  text-align: left;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.dim-table th {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dim-table td { color: var(--text-secondary); }

/* Article cards */
.article-card {
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}

.article-card:first-child { padding-top: 0; }

.article-card h2 {
  margin-top: 0;
  margin-bottom: 0.375rem;
  font-size: 1.25rem;
}

.article-card h2 a { color: var(--text); }
.article-card h2 a:hover { color: var(--accent); }

.article-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.article-desc { font-size: 0.9375rem; margin-bottom: 0.5rem; }

.article-link {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Connect page */
.connect-section {
  margin-bottom: 3rem;
}

.connect-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.connect-links a {
  font-size: 0.9375rem;
}

/* Scheduler */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.slot {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.slot:hover { border-color: var(--accent); }

.slot .slot-date { font-weight: 500; color: var(--text); }
.slot .slot-time { color: var(--text-secondary); }

/* Booking form */
.booking-form {
  max-width: 400px;
}

.booking-form label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  margin-top: 0.75rem;
}

.booking-form input, .booking-form textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card-bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
}

.booking-form textarea { height: 60px; resize: vertical; }

/* About page */
.bio { max-width: 560px; }

.company-info {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card-bg);
}

.company-info p { font-size: 0.9375rem; }

/* Footer */
.site-footer {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

/* Status messages */
.status-msg {
  font-size: 0.875rem;
  color: var(--accent);
  margin-top: 0.5rem;
  display: none;
}

.status-msg.show { display: block; }

/* Responsive */
@media (max-width: 768px) {
  .site-header { flex-direction: column; gap: 1rem; }
  nav { gap: 1.25rem; }
  .positioning { font-size: 1.25rem; }
  h1 { font-size: 1.5rem; }
  .cards { grid-template-columns: 1fr; }
  .level-bar { flex-direction: column; }
  .level-bar .level { border-right: none; border-bottom: 1px solid var(--border); }
  .level-bar .level:last-child { border-bottom: none; }
  .site-footer { flex-direction: column; }
}

/* Section spacing for framework page */
.framework-section { margin-bottom: 3rem; }

/* Download items */
.download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.download-item:last-child { border-bottom: none; }
.download-title { font-weight: 500; color: var(--text); }
.download-desc { font-size: 0.8125rem; color: var(--text-muted); }
