/* =========================================================================
   meadowclub.online — skin "club"

   A naturalists' society rather than a shop: cream stock, gold rules, small
   caps, and a subtle woven texture drawn with repeating gradients so nothing
   has to load. Cards are specimen labels; the collection strip is a set of
   membership badges. Restrained motion, everything on a fine gold hairline.

   HAND-MAINTAINED. The forge never overwrites this file.
   ========================================================================= */

:root {
  --bg: #f7f3e8;
  --bg-deep: #efe9da;
  --surface: #fffdf7;
  --surface-2: #faf6ec;
  --text: #2b2517;
  --muted: #6f6553;
  --indigo: #9a7b2f;
  --indigo-soft: #c9a84c;
  --indigo-deep: #755c20;
  --glow: rgba(154, 123, 47, 0.14);
  --glow-soft: rgba(201, 168, 76, 0.16);
  --line: rgba(43, 37, 23, 0.14);
  --line-strong: rgba(154, 123, 47, 0.45);

  --gold: #c9a84c;
  --ink: #2b2517;

  --r-sm: 2px;
  --r: 4px;
  --r-lg: 6px;

  --shadow-sm: 0 1px 3px rgba(43, 37, 23, 0.06);
  --shadow: 0 6px 18px rgba(43, 37, 23, 0.08);
  --shadow-lift: 0 14px 34px rgba(43, 37, 23, 0.12);

  --grad-wash: none;
}

/* A very faint woven ground, drawn rather than loaded. */
body.style-club {
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(45deg, rgba(43, 37, 23, 0.018) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(-45deg, rgba(43, 37, 23, 0.018) 0 2px, transparent 2px 5px);
  color: var(--text);
  line-height: 1.74;
}

/* ---------- type: small caps and gold rules ------------------------------- */

body.style-club h1,
body.style-club h2,
body.style-club h3 {
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: 1.18;
}

body.style-club h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); }

body.style-club .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--indigo);
  font-weight: 600;
}

body.style-club .lede,
body.style-club .hero-lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  max-width: 56ch;
}

/* The house rule: a short gold line under every section heading. */
body.style-club .band-head h2::after,
body.style-club .sitemap-col h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 2px;
  margin-top: 0.55rem;
  background: var(--gold);
}

/* ---------- header -------------------------------------------------------- */

body.style-club .site-header {
  background: rgba(247, 243, 232, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--gold);
}

body.style-club .brand-name {
  letter-spacing: 0.04em;
  font-weight: 600;
}

body.style-club .brand-name em { font-style: normal; color: var(--indigo); }

body.style-club .brand-dot {
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.25);
}

body.style-club .site-nav a {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

body.style-club .site-nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }

body.style-club .header-search input,
body.style-club .hero-search input {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text);
}

body.style-club .header-search button,
body.style-club .hero-search button {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: var(--r-sm);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- hero: a bordered plate ---------------------------------------- */

body.style-club .hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3.5rem, 9vw, 7rem);
  position: relative;
}

body.style-club .hero::before {
  content: '';
  position: absolute;
  inset: clamp(12px, 2vw, 26px);
  border: 1px solid var(--line-strong);
  pointer-events: none;
  animation: none;
  filter: none;
}

body.style-club .hero::after { display: none; }
body.style-club .hero .shell { position: relative; z-index: 1; }

/* ---------- buttons ------------------------------------------------------- */

body.style-club .btn {
  border-radius: var(--r-sm);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.9rem 1.6rem;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

body.style-club .btn-primary {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}

body.style-club .btn-primary:hover { background: var(--indigo-deep); border-color: var(--indigo-deep); }

body.style-club .btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

body.style-club .btn-ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- cards: specimen labels ---------------------------------------- */

body.style-club .grid { gap: clamp(1.4rem, 2.6vw, 2.2rem); }

body.style-club .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

body.style-club .card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }

body.style-club .card-media { position: relative; padding: 8px 8px 0; }
body.style-club .card img { border-radius: 0; }

body.style-club .card-badge {
  background: var(--surface);
  color: var(--indigo);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 2px 7px;
}

/* The price as a small membership badge, not a sticker. */
body.style-club .card-price {
  position: absolute;
  right: 14px;
  bottom: 6px;
  z-index: 1;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(43, 37, 23, 0.18);
}

/* The label block under the specimen. */
body.style-club .card-body {
  padding: 0.9rem 1rem 1.1rem;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  text-align: center;
}

body.style-club .card-title { font-size: 0.98rem; font-weight: 500; }
body.style-club .card-title a { color: var(--text); }
body.style-club .card-title a:hover { color: var(--indigo-deep); }

body.style-club .card-download {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0;
}

body.style-club .card-download:hover { color: var(--indigo-deep); }

/* ---------- chips --------------------------------------------------------- */

body.style-club .tag-chips a,
body.style-club .tag-index a {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
  padding: 2px 10px;
}

body.style-club .tag-chips a:hover,
body.style-club .tag-index a:hover { border-color: var(--gold); color: var(--indigo-deep); background: rgba(201, 168, 76, 0.12); }

/* ---------- detail + purchase --------------------------------------------- */

body.style-club .detail-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: clamp(10px, 1.6vw, 18px);
  box-shadow: var(--shadow-sm);
}

body.style-club .specs { border-top: 2px solid var(--gold); }

body.style-club .specs > div {
  border-bottom: 1px solid var(--line);
  padding-block: 0.65rem;
}

body.style-club .specs dt {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

body.style-club .purchase {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 1.6rem;
  margin-block: 1.5rem;
  box-shadow: var(--shadow-sm);
}

body.style-club .purchase-price { display: flex; align-items: baseline; gap: 0.6rem; margin: 0 0 1rem; }

body.style-club .purchase-amount {
  font-size: clamp(2.2rem, 4.4vw, 3.1rem);
  font-weight: 500;
  line-height: 1;
  color: var(--indigo-deep);
}

body.style-club .purchase-unit {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

body.style-club .purchase-note { font-size: 0.86rem; color: var(--muted); }

body.style-club .purchase-benefits { list-style: none; margin: 1rem 0 0; padding: 0; }

body.style-club .purchase-benefits li {
  border-top: 1px solid var(--line);
  padding: 0.5rem 0 0.5rem 1.4rem;
  font-size: 0.87rem;
  position: relative;
}

body.style-club .purchase-benefits li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 1rem;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  border-radius: 999px;
}

body.style-club .paypal-modal {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 0;
  max-width: 30rem;
  box-shadow: var(--shadow-lift);
}

body.style-club .paypal-modal::backdrop { background: rgba(43, 37, 23, 0.48); }
body.style-club .paypal-modal-card { padding: 2rem; }
body.style-club .paypal-modal-price { font-size: 2rem; color: var(--indigo-deep); }

/* ---------- collections as membership badges ------------------------------ */

body.style-club .collection-strip,
body.style-club .journal-teasers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.2rem, 2.4vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

body.style-club .collection-strip a {
  display: block;
  text-align: center;
  padding: 1.8rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text);
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

body.style-club .collection-strip a::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--line);
  pointer-events: none;
}

body.style-club .collection-strip a:hover { border-color: var(--gold); box-shadow: var(--shadow); }

body.style-club .collection-name {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

body.style-club .collection-price {
  display: block;
  font-size: 1.9rem;
  color: var(--indigo-deep);
  margin-top: 0.4rem;
}

body.style-club .collection-count { display: block; font-size: 0.78rem; color: var(--muted); }

/* ---------- journal ------------------------------------------------------- */

body.style-club .journal-teaser article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 1.4rem;
  height: 100%;
}

body.style-club .journal-date {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
  font-weight: 600;
  margin: 0 0 0.45rem;
}

body.style-club .journal-teaser h3,
body.style-club .journal-item h2 { font-size: 1.18rem; font-weight: 500; margin: 0 0 0.4rem; }
body.style-club .journal-teaser h3 a,
body.style-club .journal-item h2 a { color: var(--text); }
body.style-club .journal-teaser h3 a:hover,
body.style-club .journal-item h2 a:hover { color: var(--indigo-deep); }

body.style-club .journal-list { list-style: none; padding: 0; margin: 0; max-width: 46rem; }
body.style-club .journal-item article { border-bottom: 1px solid var(--line); padding-block: 1.6rem; }
body.style-club .journal-article { max-width: 40rem; margin-inline: auto; }
body.style-club .journal-article h2 { font-size: 1.32rem; margin-top: 2.2rem; }

body.style-club .journal-cta {
  background: var(--bg-deep);
  border-left: 3px solid var(--gold);
  padding: 1.3rem 1.5rem;
  margin-top: 2.4rem;
}

body.style-club .journal-siblings {
  max-width: 40rem;
  margin: 2.2rem auto 0;
  border-top: 2px solid var(--gold);
  padding-top: 1.1rem;
}

body.style-club .journal-siblings ul { list-style: none; padding: 0; margin: 0; }
body.style-club .journal-siblings li { padding-block: 0.35rem; }

/* ---------- sitemap ------------------------------------------------------- */

body.style-club .sitemap-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

body.style-club .sitemap-col-wide { grid-column: 1 / -1; }

body.style-club .sitemap-col h2 {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 0 0 0.5rem;
}

body.style-club .sitemap-col ul { list-style: none; padding: 0; margin: 0.4rem 0 0; }
body.style-club .sitemap-col-wide ul { columns: 3 14rem; column-gap: 2rem; }
body.style-club .sitemap-col li { padding-block: 0.22rem; font-size: 0.9rem; break-inside: avoid; }

/* ---------- footer -------------------------------------------------------- */

body.style-club .site-footer {
  background: var(--bg-deep);
  border-top: 2px solid var(--gold);
  color: var(--muted);
}

body.style-club .footer-cols span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
}

body.style-club .footer-cols a { color: var(--muted); font-size: 0.9rem; }
body.style-club .footer-cols a:hover { color: var(--indigo-deep); }
body.style-club .footer-base { border-top: 1px solid var(--line); font-size: 0.8rem; }
