:root {
  --bg: #faf8f3;          /* warm cream background */
  --bg-alt: #f1ede3;      /* slightly deeper cream for cards/sections */
  --text: #1b2a23;        /* near-black, slight green cast */
  --text-muted: #5a6b62;
  --accent: #2f6b4f;      /* logo dark green */
  --accent-light: #6fae7e;/* logo lighter green */
  --navy: #1c3b59;        /* logo navy, used for headings/links */
  --border: #ddd6c7;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-width: 720px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 17px;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

/* ---------- Header ---------- */
.identity {
  text-align: center;
  margin-bottom: 56px;
}

.identity .logo {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
}

.identity h1 {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy);
}

.identity .tagline {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Sections ---------- */
section {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

h2 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
}

.prompt {
  color: var(--accent);
  margin-right: 4px;
}

.lede {
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 12px;
}

p {
  margin: 0 0 12px;
}

.mono-inline {
  font-family: var(--font-mono);
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.95em;
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--accent-light);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

.cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 4px;
}

.cta:hover {
  background: var(--navy);
}

.sep {
  margin: 0 10px;
  color: var(--text-muted);
}

.fine {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Background section (photo + text) ---------- */
.background-grid {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.background-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

@media (max-width: 540px) {
  .background-grid {
    flex-direction: column;
  }
  .background-photo {
    width: 100%;
    height: auto;
    max-width: 280px;
  }
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 32px;
}
