/* Nature Perfect — shared stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #23291f;
  --ink-soft: #4b5443;
  --paper: #faf7ef;
  --paper-raised: #f1ead9;
  --line: #ddd3ba;
  --forest: #2f4a34;
  --forest-deep: #1d2f21;
  --moss: #6b8c5a;
  --clay: #b1592f;
  --gold: #c69a4a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--forest-deep);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; color: var(--ink-soft); }

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--clay); }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* header */
.site-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--forest-deep);
}

.brand svg { flex: none; }

nav.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

nav.main-nav a {
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.current {
  color: var(--forest-deep);
  border-bottom-color: var(--moss);
}

.nav-toggle { display: none; }

/* hero */
.hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, var(--paper-raised), var(--paper));
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero .wrap { position: relative; z-index: 2; max-width: 760px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 600;
  margin-bottom: 14px;
}

.hero p.lede {
  font-size: 1.14rem;
  max-width: 620px;
}

.hero-motif {
  position: absolute;
  right: -60px;
  top: -40px;
  width: 420px;
  height: 420px;
  opacity: 0.5;
  z-index: 1;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid var(--forest);
  color: var(--forest-deep);
  background: transparent;
}

.btn:hover { background: var(--forest); color: var(--paper); }

.btn.solid {
  background: var(--forest);
  color: var(--paper);
}

.btn.solid:hover { background: var(--forest-deep); color: var(--paper); }

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  max-width: 620px;
  margin: 0 0 36px;
}

.divider {
  width: 100%;
  height: 28px;
  margin: 0;
  display: block;
}

/* grid of cards */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
}

.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 10px;
}

.card h3 { margin-bottom: 10px; }

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

/* plate — photograph frame with caption overlay */
.plate {
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--forest-deep);
}

.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plate figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  color: #fdfaf1;
  font-size: 0.86rem;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
}

/* journal / entries */
.entry {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.entry:last-child { border-bottom: none; }

.entry .meta {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 600;
  margin-bottom: 8px;
}

/* quote / pull */
blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--gold);
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  color: var(--forest-deep);
  font-weight: 500;
}

/* stats row */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.stat .num {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  color: var(--forest-deep);
  font-weight: 600;
}

.stat .label {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* list with leaf marks */
ul.leaf-list { list-style: none; padding: 0; margin: 0 0 1.1em; }
ul.leaf-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
ul.leaf-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--moss);
  border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
}

/* form */
.form-grid { display: grid; gap: 16px; max-width: 480px; }

label { font-size: 0.86rem; font-weight: 600; color: var(--forest-deep); display: block; margin-bottom: 6px; }

input, textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}

textarea { min-height: 130px; resize: vertical; }

/* footer */
footer.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 48px 0 28px;
  margin-top: 40px;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

footer .col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 0 0 12px;
}

footer .col a, footer .col p {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.footer-bottom {
  max-width: 1080px;
  margin: 24px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 760px) {
  .grid, .grid.cols-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  nav.main-nav { display: none; }
}
