/* ============================================================
   EMET STRATEGY GROUP — Design tokens
   Color:  --black (base/text) · --red (accent, single use) · --white
           --offwhite (section bg) · --gray (secondary text) · --line (hairlines)
   Type:   Montserrat (display, 700/800) + Lato (body, 400/600)
   Signature: the "ascending bars" mark — truth -> strategy -> growth —
              recurs as the hero graphic, the methodology step-chart,
              and the footer accent. Nothing else in the system animates.
   ============================================================ */

:root {
  --black: #1a1a1a;
  --red: #8c1c13;
  --white: #ffffff;
  --offwhite: #f7f5f2;
  --gray: #6b6b6b;
  --line: #e5e2de;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  color: var(--black);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--black);
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  display: block;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav-brand { display: flex; align-items: center; }
.nav-brand .mark { margin-right: 12px; }
.nav-brand .mark { width: 30px; height: 30px; }
.nav-brand .word { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 19px; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; }
.nav-links > * { margin-left: 36px; }
.nav-links > *:first-child { margin-left: 0; }
.nav-links a:not(.btn) { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 13.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--black); position: relative; padding: 6px 0; }
.nav-links a.active { color: var(--red); }
.nav-links a:not(.btn):hover { color: var(--red); }
.btn {
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.03em;
  text-transform: uppercase; padding: 12px 22px; border-radius: 2px; display: inline-block;
  border: 1.5px solid var(--black); transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-solid { background: var(--black); color: var(--white); }
.btn-solid:hover { background: var(--red); border-color: var(--red); }
.btn-ghost-dark { border-color: var(--black); color: var(--black); }
.btn-ghost-dark:hover { background: var(--black); color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--black); }
.btn-invert { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-invert:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--black); margin: 5px 0; }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark p { color: var(--white); }
.section-off { background: var(--offwhite); }
.hd { max-width: 640px; margin-bottom: 56px; }
.hd.center { margin-left: auto; margin-right: auto; text-align: center; }
h2.title { font-size: 34px; }
.lede { font-size: 19px; color: var(--gray); }
.section-dark .lede { color: #c9c9c9; }

/* ---------- Hero ---------- */
.hero { background: var(--black); color: var(--white); padding: 150px 0 110px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero h1 { font-size: 52px; line-height: 1.06; color: var(--white); }
.hero h1 em { font-style: italic; color: var(--red); font-weight: 800; }
.hero .lede { font-size: 19px; max-width: 480px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; }
.hero-ctas > * { margin-right: 16px; margin-bottom: 10px; }
.hero-graphic { display: flex; align-items: flex-end; justify-content: center; height: 320px; }

/* ---------- Pain grid ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain-card { background: var(--offwhite); border: 1px solid var(--line); padding: 26px 22px; }
.pain-card .dot { width: 10px; height: 10px; background: var(--red); border-radius: 50%; margin-bottom: 14px; }
.pain-card p { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 14.5px; margin: 0; color: var(--black); }

/* ---------- Methodology step-chart (signature, reused) ---------- */
.steps-chart { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 40px; }
.step-col { flex: 1; text-align: center; }
.step-bar { background: var(--line); margin: 0 auto 14px; width: 100%; max-width: 54px; position: relative; }
.step-bar.on { background: var(--red); }
.step-letter { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 15px; }
.step-name { font-size: 12.5px; color: var(--gray); margin-top: 4px; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { border: 1px solid var(--line); padding: 32px 28px; background: var(--white); }
.card.dark { background: var(--black); color: var(--white); border-color: var(--black); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 15.5px; margin: 0; }
.card.dark p { color: #cfcfcf; }
.card .num { font-family: "Montserrat", sans-serif; font-weight: 800; color: var(--red); font-size: 13px; letter-spacing: 0.05em; margin-bottom: 12px; display: block; }

/* ---------- Service line pills ---------- */
.pill-row { display: flex; flex-wrap: wrap; }
.pill-row > * { margin-right: 12px; margin-bottom: 12px; }
.pill { border: 1px solid var(--line); padding: 10px 18px; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 13.5px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--black); color: var(--white); padding: 80px 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band .lede { color: #cfcfcf; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
footer { background: var(--black); color: #a8a8a8; padding: 60px 0 30px; border-top: 4px solid var(--red); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer h4 { color: var(--white); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
footer a { display: block; color: #a8a8a8; font-size: 14.5px; margin-bottom: 8px; }
footer a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; margin-bottom: 14px; }
.footer-brand svg { margin-right: 10px; }
.footer-brand .word { font-family: "Montserrat", sans-serif; font-weight: 800; color: var(--white); font-size: 18px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid #333; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; }
.footer-bottom span { margin-right: 10px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--black); color: var(--white); padding: 74px 0 64px; }
.page-hero h1 { color: var(--white); font-size: 38px; }
.page-hero .lede { max-width: 640px; }

/* ---------- Team ---------- */
.team-card { border: 1px solid var(--line); padding: 34px; }
.team-card .avatar { width: 64px; height: 64px; background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 20px; margin-bottom: 20px; }
.team-card h3 { font-size: 20px; margin-bottom: 4px; }
.team-card .role { color: var(--red); font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 16px; display: block; }

/* ---------- Values grid ---------- */
.value-item { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; }
.value-item .n { margin-right: 20px; }
.value-item .n { font-family: "Montserrat", sans-serif; font-weight: 800; color: var(--red); font-size: 14px; width: 28px; flex: none; }
.value-item h4 { font-size: 16.5px; margin-bottom: 2px; }
.value-item p { margin: 0; color: var(--gray); font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line); padding: 13px 14px; font-family: "Lato", sans-serif; font-size: 15px; background: var(--white); color: var(--black);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--black); outline: none; }
.contact-info-item { display: flex; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info-item .k { margin-right: 16px; }
.contact-info-item .k { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--red); width: 110px; flex: none; }
.map-block { background: var(--offwhite); border: 1px solid var(--line); height: 220px; display: flex; align-items: center; justify-content: center; color: var(--gray); font-size: 14px; margin-top: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { position: fixed; top: 78px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 20px 32px 30px; gap: 18px; border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: block; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero-graphic { height: 220px; order: -1; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps-chart { flex-wrap: wrap; }
  .step-col { flex: 1 1 30%; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
  .hero { padding: 120px 0 70px; }
}
