:root {
  --ink: #17201c;
  --muted: #5b665f;
  --line: #dce5df;
  --surface: #ffffff;
  --soft: #f5f7f2;
  --green: #2f6b4f;
  --gold: #d8a23a;
  --blue: #315c86;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--soft);
  color: var(--ink);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.logo {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  transition: color 160ms ease;
}

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

.nav-cta {
  color: var(--green);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 48px;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 56px 0 80px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.panel-label {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--green);
  color: #ffffff;
}

.secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

.profile-panel,
.services article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(23, 32, 28, 0.08);
}

.profile-panel {
  position: relative;
  padding: 34px;
}

.status-dot {
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(216, 162, 58, 0.18);
}

.profile-panel h2 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.profile-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.email-list {
  display: grid;
  gap: 8px;
}

.email-list a {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro p {
  max-width: 860px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.35;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 44px 0 72px;
}

.services article {
  padding: 28px;
}

.services h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.services p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

footer .email-list {
  justify-items: end;
}

footer a {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  footer .email-list {
    justify-items: start;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .profile-panel {
    max-width: 420px;
  }

  .services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .section,
  footer {
    width: min(100% - 28px, 1120px);
  }

  nav {
    gap: 12px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2.2rem, 14vw, 3.8rem);
  }

  .button {
    width: 100%;
  }
}
