:root {
  --bg:      #F5F2ED;
  --surface: #EDEBE4;
  --border:  #CCC8BE;
  --ink:     #1A1208;
  --muted:   #7A6E5A;
  --faint:   #A09070;
  --green:   #2B5C28;
  --font:    'Courier New', Courier, 'Lucida Console', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 80px;
}

.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Nav ── */
nav {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 52px;
}

.nav-logo {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  flex-direction: row;
  gap: 24px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.nav-links a:hover { color: var(--green); }

/* ── Hero ── */
.hero {
  margin-bottom: 52px;
}

.hero p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── Section label ── */
.section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--faint);
  margin-bottom: 14px;
}

/* ── Project cards ── */
.projects {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 56px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  text-decoration: none;
  display: block;
  transition: border-color 0.12s, background 0.12s;
}

.project-card:hover {
  border-color: var(--green);
  background: var(--bg);
}

.project-card-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.prompt {
  font-size: 11px;
  color: var(--green);
  flex-shrink: 0;
}

.project-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.project-desc {
  font-size: 12px;
  color: var(--muted);
  padding-left: 17px;
  margin-bottom: 8px;
}

.tags {
  display: flex;
  gap: 6px;
  padding-left: 17px;
}

.tag {
  font-size: 10px;
  color: var(--faint);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1px 5px;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.footer-feedback {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--faint);
}

.email-copy {
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1px dashed var(--border);
  user-select: all;
}

.email-copy:hover { color: var(--green); border-bottom-color: var(--green); }

.footer-copy {
  font-size: 11px;
  color: var(--faint);
  text-align: center;
  white-space: nowrap;
}

.footer-socials {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  align-items: center;
}

.footer-socials a {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
}

.footer-socials a:hover { color: var(--green); }

/* ── Placeholder pages ── */
.placeholder {
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  margin-bottom: 52px;
}

.placeholder h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 8px 0 10px;
}

.placeholder p {
  font-size: 12px;
  color: var(--muted);
}

/* ── Home page ── */
body.home {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

body.home > .container {
  flex-shrink: 0;
}

body.home nav {
  border-bottom: none;
  margin-bottom: 0;
  padding: 24px 0;
}

.monstera-fill {
  flex: 1;
  min-height: 0;
  position: relative;
  background: url('img/monstera.jpg') center / cover no-repeat;
  background-color: #2B5C28;
}

.monstera-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.18;
  mix-blend-mode: overlay;
}

/* ── Responsive ── */
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  footer {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .footer-socials { justify-content: flex-start; }
  .footer-copy { text-align: left; }
}
