/* ===========================================================
   Mayer Commercial — styles.css (SKELETON v0)
   ------------------------------------------------------------
   Design tokens + minimal structural CSS only.
   Chat C executes the editorial design pass tomorrow.
   Do NOT polish here. Keep it neutral so Chat C can build cleanly.
   Spec: website_design_spec_v1.md
   =========================================================== */


/* ---- Design tokens (LOCKED — see spec §Design system) ---- */
:root {
  /* Color palette */
  --bg:        #FAF8F4;  /* off-white page background */
  --ink:       #1A1A1A;  /* primary text, headlines */
  --ink-soft:  #4A4A4A;  /* secondary text, subtitle */
  --rule:      #E5DFD3;  /* borders, dividers, card outlines */
  --accent:    #7C2D2D;  /* TODO Chat C: pick muted oxblood (#7C2D2D) OR deep forest (#1F3A2E) and stay consistent */

  /* Typography (placeholders — Chat C picks final stack) */
  --font-serif: "Source Serif Pro", "EB Garamond", Georgia, serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:  ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Spacing */
  --container-max: 760px;        /* Chat C picks final between 720–840px */
  --section-pad-y: 96px;          /* desktop section padding */
  --section-pad-y-mobile: 56px;
  --gutter: 24px;
}


/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--accent);
}
a:hover { text-decoration-color: var(--ink); }


/* ---- Layout primitives ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
}
@media (max-width: 720px) {
  .section {
    padding-top: var(--section-pad-y-mobile);
    padding-bottom: var(--section-pad-y-mobile);
  }
}


/* ---- Type defaults (Chat C refines) ---- */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
}
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.4vw, 34px); }
h3 { font-size: 19px; font-weight: 600; }

p { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}


/* ---- Button (LOCKED style: solid ink, no shadow, no gradient) ---- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
  padding: 14px 26px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--accent);
  color: var(--bg);
}


/* ---- Hero ---- */
.section--hero { padding-top: calc(var(--section-pad-y) + 16px); }
.hero__headline { max-width: 720px; }
.hero__subtitle {
  color: var(--ink-soft);
  font-size: 19px;
  max-width: 640px;
  margin-bottom: 28px;
}
.hero__cta { margin: 0 0 12px; }
.hero__secondary {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}


/* ---- Proof card ---- */
.section--proof .container > * { max-width: 700px; }
.link--proof {
  font-weight: 500;
}
/* Chat C: consider wrapping proof content in a bordered card per spec */


/* ---- Services grid (2x2 desktop, stacked mobile) ---- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  margin-top: 24px;
}
.service h3 { margin-bottom: 8px; }
.service p { color: var(--ink-soft); margin: 0; }
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; gap: 28px; }
}


/* ---- ICP list ---- */
.icp-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.icp-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 17px;
}
.icp-list li:last-child { border-bottom: 0; }


/* ---- About (inline headshot left, body right) ---- */
.about__container {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.about__headshot {
  width: 96px;
  height: 96px;
  border-radius: 4px;
  object-fit: cover;
  flex: 0 0 96px;
  background: var(--rule); /* TODO Chat C: remove once real image is added */
}
.about__body h2 { margin-top: -6px; }
@media (max-width: 540px) {
  .about__container { flex-direction: column; gap: 20px; }
}


/* ---- Repeat CTA ---- */
.section--cta-repeat .container { text-align: left; }
.section--cta-repeat h2 { max-width: 640px; }


/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--rule);
  padding: 32px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer__row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer a { color: var(--ink-soft); }
@media (max-width: 540px) {
  .footer__row { gap: 12px; }
}
