/* nativesavannah.com: plain CSS, no build step */

:root {
  --bg: #fbfaf7;
  --text: #1f2328;
  --muted: #5b6168;
  --rule: #e4e1da;
  --accent: #2f6f5e;       /* live-oak green */
  --accent-text: #ffffff;
  --ok: #2e9d5b;
  --measure: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15181b;
    --text: #e6e6e3;
    --muted: #a0a6ac;
    --rule: #2b3035;
    --accent: #6fbfa6;
    --accent-text: #0f1a16;
    --ok: #4cc27d;
  }
}

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

html { font-size: 112.5%; } /* 18px base */

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

main, footer {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.25rem;
}

main { padding-top: 4rem; }

h1, h2, h3, .status, .button, dt, footer {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 0.25rem 0 1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

section {
  border-top: 1px solid var(--rule);
  padding: 2rem 0;
}

a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* Intro */
.intro { padding-bottom: 2.5rem; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent);
}

.lede {
  font-size: 1.2rem;
  margin: 0 0 1.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.button {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
}

/* Quick facts */
.facts {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.4rem 1rem;
  margin: 0;
}

.facts dt {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  padding-top: 0.1rem;
}

.facts dd { margin: 0; }

@media (max-width: 30rem) {
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: 0.6rem; }
}

/* Work + lists */
.work, .plain {
  list-style: none;
  padding: 0;
  margin: 0;
}

.work li + li { margin-top: 1.25rem; }
.work p { margin: 0; }

.plain li {
  padding-left: 1.1rem;
  position: relative;
}

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

.plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.4rem;
  height: 2px;
  background: var(--accent);
}

/* Contact + footer */
.contact p:last-child { font-size: 1.15rem; }

footer {
  /* rule drawn inside the padding so it lines up with section rules */
  background: linear-gradient(var(--rule), var(--rule)) center top / calc(100% - 2.5rem) 1px no-repeat;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  font-size: 0.85rem;
  color: var(--muted);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

footer p { margin: 0; }

@media print {
  .cta-row, .status { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
