/* ============================================================
   Procurement Counsel — shared stylesheet
   Design: evergreen + paper + copper. Serif display (Newsreader),
   clean body (Inter), mono utility (IBM Plex Mono) for "statement" labels.
   ============================================================ */

:root {
  --ink:    #14241d;   /* deep evergreen-black — primary text */
  --pine:   #1c3a2e;   /* deep pine — dark sections */
  --pine-2: #244a3a;   /* lighter pine for hover/cards on dark */
  --paper:  #f1f3ec;   /* cool pale sage-ivory — page background */
  --paper-2:#e8ebe1;   /* slightly deeper paper for panels */
  --copper: #bd7638;   /* restrained copper accent */
  --sage:   #7d9885;   /* muted sage — secondary text/dividers */
  --line:   rgba(20,36,29,0.14);
  --line-d: rgba(241,243,236,0.16);
  --paper-muted: #5a6b60;

  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

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

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
p { margin: 0 0 1rem; }
a { color: inherit; }

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

/* ---- eyebrow / mono labels (the "statement" voice) ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--copper);
  display: inline-block;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 24px;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn-primary { background: var(--pine); color: var(--paper); }
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--copper); color: #fff; }
.btn-light:hover { background: #a9662d; transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: var(--line-d); }
.btn-outline-light:hover { border-color: var(--paper); }
.btn .arr { font-family: var(--mono); font-size: 14px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241,243,236,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  font-family: var(--mono); font-weight: 600; font-size: 13px;
  color: var(--paper); background: var(--pine);
  width: 34px; height: 34px; border-radius: 3px;
  display: grid; place-items: center; letter-spacing: 0.04em;
}
.brand-name { font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  text-decoration: none; font-size: 14.5px; font-weight: 500;
  color: var(--ink); letter-spacing: 0.01em; position: relative; padding: 4px 0;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--copper); transition: width .22s ease;
}
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink); }
.nav-cta { padding: 10px 18px; font-size: 14px; }

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

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    background: var(--paper); flex-direction: column; align-items: flex-start;
    gap: 4px; padding: 18px 28px 26px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s ease; z-index: 40;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 17px; padding: 10px 0; width: 100%; }
  .nav-cta { margin-top: 8px; }
  .nav-toggle { display: block; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: 92px 0 84px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); }
.hero h1 .accent { color: var(--copper); font-style: italic; }
.hero-lede { font-size: 19px; color: var(--paper-muted); max-width: 30ch; margin-top: 26px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* Signature: the "outcome statement" ledger */
.statement {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 8px 30px; box-shadow: 0 30px 60px -40px rgba(20,36,29,0.5);
}
.statement-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sage);
  padding: 18px 0 16px; border-bottom: 1px solid var(--line);
}
.line-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.line-item .num { font-family: var(--mono); font-size: 13px; color: var(--copper); padding-top: 3px; }
.line-item .li-title { font-family: var(--display); font-size: 20px; margin-bottom: 4px; }
.line-item .li-body { font-size: 14.5px; color: var(--paper-muted); line-height: 1.55; margin: 0; }

@media (max-width: 860px) {
  .hero { padding: 56px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-lede { max-width: none; }
}

/* ============================================================
   Generic section scaffolding
   ============================================================ */
.section { padding: 96px 0; }
.section-pine { background: var(--pine); color: var(--paper); }
.section-pine h2, .section-pine h3 { color: var(--paper); }
.section-pine .eyebrow { color: var(--copper); }
.section-pine .eyebrow::before { background: var(--copper); }

.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); }
.section-head p { font-size: 18px; color: var(--paper-muted); margin-top: 18px; }
.section-pine .section-head p { color: rgba(241,243,236,0.72); }

@media (max-width: 860px) { .section { padding: 64px 0; } }

/* ---- services: line-item cards ---- */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 28px; align-items: start;
  padding: 34px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: background .2s ease;
}
.svc:hover { background: rgba(29,58,46,0.03); }
.svc .svc-num { font-family: var(--mono); font-size: 14px; color: var(--copper); padding-top: 6px; }
.svc h3 { font-size: 24px; margin-bottom: 8px; transition: color .2s; }
.svc:hover h3 { color: var(--pine); }
.svc p { font-size: 15.5px; color: var(--paper-muted); max-width: 62ch; margin: 0; }
.svc .svc-arr { font-family: var(--mono); color: var(--copper); align-self: center; font-size: 18px; transition: transform .2s; }
.svc:hover .svc-arr { transform: translateX(4px); }
@media (max-width: 680px) {
  .svc { grid-template-columns: 40px 1fr; }
  .svc .svc-arr { display: none; }
}

/* ---- industries grid ---- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.ind {
  background: var(--pine); padding: 30px 26px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .2s ease;
}
.ind:hover { background: var(--pine-2); }
.ind .ind-num { font-family: var(--mono); font-size: 12px; color: var(--copper); letter-spacing: 0.1em; }
.ind h3 { font-size: 20px; color: var(--paper); margin-top: 16px; }
.ind.callout { background: transparent; border: 1px dashed var(--line-d); }
.ind.callout p { color: rgba(241,243,236,0.72); font-size: 14.5px; margin: 12px 0 0; }
@media (max-width: 860px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ind-grid { grid-template-columns: 1fr; } }

/* ---- engagement styles: two terms sheets ---- */
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.term {
  background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 38px 34px;
  display: flex; flex-direction: column;
}
.term .term-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); }
.term h3 { font-size: 28px; margin: 12px 0 6px; }
.term .term-sub { font-size: 15px; color: var(--paper-muted); font-style: italic; margin-bottom: 22px; }
.term p { font-size: 15px; color: var(--paper-muted); }
.term .best-for { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin: 22px 0 12px; }
.term ul { list-style: none; padding: 0; margin: 0 0 24px; }
.term li { font-size: 15px; padding: 7px 0 7px 22px; position: relative; border-bottom: 1px solid var(--line); }
.term li:last-child { border-bottom: 0; }
.term li::before { content: "—"; position: absolute; left: 0; color: var(--copper); }
.term .result { margin-top: auto; padding-top: 20px; border-top: 2px solid var(--ink); }
.term .result span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pine); display: block; margin-bottom: 8px; }
@media (max-width: 780px) { .terms { grid-template-columns: 1fr; } }

/* ---- testimonial ---- */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote {
  font-family: var(--display); font-size: clamp(24px, 3.4vw, 34px); line-height: 1.35;
  margin: 0 0 30px; letter-spacing: -0.01em;
}
.quote .mark { font-family: var(--display); font-size: 70px; color: var(--copper); line-height: 0; display: block; margin-bottom: 26px; height: 30px; }
.quote .attr { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--sage); text-transform: uppercase; }
.quote .attr strong { color: var(--paper); font-weight: 600; }

/* ---- CTA band ---- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 46px); max-width: 20ch; margin: 0 auto 22px; }
.cta-band p { color: rgba(241,243,236,0.72); max-width: 52ch; margin: 0 auto 32px; font-size: 18px; }

/* ============================================================
   Interior page header
   ============================================================ */
.page-hero { padding: 78px 0 46px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 60px); margin-top: 8px; }
.page-hero p { font-size: 19px; color: var(--paper-muted); max-width: 60ch; margin-top: 22px; }

/* ---- prose blocks (About) ---- */
.prose-grid { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.prose-grid .side { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); padding-top: 8px; }
.prose-grid h2 { font-size: 30px; margin-bottom: 16px; }
.prose-grid p { font-size: 17px; color: #33443b; }
.prose-grid + .prose-grid { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .prose-grid { grid-template-columns: 1fr; gap: 16px; } }

.pull {
  font-family: var(--display); font-size: 26px; line-height: 1.35; color: var(--pine);
  border-left: 3px solid var(--copper); padding-left: 24px; margin: 8px 0 0;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.contact-detail { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-detail .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); display: block; margin-bottom: 6px; }
.contact-detail a, .contact-detail .val { font-size: 19px; text-decoration: none; color: var(--ink); font-family: var(--display); }
.contact-detail a:hover { color: var(--copper); }

form.pc-form { display: grid; gap: 20px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-muted); }
label .req { color: var(--copper); }
input, textarea {
  font-family: var(--body); font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 3px;
  padding: 13px 15px; width: 100%; transition: border-color .18s ease, box-shadow .18s ease;
}
input:focus, textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(29,58,46,0.1); }
textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--paper-muted); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .field-row { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(241,243,236,0.7); padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-d); }
.footer-brand .brand-name { color: var(--paper); font-size: 24px; }
.footer-brand p { margin-top: 14px; font-size: 14.5px; max-width: 34ch; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper); margin: 0 0 16px; font-weight: 500; }
.footer-col a { display: block; text-decoration: none; color: rgba(241,243,236,0.7); font-size: 15px; padding: 5px 0; transition: color .18s; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; font-family: var(--mono); letter-spacing: 0.04em; color: rgba(241,243,236,0.5); flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
