/* EEB Group LLC — static one-pager. System fonts only; no tracking scripts. */

:root {
  --paper: #f4f1ea;
  --paper-elev: #fbf9f4;
  --ink: #1b1c19;
  --muted: #5a5c55;
  --line: #d6d0c4;
  --forest: #1b2a28;
  --forest-2: #243734;
  --link: #1b2a28;
  --focus: #8a5a2b;
  --max: 68rem;
  --text: 38rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: var(--link);
  text-underline-offset: 0.14em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 10;
  background: var(--forest);
  color: #fff;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

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

/* Header */

.site-header {
  background: var(--forest);
  color: #f4f1ea;
}

.header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
}

.wordmark {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-contact {
  color: #f4f1ea;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 241, 234, 0.35);
}

.header-contact:hover {
  border-bottom-color: #f4f1ea;
}

/* Hero */

.hero {
  padding: 3.25rem 0 2.75rem;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  margin: 0 0 1.15rem;
  max-width: 20em;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1.4rem;
  max-width: var(--text);
  color: var(--muted);
  font-size: 1.08rem;
}

.cred {
  margin: 0;
  max-width: var(--text);
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.98rem;
}

/* Services */

.services {
  padding: 2.75rem 0 1rem;
}

.services h2,
.contact h2 {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-2);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.service-list li {
  background: var(--paper-elev);
  border: 1px solid var(--line);
  padding: 1.2rem 1.25rem 1.15rem;
}

.service-list h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Contact */

.contact {
  padding: 2.25rem 0 3rem;
}

.contact p {
  margin: 0 0 1.15rem;
  max-width: var(--text);
}

address {
  font-style: normal;
  line-height: 1.55;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.25rem;
}

.fineprint {
  margin: 0 0 0.85rem;
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (min-width: 720px) {
  .service-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .hero {
    padding: 4.25rem 0 3.25rem;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.75rem));
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1rem 0;
  }

  .hero {
    padding: 2.25rem 0 2rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  a {
    transition: text-decoration-thickness 0.15s ease, border-color 0.15s ease;
  }
}
