/* /manifesto/ only. Every rule is scoped to body.manifesto-page so no other page changes.
   Look: the Oakvale newsletter look — cream paper, gold oak leaf, green-to-gold masthead,
   Chakra Petch display, JetBrains Mono labels, Manrope for long-form reading.
   Fonts are self-hosted OFL subsets; see assets/fonts/*-OFL.txt. */
@font-face{font-family:'Chakra Petch';src:url('/assets/fonts/chakra-petch-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Chakra Petch';src:url('/assets/fonts/chakra-petch-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('/assets/fonts/jetbrains-mono-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}

.manifesto-page{
  --mf-page:#f3eee3; --mf-paper:#fcf8ef; --mf-panel:#efe8d8; --mf-line:#e2dbcb;
  --mf-ink:#1e2622; --mf-text:#333a35; --mf-soft:#5d5a50;
  --mf-gold-text:#765a23; /* 6.1:1 on paper, used for gold text */
  --mf-gold:#b3924a;      /* decorative marks only */
  --mf-green:#203c2e; --mf-green-deep:#1b2a23;
  --mf-display:'Chakra Petch', Manrope, Arial, sans-serif;
  --mf-mono:'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --mf-body:Manrope, Arial, Helvetica, sans-serif;
  background:var(--mf-page);
}
.manifesto-page main{padding:clamp(0px,3vw,48px) clamp(0px,3vw,40px) clamp(48px,6vw,96px);overflow-x:clip}
.manifesto-page main>*{max-width:1120px;margin-inline:auto}

/* Masthead */
.manifesto-page .mf-hero{background:var(--mf-paper);border:1px solid var(--mf-line);border-bottom:0;padding:clamp(14px,2.4vw,28px)}
.manifesto-page .mf-hero-band{position:relative;isolation:isolate;overflow:hidden;border-radius:8px;color:var(--mf-paper);
  min-height:clamp(340px,42vw,520px);display:flex;flex-direction:column;justify-content:flex-end;gap:clamp(18px,2.4vw,28px);
  padding:clamp(24px,5vw,64px);
  background:
    radial-gradient(120% 90% at 100% 100%,rgba(232,206,140,.95) 0%,rgba(190,152,74,.82) 22%,rgba(120,104,58,.55) 44%,rgba(40,56,46,0) 70%),
    radial-gradient(80% 70% at 0% 0%,rgba(16,24,20,.9) 0%,rgba(16,24,20,0) 65%),
    linear-gradient(150deg,#1d2621 0%,#27352d 38%,#3d4a38 62%,#8a7440 86%,#c9a65c 100%)}
.manifesto-page .mf-hero-band::after{content:'';position:absolute;z-index:-1;right:-4%;top:-10%;width:min(58%,560px);aspect-ratio:131/87;
  background:var(--mf-paper);opacity:.07;transform:rotate(-14deg);
  -webkit-mask:url('/assets/oakvale-leaf.svg') center/contain no-repeat;mask:url('/assets/oakvale-leaf.svg') center/contain no-repeat}
.manifesto-page .mf-wordmark{position:absolute;top:clamp(22px,4vw,48px);left:clamp(24px,5vw,64px);display:flex;align-items:center;gap:12px;
  font-family:var(--mf-display);font-weight:600;font-size:clamp(14px,1.5vw,18px);letter-spacing:.16em;text-transform:uppercase;color:var(--mf-paper)}
.manifesto-page .mf-leaf,.manifesto-page .mf-ending-leaf{display:inline-block;width:34px;height:23px;background:#d8b871;
  -webkit-mask:url('/assets/oakvale-leaf.svg') center/contain no-repeat;mask:url('/assets/oakvale-leaf.svg') center/contain no-repeat}
.manifesto-page .mf-kicker{align-self:flex-start;display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 12px;background:var(--mf-paper);color:var(--mf-ink);
  border-radius:999px;padding:9px 20px;font-family:var(--mf-display);font-weight:600;font-size:clamp(14px,1.4vw,17px);line-height:1.2}
.manifesto-page .mf-kicker-tag{color:var(--mf-gold-text)}
.manifesto-page .mf-kicker-dot{color:var(--mf-gold)}
.manifesto-page .mf-hero h1{font-family:var(--mf-display);font-weight:700;font-size:clamp(36px,6.2vw,80px);line-height:1.02;letter-spacing:-.02em;
  color:var(--mf-paper);max-width:15ch;text-wrap:balance;overflow-wrap:break-word}
.manifesto-page .mf-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;padding:clamp(22px,3vw,32px) clamp(10px,3.4vw,36px) 0}

/* Buttons and links */
.manifesto-page .mf-download,.manifesto-page .mf-apply{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 22px;border-radius:999px;
  font-family:var(--mf-mono);font-weight:500;font-size:14px;line-height:1.3;text-align:center;transition:background .2s,color .2s,transform .2s}
.manifesto-page .mf-download{background:var(--mf-green-deep);color:var(--mf-paper)}
.manifesto-page .mf-download:hover{background:var(--mf-green)}

.manifesto-page .mf-jump{display:inline-flex;align-items:center;min-height:44px;font-family:var(--mf-mono);font-weight:500;font-size:13px;color:var(--mf-ink);
  text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--mf-gold)}
.manifesto-page .mf-jump:hover{color:var(--mf-gold-text)}

/* Long-form article */
.manifesto-page .mf-article{background:var(--mf-paper);border:1px solid var(--mf-line);border-block:0;padding:clamp(8px,2vw,24px) clamp(22px,6vw,96px) clamp(40px,5vw,64px);
  font-family:var(--mf-body);color:var(--mf-text);font-size:clamp(17px,1.2vw,18.5px);line-height:1.75}
.manifesto-page .mf-section{max-width:70ch;margin-inline:auto;padding-top:clamp(40px,5.5vw,72px)}
.manifesto-page .mf-section+.mf-section{border-top:1px solid var(--mf-line);margin-top:clamp(40px,5.5vw,72px)}
.manifesto-page .mf-section h2{position:relative;font-family:var(--mf-display);font-weight:700;font-size:clamp(30px,3.6vw,44px);line-height:1.08;letter-spacing:-.015em;
  color:var(--mf-ink);margin:0 0 .75em;padding-top:40px;text-wrap:balance}
.manifesto-page .mf-section h2::before{content:'';position:absolute;left:0;top:0;width:34px;height:23px;background:var(--mf-gold);
  -webkit-mask:url('/assets/oakvale-leaf.svg') center/contain no-repeat;mask:url('/assets/oakvale-leaf.svg') center/contain no-repeat}
.manifesto-page .mf-article p{margin:0 0 1.15em;font-weight:500}
.manifesto-page .mf-article strong{color:var(--mf-ink);font-weight:750}
.manifesto-page .mf-article em{font-style:italic}
.manifesto-page .mf-article a:not(.mf-cite){color:var(--mf-ink);text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--mf-gold);text-decoration-thickness:1px}
.manifesto-page .mf-article a:not(.mf-cite):hover{color:var(--mf-gold-text)}
.manifesto-page .mf-cite{font-family:var(--mf-mono);font-weight:500;font-size:.72em;color:var(--mf-gold-text);padding:0 .1em;white-space:nowrap;text-decoration:none;vertical-align:.18em}
.manifesto-page .mf-cite:hover,.manifesto-page .mf-cite:focus-visible{text-decoration:underline;text-underline-offset:3px}
.manifesto-page .mf-sources li:target{background:var(--mf-panel);outline:2px solid var(--mf-gold);outline-offset:6px;border-radius:2px}

.manifesto-page .mf-list{list-style:none;margin:0 0 1.4em;padding:0;display:grid;gap:.7em}
.manifesto-page .mf-list>li{position:relative;padding-left:34px}
.manifesto-page .mf-list>li::before{content:'';position:absolute;left:0;top:.5em;width:20px;height:14px;color:var(--mf-gold);background:currentColor}

.manifesto-page .mf-quote{margin:clamp(28px,4vw,44px) 0;padding:clamp(22px,3vw,32px) clamp(22px,3vw,36px);background:var(--mf-panel);border-left:4px solid var(--mf-gold);border-radius:0 8px 8px 0}
.manifesto-page .mf-quote blockquote{margin:0}
.manifesto-page .mf-quote blockquote p{margin:0;font-family:var(--mf-display);font-weight:600;font-size:clamp(21px,2.1vw,27px);line-height:1.3;color:var(--mf-ink);letter-spacing:-.005em}
.manifesto-page .mf-quote figcaption{margin-top:14px;font-family:var(--mf-mono);font-weight:500;font-size:13px;line-height:1.5;color:var(--mf-gold-text)}
.manifesto-page .mf-statement{background:var(--mf-green);border-left-color:#d8b871}
.manifesto-page .mf-statement blockquote p{color:var(--mf-paper);font-weight:700;font-size:clamp(24px,2.8vw,34px);line-height:1.2}

/* Sources */
.manifesto-page .mf-sources h2{font-size:clamp(26px,3vw,34px)}
.manifesto-page .mf-source-list{margin:0 0 1.6em;padding-left:2.2em;font-size:15px;line-height:1.65;display:grid;gap:.85em}
.manifesto-page .mf-source-list>li{padding-left:.3em}
.manifesto-page .mf-source-list>li::marker{font-family:var(--mf-mono);font-weight:500;color:var(--mf-gold-text);font-size:.9em}
.manifesto-page .mf-source-links{font-variant-ligatures:none;font-feature-settings:"calt" 0,"liga" 0;font-family:var(--mf-mono);font-weight:500;font-size:13px;overflow-wrap:anywhere;word-break:normal}
.manifesto-page .mf-follow{font-size:16px}

/* Closing band */
.manifesto-page .mf-ending{position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;gap:22px;
  background:var(--mf-green);color:var(--mf-paper);padding:clamp(32px,5vw,64px) clamp(22px,6vw,96px);border-radius:0 0 8px 8px}
.manifesto-page .mf-ending::after{content:'';position:absolute;z-index:-1;right:-6%;bottom:-24%;width:min(60%,520px);aspect-ratio:131/87;background:var(--mf-paper);opacity:.06;transform:rotate(12deg);
  -webkit-mask:url('/assets/oakvale-leaf.svg') center/contain no-repeat;mask:url('/assets/oakvale-leaf.svg') center/contain no-repeat}
.manifesto-page .mf-ending-actions{display:flex;flex-wrap:wrap;gap:14px}
.manifesto-page .mf-ending .mf-download{background:var(--mf-paper);color:var(--mf-ink)}
.manifesto-page .mf-ending .mf-download:hover{background:#fff}
.manifesto-page .mf-apply{background:#cde5b9;color:var(--mf-green)}
.manifesto-page .mf-apply:hover{background:#e6f3db}
.manifesto-page .mf-download:focus-visible,.manifesto-page .mf-apply:focus-visible{outline:3px solid var(--mf-gold);outline-offset:4px}

@media (max-width:640px){
  .manifesto-page main{padding:0 0 56px}
  .manifesto-page .mf-hero{border:0;padding:12px}
  .manifesto-page .mf-hero-band{min-height:380px;border-radius:6px}
  .manifesto-page .mf-hero-actions{padding:20px 8px 0}
  .manifesto-page .mf-hero-actions .mf-download{width:100%}
  .manifesto-page .mf-article{border:0;padding:4px 22px 40px}
  .manifesto-page .mf-quote{margin-inline:-6px}
  .manifesto-page .mf-source-list{padding-left:1.8em}
  .manifesto-page .mf-ending{border-radius:0}
  .manifesto-page .mf-ending-actions,.manifesto-page .mf-ending-actions a{width:100%}
}
@media (max-width:360px){
  .manifesto-page .mf-hero-band{padding:22px 18px;min-height:360px}
  .manifesto-page .mf-wordmark{left:18px;letter-spacing:.12em}
  .manifesto-page .mf-kicker{padding:8px 14px}
  .manifesto-page .mf-article{padding-inline:18px}
}
@media (prefers-reduced-motion:reduce){
  .manifesto-page .mf-download,.manifesto-page .mf-apply,.manifesto-page .mf-jump{transition:none}
}
html.reduce-motion .manifesto-page .mf-download,html.reduce-motion .manifesto-page .mf-apply{transition:none}

/* Print and PDF (scripts/build-manifesto-pdf.mjs): A4, cream paper, no site chrome. */
@media print{
  @page{size:A4}
  html,body.manifesto-page{background:var(--mf-paper)!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .manifesto-page *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .manifesto-page .site-header,.manifesto-page [data-site-footer],.manifesto-page .site-footer,.manifesto-page .skip-link,.manifesto-page .menu-overlay,
  .manifesto-page .guide-launch,.manifesto-page .guide-panel,.manifesto-page .mf-hero-actions,.manifesto-page .mf-ending{display:none!important}
  .manifesto-page main{padding:0;overflow:visible}
  .manifesto-page main>*{max-width:none}
  .manifesto-page .mf-hero{border:0;padding:0 0 4mm}
  .manifesto-page .mf-hero-band{border-radius:0;min-height:118mm;padding:16mm 18mm 14mm;background:linear-gradient(150deg,#1b2420 0%,#26332b 40%,#4a5139 64%,#9c8146 86%,#d2b06a 100%)}
  .manifesto-page .mf-hero-band::after{display:none}
  .manifesto-page .mf-wordmark{top:14mm;left:18mm}
  .manifesto-page .mf-hero h1{font-size:46pt}
  .manifesto-page .mf-article{border:0;padding:0 20mm;font-size:11pt;line-height:1.62}
  .manifesto-page .mf-section{max-width:none;padding-top:8mm}
  .manifesto-page .mf-section+.mf-section{margin-top:8mm}
  .manifesto-page .mf-section h2{font-size:22pt;padding-top:11mm;break-after:avoid;page-break-after:avoid}
  .manifesto-page .mf-section h2::before{-webkit-mask:none;mask:none;width:28px;height:2px;top:4mm;background:var(--mf-gold)}
  .manifesto-page .mf-list>li::before{-webkit-mask:none;mask:none;width:7px;height:7px;border-radius:50%;top:.62em;left:6px}
  .manifesto-page .mf-quote,.manifesto-page .mf-list>li,.manifesto-page .mf-source-list>li{break-inside:avoid;page-break-inside:avoid}
  .manifesto-page .mf-quote blockquote p{font-size:15pt}
  .manifesto-page .mf-statement blockquote p{font-size:18pt}
  .manifesto-page .mf-source-list{font-size:9pt;line-height:1.45;gap:.45em;margin-bottom:5mm}
  .manifesto-page .mf-follow{font-size:10pt;margin:0;break-before:avoid;page-break-before:avoid}
  .manifesto-page .mf-source-links{font-size:8pt}
  .manifesto-page .mf-cite{color:var(--mf-gold-text)}
  .manifesto-page p{orphans:3;widows:3}
}
