/* ==========================================================================
   Redbase Group — site styles
   Extracted from the <style> block of index.html during migration.
   Keep tokens, layout, and component styles grouped as they were.
   ========================================================================== */

/* ===== TOKENS ===== */
:root {
  --graphite: #1F2937;
  --paper: #FAF8F5;
  --hairline: rgba(31, 41, 55, 0.10);
  --ink-muted: rgba(31, 41, 55, 0.60);
  --ink-light: rgba(31, 41, 55, 0.40);
  --max-width: 960px;
  --section-pad-y: 80px;
  --section-pad-x: 32px;
}

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

/* ===== BASE ===== */
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  background: var(--paper);
  color: var(--graphite);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}
.section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
}
.section-divider {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

/* ===== HEADER / NAV ===== */
.site-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .logo img {
  height: 36px;
  width: auto;
  display: block;
}
.site-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}
.site-nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--graphite); }

/* ===== HERO ===== */
.hero {
  padding: 100px 0 90px;
  text-align: center;
}
.hero h1 {
  font-weight: 300;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 680px;
  margin: 0 auto 24px;
}
.hero h1 .emph { font-weight: 500; }
.hero .subhead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--graphite);
  color: #fff;
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 2px;
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }

/* ===== PROBLEM SECTION ===== */
.problem p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 680px;
}
.problem p + p { margin-top: 20px; }
.problem .section-lead {
  color: var(--graphite);
  font-weight: 400;
}
.problem p.accent-beat {
  color: var(--graphite);
  font-style: italic;
  margin-top: 32px;
}
.problem p.accent-beat + p {
  margin-top: 32px;
}

/* ===== SECTION HEADINGS ===== */
.section-heading {
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.section-heading .emph { font-weight: 500; }
.section-intro {
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.service-card {
  padding: 32px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: #fff;
}
.service-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: var(--graphite);
  opacity: 0.7;
}
.service-card h3 {
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.service-card p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.65;
}
.services-footer {
  margin-top: 40px;
  font-size: 16px;
  color: var(--ink-muted);
  font-style: italic;
}

/* ===== DIFFERENTIATORS ===== */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
}
.diff-item h3 {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.diff-item p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ===== ABOUT ===== */
.about-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.headshot-placeholder {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 4px;
  background: rgba(31, 41, 55, 0.06);
  border: 1px dashed rgba(31, 41, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--ink-light);
  text-align: center;
  line-height: 1.4;
}
.headshot {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}
.about-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-muted);
}
.about-text p + p { margin-top: 16px; }
.about-text p.lead {
  color: var(--graphite);
  font-size: 18px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.testimonial-card {
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: #fff;
}
.testimonial-card blockquote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--graphite);
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-card .attribution {
  font-size: 13px;
  color: var(--ink-muted);
  font-style: normal;
}
.testimonial-card .attribution .name {
  font-weight: 500;
  color: var(--graphite);
}
.placeholder-quote {
  color: var(--ink-light);
  border-color: rgba(31, 41, 55, 0.08);
  background: rgba(31, 41, 55, 0.015);
}
.placeholder-quote blockquote { color: var(--ink-light); }
.placeholder-quote .attribution { color: var(--ink-light); }

/* ===== CREDENTIALS BAR ===== */
.credentials {
  padding: 40px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.credentials-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.credential-item {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.credential-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(31, 41, 55, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--ink-light);
}

/* ===== CLOSING CTA ===== */
.closing-cta {
  text-align: center;
  padding: 90px 0 100px;
}
.closing-cta h2 {
  font-weight: 300;
  font-size: 30px;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.closing-cta h2 .emph { font-weight: 500; }
.closing-cta p {
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-legal {
  font-size: 13px;
  color: var(--ink-light);
}
.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-links a {
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--graphite); }
.footer-links svg {
  width: 18px;
  height: 18px;
  fill: var(--ink-muted);
  transition: fill 0.2s;
}
.footer-links a:hover svg { fill: var(--graphite); }

/* ===== PLACEHOLDER MARKERS ===== */
.placeholder-note {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(31, 41, 55, 0.30);
  border: 1px dashed rgba(31, 41, 55, 0.15);
  padding: 2px 8px;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  :root {
    --section-pad-y: 56px;
    --section-pad-x: 24px;
  }
  .site-nav li:not(:last-child) { display: none; }
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 30px; }
  .hero .subhead { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .headshot-placeholder { width: 140px; height: 140px; }
  .headshot { width: 140px; height: 140px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .credentials-row { gap: 24px; }
  .site-footer .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .closing-cta { padding: 64px 0 72px; }
  .closing-cta h2 { font-size: 26px; }
  .section-heading { font-size: 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .btn-primary { padding: 12px 28px; font-size: 14px; }
}
