/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Variables */
:root {
  --bg: #F7F4EF;
  --text: #1A1A1A;
  --muted: #6B6B6B;
  --green: #2D6A4F;
  --green-light: #40916C;
  --border: #E0DDD8;
  --card-bg: #FFFFFF;
}

/* Base */
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
nav {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-name {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}

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

/* Hero */
.hero {
  padding: 80px 0 64px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

/* Substack embed */
.substack-embed {
  max-width: 480px;
  margin-top: 8px;
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* Cards section */
.cards-section {
  padding: 64px 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.card:hover {
  border-color: var(--green);
  box-shadow: 0 2px 12px rgba(45, 106, 79, 0.08);
}

.card-text h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.card-text p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.card-arrow {
  color: var(--green);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.card-static {
  cursor: default;
}

.card-static:hover {
  border-color: var(--border);
  box-shadow: none;
}

.card-inactive {
  opacity: 0.6;
  cursor: default;
}

.card-inactive:hover {
  border-color: var(--border);
  box-shadow: none;
}

.card-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: middle;
}

/* Hero identity block */
.hero-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
}

.hero-identity-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-identity-links a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

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

/* About section */
.about-section {
  padding: 0 0 80px;
}

.about-section p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-section p:last-child { margin-bottom: 0; }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 520px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.label-optional {
  font-weight: 400;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card-bg);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: #ABABAB; }

.btn-submit {
  padding: 13px 28px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.15s;
}

.btn-submit:hover { background: var(--green-light); }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

/* Mobile */
@media (max-width: 600px) {
  .hero { padding: 56px 0 48px; }

  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-form input,
  .btn-primary {
    width: 100%;
    text-align: center;
  }

  .card { padding: 22px 20px; }

  footer .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
