/* Digital Potager — seed packet theme */

:root {
  --ink: #2e4d33;
  --ink-deep: #213a26;
  --body: #43503f;
  --sage: #a9c7a4;
  --sage-pale: #dde8d9;
  --sage-wash: #eef4ec;
  --paper: #fbf8ee;
  --kraft: #d9b98c;
  --kraft-deep: #c9a06f;
  --cream: #fffdf7;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(46, 77, 51, 0.10);
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, .brand-name {
  font-family: "Nunito", "Inter", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 680px; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #f4efe2;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 30px;
  font-size: 1.05rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(46, 77, 51, 0.25);
}
.btn:hover { background: var(--ink-deep); transform: translateY(-2px); }
.btn-small { padding: 10px 22px; font-size: 0.95rem; box-shadow: none; }
.btn-large { padding: 16px 36px; font-size: 1.1rem; }
.btn-light { background: var(--cream); color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.btn-light:hover { background: #ffffff; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 32px;
  background: rgba(255, 253, 247, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 77, 51, 0.10);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark {
  display: inline-flex;
  background: var(--sage-pale);
  border-radius: 12px;
  padding: 7px;
}
.brand-name { font-size: 1.45rem; font-weight: 900; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--body);
}
.nav-links a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  background-color: var(--sage-pale);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%232e4d33' stroke-opacity='0.14' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M30 110 C30 92, 40 84, 56 84 C56 100, 44 108, 30 110'/%3E%3Cpath d='M104 40 C104 26, 112 20, 124 20 C124 32, 114 38, 104 40'/%3E%3Cpath d='M96 118 C104 112, 106 104, 104 96'/%3E%3C/g%3E%3C/svg%3E");
  padding: 84px 0 96px;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-copy { flex: 1.2; }
.hero-copy h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); font-weight: 900; margin-bottom: 20px; }
.lede { font-size: 1.15rem; max-width: 34rem; margin-bottom: 32px; color: #3c4a38; }
.hero-art { flex: 0.8; display: flex; justify-content: center; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.section-title {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
}

/* ---------- seed packets ---------- */
.packets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.packet {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.packet:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(46,77,51,0.16); }
.packet-fold {
  height: 30px;
  background: linear-gradient(var(--kraft), var(--kraft-deep));
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
  margin: 0 10px;
  border-radius: 4px 4px 0 0;
}
.packet-body {
  margin: 6px 12px 14px;
  border: 2px dashed rgba(46, 77, 51, 0.35);
  border-radius: 12px;
  padding: 26px 18px 30px;
  text-align: center;
  height: calc(100% - 50px);
}
.packet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  background: var(--sage-pale);
  border-radius: 50%;
  margin-bottom: 16px;
}
.packet h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; }
.packet p { font-size: 0.95rem; color: #55624f; }

/* ---------- about ---------- */
.about { background: var(--sage-wash); }
.about p { font-size: 1.12rem; margin-bottom: 18px; color: #3c4a38; }
.about p:last-child { margin-bottom: 0; }

/* ---------- contact ---------- */
.contact { background: var(--ink); }
.contact-page { padding-top: 72px; }
.contact h2, .contact p { color: #f2eee1; }
.contact h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 14px; }
.contact > .wrap > p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.85; }
.contact-alt { margin-top: 22px; font-size: 0.98rem; opacity: 0.8; }
.contact-alt a { color: #f2eee1; font-weight: 600; }

/* ---------- contact form ---------- */
.contact-form { text-align: left; max-width: 560px; margin: 0 auto 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; color: #f2eee1; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink-deep);
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage); }
.field textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { border: none; cursor: pointer; }
.contact-form .btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
.form-note { min-height: 1.6em; margin-top: 14px; font-size: 0.98rem; text-align: center; }
.form-note.success { color: #cfe3c8; font-weight: 600; }
.form-note.error { color: #f3c1a7; font-weight: 600; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--ink-deep); padding: 30px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer p { color: rgba(242, 238, 225, 0.75); font-size: 0.9rem; }
.footer strong { color: #f2eee1; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .packets { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { flex-direction: column; text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-art { order: -1; }
  .hero-art svg { width: 150px; height: auto; }
}
@media (max-width: 600px) {
  .nav { padding: 12px 18px; gap: 16px; }
  .nav-links { display: none; }
  .packets { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
}
