/* ============================================================
   Nutmeg Bamboo Removal — design tokens
   Palette: charcoal ink, sage paper, fresh bamboo green, soil clay
   Type: Big Shoulders Display (tall/condensed — echoes bamboo culms)
         Public Sans (plain, practical, used by US gov't sites — fits
         a no-nonsense CT consultancy)
   Signature: vertical "culm" dividers with node ticks, used as
   section breaks and as the process/step marker on Services.
   ============================================================ */

:root {
  --ink: #202b1e;
  --ink-soft: #3d4a37;
  --paper: #efeee2;
  --paper-alt: #e3e1d2;
  --bamboo: #5c8a3a;
  --bamboo-dark: #33501e;
  --clay: #8b5e37;
  --line: rgba(32, 43, 30, 0.16);
  --line-strong: rgba(32, 43, 30, 0.32);

  --display: "Big Shoulders Display", sans-serif;
  --body: "Public Sans", sans-serif;

  --max: 1120px;
}

* { 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;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.94;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

p { margin: 0 0 1em; color: var(--ink-soft); max-width: 62ch; }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bamboo-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--bamboo);
  display: inline-block;
}

/* ---------- Header / nav ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand .brand-mark {
  color: var(--bamboo);
}

nav.main-nav {
  display: flex;
  gap: 32px;
}

nav.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a:focus-visible {
  border-color: var(--bamboo);
}

nav.main-nav a[aria-current="page"] {
  color: var(--bamboo-dark);
  border-color: var(--bamboo);
}

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 10px 18px !important;
  border-radius: 2px;
}

.nav-cta:hover { background: var(--bamboo-dark); }

/* ---------- Culm divider (signature element) ----------
   A row of vertical "stalks" with a horizontal node tick partway
   down — modeled on a cut bamboo culm segment. Used between
   sections instead of a generic rule. */

.culm-divider {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  height: 34px;
  margin: 0;
  padding: 0 28px;
  max-width: var(--max);
  margin-inline: auto;
}

.culm-divider span {
  flex: 1;
  max-width: 46px;
  height: 100%;
  border-left: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  position: relative;
}

.culm-divider span::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 40%;
  height: 2px;
  background: var(--bamboo);
}

.culm-divider.tight { height: 20px; gap: 6px; }
.culm-divider.tight span { max-width: 28px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 2px;
  border: 2px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--bamboo);
  border-color: var(--bamboo);
  color: var(--paper);
}
.btn-primary:hover { background: var(--bamboo-dark); border-color: var(--bamboo-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }

.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--bamboo);
  outline-offset: 2px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 56px;
}

.hero .eyebrow { color: var(--clay); }
.hero .eyebrow::before { background: var(--clay); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: end;
}

.hero h1 { margin-bottom: 22px; }

.hero-lede {
  font-size: 1.12rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-facts {
  border-left: 2px solid var(--line-strong);
  padding-left: 24px;
  display: grid;
  gap: 22px;
}

.hero-facts .fact-num {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--bamboo-dark);
  line-height: 1;
}

.hero-facts .fact-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Sections ---------- */

section { padding: 64px 0; }

.section-alt {
  background: var(--paper-alt);
}

.section-head {
  max-width: 60ch;
  margin-bottom: 44px;
}

/* ---------- Cards / grids ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px 26px;
}

.section-alt .card { background: var(--paper); }

.card h3 { margin-bottom: 12px; color: var(--bamboo-dark); }

.card p:last-child { margin-bottom: 0; }

/* ---------- Process (culm segments) ---------- */

.process {
  display: grid;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.process-step:last-child { border-bottom: 1px solid var(--line); }

.step-culm {
  display: flex;
  justify-content: center;
}

.step-culm .segment {
  width: 30px;
  border-left: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  height: 64px;
  position: relative;
}

.step-culm .segment::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; top: 50%;
  height: 2px;
  background: var(--bamboo);
}

.step-culm .segment span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--bamboo-dark);
  background: var(--paper);
  padding: 0 4px;
}

.process-step h3 { margin-bottom: 8px; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: var(--paper);
}

.cta-band h2 { color: var(--paper); }
.cta-band p { color: rgba(239, 238, 226, 0.75); }

.cta-band .culm-divider span { border-color: rgba(239,238,226,0.28); }
.cta-band .culm-divider span::after { background: var(--bamboo); }

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 56px 0;
}

/* ---------- Footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-grid h4 {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.footer-grid a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 4px 0;
}
.footer-grid a:hover { color: var(--bamboo-dark); }

.footer-bottom {
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ---------- Page header (interior pages) ---------- */

.page-head {
  padding: 64px 0 40px;
}

.page-head p { font-size: 1.05rem; }

/* ---------- Forms ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

form {
  display: grid;
  gap: 18px;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--bamboo);
  outline-offset: 1px;
  border-color: var(--bamboo);
}

.field textarea { resize: vertical; min-height: 120px; }

.contact-info .info-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.contact-info .info-row:last-child { border-bottom: 1px solid var(--line); }

.contact-info .info-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bamboo-dark);
  width: 110px;
  flex-shrink: 0;
  padding-top: 2px;
}

.note-box {
  border-left: 3px solid var(--clay);
  padding: 16px 20px;
  background: var(--paper-alt);
  margin-top: 28px;
}
.note-box p { margin: 0; font-size: 0.94rem; }

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-facts { border-left: none; border-top: 2px solid var(--line-strong); padding-left: 0; padding-top: 20px; grid-auto-flow: column; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main-nav { gap: 18px; }
}

@media (max-width: 600px) {
  nav.main-nav { display: none; }
  .site-header .wrap { justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-inner { padding: 44px 0; }
}
