/* Folk and Fauna — generated by loomgen/services/website.py. Edit the template, not this file.
   Colours come from Brand.palette, so a second brand's site is its own colours, never these. */

:root {
  --ground: #282E25;
  --ink: #F2EDE4;
  --accent: #E0866C;
  --muted: #8A9B85;
  --paper: color-mix(in srgb, var(--ground) 88%, #ffffff);
  --hairline: color-mix(in srgb, var(--ink) 22%, transparent);
  /* The banner badge is set in a heavy old-style serif with sturdy bracketed serifs. We hold
     no font file for that face and a hosted webfont would break the privacy page's
     no-third-party-requests claim, so the badge image carries the actual wordmark and this
     stack harmonises with it out of faces the visitor already has. Georgia is the universal
     floor: low contrast and sturdy, like the badge. */
  --shell: 1360px;
  --gutter: clamp(1rem, 2vw, 2rem);
  /* 🔑 Georgia is FIRST on purpose. The badge is Bookman Bold or very near, and the obvious
     stack — leading with "Bookman Old Style", Bookman — measured ABSENT in the browser, so it
     fell through to Iowan Old Style: a light book serif that looks nothing like the banner.
     Rendered side by side against the badge, Georgia Bold is the closest of the faces a
     visitor actually has. ⚠️ A hosted webfont of the real face would break the privacy page's
     no-third-party-requests claim, so the badge carries the exact lettering and this carries
     the rest. */
  --serif: Georgia, "Bookman Old Style", "Iowan Old Style", "Palatino Linotype", Palatino,
           "Book Antiqua", "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ── Masthead ─────────────────────────────────────────────────────────── */
.masthead {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: baseline;
  justify-content: space-between;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0.85rem var(--gutter) 0.75rem;
  border-bottom: 1px solid var(--hairline);
}
.wordmark {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.wordmark-logo {
  display: block;
  height: clamp(46px, 4.5vw, 62px);
  width: auto;
  /* The badge is drawn on its own cream ground; a soft rule keeps it from reading as a
     pasted-on rectangle against the dark page. */
  border-radius: 2px;
}
.wordmark-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.35rem, 1rem + 1.2vw, 1.85rem);
  letter-spacing: 0.005em;
}
.masthead nav { display: flex; gap: 1.5rem; font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase; }
.masthead nav a { text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.masthead nav a:hover { border-bottom-color: var(--accent); }
.nav-etsy { color: var(--accent); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) var(--gutter) clamp(1.25rem, 2vw, 1.75rem);
  text-align: center;
}
.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-line {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.4rem);
  line-height: 1.15;
  margin: 0 auto;
  max-width: 32ch;
  text-wrap: balance;
}
.hero-blurb {
  max-width: 62ch;
  margin: 1rem auto 0;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
}

/* ── Catalogue ────────────────────────────────────────────────────────── */
.catalogue { max-width: var(--shell); margin: 0 auto; padding: 0.25rem var(--gutter) 2.5rem; }
.section-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 1.25rem 0 1.25rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
/* A short flourish beside the label, NOT a full-width divider. `flex: 1` stretched it to
   1233px of hairline against a 187px label once the shell went wide — the rule read as the
   element and the heading as an afterthought. */
.section-head::after {
  content: "";
  flex: 0 0 clamp(48px, 7vw, 150px);
  height: 1px;
  background: var(--hairline);
}

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(1rem, 1.6vw, 1.5rem);
}
.card-link { text-decoration: none; display: block; }
.card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--paper);
  border: 1px solid var(--hairline);
  transition: border-color 140ms ease, transform 140ms ease;
}
.card-link:hover .card-image { border-color: var(--accent); transform: translateY(-2px); }
.card-body { padding: 0.85rem 0.1rem 0; }
.card-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
  margin: 0 0 0.3rem;
}
.card-price { margin: 0; font-size: 0.92rem; color: var(--muted); }
.price-now { color: var(--ink); }
.price-was { margin-left: 0.5rem; opacity: 0.65; }

.catalogue-more { margin: 2rem 0 0; text-align: center; }
.button {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.button:hover { background: var(--accent); color: var(--ground); }

/* ── Long-form pages ──────────────────────────────────────────────────── */
.prose {
  max-width: 86ch;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.25rem) var(--gutter) 2.5rem;
}
.prose h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 0.9rem;
}
.prose h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 1.7rem 0 0.7rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--hairline);
}
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 84%, transparent); }
.prose .lede { font-size: 1.15rem; color: var(--ink); }
.prose .meta { font-size: 0.85rem; color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

/* The processing table on the privacy page. Wide content must scroll inside its own box —
   the page body must never scroll sideways on a phone. */
.purposes-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.purposes {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 34rem;
}
.purposes th, .purposes td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.9rem 0.6rem 0;
  border-bottom: 1px solid var(--hairline);
}
.purposes th {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.purposes td { color: color-mix(in srgb, var(--ink) 84%, transparent); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--hairline);
  max-width: var(--shell);
  margin: 0 auto;
  padding: 1.75rem var(--gutter) 2.25rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}
.footer-tag { font-family: var(--serif); font-style: italic; color: var(--ink); margin: 0 0 1rem; }
.footer-links { margin: 0 0 0.9rem; }
.footer-links a { color: var(--muted); text-underline-offset: 3px; }
.footer-links a:hover { color: var(--accent); }
.footer-fine { margin: 0; font-size: 0.8rem; opacity: 0.75; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
