/* Mamet & Co. homepage reframe (2026-10-31). Loaded after screen.css.
   Reuses screen.css tokens and card classes; only adds what the new sections need. */

.hero-firm-line {
  font-size: 1rem;
  color: var(--color-muted);
}

.mc-section-intro {
  text-align: center;
  color: var(--color-muted);
  font-size: 1.08rem;
  margin: -1.2rem auto 2rem;
  max-width: 62ch;
}

.mc-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-link);
}

.mc-narrow {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.mc-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.mc-strong {
  font-weight: 700;
}

.mc-subhead {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 3.5rem 0 1.75rem;
}

/* Problems */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.problem-card .service-title {
  font-size: 1.15rem;
}

/* Engagement entry point */
.mc-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  border-radius: 18px;
  background: var(--color-bg);
  border: 2px solid var(--color-link);
}

.mc-entry-title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.mc-entry p {
  margin: 0;
  color: var(--color-muted);
}

.mc-entry .btn-cta {
  white-space: nowrap;
}

.mc-coaching-line {
  text-align: center;
  margin: 1.75rem 0 0;
  color: var(--color-muted);
}

.mc-coaching-line a,
.coaching-close a:not(.btn),
.coaching-hero .mc-lead a {
  color: var(--color-link);
  font-weight: 600;
}

/* Team */
.team-section .section-title {
  max-width: 900px;
  text-align: center;
}

.team-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.mc-chips {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.mc-chips li {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: 0.95rem;
  font-weight: 500;
}

/* AI section */
.ai-case {
  max-width: 960px;
  margin: 2.5rem auto 0;
  padding: 2.25rem;
  border-radius: 18px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-top: 6px solid var(--color-link);
}

.ai-case-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0.5rem 0 1rem;
}

.ai-case-text {
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.ai-case-list {
  margin: 0 0 1.75rem;
  padding-left: 1.2rem;
  line-height: 1.7;
}

.ai-case-list li {
  margin-bottom: 0.5rem;
}

.mc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.mc-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-link);
  line-height: 1.1;
}

.mc-stat-label {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* Selected work */
.mc-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mc-case .service-title {
  font-size: 1.15rem;
}

/* Coaching page */
.coaching-hero {
  padding: 2rem 0 1rem;
}

.coaching-title {
  font-size: 2.25rem;
  line-height: 1.2;
  margin: 0.5rem 0 1.25rem;
}

.coaching-close {
  text-align: center;
}

@media (max-width: 1023px) {
  .problems-grid,
  .mc-cases {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .problems-grid,
  .mc-cases,
  .team-groups,
  .mc-stats {
    grid-template-columns: 1fr;
  }

  .mc-entry {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .ai-case {
    padding: 1.5rem;
  }

  .coaching-title {
    font-size: 1.75rem;
  }
}

/* =============================
   BRAND LAYER (2026-10-31 audit against context/brand-guidelines.md)
   Palette only: #FAFAF0, #0014FA, #141414, #FAD232, Blue 100 #DBEAFE.
   Flat: no glows, drop shadows or gradients. Yellow on one action per screen.
   ============================= */

:root {
  --color-muted: #141414;
  --color-border: #DBEAFE;
  --color-bg-alt: #DBEAFE;
  --color-white: #FAFAF0;
  --color-card-bg: #FAFAF0;
}

/* Flat: remove every shadow and glow */
body *,
body *::before,
body *::after {
  box-shadow: none !important;
  text-shadow: none !important;
}

:focus-visible {
  outline: 2px solid #0014FA;
  outline-offset: 2px;
}

/* Solid accents instead of gradients */
.service-card-gradient,
.section-title::after {
  background: #0014FA !important;
}

/* Secondary text: hierarchy through size and weight, not gray */
.hero-firm-line,
.mc-section-intro,
.mc-stat-label,
.service-description {
  color: #141414;
}

.hero-firm-line,
.mc-stat-label {
  font-size: 0.95rem;
}

/* Cards hold their edge with a border now that shadows are gone */
.testimonial-card-new,
.insight-card,
.blog-card,
.ai-case,
.mc-chips li {
  border: 1px solid #DBEAFE;
  background: #FAFAF0;
}

.hero-image-container,
.about-image-wrapper {
  border: 1px solid #DBEAFE;
}

/* Yellow is reserved for the one primary action on each screen.
   Header Contact and About "Contact Me" share a screen with a primary CTA, so they go blue. */
.header-cta,
.about-content .btn-cta {
  background: #0014FA;
  color: #FAFAF0;
}

.header-cta:hover,
.about-content .btn-cta:hover {
  background: #0014FA;
  color: #FAFAF0;
  opacity: 0.88;
}

/* Footer: palette off-white instead of pure white */
.site-footer,
.footer-nav a,
.footer-cta,
.footer-cta a,
.footer-bottom {
  color: #FAFAF0;
}

.footer-bottom {
  border-top-color: #FAFAF0;
}

.footer-social a {
  border-color: #FAFAF0;
}

.footer-logo {
  height: 26px;
}

.ai-case {
  border-top: 6px solid #0014FA;
}

/* =============================
   TYPOGRAPHY (2026-10-31, Matthew's call): Outfit headings to match the
   Mamet & Co. wordmark, Inter for body and UI, including post body (was Georgia).
   Outfit is loaded in default.hbs. Weights capped at 700 because only
   400-700 are loaded; 800 rendered as synthetic bold.
   ============================= */

:root {
  --font-heading: "Outfit", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.service-title,
.ai-case-title,
.mc-entry-title,
.mc-subhead,
.mc-stat-value,
.coaching-title,
.insight-title,
.blog-page-title,
.post-title,
.page-title {
  font-family: var(--font-heading);
}

.service-title,
.blog-page-title,
.post-title,
.page-title,
.mc-entry-title,
.ai-case-title,
.mc-stat-value {
  font-weight: 700;
}

/* Form controls do not inherit the page font by default */
button,
input,
textarea,
select {
  font-family: inherit;
}

/* One title per section, no subtitle (Matthew, 2026-10-31). The insights intro
   lives in insights.hbs alongside fallback markup, so it is hidden here. */
.insights-intro-text {
  display: none;
}
