/* The Garden — about pages · credit-sheet system
   Token values come from /tokens.css (single source of truth) with literal
   fallbacks; light-surface tokens below are about-pages-only. */
@import url("/tokens.css");

:root {
  --ink: var(--garden-ink, #121212);
  --paper: var(--garden-paper, #F7F7F4);
  --hairline: var(--garden-hairline, #2A2A28);      /* borders on ink */
  --dim: var(--garden-dim, #94948C);
  --muted: var(--garden-muted, #ACACA4);
  --body: var(--garden-body, #C6C6BE);          /* body copy on ink */
  --citron: var(--garden-citron, #D7F25A);
  --rule-light: rgba(18, 18, 18, 0.16);  /* hairline on paper */
  --dim-light: #5C5C57;     /* metadata on paper — AA at 11px+ */
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Grounds */
body.on-paper { background: var(--paper); color: var(--ink); }
body.on-ink   { background: var(--ink);   color: var(--body); }

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4.5vw, 56px) clamp(36px, 5vw, 72px);
}

/* ---------- Masthead ---------- */
.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
}
.wordmark {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.on-ink .wordmark { color: var(--paper); }
.masthead-role {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-light);
}
.on-ink .masthead-role { color: var(--dim); }
.rule-heavy { height: 2px; background: var(--ink); border: none; }
.on-ink .rule-heavy { background: var(--paper); }

/* ---------- Display ---------- */
h1 {
  font-family: "Bricolage Grotesque", "Archivo", sans-serif;
  font-weight: 600;
  font-size: clamp(34px, 5.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: clamp(28px, 4vw, 44px);
  max-width: 20ch;
  text-wrap: balance;
}
.on-ink h1 { color: var(--paper); }
.mark {
  background: var(--citron);
  color: var(--ink);
  padding: 0 0.14em;
}
.on-ink .accent { color: var(--citron); }

.lede {
  margin-top: clamp(18px, 3vw, 26px);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 60ch;
}
.on-ink .lede { color: var(--body); }
.lede strong { font-weight: 600; }

/* ---------- Section label + rule ---------- */
.label-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: clamp(36px, 5vw, 52px) 0 6px;
}
.label-row .sq { width: 9px; height: 9px; background: var(--citron); flex: none; }
.label-row .label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.on-ink .label-row .label { color: var(--paper); }
.label-row .fill { flex: 1; height: 1px; background: var(--rule-light); }
.on-ink .label-row .fill { background: var(--hairline); }

/* ---------- Tier / ledger rows ---------- */
.rows { display: flex; flex-direction: column; }
.row {
  display: grid;
  grid-template-columns: minmax(150px, 250px) minmax(0, 1fr);
  gap: 8px 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-light);
  align-items: baseline;
}
.row-head { display: flex; align-items: baseline; gap: 13px; flex-wrap: wrap; }
.row-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.row-price {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
}
.row-desc { font-size: 17px; line-height: 1.6; color: var(--ink); }
.row-desc strong { font-weight: 600; }

/* ---------- Inverted quote block ---------- */
.quote {
  background: var(--ink);
  border-radius: 10px;
  padding: clamp(24px, 4vw, 36px) clamp(24px, 4.5vw, 40px);
  margin-top: clamp(32px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote p {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 500;
  font-size: clamp(19px, 2.8vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--paper);
  text-wrap: pretty;
}
.quote .credit {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote .credit b { color: var(--citron); font-weight: 500; }

/* ---------- Big statement ---------- */
.statement {
  margin-top: clamp(32px, 5vw, 48px);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ---------- Two-column lists ---------- */
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px 44px;
  margin-top: clamp(24px, 4vw, 36px);
}
.col h3 {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim-light);
  margin-bottom: 12px;
}
.col ul { list-style: none; }
.col li {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
  margin-bottom: 9px;
}
.col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--citron);
}
.col li strong { font-weight: 600; }

/* ---------- CTAs ---------- */
.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: clamp(32px, 5vw, 44px);
}
.btn {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 3px;
  text-decoration: none;
}
.btn-citron { background: var(--citron); color: var(--ink); }
.btn-ghost { border: 1px solid var(--rule-light); color: var(--ink); }
.on-ink .btn-ghost { border-color: var(--hairline); color: var(--body); }

/* ---------- Footer ---------- */
.footer {
  margin-top: clamp(44px, 7vw, 72px);
  padding-top: 16px;
  border-top: 1px solid var(--rule-light);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim-light);
}
.on-ink .footer { border-top-color: var(--hairline); color: var(--dim); }
.footer a { color: inherit; text-decoration: none; }

/* ---------- Hub cards (ink ground) ---------- */
.cards { display: flex; flex-direction: column; margin-top: clamp(30px, 5vw, 44px); }
.card {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr) auto;
  gap: 8px 28px;
  align-items: baseline;
  padding: 24px 4px;
  border-top: 1px solid var(--hairline);
  text-decoration: none;
}
.card:last-child { border-bottom: 1px solid var(--hairline); }
.card:hover { background: rgba(247, 247, 244, 0.03); }
.card-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.card-desc { font-size: 16px; line-height: 1.55; color: var(--body); }
.card-go {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--citron);
  white-space: nowrap;
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .row { grid-template-columns: 1fr; gap: 4px; }
  .card { grid-template-columns: 1fr; gap: 6px; }
  .card-go { justify-self: start; }
}
