/* ============================================================
   sections.css — Composed marketing blocks built on top of the
   base component vocabulary: product frames, category grids,
   industries, founder, and FAQ. Editorial / hairline aesthetic
   is kept identical to the rest of the site.
   ============================================================ */

/* ---- Capability tiles (honest, non-numeric metrics) ---- */
.cap-strip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cap { padding: 30px 24px; border-left: 1px solid var(--hairline); }
.cap:first-child { border-left: none; }
.cap b { font-family: var(--font-serif); font-size: 18px; font-weight: 500; color: var(--paper); display: block; margin-bottom: 6px; }
.cap span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--paper-faint); text-transform: uppercase; }

/* ---- Category grids (services + tech share this) ---- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); margin-top: 28px; }
.cat-card { background: var(--ink); padding: 30px 28px; }
.cat-card .cat-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); display: block; margin-bottom: 14px; }
.cat-card h3 { font-size: 20px; margin-bottom: 14px; }
.cat-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.cat-card li { position: relative; padding-left: 18px; color: var(--paper-dim); font-size: 14.5px; }
.cat-card li::before { content: '—'; position: absolute; left: 0; color: var(--copper); }

/* Tech chips variant reuses the card but shows tags */
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* ---- Why Comp-sci-tech ---- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); margin-top: 28px; }
.why-card { background: var(--ink); padding: 34px 32px; }
.why-card .wc-num { font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--copper); }
.why-card h3 { font-size: 20px; margin: 12px 0 10px; }
.why-card p { color: var(--paper-dim); font-size: 14.5px; max-width: 460px; }
.why-card .wc-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---- Industries ---- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chip {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.03em; color: var(--paper);
  border: 1px solid var(--hairline-strong); padding: 13px 20px; border-radius: 2px;
  display: flex; align-items: center; gap: 10px; transition: border-color .2s ease, color .2s ease;
}
.chip:hover { border-color: var(--copper); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }

/* ---- Founder ---- */
.founder-grid { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: center; margin-top: 8px; }
.founder-photo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 1px solid var(--hairline-strong); filter: grayscale(0.15); }
.founder-body b { font-family: var(--font-serif); font-weight: 500; font-size: 20px; display: block; margin-bottom: 4px; }
.founder-body .founder-role { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.03em; color: var(--copper); margin-bottom: 14px; }
.founder-body p { color: var(--paper-dim); font-size: 15px; max-width: 620px; margin-bottom: 16px; }
.link-arrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.03em; color: var(--copper); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.link-arrow:hover { border-color: var(--copper); }

/* ---- FAQ ---- */
.faq-list { margin-top: 28px; border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; color: var(--paper); font-family: var(--font-serif); font-size: 19px; font-weight: 500;
}
.faq-q .faq-mark { font-family: var(--font-mono); color: var(--copper); font-size: 20px; flex-shrink: 0; transition: transform .25s ease; }
.faq-item.open .faq-q .faq-mark { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { color: var(--paper-dim); font-size: 15px; max-width: 720px; padding-bottom: 24px; }

/* ---- Local helpers (kept out of markup) ---- */
.u-mt-8 { margin-top: 8px; }
.u-mb-24 { margin-bottom: 24px; }
.cta-inline { margin-top: 18px; display: flex; gap: 14px; flex-wrap: wrap; }
.eyebrow.is-centered { justify-content: center; }
.hero-cta-row.is-centered { justify-content: center; }

/* ---- Form status line + schedule row ---- */
.form-status { font-family: var(--font-mono); font-size: 12.5px; margin-top: 14px; min-height: 18px; color: var(--paper-faint); }
.form-status[data-state="ok"] { color: var(--verdigris); }
.form-status[data-state="err"] { color: var(--copper); }
.schedule-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }

@media (max-width: 860px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap:nth-child(3) { border-left: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .founder-body p { max-width: none; }
}
