:root {
  --bg: #f4f1ea;
  --paper: #fffcf7;
  --ink: #161616;
  --muted: #5c574e;
  --line: rgba(22, 22, 22, 0.14);
  --accent: #1c7a34;
  --header: 4.25rem;
  --content: 68rem;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: Lato, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.75rem;
  z-index: 10;
}

.skip:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header);
  padding: 0.75rem 6vw;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  font-family: Montserrat, Lato, sans-serif;
  font-weight: 600;
}

.brand img {
  width: 48px;
  height: 48px;
  flex: none;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-family: Montserrat, Lato, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-header nav a:hover,
.contact-links a:hover {
  color: var(--accent);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: calc(100svh - var(--header));
  padding: 4.5rem 6vw 5rem;
  background:
    linear-gradient(180deg, rgba(28, 122, 52, 0.08), transparent 28%),
    var(--bg);
}

.hero-mark {
  width: 148px;
  height: 148px;
}

.eyebrow {
  margin: 0.35rem 0 0;
  font-family: Montserrat, Lato, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: Montserrat, Lato, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 7vw, 5.1rem);
  letter-spacing: -0.035em;
}

.tagline {
  margin: 0.35rem 0 0;
  max-width: 28ch;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  line-height: 1.4;
  color: var(--muted);
}

.story,
.team,
footer {
  padding: 4.5rem 6vw;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.story > *,
.team article {
  min-width: 0;
}

.story h2,
.team h2,
footer h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.story h2,
.team h2 {
  position: relative;
  padding-top: 0.85rem;
}

.story h2::before,
.team h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 3px;
  background: var(--accent);
}

.story p,
.team p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.story-figure {
  margin: 0;
}

.story-figure img {
  width: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.team {
  background: var(--bg);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  max-width: var(--content);
}

.team article img {
  width: min(100%, 240px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  border: 4px solid var(--paper);
  box-shadow: 0 10px 30px rgba(22, 22, 22, 0.08);
}

.team h3 {
  font-size: 1.45rem;
  color: var(--ink);
}

.role {
  margin: 0.3rem 0 0.85rem;
  font-family: Montserrat, Lato, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

footer {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: #111111;
  color: #f7f4ee;
}

footer img {
  width: 72px;
  height: 72px;
  flex: none;
}

footer h2 {
  color: #f7f4ee;
}

address {
  font-style: normal;
  color: rgba(247, 244, 238, 0.78);
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0.9rem 0 0;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: #f7f4ee;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
    padding-top: 0.85rem;
    padding-bottom: 0.55rem;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .site-header nav {
    width: 100%;
    gap: 0 1rem;
  }

  .hero {
    min-height: auto;
    padding: 2.75rem 6vw 3.25rem;
  }

  .hero-mark {
    width: 104px;
    height: 104px;
  }

  .story,
  .team,
  footer {
    padding: 3rem 6vw;
  }

  .story,
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .team article img {
    width: min(72vw, 220px);
  }

  footer {
    flex-direction: column;
  }
}
