:root {
  --bg: #f3eee1; --surface: #e6decb; --ink: #283947; --muted: #546272;
  --rule: #9c9e94; --input-border: #667780; --accent: #974021; --button-ink: #fffaf0;
  --display: "Zen Kaku Gothic New", sans-serif; --body: "Zen Kaku Gothic New", sans-serif;
  --label: var(--body); --weight: 400; --gutter: clamp(1.2rem, 5vw, 5rem);
}
.mast { grid-template-columns: auto 1fr auto; border-bottom: 1px solid var(--rule); }
.mast nav { justify-content: center; }
.wordmark { text-decoration: none; display: flex; gap: .6rem; align-items: center; font-size: 1.4rem; }
.rag-fold { display: inline-block; width: 1.4rem; height: 1.5rem; background: linear-gradient(135deg, #1d3b55 0 60%, #c35b39 60%); clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%); }
.wrap { max-width: 84rem; padding-inline: var(--gutter); }
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; padding-block: 4rem; align-items: center; }
.hero h1 { font-size: clamp(3rem, 5.3vw, 5.4rem); line-height: 1.15; margin-block: 1.4rem; max-width: 18ch; }
.folded-source { width: 100%; aspect-ratio: 1; background: conic-gradient(from 45deg, #e1d4b8 0 90deg, #b4c3c4 90deg 180deg, #d6a692 180deg 270deg, #f8f2e5 270deg); clip-path: polygon(0 15%, 65% 0, 100% 30%, 85% 100%, 15% 85%); box-shadow: inset 0 0 0 2rem #f7f0e342; }
.band { padding-block: 3rem; border-top: 1px solid var(--rule); }
.band > h2 { font-size: clamp(2rem, 3.7vw, 3.3rem); line-height: 1.2; margin-bottom: 1.3rem; max-width: 24ch; }
.entries { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.entry :is(h2,h3) { font-size: 1.6rem; line-height: 1.2; margin-bottom: 1rem; }
.example { margin-right: 15%; padding-inline-start: 1.5rem; border-left: 3px solid var(--accent); }
.featured { margin-left: 15%; background: #e6decb75; padding: 2rem; }
.deliverable { max-width: 58rem; }
.blog .editorial-head { padding-block: 3rem; text-align: center; }
.blog .editorial-head h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); line-height: 1.2; }
.blog-index { padding-bottom: 4rem; max-width: 64rem; margin-inline: auto; }
.dispatch { padding: 2rem; margin-bottom: 1.5rem; background: #faf6ea; border-inline-start: .4rem solid #344d60; }
.dispatch:nth-child(2) { border-color: var(--accent); margin-left: 2rem; }
.dispatch:nth-child(3) { margin-left: 4rem; }
.dispatch h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.3; margin-bottom: 1rem; }
.reading { max-width: 64rem; margin-inline: auto; padding-block: 3rem; }
.article .editorial-head { padding-bottom: 2rem; }
.article .editorial-head h1 { font-size: clamp(2.5rem, 4vw, 3.8rem); line-height: 1.2; margin-block: 1.5rem; }
.article-intro { max-width: 68ch; }
.article-body { max-width: 69ch; margin-inline: auto; padding-block: 1rem 3rem; }
.article-body section { margin-top: 2.5rem; }
.article-body h2 { font-size: 1.9rem; line-height: 1.3; margin-bottom: 1.3rem; }
.article-body p { line-height: 1.95; }
.sources { padding-top: 1.5rem; margin-top: 2.5rem; border-top: 1px solid var(--rule); overflow-wrap: anywhere; }
form, .prose { max-width: 49rem; }
@media (max-width: 850px) {
  .mast { grid-template-columns: 1fr auto; gap: .8rem; }
  .mast nav { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; font-size: .95rem; gap: .3rem .9rem; }
  .language { grid-row: 1; grid-column: 2; }
  .hero { display: block; padding-block: 2rem; }
  .hero h1 { font-size: 3rem; }
  .folded-source { max-width: 13rem; margin: 2rem auto 0; aspect-ratio: 1.8; }
  .entries { grid-template-columns: 1fr; }
  .example, .featured { margin-inline: 0; }
  .dispatch, .featured { padding: 1.3rem; }
  .dispatch:nth-child(2), .dispatch:nth-child(3) { margin-left: 0; }
}
