/* ============================================================
   Three Pointe Consulting — design system
   Operations console: navy base, brass accent, mono labels.
   ============================================================ */

:root {
  --navy:        #0F1B2D;  /* page base            */
  --navy-card:   #132339;  /* card surface         */
  --border:      #22344B;  /* hairline             */
  --border-lit:  #33496B;  /* stronger / focus     */
  --brass:       #D9A441;  /* accent               */
  --brass-deep:  #2A1E06;  /* text on brass        */
  --brass-soft:  #E0A44A;  /* inline warnings      */

  --ink:         #FFFFFF;  /* headings             */
  --text:        #E7EBF0;  /* body                 */
  --text-2:      #C4CDD8;  /* secondary body       */
  --text-3:      #9AA8B8;  /* muted                */
  --text-4:      #6B7C91;  /* faint / mono eyebrow */
  --text-label:  #8E97A3;  /* form labels          */

  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  --wrap: 1080px;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

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

/* subtle top hairline sheen so the page reads as a "console" */
.page-top { border-top: 2px solid var(--brass); }

/* ---------- eyebrows / mono labels ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-4);
  text-transform: uppercase;
  margin: 0 0 26px;
}
.label-brass {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--brass);
  text-transform: uppercase;
}

/* ---------- headings ---------- */
h1, h2, h3 { color: var(--ink); font-weight: 700; margin: 0; letter-spacing: -0.8px; }
h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.08; }
h2 { font-size: clamp(28px, 4.5vw, 40px); line-height: 1.12; }
h3 { font-size: 20px; letter-spacing: -0.2px; }

p { margin: 0; }
.lede { font-size: clamp(16px, 2.2vw, 17px); line-height: 1.65; color: #B8C2CF; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand b { font-family: var(--mono); font-weight: 600; font-size: 17px; letter-spacing: 0.5px; color: var(--text); }
.brand span { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--text-4); }
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--text-3); align-items: center; }
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--brass); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 24px; cursor: pointer; padding: 4px; }

@media (max-width: 680px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--navy-card);
    border-bottom: 1px solid var(--border); z-index: 20; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 28px; border-top: 1px solid var(--border); width: 100%; }
  .nav-toggle { display: block; }
  .nav { position: relative; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.5px;
  padding: 13px 24px; border-radius: 8px; cursor: pointer;
  border: 1px solid transparent; transition: transform .1s ease, background .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--brass); color: var(--brass-deep); font-weight: 600; }
.btn-primary:hover { background: #E4B255; }
.btn-primary:active { transform: scale(.985); }
.btn-ghost { background: transparent; color: var(--text-3); border-color: var(--border-lit); }
.btn-ghost:hover { color: var(--text); border-color: var(--text-3); }
.btn-link { color: var(--text-3); font-family: var(--sans); font-size: 14px; padding: 13px 4px; }
.btn-link:hover { color: var(--text); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 76px 0; }
.section-sm { padding: 48px 0; }
.divider { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* ---------- hero ---------- */
.hero { padding: 76px 0 60px; }
.hero h1 { max-width: 700px; margin-bottom: 28px; }
.hero .lede { max-width: 560px; margin-bottom: 40px; }
.hero-accent { color: var(--brass); }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ---------- three points grid ---------- */
.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.grid-3 .cell { background: var(--navy-card); padding: 26px 22px; }
.cell-num { font-family: var(--mono); color: var(--brass); font-size: 13px; margin-bottom: 14px; }
.cell h3 { margin-bottom: 10px; }
.cell p { font-size: 13.5px; line-height: 1.55; color: var(--text-3); }
@media (max-width: 720px) { .grid-3 { grid-template-columns: 1fr; } }

/* ---------- manifest / closing stamp ---------- */
.manifest {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap; padding: 34px 0; border-top: 1px solid var(--border);
}
.manifest .msg { max-width: 440px; }
.manifest .msg b { color: var(--text); font-weight: 500; display: block; margin-bottom: 6px; font-size: 15px; }
.manifest .msg p { color: var(--text-3); font-size: 14px; line-height: 1.55; }
.stamp { text-align: right; }
.stamp .quiet { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--text-4); line-height: 2; }
.stamp .loud { font-family: var(--mono); font-size: 14px; letter-spacing: 1px; color: var(--brass); font-weight: 600; }

/* ============================================================
   Cards (About bench, network, generic)
   ============================================================ */
.card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px;
}
.card-lg { padding: 30px 28px; }

/* process strip (Understand / Redesign / Measure) */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.strip .cell { background: var(--navy-card); padding: 24px 22px; }
.strip .label-brass { display: block; margin-bottom: 10px; }
.strip p { font-size: 14px; line-height: 1.55; color: var(--text-2); }
@media (max-width: 720px) { .strip { grid-template-columns: 1fr; } }

/* owner / person block */
.person { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: #1C2E47; border: 1px solid var(--border-lit);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--brass); font-family: var(--mono); font-weight: 600; font-size: 18px;
}
.person .body { flex: 1; min-width: 260px; }
.person h3 { font-size: 19px; margin-bottom: 4px; }
.person .body p { color: var(--text-2); font-size: 15px; line-height: 1.65; margin-bottom: 14px; }
.person .body p.muted { color: var(--text-3); margin-bottom: 0; }

/* network enigma marks */
.marks { color: var(--brass); font-size: 15px; letter-spacing: 4px; margin-bottom: 18px; }

/* ============================================================
   Services — pricing rows
   ============================================================ */
.stages { display: flex; flex-direction: column; gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stage { background: var(--navy-card); padding: 28px 26px; display: flex; gap: 24px; align-items: flex-start; }
.stage .n { font-family: var(--mono); color: var(--brass); font-size: 15px; font-weight: 600; min-width: 40px; }
.stage .content { flex: 1; }
.stage-head { display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px; flex-wrap: wrap; gap: 8px; }
.stage-head h3 { font-size: 20px; }
.stage p { font-size: 14.5px; line-height: 1.6; color: var(--text-3); }
.stage p .em { color: var(--text-2); }
@media (max-width: 560px) { .stage { flex-direction: column; gap: 10px; } }

/* ============================================================
   Proof — case cards
   ============================================================ */
.cases { display: flex; flex-direction: column; gap: 16px; }
.case { background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; }
.case-top { display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.case-tag-2 { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--text-4); text-transform: uppercase; }
.case h3 { font-size: 18px; margin-bottom: 16px; }
.case-row { display: flex; gap: 14px; margin-bottom: 12px; }
.case-row:last-child { margin-bottom: 0; }
.case-row .k { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; min-width: 92px; padding-top: 3px; text-transform: uppercase; }
.case-row .k.challenge { color: var(--text-4); }
.case-row .k.solution { color: var(--brass); }
.case-row .v { font-size: 14px; line-height: 1.55; color: var(--text-3); }
.case-row .v.solution { color: var(--text-2); }
.case-row .v b { color: var(--ink); font-weight: 500; }
.case-more { border: 1px dashed var(--border-lit); border-radius: var(--radius);
  padding: 22px 24px; text-align: center; }
.case-more span { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--text-4); text-transform: uppercase; }
@media (max-width: 560px) { .case-row { flex-direction: column; gap: 4px; } .case-row .k { padding-top: 0; } }

/* ============================================================
   Forms (contact + calculator)
   ============================================================ */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; color: var(--text-label);
  margin-bottom: 6px; font-family: var(--mono); letter-spacing: 1px; text-transform: uppercase; }
.input, .textarea, .num {
  width: 100%; background: var(--navy); border: 1px solid var(--border-lit);
  color: var(--text); border-radius: 8px; padding: 0 12px; height: 44px;
  font-size: 15px; font-family: var(--sans); transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.input:focus, .textarea:focus, .num:focus { border-color: var(--brass); outline: none; box-shadow: 0 0 0 1px var(--brass); }
.input::placeholder, .textarea::placeholder { color: var(--text-4); }
.hint { font-size: 12px; color: var(--text-4); margin-top: 6px; }
.hint.warn { color: var(--brass-soft); }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 28px 0; margin-top: 8px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .tagline { font-family: var(--mono); font-size: 13px; letter-spacing: 0.5px; color: var(--brass); }
.footer .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--text-4); }

/* utility */
.mt-sm { margin-top: 16px; } .mt-md { margin-top: 24px; } .mt-lg { margin-top: 40px; }
.center { text-align: center; }
.note { font-size: 14px; line-height: 1.6; color: var(--text-3); max-width: 620px; }
.note b { color: var(--text); font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
