/* Wagtail presentation layer. Colors and geometry follow the original journal. */
.editorial-layout {
  --section-ink: var(--ink, #171915);
  --section-muted: var(--muted-ink, #5d6257);
  --section-rule: var(--rule, #b6ad99);
  --section-accent: var(--oxblood, #722934);
  --editorial-gutter: clamp(1.25rem, 4vw, 4.5rem);
  color: var(--section-ink);
  padding: clamp(3rem, 6vw, 7rem) var(--editorial-gutter);
  scroll-margin-top: 2rem;
}
.editorial-layout-inner { max-width: 1440px; margin-inline: auto; min-width: 0; }
.editorial-theme-cream { background: var(--paper, #f2efe6); }
.editorial-theme-parchment { background: var(--paper-deep, #e6dfd0); }
.editorial-theme-forest, .editorial-theme-ink {
  --section-ink: #f1ecdf;
  --section-muted: #d2d8d0;
  --section-rule: #829689;
  --section-accent: #d7b879;
  background: var(--forest, #25483a);
}
.editorial-theme-ink { background: var(--blue-black, #172328); }
.editorial-layout .eyebrow { color: var(--section-accent); font-size: .8rem; margin: 0 0 1rem; }
.editorial-layout-title {
  color: inherit;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4.2vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.06;
  margin: 0;
  overflow-wrap: anywhere;
}
.editorial-layout-heading { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); margin-bottom: 2.5rem; }
.editorial-layout-heading > div { min-width: 0; }
.editorial-layout-heading > div:only-child { grid-column: 1 / -1; }
.editorial-layout-intro { align-self: end; }
.editorial-layout-intro .editorial-richtext { color: var(--section-muted); font-family: Georgia, 'Times New Roman', serif; }
.editorial-layout a { overflow-wrap: anywhere; }
.editorial-layout a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.editorial-item-link {
  align-items: center;
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  gap: .65rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.6;
  margin-block: .65rem 0;
  padding-block: .45rem;
  text-decoration: none;
  text-transform: uppercase;
  width: fit-content;
  max-width: 100%;
}
.editorial-item-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.editorial-arrow { flex-shrink: 0; }
.editorial-layout-note { margin-top: 1.5rem; grid-column: 1 / -1; }
.editorial-richtext { overflow-wrap: anywhere; }
.editorial-richtext p, .editorial-richtext li { font-size: 1.0625rem; line-height: 1.7; margin-block: 0 1rem; }
.editorial-richtext :is(h2, h3, h4) { font-family: Georgia, 'Times New Roman', serif; font-weight: 600; line-height: 1.3; margin-block: 1.25rem .75rem; }
.editorial-richtext h2 { font-size: 2rem; }
.editorial-richtext h3 { font-size: 1.5rem; }
.editorial-richtext h4 { font-size: 1.25rem; }
.editorial-richtext :is(ol, ul) { margin-block: 1rem; padding-inline-start: 1.75rem; }
.editorial-richtext ol { list-style: decimal outside; }
.editorial-richtext ul { list-style: disc outside; }
.editorial-richtext ul ul { list-style-type: circle; }
.editorial-richtext a { text-decoration: underline; text-underline-offset: .18em; }
.editorial-richtext > :last-child, .editorial-richtext > .rich-text > :last-child { margin-bottom: 0; }
.editorial-items { margin: 0; }
.editorial-items-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 2rem; }
.editorial-items-rows { display: grid; gap: 1.5rem; }
.editorial-item { min-width: 0; border-top: 1px solid var(--section-rule); padding-top: 1.25rem; }
.editorial-item-title { color: inherit; font: 400 1.65rem/1.2 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; margin: 0 0 1rem; }
.editorial-items-numbered { list-style: decimal-leading-zero outside; padding-inline-start: 2.5rem; }
.editorial-items-numbered > li { display: list-item; margin-bottom: 1.5rem; padding-inline-start: .5rem; }
.editorial-items-numbered > li::marker { font-weight: 600; font-size: 1rem; color: var(--section-accent); }
.editorial-accent-history { --discipline-color: #722934; --discipline-text: #fffaf0; }
.editorial-accent-philosophy { --discipline-color: #25483a; --discipline-text: #fffaf0; }
.editorial-accent-politics { --discipline-color: #c29b54; --discipline-text: #171915; }
.editorial-accent-neutral { --discipline-color: #5d6257; --discipline-text: #fffaf0; }
.editorial-item .editorial-item-kicker { color: var(--discipline-color, var(--section-accent)); }
.editorial-item.editorial-accent-politics .editorial-item-kicker { color: #80520e; }
.editorial-layout:is(.editorial-theme-forest, .editorial-theme-ink) .editorial-item .editorial-item-kicker { color: var(--section-accent); }

/* The balance is a compact, proportional band on Home; other pages keep columns. */
.editorial-allocation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 2rem 0 0; }
.editorial-allocation-item { border-top: 3px solid var(--discipline-color); padding-block: 1.25rem; min-width: 0; }
.editorial-allocation dt { font-size: 1.125rem; font-weight: 600; }
.editorial-allocation dt a { text-decoration: underline; text-underline-offset: .2em; }
.editorial-allocation dd { margin: .75rem 0 0; }
.editorial-percentage { display: block; font: 400 clamp(2.5rem, 5vw, 4rem)/1.1 Georgia, 'Times New Roman', serif; }
.editorial-allocation-count { display: block; margin-top: .5rem; font-size: 1rem; }
.editorial-balance-band { border-bottom: 1px solid var(--section-ink); padding-block: 1.2rem; }
.editorial-balance-band .editorial-layout-inner { display: grid; align-items: center; grid-template-columns: 16rem minmax(0, 1fr); gap: 1.5rem; }
.editorial-balance-band .eyebrow { color: inherit; font-size: .8rem; font-weight: 500; letter-spacing: .09em; margin: 0 0 .25rem; }
.editorial-balance-band .editorial-layout-title { color: var(--section-accent); font: 700 .8rem/1.6 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.editorial-balance-band .editorial-allocation { display: flex; gap: 0; margin: 0; }
.editorial-balance-band .editorial-allocation-item { align-items: center; background: var(--discipline-color); border: 0; color: var(--discipline-text); display: flex; flex: var(--allocation-share, 1) 1 0; gap: .6rem; justify-content: space-between; padding: .8rem 1rem; }
.editorial-balance-band dt { font-size: .8rem; letter-spacing: .065em; text-transform: uppercase; }
.editorial-balance-band dd { margin: 0; }
.editorial-balance-band .editorial-percentage { font: 700 .9rem/1.5 Inter, ui-sans-serif, system-ui, sans-serif; }
.editorial-balance-band .editorial-allocation-count { font-size: .8rem; }
.editorial-balance-band .editorial-richtext { margin-top: .75rem; }

/* Narrow commitments, then the prominent feature and green companion panel. */
.editorial-preset-principles { border-bottom: 1px solid var(--section-ink); padding-block: 0; }
.editorial-preset-principles .editorial-items { gap: 0; }
.editorial-preset-principles .editorial-item { display: flex; align-items: center; border-top: 0; border-right: 1px solid var(--section-rule); gap: 1rem; padding: 1.5rem; }
.editorial-preset-principles .editorial-item:first-child { padding-left: 0; }
.editorial-preset-principles .editorial-item:last-child { border-right: 0; }
.editorial-commitment-icon { flex: none; color: var(--section-accent); }
.editorial-preset-principles .eyebrow { font-size: .8rem; letter-spacing: .055em; margin-bottom: .4rem; }
.editorial-preset-principles .editorial-item-title { font: 700 .8rem/1.5 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .055em; text-transform: uppercase; margin-bottom: .4rem; }
.editorial-preset-principles .editorial-richtext p { color: var(--section-muted); font-size: .9rem; line-height: 1.5; }
.editorial-preset-principles .editorial-layout-heading { padding-top: 2rem; }
.editorial-preset-feature { padding-block: 0; }
.editorial-preset-feature .editorial-items { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, .85fr); gap: 0; }
.editorial-preset-feature .editorial-item { border: 0; display: flex; flex-direction: column; padding: clamp(2.5rem, 5vw, 6rem) clamp(2rem, 4vw, 4.5rem) clamp(2.5rem, 5vw, 6rem) 0; }
.editorial-preset-feature .editorial-item:first-child .editorial-item-title { font-size: clamp(2.6rem, 4.8vw, 5.5rem); line-height: 1.02; letter-spacing: -.045em; margin-top: 1.5rem; max-width: 14ch; }
.editorial-preset-feature .editorial-item:first-child .editorial-richtext p:first-child { font: 400 clamp(1.1rem, 1.7vw, 1.45rem)/1.6 Georgia, 'Times New Roman', serif; color: var(--section-muted); }
.editorial-labels { display: flex; flex-wrap: wrap; gap: .5rem; }
.editorial-labels span { border: 1px solid var(--section-rule); font-size: .75rem; font-weight: 600; letter-spacing: .055em; padding: .35rem .55rem; text-transform: uppercase; }
.editorial-labels span:first-child { background: var(--discipline-color); border-color: var(--discipline-color); color: var(--discipline-text); }
.editorial-preset-feature .editorial-item:nth-child(2) { --section-muted: #d2d8d0; --section-accent: #d7b879; background: var(--forest, #25483a); color: #f1ecdf; padding: clamp(2rem, 4vw, 4.25rem); }
.editorial-preset-feature .editorial-item:nth-child(2) .eyebrow { color: var(--section-accent); }
.editorial-preset-feature .editorial-item:nth-child(2) .editorial-item-title { font-size: clamp(2.2rem, 3vw, 3.6rem); line-height: 1.04; }
.editorial-preset-feature .editorial-item:nth-child(2) .editorial-richtext { color: var(--section-muted); }
.editorial-preset-feature .lens-mark { margin-bottom: 2.5rem; }
.editorial-preset-feature .editorial-item-link { margin-top: 1.5rem; }
.editorial-preset-feature .editorial-item:nth-child(2) .editorial-item-link { border-bottom: 0; border-top: 1px solid #829689; justify-content: space-between; padding-top: 1rem; width: 100%; }
.editorial-preset-feature .editorial-layout-heading { padding-top: 2.5rem; }

/* Ruled cards, two-column rubric and sources, then a four-column workflow. */
.editorial-preset-portfolio .editorial-layout-heading, .editorial-preset-steps .editorial-layout-heading { border-bottom: 1px solid var(--section-ink); padding-bottom: 2rem; }
.editorial-preset-portfolio .editorial-items { gap: 0; }
.editorial-preset-portfolio .editorial-item { border-top: 3px solid var(--discipline-color); border-right: 1px solid var(--section-rule); border-bottom: 1px solid var(--section-ink); padding: 1.75rem; }
.editorial-preset-portfolio .editorial-item:last-child { border-right: 0; }
.editorial-preset-portfolio .editorial-item-title { font-size: clamp(1.8rem, 2.4vw, 2.7rem); line-height: 1.1; margin-block: 1.25rem 1rem; }
.editorial-preset-portfolio .editorial-richtext p { font-size: 1rem; }
.editorial-preset-portfolio .editorial-richtext p:first-child { color: var(--section-muted); font-family: Georgia, 'Times New Roman', serif; }
.editorial-preset-rubric .editorial-layout-inner, .editorial-preset-sources .editorial-layout-inner { display: grid; gap: clamp(2.5rem, 7vw, 8rem); grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.editorial-preset-rubric .editorial-layout-heading, .editorial-preset-sources .editorial-layout-heading { display: block; margin: 0; }
.editorial-preset-rubric .editorial-layout-intro, .editorial-preset-sources .editorial-layout-intro { margin-top: 1.5rem; }
.editorial-preset-rubric .editorial-item { padding-block: 1.15rem; margin: 0; }
.editorial-preset-rubric .editorial-item:last-child { border-bottom: 1px solid var(--section-rule); }
.editorial-preset-rubric .editorial-richtext p { font: 400 clamp(1.0625rem, 1.4vw, 1.3rem)/1.6 Georgia, 'Times New Roman', serif; }
.editorial-preset-sources .editorial-items { gap: 0; }
.editorial-preset-sources .editorial-item { padding-block: 1.5rem; }
.editorial-preset-sources .editorial-item:last-child { border-bottom: 1px solid var(--section-rule); }
.editorial-preset-sources .editorial-item-title { font-size: clamp(1.3rem, 2vw, 1.9rem); }
.editorial-preset-sources .editorial-richtext p { color: var(--section-muted); font-size: .9375rem; }
.editorial-preset-steps .editorial-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
.editorial-preset-steps .editorial-item { padding-top: 1rem; }
.editorial-preset-steps .editorial-item-title { font-size: 1.5rem; }
.editorial-preset-steps .editorial-richtext p { color: var(--section-muted); font-size: 1rem; }
.editorial-preset-inquiry { text-align: center; }
.editorial-preset-inquiry .editorial-layout-heading { display: block; max-width: 1100px; margin: 0 auto; }
.editorial-preset-inquiry .editorial-layout-title { font-size: clamp(3rem, 7vw, 7rem); line-height: 1; }
.editorial-preset-inquiry .editorial-layout-intro { max-width: 46rem; margin: 1.75rem auto; }
.editorial-preset-inquiry .editorial-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.editorial-preset-inquiry .editorial-item { border: 0; padding: 0; }
.editorial-preset-inquiry .editorial-item-link { border: 1px solid currentColor; padding: .85rem 1rem; }
.editorial-preset-inquiry .editorial-item:first-child .editorial-item-link { background: var(--oxblood, #722934); color: #fffaf0; border-color: var(--oxblood, #722934); }

/* Preserve the single-line production wordmark and keep navigation clear of it. */
.site-header { grid-template-columns: max-content minmax(0, 1fr) auto; }
.wordmark { white-space: nowrap; }
.wordmark .optic-mark { flex: none; }
.desktop-nav { justify-content: center; }
.journal-home .home-masthead { gap: clamp(2rem, 5vw, 5rem); }
.journal-home .home-explore { margin-top: 2rem; }
.journal-home :is(.text-link, .eyebrow) { font-size: .8rem; }
.home-latest { border-top: 1px solid var(--rule, #b6ad99); }
.home-latest .publication-grid { margin-top: 2rem; gap: 1.5rem; }
.home-latest .publication-card { min-height: 0; }
@media (max-width: 1100px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto auto; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .editorial-balance-band .editorial-layout-inner { grid-template-columns: 1fr; gap: 1rem; }
  .editorial-preset-steps .editorial-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; }
  .editorial-layout-heading, .editorial-preset-rubric .editorial-layout-inner, .editorial-preset-sources .editorial-layout-inner { grid-template-columns: 1fr; gap: 2rem; }
  .editorial-preset-principles .editorial-items, .editorial-preset-feature .editorial-items { grid-template-columns: 1fr; }
  .editorial-preset-principles .editorial-item { border-right: 0; border-bottom: 1px solid var(--section-rule); padding-inline: 0; }
  .editorial-preset-principles .editorial-item:last-child { border-bottom: 0; }
  .editorial-preset-feature .editorial-item:first-child { padding-right: 0; }
  .editorial-preset-portfolio .editorial-items { grid-template-columns: 1fr; }
  .editorial-preset-portfolio .editorial-item { border-right: 0; padding-inline: 0; }
  .journal-home .home-masthead { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-header { padding-inline: 1rem; gap: .5rem; }
  .wordmark { font-size: clamp(.875rem, 3.6vw, 1.1rem); letter-spacing: -.025em; }
  .wordmark .optic-mark { margin-right: .45rem; }
  .editorial-balance-band .editorial-allocation { flex-direction: column; }
  .editorial-balance-band .editorial-allocation-item { flex: auto; }
  .editorial-allocation, .editorial-preset-steps .editorial-items { grid-template-columns: 1fr; }
  .editorial-preset-inquiry .editorial-items { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
