/* ---------------------------------------------------------------------------
   wehumanhuman — marketing pages (shop / blog / manifesto)
   Black & white typography, highlighter-pen accents. Tokens in tokens.css.
   --------------------------------------------------------------------------- */

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 80px;
}

.wm { font-size: 1.25rem; }

/* --- nav --------------------------------------------------------------------- */

.site-nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.site-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  font-family: var(--sans);
  font-size: 0.85rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.site-nav a:hover { border-bottom-color: var(--ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--marker); font-weight: 600; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

/* --- typography ---------------------------------------------------------------- */

h1 {
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

h2 { font-size: 1.5rem; font-weight: 700; margin: 48px 0 12px; }

p { margin-bottom: 16px; }

.lede { font-size: 1.2rem; font-style: italic; color: var(--grey); margin-bottom: 40px; }

.kicker {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  display: block;
  margin-bottom: 12px;
}

a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.muted { color: var(--grey); }
.small { font-size: 0.85rem; font-family: var(--sans); }

/* --- manifesto numbered sections -------------------------------------------------- */

.clause {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.clause-num {
  font-style: italic;
  font-size: 1.6rem;
  color: var(--grey);
}

.clause h2 { margin: 0 0 8px; font-size: 1.25rem; }
.clause p:last-child { margin-bottom: 0; }

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

.btn {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: var(--paper); color: var(--ink); }
.btn:disabled {
  border-color: var(--line);
  color: var(--ink-45);
  background: var(--soft);
  cursor: default;
}

/* --- shop / drops --------------------------------------------------------------------- */

.drop-hero {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--sans);
}

.drop-live {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.drop-live::before {
  content: "●";
  color: var(--ink);
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.countdown { font-family: var(--serif); font-style: italic; font-size: 1.3rem; white-space: nowrap; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.product {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product.gone { border-color: var(--line); }
.product.gone .product-preview { border-color: var(--line); color: var(--ink-45); }

.product-preview {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border-bottom: 2px solid var(--ink);
}

.product-quote { font-style: italic; font-size: 1.05rem; line-height: 1.4; }

.product-meta {
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-meta .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.product-meta .btn { margin-top: auto; }

.stock { color: var(--grey); font-size: 0.75rem; }
.stock.low { color: var(--ink); font-weight: 600; }

.cart-bar[hidden] { display: none; }

.cart-bar {
  position: sticky;
  bottom: 16px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 0.9rem;
}

.demo-note {
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 0.85rem;
}

.drop-sealed {
  display: flex; align-items: center; gap: 16px;
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  padding: 18px; margin-top: 8px;
}
.drop-sealed-mark {
  width: 56px; height: 56px; flex-shrink: 0;
  border: 2px solid var(--ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.8rem; font-style: italic;
}
.drop-perks {
  list-style: none; padding: 0; margin: 8px 0 16px;
  font-family: var(--sans); font-size: 0.9rem;
}
.drop-perks li { padding: 8px 0 8px 22px; position: relative; border-top: 1px solid var(--line); }
.drop-perks li::before { content: "✶"; position: absolute; left: 0; color: var(--ink); }

.notify {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.notify input {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.9rem;
}

/* --- blog -------------------------------------------------------------------------------- */

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 8px;
  font-family: var(--sans);
}

.filter-chip {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-70);
  cursor: pointer;
}

.filter-chip:hover { border-color: var(--ink); }
.filter-chip[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--marker-soft);
  color: var(--ink);
}

.post { padding: 32px 0; border-top: 1px solid var(--line); position: relative; }
.post[hidden] { display: none; }
.post h2 { margin: 6px 0 10px; font-weight: 700; font-size: 1.4rem; }
.post-date { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--grey); }
.post-toggle {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  background: none; border: none; color: var(--ink); cursor: pointer;
  padding: 0; margin-bottom: 8px;
  text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 3px; text-underline-offset: 3px;
}
.post-toggle:hover { color: var(--grey); }

.post-type {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--marker-soft);
  margin-right: 8px;
}

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

.site-footer {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--grey);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer a { color: var(--ink); }

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