/* The Canopy Journal — canopy cross-section visual: layered strata, leaf-vein rules,
   deep canopy green, serif type. Rectangle edges only (no rounded corners). */
:root {
  --bg: #eef3ec;
  --accent: #2f6b3a;
  --ink: #24352a;
  --card: #f8fbf6;
  --band: #e9f1e6;
  --line: #c9d8c4;
  --muted: #5b6b57;
  --vein: rgba(47, 107, 58, .20);
  --con: #2f6b3a;
  --eco: #3f7d57;
  --pol: #6a7a2e;
  --wld: #28706a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: Georgia, "Times New Roman", "Songti SC", "Noto Serif", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
}
.grove { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #1d4a27; text-decoration: underline; }

/* leaf-vein strip motif */
.vein {
  height: 7px;
  background-color: var(--band);
  background-image: repeating-linear-gradient(102deg, transparent 0 8px, var(--vein) 8px 9px);
}

/* header */
.grove-header { background: var(--card); }
.grove-header .vein { border-top: 3px solid var(--accent); }
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px;
}
.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); }
.brand-leaf { width: 44px; height: 44px; flex: 0 0 auto; color: var(--accent); }
.brand-leaf svg { display: block; width: 100%; height: 100%; }
.brand-words { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: .2px; }
.brand-sub { font-size: 11px; letter-spacing: 1.7px; text-transform: uppercase; color: var(--muted); }
.grove-nav { display: flex; gap: 20px; }
.grove-nav a { color: var(--ink); font-size: 15px; padding-bottom: 3px; border-bottom: 2px solid transparent; }
.grove-nav a:hover { border-bottom-color: var(--accent); text-decoration: none; }

/* hero — canopy band */
.hero { position: relative; overflow: hidden; background: var(--card); border-bottom: 1px solid var(--line); }
.hero-inner { position: relative; max-width: 1060px; margin: 0 auto; padding: 58px 22px 50px; }
.hero-kicker { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.hero h1 { font-size: 40px; line-height: 1.1; font-weight: 700; max-width: 760px; margin-bottom: 16px; }
.hero-lede { max-width: 660px; color: var(--muted); font-size: 18px; }
.hero-layers {
  position: absolute; top: 0; bottom: 0; right: 0; width: 34%;
  border-left: 1px solid var(--line);
  background: repeating-linear-gradient(180deg, rgba(47, 107, 58, .085) 0 20px, transparent 20px 44px);
}

/* section labels */
.block-label { font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 18px; }

/* canopy map — category strata diagram */
.canopy-map { padding: 44px 0 6px; }
.stratum-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stratum { display: flex; align-items: center; gap: 18px; background: var(--card); border: 1px solid var(--line); padding: 18px 20px; color: var(--ink); }
.stratum:hover { border-color: var(--cat, var(--accent)); text-decoration: none; }
.layer-stack { flex: 0 0 auto; display: flex; flex-direction: column; gap: 5px; width: 54px; }
.layer-stack i { display: block; height: 6px; background: var(--cat, var(--accent)); }
.layer-stack i:nth-child(1) { width: 100%; }
.layer-stack i:nth-child(2) { width: 76%; opacity: .75; }
.layer-stack i:nth-child(3) { width: 52%; opacity: .5; }
.stratum-name { display: block; font-size: 20px; font-weight: 700; }
.stratum-count { display: block; font-size: 13px; color: var(--muted); }
.c-con { --cat: var(--con); }
.c-eco { --cat: var(--eco); }
.c-pol { --cat: var(--pol); }
.c-wld { --cat: var(--wld); }

/* stand index (grouped listings) */
.stand-index { padding: 34px 0; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.group-head h2 { font-size: 23px; font-weight: 700; }
.group-more { font-size: 14px; white-space: nowrap; }

/* stand card */
.stand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stand-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 11px;
  background: var(--card); border: 1px solid var(--line); padding: 22px 20px 18px; color: var(--ink);
}
.stand-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px;
  background-color: var(--band);
  background-image: repeating-linear-gradient(102deg, transparent 0 8px, var(--vein) 8px 9px);
}
.stand-card:hover { border-color: var(--cat, var(--accent)); text-decoration: none; }
.stand-tag {
  align-self: flex-start; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: var(--cat, var(--accent)); border: 1px solid currentColor; padding: 2px 8px;
}
.stand-title { font-size: 19px; font-weight: 700; line-height: 1.28; }
.stand-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px dashed var(--line); padding-top: 11px; }
.sf { display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; }
.sf b { font-size: 10px; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 3px; }
.stand-desc { font-size: 14px; color: var(--muted); }

/* page head */
.page-head { padding: 42px 0 8px; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.crumb a { color: var(--muted); }
.page-head h1 { font-size: 33px; line-height: 1.18; font-weight: 700; max-width: 830px; }
.page-lede { color: var(--muted); margin-top: 10px; max-width: 700px; }

/* stand record — fact card on entry pages (full-width band) */
.stand-record { background: var(--card); border: 1px solid var(--line); margin-top: 24px; }
.record-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px; border-bottom: 1px solid var(--line);
  background-color: var(--band);
  background-image: repeating-linear-gradient(102deg, transparent 0 8px, var(--vein) 8px 9px);
}
.r-label { font-size: 11px; letter-spacing: 1.7px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.record-cat { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--cat, var(--accent)); border: 1px solid currentColor; padding: 2px 8px; }
.record-fields { display: grid; grid-template-columns: repeat(3, 1fr); }
.field { padding: 15px 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.record-fields .field:nth-child(3n) { border-right: none; }
.field dt { font-size: 10px; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 5px; }
.field dd { font-size: 15px; line-height: 1.5; }
.field ul { list-style: none; }
.field ul li { position: relative; padding-left: 13px; }
.field ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; background: var(--accent); }

/* prose */
.prose { max-width: 840px; padding: 32px 0 46px; }
.sec { margin-bottom: 30px; }
.sec h2 { display: flex; align-items: baseline; gap: 12px; font-size: 22px; font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
.sec-num { flex: 0 0 auto; font-size: 14px; color: var(--accent); font-variant-numeric: tabular-nums; border-bottom: 2px solid var(--accent); }
.prose p { margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }
.related { border-top: 1px solid var(--line); padding-top: 22px; }
.related-list { list-style: none; }
.related-list li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.related-list li:last-child { border-bottom: none; }

/* legal prose */
.legal-prose { max-width: 820px; padding: 8px 0 46px; }
.legal-prose h2 { font-size: 19px; font-weight: 700; margin: 22px 0 8px; }
.legal-prose p { margin-bottom: 12px; }

/* footer */
.grove-footer { background: var(--card); margin-top: 24px; }
.grove-footer .vein { border-bottom: 3px solid var(--accent); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; padding: 30px 22px; }
.footer-brand { flex: 1 1 320px; }
.footer-brand .brand-name { font-size: 18px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-nav a { color: var(--ink); font-size: 14px; }
.copyright { flex: 1 1 100%; font-size: 12px; color: var(--muted); }

@media (max-width: 820px) {
  .stratum-grid, .stand-grid { grid-template-columns: 1fr; }
  .record-fields { grid-template-columns: repeat(2, 1fr); }
  .record-fields .field:nth-child(3n) { border-right: 1px solid var(--line); }
  .record-fields .field:nth-child(2n) { border-right: none; }
  .hero h1 { font-size: 32px; }
  .hero-layers { display: none; }
}
@media (max-width: 560px) {
  .header-row { flex-direction: column; align-items: flex-start; }
  .stand-facts { grid-template-columns: 1fr 1fr; }
  .record-fields { grid-template-columns: 1fr; }
  .record-fields .field { border-right: none; }
  .hero h1 { font-size: 27px; }
  .page-head h1 { font-size: 26px; }
}
