:root {
  --deep: #14312e;
  --teal: #1a6a63;
  --teal-dark: #0f4a45;
  --accent: #c36b2d;
  --accent-dark: #9a4f1c;
  --ink: #1c2423;
  --muted: #4e5a58;
  --line: #d7ddd8;
  --paper: #f4f1ea;
  --white: #fff;
  --ok-bg: #e8f5ec;
  --ok-ink: #1a5c2e;
  --radius: 4px;
  --wrap: 1100px;
  --serif: Fraunces, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--white);
}

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

a { color: var(--teal); }

a:hover { color: var(--teal-dark); }

h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.2;
  font-weight: 600;
  color: var(--deep);
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.15rem); margin: 0 0 0.75rem; }

h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); margin: 0 0 0.75rem; }

h3 { font-size: 1.2rem; margin: 0 0 0.4rem; color: var(--deep); }

p { margin: 0 0 1rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin: 0 auto;
}

.narrow { max-width: 40rem; }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--deep);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip-link:focus { top: 0.75rem; color: var(--white); }

.site-header {
  background: var(--paper);
  border-bottom: 3px solid var(--deep);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.5rem;
  padding: 0.55rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--deep);
  min-width: 0;
}

.brand:hover { color: var(--deep); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  background: var(--deep);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border-radius: 6px;
  box-shadow: inset 0 -3px 0 var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
}

.brand-inc {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover { color: var(--teal); }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
}

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

.hero {
  background: var(--deep);
  color: var(--paper);
  padding: 3.75rem 0 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-copy { padding: 0 0 3.5rem; }

.hero h1 { color: var(--white); max-width: 12em; }

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero .eyebrow { color: #e2b089; }

.hero-panel {
  background: var(--paper);
  color: var(--ink);
  padding: 2rem 1.75rem 2.15rem;
  align-self: end;
  border-top: 4px solid var(--accent);
}

.hero-panel .lede {
  color: var(--ink);
  font-size: 1.12rem;
}

.lede {
  font-size: 1.15rem;
  margin: 0 0 1.35rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.btn-light {
  background: transparent;
  color: var(--deep);
  border-color: var(--deep);
}

.btn-light:hover {
  background: var(--deep);
  color: var(--white);
  border-color: var(--deep);
}

.section { padding: 3.4rem 0; }

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

.section-intro {
  max-width: 40rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.service-blocks {
  display: grid;
  gap: 1.15rem;
}

.service-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  padding: 1.25rem 1.35rem 1.15rem;
}

.section-alt .service-block { background: var(--white); }

.sublist {
  margin: 0.6rem 0 0;
  padding: 0 0 0 1.15rem;
  color: var(--muted);
}

.sublist li { margin: 0.2rem 0; }

.industry-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-list li {
  border-bottom: 1px solid var(--line);
  padding: 1.05rem 1.1rem 1rem 0;
}

.industry-list h3 { margin-bottom: 0.25rem; }

.industry-list p { margin: 0; color: var(--muted); }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}

.timeline li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  padding: 0 0 1.4rem;
  position: relative;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  counter-increment: step;
  content: counter(step);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--deep);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 2.2rem;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline h3 { margin-top: 0.25rem; }

.timeline p { margin: 0; color: var(--muted); }

.faq-list { display: grid; gap: 0.65rem; }

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.15rem 0.9rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.75rem 0;
}

.faq-list details p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.details {
  margin: 0;
}

.details > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.details dt {
  font-weight: 700;
  color: var(--deep);
  margin: 0;
}

.details dd { margin: 0; }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.4rem 1.35rem 1.2rem;
  box-shadow: 8px 8px 0 var(--deep);
}

.form-note {
  font-size: 0.92rem;
  color: var(--muted);
  background: var(--paper);
  border-left: 4px solid var(--accent);
  padding: 0.7rem 0.8rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  border: 1px solid #b7c2bc;
  border-radius: 4px;
  padding: 0.6rem 0.7rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.field-hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}

.opt-in {
  margin: 0.4rem 0 1.1rem;
  padding: 0.9rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.opt-in legend {
  padding: 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--deep);
}

.opt-in-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.5rem 0 0.75rem;
}

.opt-in-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0 0.85rem;
}

.opt-in-item:last-child { margin-bottom: 0; }

.contact-form .opt-in-item label {
  display: inline;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
  color: var(--ink);
}

.contact-form input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem 0 0;
  flex: 0 0 auto;
  accent-color: var(--teal);
}

.contact-form input[type="checkbox"]:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.form-status {
  margin: 0.8rem 0 0;
  padding: 0.7rem 0.8rem;
  background: var(--ok-bg);
  color: var(--ok-ink);
  border-radius: var(--radius);
}

.form-status.is-fallback {
  background: #f8efe4;
  color: var(--accent-dark);
}

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

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.legal-block p { color: var(--muted); }

.legal-block a { font-weight: 600; text-decoration: none; }
.legal-block a:hover { text-decoration: underline; }

.legal-hero {
  background: var(--deep);
  color: var(--paper);
  padding: 2.6rem 0 2.3rem;
}

.legal-hero h1 { color: var(--white); margin-bottom: 0.4rem; }

.legal-hero .eyebrow { color: #e2b089; }

.updated {
  margin: 0;
  color: #d5cdc2;
  font-size: 0.95rem;
}

.legal-page { padding-top: 2.4rem; }

.legal-doc { max-width: 44rem; }

.legal-doc ul { color: var(--ink); }

.legal-contact {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.privacy-note {
  margin-top: 1.35rem;
}

.privacy-note h3 {
  font-size: 1.05rem;
  color: var(--deep);
}

.privacy-note p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-footer {
  background: var(--deep);
  color: #d5cdc2;
  padding: 1.5rem 0;
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.site-footer p { margin: 0; }

.site-footer a {
  color: #eee6da;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .hero-inner,
  .industry-list,
  .contact-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  html { scroll-padding-top: 10.5rem; }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
    padding-bottom: 0.35rem;
    gap: 0.3rem 0.85rem;
  }

  .hero { padding-top: 2.4rem; }

  .hero-copy { padding-bottom: 1.5rem; }

  .hero-panel { padding: 1.5rem 1.25rem 1.6rem; }

  .section { padding: 2.6rem 0; }

  .details > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .contact-form-wrap { box-shadow: 6px 6px 0 var(--deep); }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 1.5rem); }

  .brand-mark { width: 2.4rem; height: 2.4rem; font-size: 0.82rem; }

  .nav { gap: 0.25rem 0.65rem; }

  .nav a { font-size: 0.85rem; }

  .nav-cta { padding: 0.35rem 0.7rem; }
}
