:root {
  --ink: #0f1812;
  --muted: #5f6962;
  --paper: #f5f3ed;
  --panel: #ffffff;
  --line: #d9ddd9;
  --soft: #ebece8;
  --charcoal: #292827;
  --max: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--panel);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

a { color: inherit; }

button, input, textarea { font: inherit; }

.sr-only,
.hidden-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #070b08;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand,
.footer-brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: rgba(255,255,255,.86);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: white; }

.menu-toggle {
  display: none;
  padding: 8px;
  background: transparent;
  border: 0;
}

.menu-toggle span:not(.sr-only) {
  width: 24px;
  height: 2px;
  display: block;
  margin: 5px 0;
  background: white;
}

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(500px, 1.35fr);
  background: white;
}

.hero-image {
  min-height: 660px;
  background:
    linear-gradient(rgba(12,18,14,.03), rgba(12,18,14,.06)),
    url("/assets/herd-meeting-room.jpg") center center / cover no-repeat;
}

.hero-copy {
  display: grid;
  place-items: center;
  padding: clamp(48px, 7vw, 100px);
}

.hero-inner {
  width: min(680px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 26px;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -.045em;
}

h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.hero-lede {
  max-width: 600px;
  margin: 0 auto 30px;
  color: #333d36;
  font-size: 20px;
  line-height: 1.55;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }

.button-dark {
  color: white;
  background: var(--ink);
}

.button-wide { width: 100%; }

.section {
  padding: clamp(76px, 10vw, 128px) 24px;
}

.section-heading {
  width: min(860px, 100%);
  margin: 0 auto 64px;
}

.section-heading.centered { text-align: center; }

.section-heading > p:last-child {
  margin-bottom: 0;
  color: #303933;
  font-size: 19px;
  font-weight: 600;
}

.services { background: white; }

.service-list {
  width: min(1020px, 100%);
  margin: 0 auto;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(220px, .65fr) 1.35fr;
  gap: clamp(36px, 7vw, 110px);
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

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

.service-row h3 { font-size: 28px; }

.service-row p { color: #465049; }

.service-intro {
  color: var(--ink) !important;
  font-weight: 700;
}

.process { background: var(--paper); }

.process-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-grid article {
  min-height: 330px;
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-number {
  display: block;
  margin-bottom: 34px;
  color: #7a827c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}

.process-grid p {
  margin-bottom: 0;
  color: #465049;
}

.conversation-banner {
  padding: 16px 24px;
  color: white;
  background: var(--charcoal);
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.contact {
  background: white;
}

.contact-grid {
  width: min(1050px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 108px;
}

.contact-copy p {
  color: #465049;
  font-size: 17px;
}

.contact-form {
  padding: clamp(28px, 4vw, 44px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input,
textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  color: var(--ink);
  background: white;
  border: 1px solid #c9cfca;
  border-radius: 9px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(15,24,18,.10);
}

textarea { resize: vertical; }

.site-footer {
  padding: 60px 24px 30px;
  border-top: 2px solid var(--ink);
  background: white;
}

.footer-grid {
  width: min(1050px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 28px;
}

.footer-grid > div:first-child p {
  width: min(340px, 100%);
  margin-bottom: 0;
  color: #333d36;
  font-weight: 700;
}

.footer-card {
  display: grid;
  gap: 13px;
  padding: 30px;
  color: white;
  background: var(--charcoal);
  border-radius: 4px;
}

.footer-card a { text-underline-offset: 3px; }

.copyright {
  width: min(1050px, 100%);
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-page {
  min-height: calc(100vh - 66px);
  padding: 80px 24px;
  background: var(--paper);
}

.legal-content {
  width: min(780px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 60px);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-content h1 {
  font-size: clamp(38px, 6vw, 58px);
}

.legal-content h2 {
  margin-top: 36px;
  font-size: 26px;
  letter-spacing: -.02em;
}

.thank-you {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--paper);
}

.thank-you-card {
  width: min(640px, 100%);
  padding: clamp(36px, 7vw, 70px);
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.thank-you-card h1 {
  font-size: clamp(42px, 7vw, 68px);
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-image { min-height: 420px; }
  .hero-copy { padding: 64px 24px 78px; }

  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: auto; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
}

@media (max-width: 700px) {
  .nav-wrap {
    width: min(100% - 28px, var(--max));
  }

  .menu-toggle {
    display: block;
    z-index: 2;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 20px 24px;
    background: #070b08;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .site-nav.open {
    display: grid;
    gap: 6px;
  }

  .site-nav a {
    padding: 12px;
    border-radius: 8px;
  }

  .site-nav a:hover { background: rgba(255,255,255,.06); }

  .hero-image { min-height: 330px; }

  h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .section { padding: 72px 18px; }

  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 38px 0;
  }

  .service-row h3 { font-size: 26px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}


.form-status {
  min-height: 0;
  margin: 0 0 16px;
  padding: 0;
  border-radius: 9px;
  font-weight: 700;
}

.form-status.success,
.form-status.error {
  min-height: auto;
  padding: 13px 14px;
}

.form-status.success {
  background: #e7f1e9;
  border: 1px solid #a7c4ad;
  color: #173a20;
}

.form-status.error {
  background: #f7e9e7;
  border: 1px solid #d9aaa3;
  color: #6a1f18;
}
