﻿:root {
  --ink: #18231f;
  --muted: #5a6762;
  --paper: #f7f4ec;
  --paper-strong: #fffdf7;
  --forest: #12352f;
  --forest-2: #1f5148;
  --saffron: #c76f1a;
  --line: rgba(24, 35, 31, 0.14);
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(18, 53, 47, 0.12);
  --radius: 6px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Trebuchet MS", Verdana, Geneva, sans-serif;
  line-height: 1.6;
}

body.nav-open { overflow: hidden; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image: linear-gradient(rgba(18, 53, 47, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 53, 47, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--forest);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 236, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: var(--max);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  border-radius: var(--radius);
  font-weight: 800;
}

.brand strong,
.brand small { display: block; }

.brand strong {
  font-size: 0.96rem;
  letter-spacing: 0.03em;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  padding: 0.62rem 0.75rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--forest);
  background: rgba(18, 53, 47, 0.08);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  padding: 0.62rem;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--forest);
}

.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;
}

.hero {
  padding: clamp(3.5rem, 8vw, 7rem) 1.2rem 3.5rem;
  background: linear-gradient(180deg, var(--paper-strong), rgba(247, 244, 236, 0));
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}

.eyebrow,
.card-label {
  margin: 0 0 0.85rem;
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

h2 {
  margin-bottom: 0.95rem;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
  line-height: 1.3;
}

.hero-lede,
.section-heading p,
.service-item p,
.scope-card p,
.process-list span,
.company-copy p,
.contact-copy p {
  color: var(--muted);
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 1.7rem;
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
}

.hero-actions,
.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button.primary { background: var(--forest); color: var(--white); }
.button.secondary { color: var(--forest); border-color: rgba(18, 53, 47, 0.25); background: var(--paper-strong); }
.button:hover,
.button:focus-visible { outline: none; background: var(--forest-2); color: var(--white); }

.company-card,
.scope-card,
.contact-form,
.facts,
.notice-strip {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.company-card { padding: 1.25rem; }

.mini-facts,
.facts { margin: 0; }

.mini-facts div,
.facts div {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.mini-facts div:first-child { padding-top: 0; }
.mini-facts div:last-child,
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }

.mini-facts dt,
.facts dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-facts dd,
.facts dd {
  margin: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.mini-facts a,
.contact-lines a,
.site-footer a { color: var(--forest); font-weight: 800; }

.notice-strip {
  width: min(100% - 2.4rem, var(--max));
  margin: 1.4rem auto 0;
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  box-shadow: none;
}

.notice-strip span { color: var(--muted); }

.section,
.company-section,
.contact-section {
  width: min(100% - 2.4rem, var(--max));
  margin: 0 auto;
  padding: clamp(3.6rem, 7vw, 6rem) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(220px, 320px);
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.service-item > span {
  color: var(--saffron);
  font-weight: 800;
}

.service-item p { margin-bottom: 0; }

.service-item ul {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--muted);
}

.service-item li + li { margin-top: 0.35rem; }

.work-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.scope-card {
  min-height: 210px;
  padding: 1.2rem;
  box-shadow: none;
}

.process-section {
  width: 100%;
  max-width: none;
  background: var(--forest);
  color: var(--white);
  padding-left: max(1.2rem, calc((100vw - var(--max)) / 2));
  padding-right: max(1.2rem, calc((100vw - var(--max)) / 2));
}

.process-section .section-heading p,
.process-list span { color: rgba(255, 255, 255, 0.72); }

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.process-list li {
  min-height: 220px;
  padding: 1.15rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.process-list strong {
  display: block;
  margin-bottom: 0.7rem;
  color: #ffe0a6;
  font-size: 1.1rem;
}

.company-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.company-copy,
.contact-copy {
  position: sticky;
  top: 105px;
}

.facts { padding: 0 1.15rem 1.15rem; box-shadow: none; }

.facts div {
  grid-template-columns: 210px 1fr;
  gap: 1rem;
}

.contact-section { border-top: 1px solid var(--line); }

.contact-lines a {
  display: inline-flex;
  padding: 0.68rem 0.78rem;
  background: rgba(18, 53, 47, 0.08);
  border-radius: var(--radius);
  overflow-wrap: anywhere;
}

.contact-form { padding: 1.15rem; }

.contact-form label { display: block; margin-bottom: 1rem; }

.contact-form span {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(24, 35, 31, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0.86rem 0.92rem;
  color: var(--ink);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(199, 111, 26, 0.22);
  border-color: var(--saffron);
}

textarea { resize: vertical; }
.contact-form .button { width: 100%; }

.form-note {
  min-height: 1.4rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  width: min(100% - 2.4rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p { margin-bottom: 0; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero-layout,
  .company-section,
  .contact-section { grid-template-columns: 1fr; }
  .company-card { max-width: 620px; }
  .service-item { grid-template-columns: 44px 1fr; }
  .service-item ul { grid-column: 2; }
  .scope-grid,
  .process-list { grid-template-columns: 1fr 1fr; }
  .company-copy,
  .contact-copy { position: static; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }

  .nav-links {
    position: fixed;
    inset: 72px 1rem auto 1rem;
    display: grid;
    gap: 0.35rem;
    padding: 0.8rem;
    background: var(--paper-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .brand small { display: none; }
  .hero { padding-top: 2.4rem; }
  h1 { font-size: clamp(2.55rem, 14vw, 4.2rem); }
  h2 { font-size: clamp(2rem, 9vw, 3rem); }

  .hero-actions,
  .hero-actions .button,
  .contact-lines,
  .contact-lines a { width: 100%; }

  .notice-strip,
  .service-item,
  .scope-grid,
  .process-list,
  .facts div { display: grid; grid-template-columns: 1fr; }

  .service-item { gap: 0.65rem; }
  .service-item ul { grid-column: auto; }
  .process-list li { min-height: auto; }
  .facts { padding-top: 0.2rem; }
  .facts div { gap: 0.35rem; }

  .site-footer { display: block; }
  .site-footer a { display: inline-block; margin-top: 0.7rem; overflow-wrap: anywhere; }
}

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

  .reveal { opacity: 1; transform: none; }
}
