/* EarthArtEther: quiet paper, soft greens, room to breathe. */
@font-face { font-family: "Fraunces"; src: url(/fonts/Fraunces.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/fonts/Fraunces-Italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url(/fonts/NotoSans-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url(/fonts/NotoSans-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url(/fonts/NotoSans-Italic.woff2) format("woff2"); font-style: italic; font-display: swap; }

:root {
  --paper: #F7F1E3; --paper-2: #EFE7D4; --card: #FFFCF4; --line: #E2D7BF;
  --ink: #2B2118; --ink-2: #5A4A3B; --soft: #7A6A58;
  --moss: #2F5A2E; --moss-2: #3F7340; --sage: #8DB36A; --mist: #E3EDE1; --sky: #DCEAE2;
  --clay: #B5523B; --clay-2: #9C4330; --sun: #E9B54A;
  --shadow: 0 1px 2px rgba(59, 42, 26, .06), 0 10px 30px rgba(59, 42, 26, .08);
  --shadow-lift: 0 2px 4px rgba(59, 42, 26, .08), 0 18px 44px rgba(59, 42, 26, .14);
  --radius: 22px; --max: 1160px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171E18; --paper-2: #1D261E; --card: #222C23; --line: #33402F;
    --ink: #EEE7D6; --ink-2: #CFC6B2; --soft: #A89F8B;
    --moss: #A9CC86; --moss-2: #BFDC9E; --sage: #7FA65A; --mist: #223024; --sky: #1F2B26;
    --clay: #E6907A; --clay-2: #F0A893; --sun: #E9B54A;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.28);
    --shadow-lift: 0 2px 4px rgba(0,0,0,.35), 0 18px 44px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.7 var(--sans); overflow-x: hidden;
  /* faint paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.23 0 0 0 0 0.16 0 0 0 0 0.1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--moss); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 520; font-variation-settings: "opsz" 144, "SOFT" 100; color: var(--moss); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.kicker { font: 700 .74rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--clay); margin-bottom: .9rem; }
.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 640px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--moss); font: 560 1.35rem/1 var(--serif); font-variation-settings: "opsz" 144, "SOFT" 100; }
.brand img { width: 38px; height: 38px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--moss); border-bottom-color: var(--sage); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; color: var(--ink); font: inherit; font-size: .9rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: var(--moss); color: var(--paper); text-decoration: none; font: 700 .98rem/1 var(--sans); letter-spacing: .01em; border: 0; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; box-shadow: var(--shadow); }
.btn:hover { color: var(--paper); background: var(--moss-2); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn.ghost { background: transparent; color: var(--moss); border: 1.5px solid currentColor; box-shadow: none; }
.btn.ghost:hover { background: var(--mist); color: var(--moss); }
.btn.clay { background: var(--clay); }
.btn.clay:hover { background: var(--clay-2); }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* ---------- hero ---------- */
/* Wide screens: headline over open sky, the food forest on the right. Narrower: headline first, scene below. */
.hero { position: relative; overflow: hidden; padding: 0; background: linear-gradient(#DCEAE2, #F6F0E1); }
@media (prefers-color-scheme: dark) { .hero { background: linear-gradient(#1F2B26, #222A20); } .hero .art img { filter: saturate(.85) brightness(.82); } }
.hero .copy { position: relative; z-index: 2; padding: clamp(36px, 5vw, 72px) 0 20px; max-width: 640px; }
.hero .art { position: relative; width: 100%; aspect-ratio: 16 / 10; max-height: 520px; margin-top: -1px; }
@media (max-width: 1199px) { .hero { background: #DCEAE2; } }
.hero .art img { width: 100%; height: 100%; object-fit: cover; object-position: right bottom; }
@media (min-width: 1200px) {
  .hero { min-height: min(calc(100vw / 2.4), 820px); }
  .hero .art { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; }
  .hero .copy { max-width: 520px; padding-top: clamp(64px, 6vw, 110px); }
  .hero .copy::before { content: ""; position: absolute; inset: 30px -60px -40px -80px; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(246, 240, 225, .82), rgba(246, 240, 225, 0)); }
}
.hero h1 { color: var(--moss); }
.hero .lede { color: var(--ink-2); }
@media (prefers-color-scheme: dark) { .hero h1 { color: #EEF3E4; } .hero .lede { color: #DCD5C2; } .hero .copy::before { background: radial-gradient(closest-side, rgba(23, 30, 24, .78), rgba(23, 30, 24, 0)); } }
.float { position: absolute; z-index: 1; width: 34px; opacity: .9; animation: drift 14s ease-in-out infinite; pointer-events: none; }
.float.f2 { width: 26px; animation-duration: 18s; animation-delay: -6s; }
.float.f3 { width: 22px; animation-duration: 22s; animation-delay: -11s; }
@media (max-width: 1199px) { .float { display: none; } }
@keyframes drift { 0%,100% { transform: translate(0,0) rotate(0deg); } 25% { transform: translate(18px,-14px) rotate(6deg); } 50% { transform: translate(34px,4px) rotate(-4deg); } 75% { transform: translate(12px,12px) rotate(3deg); } }

/* ---------- sections ---------- */
section { padding: clamp(64px, 9vw, 120px) 0; }
.band { background: var(--mist); }
.band-2 { background: var(--paper-2); }
.section-head { margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; max-width: 720px; }
.sprig { width: 64px; margin: 0 auto 14px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 28px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; color: inherit; text-decoration: none; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: inherit; }
.card .thumb { aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
a.card:hover .thumb img { transform: scale(1.035); }
.card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 1.28rem; }
.card p { margin: 0; color: var(--ink-2); font-size: .96rem; line-height: 1.6; }
.card .more { margin-top: auto; padding-top: 10px; font: 700 .86rem var(--sans); color: var(--clay); letter-spacing: .02em; }
.tag { display: inline-block; font: 700 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--moss); background: var(--mist); padding: 7px 10px; border-radius: 999px; align-self: flex-start; }
.card.feature { grid-column: span 2; flex-direction: row; }
.card.feature .thumb { flex: 1.25; aspect-ratio: auto; min-height: 340px; }
.card.feature .body { flex: 1; padding: 36px; justify-content: center; }
.card.feature h3 { font-size: 1.9rem; }

/* ---------- steps / ethos ---------- */
.steps { counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.step .icon { width: 56px; height: 56px; margin-bottom: 12px; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.quote { font: italic 400 clamp(1.4rem, 2.6vw, 2rem)/1.45 var(--serif); color: var(--moss); max-width: 820px; margin: 0 auto; text-align: center; }
.quote cite { display: block; margin-top: 18px; font: 700 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--clay); font-style: normal; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 34px; position: relative; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%233F7340' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* ---------- product page ---------- */
.crumbs { font-size: .86rem; color: var(--soft); padding: 22px 0 0; }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: var(--moss); }
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; padding-top: 28px; }
.gallery .main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--card); }
.gallery .main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.gallery .thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--card); }
.gallery .thumbs button[aria-pressed="true"] { border-color: var(--sage); }
.gallery .thumbs img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.buy { position: sticky; top: 96px; }
.buy h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.buy .note { font-size: .88rem; color: var(--soft); margin-top: 14px; }
.desc { margin-top: 10px; }
.desc h2 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin: 2em 0 .7em; }
.desc ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.desc li { margin-bottom: .45em; color: var(--ink-2); }
.desc li::marker { color: var(--sage); }
.desc p { color: var(--ink-2); }

/* ---------- article ---------- */
.article-head { padding: 56px 0 24px; }
.article-head .meta { color: var(--soft); font-size: .9rem; }
.article-hero { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 18px 0 44px; }
.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.prose h3 { margin-top: 1.5em; font-size: 1.3rem; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--clay); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--sage); background: var(--mist); border-radius: 0 16px 16px 0; color: var(--ink-2); }
.prose img { border-radius: 16px; }
.toc { background: var(--card); border-radius: 18px; padding: 20px 26px; box-shadow: var(--shadow); margin-bottom: 36px; font-size: .95rem; }
.toc strong { font: 700 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--clay); }
.toc ol { margin: 10px 0 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }
.cta-box { margin: 48px 0; padding: 34px; border-radius: var(--radius); background: var(--mist); display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: center; }
.cta-box img { border-radius: 12px; box-shadow: var(--shadow); }
.cta-box h3 { margin-bottom: .3em; }
.cta-box p { margin: 0 0 1em; color: var(--ink-2); }

/* ---------- free printables ---------- */
.free { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; background: var(--card); padding: 26px; border-radius: var(--radius); box-shadow: var(--shadow); }
.free + .free { margin-top: 28px; }
.free img { border-radius: 12px; box-shadow: var(--shadow); max-height: 340px; width: 100%; object-fit: contain; background: var(--paper-2); }
.free h2 { font-size: 1.7rem; margin-bottom: .2em; }
.free .for { color: var(--clay); font: 700 .75rem var(--sans); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }

/* ---------- signup ---------- */
.signup { max-width: 640px; margin: 0 auto; text-align: center; }
.signup form { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; justify-content: center; }
.signup input[type=email] { flex: 1 1 260px; padding: 14px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: inherit; }
.signup small { display: block; margin-top: 12px; color: var(--soft); }
.hp { position: absolute; left: -5000px; }

/* ---------- faq ---------- */
details { background: var(--card); border-radius: 18px; padding: 4px 24px; box-shadow: var(--shadow); }
details + details { margin-top: 14px; }
summary { cursor: pointer; padding: 18px 0; font: 520 1.15rem var(--serif); color: var(--moss); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--clay); transition: transform .3s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); }

/* ---------- footer ---------- */
.site-foot { margin-top: 40px; position: relative; }
.site-foot .meadow { height: 130px; overflow: hidden; }
.site-foot .meadow img { width: 100%; height: 130px; object-fit: cover; object-position: center bottom; }
@media (prefers-color-scheme: dark) { .site-foot .meadow img { filter: saturate(.8) brightness(.75); } }
.site-foot .inner { background: #2F5A2E; color: #EAF0DE; padding: 56px 0 40px; }
@media (prefers-color-scheme: dark) { .site-foot .inner { background: #1A2A1B; } }
.site-foot a { color: #F6EFD9; text-decoration: none; }
.site-foot a:hover { color: #F2C46B; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid h4 { color: #F2C46B; font: 700 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.foot-grid p { color: #D6DFC7; font-size: .95rem; }
.foot-brand { font: 560 1.6rem var(--serif); color: #F6EFD9; margin-bottom: 10px; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; color: #B9C6A8; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- gentle reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .card, .card .thumb img { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr; gap: 32px; }
  .buy { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-block; }
  .card.feature { grid-column: auto; flex-direction: column; }
  .card.feature .thumb { min-height: 0; aspect-ratio: 4/3; }
  .card.feature .body { padding: 24px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .hero .art { aspect-ratio: 4 / 3; }
  .free { grid-template-columns: 1fr; padding: 18px; }
  .cta-box { grid-template-columns: 1fr; padding: 24px; }
  .cta-box img { max-width: 160px; }
  .gallery .thumbs { grid-template-columns: repeat(4, 1fr); }
  .gallery .thumbs button:nth-child(n+5) { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn { padding: 13px 22px; }
}
