:root {
  --eda-primary: #5e8d83;
  --eda-secondary: #86b9b0;
  --eda-accent: #d4a574;
  --eda-text: #1c2b28;
  --eda-muted: #4a5f5a;
  --eda-bg: #f4f8f6;
  --eda-surface: #ffffff;
  --eda-border: #d5e4df;
  --max-width: 40rem;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  color: var(--eda-text);
  background: var(--eda-bg);
}

a {
  color: var(--eda-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover,
a:focus-visible {
  color: var(--eda-accent);
}

a:focus-visible {
  outline: 2px solid var(--eda-secondary);
  outline-offset: 2px;
}

.site-header {
  background: var(--eda-surface);
  border-bottom: 1px solid var(--eda-border);
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.brand:hover,
.brand:focus-visible {
  color: var(--eda-primary);
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  display: block;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-weight: 500;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}

.hero {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-pose {
  width: 7.5rem;
  height: auto;
  flex-shrink: 0;
}

.hero-copy h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  line-height: 1.25;
  color: var(--eda-primary);
}

.hero-copy .lede {
  margin: 0;
  color: var(--eda-muted);
  font-size: 1.05rem;
}

.card-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.card-list a {
  display: block;
  padding: 1rem 1.1rem;
  background: var(--eda-surface);
  border: 1px solid var(--eda-border);
  border-radius: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.card-list a:hover,
.card-list a:focus-visible {
  border-color: var(--eda-secondary);
  box-shadow: 0 0 0 1px var(--eda-secondary);
}

.card-list strong {
  display: block;
  color: var(--eda-primary);
  margin-bottom: 0.2rem;
}

.card-list span {
  color: var(--eda-muted);
  font-size: 0.95rem;
}

.content h2 {
  margin: 1.75rem 0 0.6rem;
  font-size: 1.15rem;
  color: var(--eda-primary);
}

.content p,
.content ul {
  margin: 0 0 0.9rem;
}

.content ul {
  padding-left: 1.2rem;
}

.content li {
  margin-bottom: 0.35rem;
}

.meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--eda-border);
  color: var(--eda-muted);
  font-size: 0.9rem;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  color: var(--eda-muted);
  font-size: 0.85rem;
}

.contact-block {
  background: var(--eda-surface);
  border: 1px solid var(--eda-border);
  border-radius: 0.75rem;
  padding: 1rem 1.1rem;
  margin: 1rem 0 1.25rem;
}

.contact-block a {
  font-weight: 600;
}

@media (max-width: 480px) {
  .hero-pose {
    width: 6rem;
  }
}
